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 polices 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 polices:
nbosjm policy-get-orphaned-policies-list [--migrate_cloud
{True,False}]
[--generate_yaml {True,False}]
--migrate_cloud Set to True if you want to list policies from other clouds as well. Default is False.
--generate_yaml Set to True if you want to generate output file in the YAML file format, which is further used as the 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 reads the complete storage and verifies every found policy against the policies known in the database.
Note:
The policy-get-orphaned-policies-list command is not supported in NetBackup for OpenStack 10.4.