>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.

Hi,

[ from gopher://sdf-eu.org/00/users/mackie/Unix-Notes/_sdf-user-stuff.txt ]

Backup home dir (from sdf)
--------------------------
$ ssh [EMAIL PROTECTED] 'tar cvf - html/* | gzip - > html.tgz'
$ ssh [EMAIL PROTECTED] 'tar cvf - gopher/* | gzip - > gopher.tgz'
$ rsync -avz -e ssh [EMAIL PROTECTED]:/arpa/m/mackie /home/mackie/SDF

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

(restore)
# cd /home && rcp [EMAIL PROTECTED]:home.fs home.fs && cat home.fs | restore 
-rf -


HTH,

Stuart
-- 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to