system backup

Chris F.A. Johnson c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Aug 16 19:50:54 UTC 2004


On Mon, 16 Aug 2004, Taavi Burns wrote:

> 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.

     It's whatever you call it; tar.bz2 is usual, but I have also seen
     .tbz2. You could call it .tarnish if you liked.

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

     Permissions are always preserved; the -p option preserves them on
     extraction.

-- 
 	Chris F.A. Johnson                      http://cfaj.freeshell.org
 	=================================================================
                 Everything in moderation -- including moderation
--
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