Professional Web Applications Themes

remote dump via ssh - FreeBSD

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

  1. #1

    Default remote dump via ssh

    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!
    --
    net
    John Guest

  2. #2

    Default Re: remote dump via ssh

    On Mon, Feb 28, 2005 at 03:41:51PM +0000, John typed: 

    dump 0aLf - /partition | ssh otherhost "dd of=/parh/to/dumpfile"

    Ruben
     
    Ruben Guest

  3. #3

    Default Re: remote dump via ssh

    On Mon, 28 Feb 2005 15:41:51 +0000, John wrote 

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

    --
    net
    John Guest

Similar Threads

  1. Remote.pm (File::Remote) error handling question
    By terminlman@yahoo.com in forum PERL Modules
    Replies: 3
    Last Post: January 31st, 07:26 PM
  2. Thread dump
    By kruse in forum Coldfusion Server Administration
    Replies: 1
    Last Post: September 6th, 03:50 PM
  3. Dump XML into Objects
    By armatt in forum Macromedia Flex General Discussion
    Replies: 0
    Last Post: February 5th, 05:29 AM
  4. Can I dump Photoshop 7
    By Tom_Charvat@adobeforums.com in forum Adobe Photoshop Mac CS, CS2 & CS3
    Replies: 8
    Last Post: March 1st, 03:26 AM
  5. Setting folder permissions on remote machine / remote domain
    By Tim Chandler in forum ASP.NET Security
    Replies: 0
    Last Post: October 7th, 04:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139