Scripting help.
Let me start off by saying that I'm not a scripter by trade, I just inherited this problem. Please be gentle with your answers, thanks.
I'm trying to figure out how to to the following:
Our backups run to a DVD system. We do one full per month, with daily differentials. The full is stored in /backups/currentfull/.
The diffs are stored in /diffs/dd-mm-yy, meaning today's diffs will reside in 07-22-05.
The problem this causes is that when a complete folder needs restoring, I have to manually go to the full, copy it out, and then go through each differential and copy out the more current files.
I'd like to automate this process. The biggest obstacle I see is that occasionally I have to restore, say, half a month instead of a whole month, or the changes to files make over the course of two weeks for example.
Any ideas how to accomplish this? I don't know of any kind of count function for dates or anything like that. All help is appreciated.
Mark
|