Re: dump directly to remote HDD over ssh

From: mario (mario_at_schmut.com)
Date: 07/31/03

  • Next message: marlon corleone: "telnet and router question"
    Date: Wed, 30 Jul 2003 18:07:42 -0700 (PDT)
    To: <dave@hawk-systems.com>
    
    

    this works for me (sorry no datestamp):

    dump -0uf - / | bzip2 | ssh user@box.domain.com dd of=/pathto/file.bz

    mario;>

    - - - - - - - - House Of Sites - - - - - - - -
    Web Design :: Programming :: Hosting :: Maintenance

    Web site: http://www.HouseOfSites.net
    Email: mario@HouseOfSites.net
    Tel: 415-242-3376

    ----------------------------------------------------
    Do you schmut!?
    http://www.schmut.com

    > Number of smaller servers, current doing dumps to secondary drives each
    > night. Extra copies are then rsync'd to a big storage server for long
    > term archive
    >
    > <-- currently -->
    > dump -0u -a -f /backup/usr /usr
    > rsync -v /backup/usr \
    > destination.server:/backups/server1/usr.0.`date +%Y%m%d`.dump
    > </-- currently -->
    >
    > What we want to do is eliminate the need for the secondary drive if need
    > be, and do the dump directly over to the big storage server where we can
    > then archive all the "images" from the one drive.
    >
    > Am lookiung at something like this, can someone sanity check the syntax
    > for me please?
    >
    > <--untested code -->
    > dump -0 -u -f- /usr | ssh server1@destination.server \
    > cat - > /backups/server1/usr.0.`date +%Y%m%d`.dump
    > </-- untested code -->
    >
    > thanks
    >
    > Dave
    >
    >
    > _______________________________________________
    > freebsd-isp@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: marlon corleone: "telnet and router question"