[mdlug] Network backup options
R. Kannan
rkannan at peoplepc.com
Sun Feb 4 10:07:04 EST 2007
David Favro <mdlug at meta-dynamic.com> wrote
>
>Maybe just an oversight on your part (or my part?), but I would advise
>adding "--stdout" to the gzip command. Without it, gzip normally tries
>to replace the file being compressed. When I saw this I thought maybe
>there is some special fluke where --stdout is assumed for device files,
>so I read TFM and I'd have to say that at best, you're relying on some
>undocumented behavior that may change in the future. So:
>
>gzip --stdout /dev/hda1 | ssh user at laptop "cat > ~/desktop.hda1.gz"
> Or, if you want to execute it on the laptop:
>ssh user at desktop gzip --stdout /dev/hda1 > ~/desktop.hda1.gz
>
>
You are correct. I need to have the --stdout (or -c) option.
Thanks
________________________________________
PeoplePC Online
A better way to Internet
http://www.peoplepc.com
More information about the mdlug
mailing list