Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- need help with tar to backup entire folders


DamonHD - 10:37 pm on Nov 23, 2007 (gmt 0)


You want tar cf - directory ¦ gzip -9 > directory.tar.gz

1) Don't use the v option on tar else the verbose output will/may get mixed up with the tar output and corrupt the archive.

2) Use the -9 option on gzip if you want decent compression, which is probably good for backups.

Rgds

Damon


Thread source:: http://www.webmasterworld.com/linux/3512016.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com