Retention periods

Perhaps this is mentioned somewhere already but I couldn’t find it. Is there anything in the product that will allow you to automatically remove old backups based on disk space or elapsed time?


You can do this by using the “REVISION_NO_MAX)” macro. Simply add the macro and specify the number of revisions you want to keep. When the backup runs, it will append a revision number to the file name. Each time it is subsequently run, it will increment the revision number until it reaches the maximum number specified. The next time it runs, it will overwrite the number 1 revision and so on, and so on.

The only real drawback is that you have to check the creation date to check which is the most recent backup. Alternatively, add the date/time macro to the backup job as well.

Hope this helps,
Ewen :slight_smile: