JohnnyBgood
12 years agoLevel 4
How to delete backups successfully that are 5 years old.
NBU Version: 7.1.0.3
Master Svr: Solaris
Meida Svr 1: Red Hat Linux
Media Svr 2: Red Hat Linux
Data Domain DD690
I found some old backups that I want to delete but want to ensure that I do it properly.
After running this command I found one client that has backup images that are 5 years old.
>ls -ltr `find . -name '<client name>*'` | more
>rm Rf `find . -name '<client name>*'` | more
Thanks for you help!
- Once you determine the backup ids, you simply expire the images: bpexpdate -d 0 -backupid
-force The bpimagelist -idonly was what I was going to suggest. You only run the command once, either from a media or the master Not possible to do all at once, has to be individual against each backupid, though you could script it in a loop. Martin