How to make a scheduled backup procedure using the cron file?
Does anyone here know how to make a scheduled backup procedure using the cron file?
Please tell me as soon as possible. Thanks in advance. |
It's pretty straightforward. You simply write a bash script (or whatever shell flavor you like) to do the backups (either tar or dar commands). Then create a scheduled crontab event using:
Code:
crontab -e Code:
5 0-23/1 * * * /usr/local/bin/backup-full.sh /backup/users .users-backup 5 >> $HOME/backup-users-weekly.err 2>&1 Hope this helps. |
All times are GMT -5. The time now is 12:42 PM. |