LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2010, 02:14 PM   #1
Amgine0
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
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
 
Old 10-06-2010, 03:53 PM   #2
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 41
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for file archiving software (for backups) Skaperen Linux - Software 3 08-10-2010 09:05 AM
remote copy file elainelaw Linux - Newbie 9 08-05-2010 11:33 AM
Using dd to copy an image file to a remote system kaplan71 Linux - Software 7 04-07-2010 10:50 AM
Log file and command output archiving software harry edwards Linux - Server 2 11-01-2008 07:28 PM
scp :copy file from one remote comp to another aniketh Linux - Networking 4 06-16-2004 03:31 AM


All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration