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/