We use the following in a script to backup our servers.

/bin/ssh -q -o 'BatchMode yes' -l <user> <host>  '/sbin/dump -h 0 -0uf - /home \
| /usr/bin/gzip --fast' 2> /path/to/logs/<host>/home_full.dump.log
    > /backups/<host>_home_full.dump.gz


--On April 4, 2008 12:59:27 PM -0500 Paul Schmehl <[EMAIL PROTECTED]> wrote:

> 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.
> 
> -- 
> Paul Schmehl ([EMAIL PROTECTED])
> Senior Information Security Analyst
> The University of Texas at Dallas
> http://www.utdallas.edu/ir/security/
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



Attachment: pgp99xnQhq6vQ.pgp
Description: PGP signature

Reply via email to