Problem
Source Primary server: NetBackup version 9.1 and above (configured with source_service_user).
Target Primary server: NetBackup version 9.1 and above (configured with target_service_user).
NBServerMigrator version: 2.0
If the source and the target primary servers are configured with different service users, after migration (using NBServerMigrator) we need to update the ownership of the files.
Error Message
- The policy <Backup_policy_name> could not be added, status: 14 file write failed
-Unable to get retention levels definitions error=12-system call failed(11)
Cause
N/A
Solution
On the Target Primary server, run the following sequentially:
1) /usr/openv/netbackup/bin/goodies/update_install_folder_perms --os Linux --installer --previous_service_user <service_user_of_source> --reset_group_ids.
2) /usr/openv/netbackup/bin/goodies/update_install_folder_perms --os Linux --installer --reset_group_ids
Example:
if
source service user = source_service_user
target service user = target_service_user
# /usr/openv/netbackup/bin/goodies/update_install_folder_perms --os Linux --installer --previous_service_user source_service_user --reset_group_ids
Setting the user "target_service_user" as the owner of all files in the directory "/usr/openv".
This operation may take some time.
x openv/wmc/bin/install/setupWmc
# /usr/openv/netbackup/bin/goodies/update_install_folder_perms --os Linux --installer --reset_group_ids
Setting the user "target_service_user" as the owner of all files in the directory "/usr/openv".
This operation may take some time.
x openv/wmc/bin/install/setupWmc
#