back up all the dirs but one
I have a set of scripts that copy a few things to a second drive and one of them is the /home/*domains. However I would like to put the cronlog logs over there (partition /space issue).Since I download it daily, how I exclude the let's say /home/cronolog dir? I rather have it in one big file once tar zipped...
this is the command I use for the /home and the variables are set on top of the script
tar cvf - $web_dir/* | gzip >$log_dir/$current_day/day-WEB.gz
any help is greatly appreciated...
thanks