Automatic Cleanup
I created a backup job to run 4 days/wk. Backup scheme is differential. I selected "Create a full backup after every 999 differential backups" so that I could use automatic cleanup .I also selected "Store no more than 5 recent version chains but I currently have 8 diff versions saved. Why is auto cleanup not working?


- Log in to post comments

Thanks Steve, now I understand and have adjusted my scheme accordingly.
- Log in to post comments

In your example, If this was for a differential backup task, is every differential considered a completed chain? Could you please describe when each file would be created and deleted?
- Log in to post comments

The same rule applies for both differential and incremental chains - cleanup only runs automatically for completed chains and only after a new Full backup has been created successfully.
If you want to delete individual differential files then it would have to be done using the Clean up versions tool to avoid any issues with metadata or the internal tracking database - it should not be done from Explorer.
A completed chain is defined by your Backup scheme settings, i.e. if you have a scheme set to create a new Full backup after creating 5 differential backups, then that is what defines when the chain is complete (when you have the number of files created to match those settings - 1 x Full and 5 x differential).
- Log in to post comments

Rcstan, you said 999 differentials and running four days per week. On this plan it would take nearly five years to complete a chain. But you would have problems far sooner than; a differential is the difference since the full backup so before long you'd find that every differential is nearly as big as the full.
Consider 1) differential or incremental? and 2) how many before a new full backup is done. Analysis of backup file sizes is important to consider with the available space on the backup drive(s).
Hopefully your new plan is doing what you want.
- Log in to post comments

Thanks again Steve. If you don't mind I have one last question. If I make any change to the scheme mid-way, for instance if I change the "Store no more than 4 version chains to 2 chains" before the first chain is complete, will this reset the scheme so that it starts with a new full backup for will it just continue to store only the 2 chains? Thank you for your help.
- Log in to post comments

It shouldn't reset the scheme to start a new full backup if only changing the number of chains to keep, i.e. from 4 to 2, that should just cause the oldest chains to be deleted sooner if the number is already exceeded.
If you change the number of incrementals or differentials in a chain, then that could cause a reset with a new Full.
- Log in to post comments