Video Screencast Help

Script or command line to clean up expired backup sets

Created: 15 Nov 2012 | 1 comment

Hello All,

I am using Backup Exec 2012. All jobs are in a storage disk (Disk based storage).

The disk is getting full and has to many expired backup sets. Is their a way to remove all expired backup set without doing it manually?

Comments 1 CommentJump to latest comment

Colin Weaver's picture

We have a couple of defects / known issues reported against this sort of problem.

There is also a customer education issue relating to DLM in that DLM is setup to stop you killing the last good backup by accident even if the backup set has reached an expiry date. As such amongst other things it will not erase the only complete backup set for a given selection, and it will not erase a backup set that has dependent sets that cannot be erased yet (for instance full backuop cannot be erased until the last Incremental backup linked with the full can be erased.)

You should perhaps read up on DLM here:

With regards the known issues if the disk storage is cartridge based (RDX etc) then the disks may fill up if GRT backups are being performed. We have a private update (Orphan) available to solve this but as it is not a public fix you must log a formal support case to get it ( Note that document also tells you how to manually delete backup sets from the console

We also have a known issue relating to USB disks not erasing data if the backup set on the disk reaches its expiry date when the USB disk is disconnected (which might also affect NAS storage if the network is unreliable) Running an inventory and catalog job after reconnecting the USB drive can fix this issue.