LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   remote file copy through archiving software (https://www.linuxquestions.org/questions/linux-newbie-8/remote-file-copy-through-archiving-software-836588/)

Amgine0 10-06-2010 01:14 PM

remote file copy through archiving software
 
I know I read how to do this before, but can't find the message...

I need to back up a fold on a remote machine to my local box; the remote hd does not have enough space archive it, neither does my local box. I know there's a cantrip to pipe scp through gzip (or similar), but I don't remember the syntax. Anyone willing to offer some guidance?

Amgine

sunnydrake 10-06-2010 02:53 PM

http://en.wikipedia.org/wiki/Rsync maybe.. on local hard disc i think you can create directory in filesystem that can use compression on stored data.
or maybe you can tweak this line to use remote to archive process

dd bs=1M if=/dev/sda1 | gzip -c -3 > /mnt/backup/boxname-sda8-ext4-32GB.bin.gz


All times are GMT -5. The time now is 08:19 PM.