|
Thanks for a speedy reply, which was cunning, but not for what we need.
Our plan is to archive all log files, for servers that are not part of a backup regime, to a single repository (server). I was gonna use PREARCH to call a job to map the drive. That server will then be backed up. The Archive directory will then be deleted about 7 days later, allowing for a working backup to have been taken. (this can be done by a simple scheduled deltree).
For servers that are backed up, it is pretty much the same except the will bhe archived to a local drive.
Thing is, the end of month is not always the end of month, if you know what I mean, hence the requirement to specify the date to archive from.
I'm just trying to work out how to add a date caculation into your code for the file move based on a date supplied in the .ini file.
When I come up with some code I will post it, though I am a bit snowed under at the mo.
|