Page is a not externally linkable
walkman - 11:16 pm on Nov 23, 2007 (gmt 0)
One more problem: I also need to exclude some folders for a more comprehensive backup. Bascially I need to back up /home minus a few (huge and redundant) folders. Sort of: I had it as tar -cf $dir/$day/all.tar.gz how do I do this? Thanks again,
thanks! Prob solved. Not sure why it stopped working but ...
tar -cf --exclude "/home/cronolog"--exclude "/home/site2/backup" --exclude "/home/site3/backup" /home ¦ gzip -c > $dir/$day/all.tar.gz
--exclude "/home/cronolog"--exclude "/home/site2/backup" --exclude "/home/site3/backup" /home
and it worked but there was no gzip, making the archives too large. Also, using nano the line is too long and this resulted in problems (too many exclusions add up).