Chris.
Thanks.
I ass-u-me-d that TAR did all that. Funky unix. :-)
I tried this and seems to work. (this was done on a Cobalt RAQ2 with its
funky MIPS chip).

tar --create -verbose --file=filename.tar directoryname
(I just had to be in the directory above the one I want to tar up. ( ie  be
in /etc/ to do /etc/postfix.)

this I just did a gzip filename.tar and I get filename.tar.gz
I was then able to tar -xvzf the file after uploading it elsewere.
So I guess its working.

Thanks
Mark "doing the funky unix dance"

.


----- Original Message -----
From: "Chris Scott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 10:50 AM
Subject: [IMGate] Re: OT


>
> M.D. DeWar wrote:
>
> > I want to tar my postfix directory,
> > I can get it to tar (from the tar website)
> > tar --create --verbose --file=postifx.tar
> >
> > but after that I can't open it.
> > tells me that its not gzip type.
> >
> > I know I am missing something but not sure what since I have only
untarred
> > programs never tarred anything.
>
> You didn't specify the switch to gzip it--it is just a tar archive.
>
> Here's the command I use to back up selected directories to gzip'd tar
archive:
>
> tar zcvf dailybkup.tar.gz -T backupdirs.txt -C /
>
> man tar to make sure your supports the -C switch.
>
> Then, in backupdirs.txt list the absolute paths (one per line) you want to
> backup. e.g:
>
> /etc/postfix
>
>
> --
> Chris Scott
> Host Orlando, Inc
> http://www.hostorlando.com/
>


Reply via email to