I'm creating a backup strategy for a sharepoint server I'm setting up.
Have got a backup running daily.
In the long term I'd like to keep:
* Daily backups for the last week.
* Weekly backups for the last month.
* Monthly backups for the last year.
* Yearly backups.
If I was writing in bash/cygwin I would find it fairly easy to write a script to purge backups that are not required by this strategy. However I would rather not have to install cygwin, I'd rather do it with native DOS scripting, or some other specialized tool.
My DOS scripting skills are very primitive, so I was wondering if anyone else had a similar script/util I could use.
Cheers!