Remote backups using ssh and dump

John Webster jwebster at es.net
Fri Apr 4 18:31:29 UTC 2008


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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080404/af5d7314/attachment.pgp


More information about the freebsd-questions mailing list