Re: remote dump via ssh

From: John (lists_at_reiteration.net)
Date: 02/28/05

  • Next message: Alexey Karguine: "Re: portsdb -Uu -> Stop."
    To: freebsd-questions@freebsd.org
    Date: Mon, 28 Feb 2005 16:35:38 +0000
    
    

    On Mon, 28 Feb 2005 15:41:51 +0000, John wrote
    > Hi folks
    >
    > I want to level 0 dump a remote partition onto a large local disk.
    > There's not enough space on the remote machine to dump to a file
    > then sftp over. It needs to dump via ssh.
    >
    > any ideas? lokking for an elegant one-line solution
    >
    > thanks!

    In the time-honoured tradition of replying to onself after RTFM I do it like this:

    bash-2.05b# /sbin/dump -0uan -f - /usr/local | gzip -2 | ssh -c blowfish \
    mylogin@wherei.wantto.dump.to dd \
    of=/backup/dumps/level0/28022005/dump-usr.local.l0.gz

    /backup is an nfs-mounted external HD

    I wonder if it would pipe to gpg -c rather than gzip.

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

  • Next message: Alexey Karguine: "Re: portsdb -Uu -> Stop."

    Relevant Pages

    • Re: remote dump via ssh
      ... > I want to level 0 dump a remote partition onto a large local disk. ... > enough space on the remote machine to dump to a file then sftp over. ...
      (freebsd-questions)
    • remote dump via ssh
      ... I want to level 0 dump a remote partition onto a large local disk. ... enough space on the remote machine to dump to a file then sftp over. ...
      (freebsd-questions)
    • Re: Database synchronisation
      ... the office during workday are available at the extranet the following day. ... you dump the database to a text file ... This way you can compress ... and it will execute much faster on the remote machine. ...
      (comp.lang.php)
    • Re: Help..can I use DUMP? my drive is dying - VINUM ?
      ... Subject: Help..can I use DUMP? ... > remote machine, install 2 new drives follow the tute to bootstrap ...
      (freebsd-questions)
    • Re: using dump for backups.
      ... Using dump locally to a tape, ... enabling rsh on a remote machine to dump to a device on that machine can ... If you need to dump to a remote device, you can use ssh to make it safer. ... Amanda can use tar as well. ...
      (FreeBSD-Security)