Forum Discussion

freax's avatar
freax
Level 3
14 years ago
Solved

Netbackup does not clean expired images

 

Hello everyone.

 

We have Netbackup 7.0  installed on Redhat 5.5. For this moment we are only using NB to perform Oracle database backups. The everyday backup works good but we have problem with removing expired images. I have retention set to 1 week but I have images older than 2 week. At first the image cleanup did not start itself than I tried this http://www.symantec.com/business/support/index?page=content&id=TECH125429 and now I can see cleanup job running automatically in activity monitor, but it doesn't delete the expired ones I guess for some reasons cleanup job thinks it's not expired. 

 

02/10/2012 15:50:36 - Info bpdbm (pid=4078) image catalog cleanup
02/10/2012 15:50:36 - Info bpdbm (pid=4078) Cleaning up tables in the relational database
02/10/2012 15:50:36 - Info bpdbm (pid=4078) deleting images which expire before Fri Feb 10 15:50:36 2012 (1328874636)
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test1
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test2
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test3
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test4
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test5
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test6
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test7
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test8
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test9
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test10
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test11
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test12
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test13
02/10/2012 15:50:36 - Info bpdbm (pid=4078) processing client test14
02/10/2012 15:50:36 - Info bpdbm (pid=4078) deleted 0 expired records, compressed 0, tir removed 0, deleted 0 expired copies
the requested operation was successfully completed  (0)
 
This particular log created when I manually initiate image cleanup job (/usr/openv/netbackup/bin/admincmd/bpimage -cleanup -allclients) I just did it and I have 8 days of backup for now.  Can someone tell me how can I see the list of backups that netbackup considers that It's expired ?
 
Thanks for you'r time
 
P.s  I will provide additional information If necessary 
  • Sure your retention is set to 1 week? The retention level for the Default-Application-Backup is used for the image retention, not Automatic Backup Schedule.

11 Replies