![]() |
Incremental backup software for a mixed environment
I'm setting up a home server with Ubuntu 8.10 and I want backup software that does nightly backups of files located on shared folders. Some folders will be from Linux boxes, some will be Windows shares.
Any suggestions? |
If the folders are mounted on the machine that will hold the backups, you can simply use rsync & run it on a cron job.
something like: Code:
rsync -ax --delete /source/mount/location/ /local/backup/location/sourcename_for_clarity/then, to run it nightly, simply run "crontab -e" and add the rsync like so: Code:
0 0 * * * rsync -ax --delete /source/mount/location/ /local/backup/location/sourcename_for_clarity/0 - the 0'th minute of the hour (i.e. 1:00 or 12:00 or 5:00) 0 - the 0'th hour of the day (i.e. midnight) * - every day of the month * - every month of the year * - every day of the week ... so it will run at midnight, every day. you can have several lines in one cron to do all backups like so: Code:
0 0 * * * rsync -ax --delete /source/mount/location1/ /local/backup/location/sourcename_for_clarity1/Code:
0 0 * * * rsync -ax --delete /mnt/windows/my_mp3s /home/EarthAndAllStars/backups/windows/which would copy the directory /mnt/windows/my_mp3s and its contents into /home/EarthAndAllStars/backups/windows/, copying only changed data, deleting files in the backup location that have been deleted on the share, and maintaining all file information like timestamps and such. This is all a "pull" from the backup machine. If you're looking for a push from the windows machine.. well.. maybe that's a question for WindowsQuestions.org. ;) (which is to say, I don't have a good answer that doesn't involve installing MS's UNIX Tools so that you get rsync & cron jobs). |
| All times are GMT -5. The time now is 03:34 AM. |