Deleting a storage lifecycle policy (SLP)
Good morning,
I'm trying to delete a storage lifecycle policy but i'm getting the below message.
The storage lifecycle policy, could not be deleted. Status: 1519
Images are in process. Please, run the nbstlutil command to get a list of those images if you need to cancel or expire them.
How do i expire the images?
Thanks,
This is not an expiration issue. This is an issue of images that are SLP incomplete. You can run the command nbstlutil stlilist -L -lifecycle <The SLP you are trying to delete> -image_incomplete. This will return all the images that still are marked incomplete that are a part of the SLP you are trying to delete.
So the image is not duplicated.
If you are very sure you don't want it.
nbstlutil cancel -backupid TMEPCDFILE_1428131051
This will move it to complete status, then the SLP can be deleted.
Note.
Depending on the settings of the first copy, the backup, this may expire immediately you cancel it, as the image reverts to a normal image and it's expire time reverts to whatever it is set to, relative to when it was taken.
It's not impossible to prevent this, but requires manual SQL commands, i.e. a support call.
Alternatively, you can investigate why it is stuck (nbstserv log / -o 226)