Windows Server Backup: Getting rid of too many backups
Windows Server 2012/R2 manages the backups itself. It claims to not fill the harddisk and manage itself, which backups to keep and which to replace by others. But maybe there is the need to get rid of more backups than the automatic retention decides.
To keep e.g. only 30 backups:
- Run Cmd as admin
- WBADMIN DELETE BACKUP -keepVersions:30
Or more general: WBADMIN DELETE BACKUP -keepVersion:
To delete individual backups see the further examples:
WBADMIN DELETE BACKUP -version:03/31/2006-10:00
WBADMIN DELETE BACKUP -backupTarget:f: -deleteOldest
Note that the time must be given in UTC. So, while it shows up in the user interface as CEST "16:00" it has to be specified as "14:00" on the command line.
Sources:
Comments
Post a Comment