https://github.com/athrocks/linux-commands-shell-scripting-project
https://github.com/athrocks/linux-commands-shell-scripting-project
cronjob cronjob-scheduler cronjobs linux linux-kernel linux-shell
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/athrocks/linux-commands-shell-scripting-project
- Owner: athrocks
- License: mit
- Created: 2025-01-03T17:18:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-03T17:25:42.000Z (over 1 year ago)
- Last Synced: 2025-03-18T06:47:40.541Z (about 1 year ago)
- Topics: cronjob, cronjob-scheduler, cronjobs, linux, linux-kernel, linux-shell
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Project: Scheduled Backup Script
#### Project Summary
This project involved automating the backup process for encrypted password files that were updated in the last 24 hours.
#### Accomplishments
1. **Automated Backup Script**:
- Developed `backup.sh` to identify and back up encrypted password files updated within the past 24 hours.
- Ensured the script created a timestamped archive (e.g., `backup-[TIMESTAMP].tar.gz`).
2. **Daily Scheduling**:
- Configured the script to run daily using `crontab`.
- Verified the scheduled task to ensure reliable execution.
3. **Executable Permissions**:
- Set proper executable permissions for `backup.sh`.
4. **Testing and Validation**:
- Conducted extensive testing to ensure the script functions as intended.
- Captured evidence of successful execution, including:
- Screenshots of the code.
- Output demonstrating correct functionality.
#### Tools and Technologies Used
- Shell scripting
- Linux command-line utilities
- Crontab for scheduling