I have a Server 2012 (not R2) Hyper-V Host server using Windows Server Backup (WSB) to back up about 670 GB of data to three 1 TB USB hard drives, rotated weekly. The server was installed July 2013 and has been happily backing up to the backup drives until about a month ago. Now the backups are failing because the backup drives are out of space.
- How do I configure the backup deletion policy introduced in Server 2012?
- What exactly, if anything, has changed in Server 2012's handling of old backups created with Windows Server Backup when the backup drive runs out of space?
Windows Server Backup is Supposed to Automatically Delete Old Backups
According to this blog post on Technet, Windows Server 2008 automatically deletes the oldest backup(s) on a destination backup drive when that drive runs out of free space:
If the backup storage location is full, Windows Server Backup automatically deletes the oldest backup version to make space for the current backup. Since each backup is stored inside a shadow copy, deleting a backup version is accomplished by simply deleting the corresponding shadow copy.
I manage a number of Server 2008/R2 servers and can attest by experience that this is true.
I reason that Server 2012 retains this feature by noting that this server with which I am having problems:
- Was deployed July 2013
- Has backed up to these same three backup drives without issue until now
- I've not deleted any backups and am the only administrator
- The oldest backups on any of the three drives are from February 2014.
Thus I reason, Server 2012 has been deleting old backups off of my backup drives, otherwise the oldest backups would date back to July 2013 when the server was deployed, not a more recent date as is actually the case.
Server 2012 Supposedly Introduces a Backup Deletion Policy
Doing my own research, I found this list of feature changes to Windows Server Backup which states that new in Server 2012:
If you are backing up to a hard disk or volume you can specify a deletion policy to determine whether backups should be deleted only when necessary to make space for additional backups or if they should be deleted after a certain number of backups have passed.
At minimum, this implies that WSB in Server 2012 is capable of deleting old backups to make room for new ones. Curiously that same source claims "Space and version management was not available" in previous versions of Windows.
So, first, how does one configure this deletion policy? Second, does anyone know if Server 2012's default behavior regarding deletion of old WSB backups has changed since Server 2008 R2?
Note: I'm not looking for assistance troubleshooting the reason why this server's behavior has changed since I intend to attack that problem by configuring the backup deletion policy. If the behavior doesn't go away after doing this, then I will invest the time in understanding why the backups suddenly stopped getting deleted.