Backup exec does not delete old jobs
Hi, I have this problem from time to time in about every version of backup exec I can think of over the years. From time to time, backup exec sends an alert saying to free space on the disk where it is backing up. So I have to manually delete the old .bkf files, even though the job is configured like this;
Backup to a NAS, in the last case I had this problem, this NAS receives 1 backup per week, full, 2 servers backed up, 3 jobs in total (sql, exchange, data)
Job is configured to keep for 2 days
I would delete all the content of the directory where the backup is made, leaving only the 2 .cfg files. Then I would have a full wich will work, then next week when the second full would start, after a while, the job would still run until there is no free space (as I remember). So I manually delete the files of the first backup, go in alerts, respond to it, and the backup would countinue.
This kind of problem happens from time to time, in about every type of configuration (we have multiple clients), to clients randomly. It seems that most of the time, it would delete old backups by itself, sometimes it does not, I have to do it manually.
the only thing I could think of is when a problem appears during the backup and it does not complete, those .bkf files will not be deleted and over time, with other errors, these grow and take more and more space and are not deleted by backup exec automatically.
We always use removable storage. Maybe there is a setting I did not see somewhere or something I must do to make sure that backup exec will delete old job as needed to free space.
Any guidance would be appreciated.
Thanks
The title of your post is slightly misleading as your requirement is to automatic deletion of backup sets and not jobs.
Have a look @ this post as well as to how DLM removes the backup sets - https://www-secure.symantec.com/connect/articles/automated-disk-management-and-data-retention-backup-exec-dlm-or-data-lifecycle-management
Do not delete the .bkf files from the disk storage. This will leave orphaned backup set entries in the BE console. When you need to delete backup sets, delete them from the console and BE will delete the corresponding .bkf files from the disk.
You can use the registry setting at the bottom of this document to delete the last backup chain.
http://www.veritas.com/docs/000085757
Do note that if your backup job fails, you would be left with no backup set to do your restore. It would be better to get a bigger storage than to use this registry setting.