четверг, 21 апреля 2011 г.

SyncBackPro V5 (commercial) :: RE: Retain only the last week or "x" days of backups?

Author: Dave Wilkins
Posted: Thu Apr 21, 2011 10:00 am (GMT 0)

It depends on the parameters of the Zips, and what you actually do with them.

If

- the Zips are date/time-stamped (LastModified) as of the date/time they were created (note that we do not make decisions on the Created stamp, so LastModified must show the date/time the same, which is usually the case)

and

- you move them from Source to Destination (so they are no longer in Source)

then simply set the option in Decisions - Files for 'file in Destination but not in Source' to 'Delete file from Destination if it hasn't been modified within the last [7] days' (or maybe [8], for safety/overlap/timing issues)

You might want to monitor the proposed deletion decisions the first time you run it (via the Differences screen) to make sure what it is proposing to delete is what you think it should be...

Otherwise, you might need to use a script, which you could trigger from Programs-Before or -After (doesn't sound as if it would matter which one, as you would presumably be basing 'pruning' decisions on 'date', not 'number')
_________________
Follow us on Twitter: http://twitter.com/2brightsparks/

Have you taken the profiles backup survey?

software testing tools software tools

Комментариев нет:

Отправить комментарий