Rexxer

Some tips for me and other

Delete Windows Server Backups

We can delete older backups and free the space occupied by them using the following two ways:

 1.       Deleting System State Backup: wbadmin delete systemstatebackup –keepversions:10   

The above command will keep the latest 10 versions and delete the rest all the system state backups.

2.       Deleting other backups:  Backup application stores multiple backup versions in the VSS shadow copies. Hence, older backup version can be deleted by deleting older shadow copy. Commands to list and delete VSS shadow copies are below. They need to be run in an elevated command window.

 ·         vssadmin list shadows /for=x: – for listing the snapshots on x: where x: is the backup location

·         vssadmin delete shadows /for=x:  /oldest – for delete the oldest shadow copy. It can be called multiple times in case there is need to delete multiple older backups.

 Note: wbadmin get versions or backup UI would still report deleted backups until next backup runs. At end of each backup – non-existent backups are removed from the backup catalog.

 3.  Following command that will delete the oldest System State Backup to just unblock you:

       wbadmin delete systemstatebackup –deleteOldest

 

Comments are currently closed.