Re: Archiving Folders

2002-05-16 Thread Cameron Simpson
On 16:52 16 May 2002, Anand Buddhdev <[EMAIL PROTECTED]> wrote: | On Thu, May 16, 2002 at 08:14:14AM -0600, Trevor wrote: | > > I suggest you add the 'p' switch as well, to preserve permissions and | > > ownerships. That is, after all, the problem Jim is trying to solve. [...] | > If you do a tar

Re: Archiving Folders

2002-05-16 Thread Anand Buddhdev
On Thu, May 16, 2002 at 10:56:23AM -0400, Timothy Lee Young wrote: > just a quick sideline to this thread... > > if you tar zcvf a director, will it compress a copy of the directory or > does it take the actual directory and compress it, leaving behind nothing > but the file? tar _first_ create

Re: Archiving Folders

2002-05-16 Thread Timothy Lee Young
just a quick sideline to this thread... if you tar zcvf a director, will it compress a copy of the directory or does it take the actual directory and compress it, leaving behind nothing but the file? if it does, what is the correct option to just create a compressed file of a directory without c

Re: Archiving Folders

2002-05-16 Thread Anand Buddhdev
On Thu, May 16, 2002 at 08:14:14AM -0600, Trevor wrote: > > I suggest you add the 'p' switch as well, to preserve permissions and > > ownerships. That is, after all, the problem Jim is trying to solve. > > > > tar -zcvpf /path/to/name_of_the_file.tar.gz /var/www (to > > compress and archive) > >

RE: Archiving Folders

2002-05-16 Thread Trevor
> > I suggest you add the 'p' switch as well, to preserve permissions and > ownerships. That is, after all, the problem Jim is trying to solve. > > tar -zcvpf /path/to/name_of_the_file.tar.gz /var/www (to > compress and archive) > tar -zxvpf /path/to/name_of_the_file.tar.gz(to restore from >

Re: Archiving Folders

2002-05-16 Thread Anand Buddhdev
Mailing List - Red Hat (Co)" <[EMAIL PROTECTED]> > Sent: Thursday, May 16, 2002 11:11 AM > Subject: Archiving Folders > > > > How would I compress/archive a set of folders into one file? > > > > I mean, what I'd like to do is archive the COMPLETE content

Re: Archiving Folders

2002-05-15 Thread Cameron Simpson
On 22:48 15 May 2002, Jim Hale <[EMAIL PROTECTED]> wrote: | I got to use half of it tonight - hopefully I won't need the OTHER half It would be wise to _test_ the other half. Disaster recovery time is _not_ the time you want to find out the first half wasn't done right. Cheers,. -- Cameron Simp

RE: Archiving Folders

2002-05-15 Thread Jim Hale
nard B. Fernando > Sent: Wednesday, May 15, 2002 10:18 PM > To: [EMAIL PROTECTED] > Subject: Re: Archiving Folders > > > to compress: tar -zcvf name_of_the_file.tar.gz * > to uncompress: tar -zxvf name_of_the_file.tar.gz > > - Original Message - > From: "J

Re: Archiving Folders

2002-05-15 Thread Monte Milanuk
Jim Hale wrote: >How would I compress/archive a set of folders into one file? > >I mean, what I'd like to do is archive the COMPLETE contents of my >/var/www folder (including all folders, subfolders, users/groups, >read/write access etc) so that I can copy the file to another machine >for backin

Re: Archiving Folders

2002-05-15 Thread Maynard B. Fernando
to compress: tar -zcvf name_of_the_file.tar.gz * to uncompress: tar -zxvf name_of_the_file.tar.gz - Original Message - From: "Jim Hale" <[EMAIL PROTECTED]> To: "Mailing List - Red Hat (Co)" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 11:11 AM Su

Archiving Folders

2002-05-15 Thread Jim Hale
How would I compress/archive a set of folders into one file? I mean, what I'd like to do is archive the COMPLETE contents of my /var/www folder (including all folders, subfolders, users/groups, read/write access etc) so that I can copy the file to another machine for backing up to tape with my ot