Re: cpio files to remote server
From: Kevin Fleming (kevintickle_at_gmail.com)
Date: 09/21/05
- Previous message: Lees: "Enquiry for Geforce FX5200."
- In reply to: Ian Wilson: "Re: cpio files to remote server"
- Next in thread: John DuBois: "Re: cpio files to remote server"
- Reply: John DuBois: "Re: cpio files to remote server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Sep 2005 07:31:12 -0700
"John DuBois" <spcecdt@armory.com> wrote in message
news:11j20f5d53b4053@corp.supernews.com...
> In article <1127247752.536290.93790@z14g2000cwz.googlegroups.com>,
> Kevin Fleming <kevintickle@gmail.com> wrote:
>>Hey Everybody,
>>
>>This is what I'm starting with to backup some data from one box to
>>another:
>>find /dir/data -depth -print |cpio -o |rcmd backup "cpio -ivdum"
>>
>>The job copies some data over every night. Right now, both servers are
>>on the same LAN, but the backup server is going to be moved offsite,
>>with a slower connection. Is there a way that I can add something like
>>gzip into the command to compress the data before sending it to the
>>remote server?
>
> Sure. Try:
>
> find /dir/data -depth -print |cpio -o | gzip |rcmd backup "gunzip |
> cpio -ivdum"
>
> John
> --
> John DuBois spcecdt@armory.com KC6QKZ/AE
> http://www.armory.com/~spcecdt/
Thanks John, that works...any ideas on how to see the amount of data
that
was actually transmitted? I suppose I could just gzip all of the data
to a
file just on its own so I'd know what the compression is like, but
thought
someone might have a slicker way of doing it.
"Ian Wilson" <scobloke2@infotop.co.uk> wrote in message
news:<dgrb0j$jf7$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com>...
> In my experience, rsync will be far more efficient since it only
> transmits the changed parts of changed files.
Also, thanks to JP Radley and Ian Wilson for their rsync
suggestions...I'll
have to look into that.
Thanks,
Kevin Fleming
- Previous message: Lees: "Enquiry for Geforce FX5200."
- In reply to: Ian Wilson: "Re: cpio files to remote server"
- Next in thread: John DuBois: "Re: cpio files to remote server"
- Reply: John DuBois: "Re: cpio files to remote server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|