Scheduled Backups of Home Directory

mattskr ulist at gs1.ubuntuforums.org
Mon Aug 14 02:41:18 UTC 2006


This is what I do to copy my home directory nightly to a USB hard
disk...



Run -> sudo crontab -e



to open roots cron



Add this line:



* 2 * * * rsync -av --delete --update /home /media/usbdisk



Change your output direcotry, close the file, and your done. Been
working fine for almost a year, and I had restore my files from backup
once.



It backups nightly at 2 AM copying only files that changed and deleting
any files that have been deleted in /home that day.


-- 
mattskr




More information about the ubuntu-users mailing list