Forum Discussion

franciscotorres's avatar
7 months ago

image dont exist but SLP tries to expire (error 228)

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.

  • Nicolai's avatar
    Nicolai
    6 months ago

    Hi franciscotorres 

    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

  • franciscotorres's avatar
    franciscotorres
    6 months ago

    I no longer have errors, I thank you very much for your support.

     

    Greetings to all.

6 Replies

  • 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>

  • 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...



     

     

  • my problem is that you can not manual expire a backup that is under SLP

    • Nicolai's avatar
      Nicolai
      Moderator

      Hi franciscotorres 

      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

      • franciscotorres's avatar
        franciscotorres
        Level 4

        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.