From: Nico Kadel-G. <nk...@gm...> - 2010-04-28 11:46:12
|
On Wed, Apr 28, 2010 at 3:00 AM, Zoran Zaric <li...@zo...> wrote: > Hey, > > I'm wondering whats the best way to backup my rsnapshot backups to a > usb-hard-drive. Deleting everything from the usb-hard-drive and copying > the whole rsnapshot-backup-dir to the usb-hard-drive every week seems > inefficient to me. > > Thanks, > > Zoran You should be able to mount it, depending on your OS, and run "rsync -avH ---delete [rsnapshotdir] [USBmountdir]/snapshot" to synchronize the material. Be sure to use a subdirectory on the USB drive, and avoid taking the full contents of rsnapshot if the target drive isn't the same filesystem. Backing up from a Linux style filesystem to NTFS, for example, witll throw out most of the ownership information and handle symlinks very differently. |