docs: marked off two completed items
This commit is contained in:
parent
0016161a8e
commit
7656375feb
1 changed files with 2 additions and 2 deletions
|
|
@ -10,9 +10,9 @@
|
|||
- [x] Add `echo` statements to report what the script is doing.
|
||||
|
||||
**Enhancements & Features:**
|
||||
- [ ] **Argument Parsing:** Modify the script to accept the log file path as a command-line argument instead of being hardcoded.
|
||||
- [x] **Argument Parsing:** Modify the script to accept the log file path as a command-line argument instead of being hardcoded.
|
||||
- [x] **Root Check:** Add a check at the beginning to ensure the script is run with `sudo` or as the root user.
|
||||
- [ ] **Error Handling:** Use `set -e` to make the script exit immediately if a command fails. Add a check to ensure the provided log file actually exists.
|
||||
- [x] **Error Handling:** Use `set -e` to make the script exit immediately if a command fails. Add a check to ensure the provided log file actually exists.
|
||||
- [ ] **Configuration File:** Move variables like `BACKUP_DIR` to an external `/etc/log-archiver.conf` file.
|
||||
- [ ] **Automated Cleanup:** Add a feature to automatically delete backups older than a specified number of days (e.g., 90 days).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue