Subject: Re: Simple Backup Script
To: None <netbsd-users@NetBSD.org>
From: Daniel Cox <email@example.com>
Date: 12/31/2004 13:26:56
rsync -auv /mnt/samba /mnt/external
>>> Brian Rose <firstname.lastname@example.org> 12/31/04 12:59 PM >>>
I'm looking to backup my Samba share onto an external FAT32 drive. Is =
a relatively simple way to do incremental backups? Basically if a file =
changed or added, I want the script to copy only the changed or added =
to an identical tree on the external drive.
A 'cp -R /mnt/samba /mnt/external' would do the trick, but it would waste =
lot of time overwriting unchanged files. Is there a 'copy if newer' =
man cp did not turn up any info on such a capability.
Thanks in advance