Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Robocopy, purge, and minlad

3 views
Skip to first unread message

Joe

unread,
Oct 26, 2004, 7:57:30 PM10/26/04
to
Does the minage or minlad switch work with purge?

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?

Paul R. Sadowski [MVP]

unread,
Oct 26, 2004, 8:44:58 PM10/26/04
to
"Joe" <j...@microsoft.com> wrote in message
news:8motn09fa4bjuqmt0...@4ax.com...

> Does the minage or minlad switch work with purge?

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/


0 new messages