This is regarding NBU Image Cleanup job that no longer running on activity monitor.
In my case, this problem occurred since customer tried to change the date and time on server but wrong syntax; the year move ahead to 2023. The worst, he didn’t stop the NBU services, so suddenly a few backup policy are running also the image cleanup.
The image cleanup that ran on that day cleaned up most..if not all the images..around 966 images:
log.101923:12:48:48.825  <4> delete_expired_backups: image delete 45970 ms, image verify 0 ms, tir_info_remove 0 ms, copies delete 0 ms
log.101923:12:48:48.831  <4> delete_expired_backups: compression 0 ms, # of bptm calls 0
log.101923:12:48:48.831  <4> delete_expired_backups: deleted 966 expired records, compressed 0, tir removed 0, deleted 0 expired copies
log.101923:12:48:49.561  <2> delete_expired_backups: OVsystem(/usr/openv/netbackup/bin/admincmd/nbdelete -allvolumes -jobid 62120) successful
log.101923:12:48:49.573  <4> delete_expired_backups: Exiting
The date and time fixed on that day, but till last week, there are no image cleanup job was ran.
Tried to follow this guide but still no luck:
[GENERAL ERROR: The VERITAS NetBackup ™ image database does not clean up expired images on the expiration date:
[GENERAL ERROR: Image cleanup is no longer running:
The case was solved by today ^_^, if you got the same problem, what you need to do are:
1) Stop NBU
2) rm /usr/openv/netbackup/bin/cleanup.lock
3) rm /usr/openv/netbackup/bin/bpsched.d/lastClean
4) rm /usr/openv/netbackup/bin/bpsched.d/last_time_expired_media
5) rm /usr/openv/netbackup/bin/bpsched.d/cleanup (if exists)
6) rm /usr/openv/netbackup/db/jobs/pempersist
7) Restart NBU
8) Check if cleanup job runs by itself.
After finished on step number 7, on NBU GUI you will find Cleanup job running on activity monitor. To make sure, you have to wait till next couple hours, depend on the image cleanup interval configuration (default is 12 hours).
we are thinking of upgrading to netbackup 7 and also thinking of moving to linux platform from solaris 10; do you think that’s a wise decision?
how to stop netbackup in windows server 2008. I mean using the command line. I have tried many command but not successfully stop all those services.
First of all, always try with ‘bpdown’ command. If still can’t stop all services, try to use “bp.kill_all” command. >> Install_path\VERITAS\NetBackup\bin\goodies\bp.kill_all
Pak Aziz, there’s no bp.kill_all for windows, it’s only for Unix. Use services.msc to stop the services.
Pak Arthur Kwee? Is that you?? Longtime no see since my ACSLS class:-). Thanks for the correction Guru ^-^.
thanks..is there any way or procedure to delete a client from master server?I have tried to delete tmy clients from master server, unfortunately, there is no delete option when ive right clicked on that client. FYI, im using nbu 6.5.5
you need to remove all backup policy thats owned or related with the client. If all backup policy removed already, usually NBU will automatically remove the client from the client list.