Remote backups using ssh and dump

Stuart Mackie mackie at
Fri Apr 4 20:07:57 UTC 2008

>Has anyone done this?

>I'm presently using rsync over ssh, but I think dump would be better if it will 
>work.  I've been reading the man page, but I'm wondering if anyone is doing 
>this successfully and would like to share their cmdline.


[ from gopher:// ]

Backup home dir (from sdf)
$ ssh mackie at 'tar cvf - html/* | gzip - > html.tgz'
$ ssh mackie at 'tar cvf - gopher/* | gzip - > gopher.tgz'
$ rsync -avz -e ssh mackie at /home/mackie/SDF

Backup home dir (to sdf)
# dump -0f - /home | ssh -o 'EscapeChar none' mackie at "cat > home.fs"

# cd /home && rcp mackie at home.fs && cat home.fs | restore -rf -



More information about the freebsd-questions mailing list