01-11-2024 02:06 PM - edited 01-11-2024 02:33 PM
I mistakenly deleted an image from the catalog, which I backed up again and has its copy on tape, but the deleted image gives error 228 when trying to expire since it does not exist. I deleted the version of the SLP in which that policy was, but the versions are created again since there are other policies associated with the same slp.
What can I do to prevent this expiration from being executed?
windows server 2023
Netbackup 8.1.2
If anyone can help me I will be very grateful.
Solved! Go to Solution.
01-12-2024 02:18 AM - edited 01-12-2024 02:19 AM
First you have to cancel the SLP processing for the image :
nbstlutil cancel -backupid <backupid>
Once a image if no longer under SLP control, you can delete the image from the catalogue.
bpexpdate -backupid <backupid> -d 0
01-14-2024 09:53 AM
I no longer have errors, I thank you very much for your support.
Greetings to all.
01-12-2024 01:30 AM
Not sure I get the complete picture, but if a SLP tries to process a backup image deleted/missing , you can cancel the SLP processing of the backup id by running :
nbstlutil cancel -backupid <backupid>
01-12-2024 01:37 AM
How did you "delete" the image from the catalog?
If there was a pending SLP operation it would not have let you do the delete until that operation was completed or canceled.
Check if the image is still showing in a "bpimagelist -backupid -L" output.
As Nicolai has suggested you should try and cancel the pending operation for the backupid...
01-12-2024 01:38 AM
my problem is that you can not manual expire a backup that is under SLP
01-12-2024 02:18 AM - edited 01-12-2024 02:19 AM
First you have to cancel the SLP processing for the image :
nbstlutil cancel -backupid <backupid>
Once a image if no longer under SLP control, you can delete the image from the catalogue.
bpexpdate -backupid <backupid> -d 0
01-12-2024 07:58 AM - edited 01-12-2024 07:59 AM
Hello Nicolai
I did what you told me but I get the error that the image does not exist, and that's how it is. By mistake I deleted it from the catalog since I am emptying an MSDP to upgrade to Netbackup 10 with another architecture.I have a backup of that client, since after deleting (because the duplication destination was incorrectly assigned) it is expiring after the copy to disk.
This warning out when SLP is done in the Activity Monitor.
expiring backup id dboracle.cibergestion.cl_1705031085 for which SLP processing is not complete
If, upon completing the MSDP emptying, I delete the compromised SLP, in theory the message should disappear, right?
In the meantime, I attach the output of the commands you sent me where it appears that the image does not exist.
nbstlutil cancel -backupid dboracle.cibergestion.cl_1704984585
No images or lifecycles matching criteria found
bpexpdate -backupid dboracle.cibergestion.cl_1705031085 -d 0
Are you SURE you want to delete dboracle.cibergestion.cl_1705031085 y/n (n)? y
no entity was found
thank you very much for your support as always, this is the best forum ever.
01-14-2024 09:53 AM
I no longer have errors, I thank you very much for your support.
Greetings to all.