If I delete a file on my source, I'd like it to stay on my destination
for at least 30 days. So here is what I'm using for backing up:
To do my initial backup:
robocopy "c:\Other Pictures" w:\BACKUP-OtherPics /E /ZB /LOG:%_LOG%
/NP /TEE
To purge everything that no longer exists on the source EXCEPT for
those files less than 30 days old (or a LAD of less than 30, I've
tried both MINAGE and MINLAD)
robocopy "c:\Other Pictures" w:\BACKUP-OtherPics /NOCOPY /E /ZB
/MINLAD:30 /PURGE /LOG+:%_LOG% /NP /TEE
But this doesn't work. The extra files on the destination get purged
no matter what the age or lad is.
Is this even possible?
To the best of my knowledge Purge can not be qualified, which makes sense in
a way.
--
Paul R. Sadowski
Microsoft MVP (MSN Client)
http://www.paulsadowski.com/