[plug] back up over network

Matt Kemner zombie at penguincare.com.au
Fri Jul 2 13:08:33 WST 2004


On Fri, 2 Jul 2004, quoth Ryan Smith:

> So would something like this work?
> dd if=/dev/hdd1 of=backup.iso bs=2k | scp ryan at tesla:

Drop the of= and dd will use stdout

so:

dd if=/dev/hdd1 bs=2k | ssh ryan at tesla dd of=/path/backup.iso

I prefer file level backups over device-level backups, so my preferred
method is something like:

rsync -avP -e ssh --delete --delete-after / ryan at tesla:/Backup/server/

which can then be easily kept up to date on a daily (or even hourly) basis
with minimum bandwidth transfer after the initial one.

 - Matt




More information about the plug mailing list