My Experience on This Lab
In this assignment, I automated system backups using Bash scripts and crontab. I created a user (Alice), wrote a script to archive and compress her home directory with a timestamped filename, and moved the backup to /var/backups. I then scheduled the script to run every 3 minutes and later removed the cron job. For extra credit, I added a cleanup script that deletes older backups when the count exceeds a set limit.
Key Concepts:
I practiced using variables, timestamps, compression, cron scheduling, and permissions. The lab showed how automation helps maintain regular backups and manage system storage.
Challenges:
The main challenges were formatting the date correctly and handling write permissions for /var/backups.