ubuntu:cron:create_a_backup_of_all_user_accounts_at_5_am_daily
Ubuntu - Cron - Create a Backup of All User Accounts at 5 am Daily
0 5 * * * tar -zcf /var/backups/home.tgz /home/
Put the above entry in your crontab file using the command crontab -e and cron will now create a backup of every user account on your system at 5 am sharp every day.
The 0 at the beginning denotes the first minute, and the 5 indicates the hour 5 am.
ubuntu/cron/create_a_backup_of_all_user_accounts_at_5_am_daily.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1