system backup

Taavi Burns taavi-LbuTpDkqzNzXI80/IeQp7B2eb7JE58TQ at public.gmane.org
Mon Aug 16 19:10:29 UTC 2004


On Mon, Aug 16, 2004 at 12:23:13PM -0400, Robert Brockway wrote:
> On Mon, 16 Aug 2004, Lennart Sorensen wrote:
> 
> 
> > You can pipe tar over ssh to a file elsewhere.  ie:
> >
> > tar -czlf - /* | ssh user at otherhost 'cat > /path/dell.tgz'
> 
> Yeah, what Lennart said :)  If you can use j instead of z to use bzip2.
> This produces a .tar.bz file.

I think that's tar.bz2, but yeah.  It gets better compression ratios.

You might also want to use p, since that will preserve permissions (a VERY good
thing for backups of a whole machine!).

-- 
taa
/*eof*/
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list