There are two folders in my server that I backup frequently but one of these folders contains 2 directories that contain a lot of files and is very big. It takes 20 hours to make backups due to these 2 folders that I don't even need to backup as changes never take places in them and these directories and there files are already saved locally on my hard drive as well. So I already know this will back up the two folders: I know the above backs up: I want the code to backup the following: Hopefully this makes sense, and any help on this would be a life saver and I would really appreciate it, I would save so much electricity with a code for this, right now backups take about 20 hours . Thanks.
Can you use the --exclude option to exclude the folders you don't want? Here's one reference... http://www.linux.com/guides/linux-admin-made-easy/server-backup.shtml
Hey, thanks man, I read the article and made the code. It takes about 20 hours to try and see if it works and if doesn't I'll have to come back in 20 hours, so could you tell me if you think this would work? Do you think the code above will do this: