Orphaned policies
The definition of an orphaned policy is from the perspective of a specific NetBackup for OpenStack installation. Any policy that is located on the Backup Target Storage, but not known to the NetBackup for OpenStack installation is considered orphaned.
Further is to divide between policys that were previously owned by Projects/Users in the same cloud or are migrated from a different cloud.
The following CLI command provides the list of orphaned policys:
nbosjm policy-get-orphaned-policies-list [--migrate_cloud
{True,False}]
[--generate_yaml {True,False}]
--migrate_cloud {True,False} Set to True if you want to list policies from other clouds as well. Default is False.
--generate_yaml {True,False} Set to True if you want to generate output file in yaml format, which would be further used as input for policy reassign API.
Running this command against a Backup Target with many policies can take a bit of time. NetBackup for OpenStack is reading the complete Storage and verifies every found policy against the policies known in the database.