Forum Discussion

Baski's avatar
Baski
Level 5
11 years ago

How to delete orphend policy from Netbackup

Hi Team,

 

We are facing one strange issue. Some one create a policy with xxxxxx/ ( with slash) and this  backup is failing with EC-84, but Original backup is running fine without any issue.  We have deleted the policy from GUI, but still it is running. We have checked in db/cass/ folder there we find the / policy name. We have deleted the policy there also. But still it is running. No idea, where it is running.

 

We have updated/run the below command, but no use. Stil the job is running.

 

nbpemreq -updatepolicies

 

is any help how to delete the policy from the NBU without recycle the NBU services ?

 

Thanks for your help.

  • Since the policy has been deleted and continues to run for whatever the reason, first thing you should do is rename the script the job runs on the Oracle client. This will prevent the job from running albeit with a failed status code attached to it but at least you stop it from running. At that point I would certainly look to restart the services for NetBackup WITHOUT rebooting your production servers. Make sure you suspend or cancel jobs currently running. Make note of the cancelled jobs and restart them once the services come back up. Resume any suspended jobs.

    Questions...

    Snipped from one of your posts to Marianne

    "I can see the original policy only, but not the "\" policy, which we already removed from the NBU policy GUI." ( I think you meant "/" in this sentence..yes?)

    What is this original policy? Does it have the same name sans the /??????????

    Also, out of curiosity have you attempted to run the find command on the policy name? I ask this because I don't know how a policy was able to be created with a "/" in the string to begin with and I'm curious to see if there may now be a directory out there with the name DB-ORA-DB_SID-ARCH-NET. Just for kicks and giggles run the following

    # find / -name DB-ORA-*

    or

    # find / -name DB-ORA-* -print (If Solaris)