[plug] DD from inside an FTP session?

Andrew Furey andrew.furey at gmail.com
Wed Aug 30 16:23:32 WST 2006


> > Can you just boot a live disk like Ubuntu Dapper or Knoppix?
> > Then just do it manually.
> >
> > e.g. % gzip -c /dev/hda | some-ftp-program -blah
>
> AFAIK gzip wont do bit by bit.

Can you do SSH to the remote server? Perhaps something like

# dd if=/dev/hda bs=1024k | ssh user at server "dd of=backup.dat"

And then compress it from there. Seems to work to the local machine here...

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
                          -- Bill Garrett



More information about the plug mailing list