05-25-2015 08:16 AM
Hi All,
I was trying to generate bpclimagelist for a team who do not have either root access or suexec. I was able to generate for other unix clients except AIX.
/usr/openv/netbackup/bin/bpclimagelist -U doesnot return anything. Is there another way to generate image list? fyi bplist doesnt work either.
P.S. imagelist list needs to generated on client not on master.
Regards,
Laxmi
Solved! Go to Solution.
05-27-2015 11:03 AM
Verify the status code of the 'bpclimagelist' command by running "echo $?" immediately after invoking it.
bpclimagelist -U; echo $?
The status code will indicate why there is no output. This will be a normal NBU status code. Do the same for the "bplist" command. Use this information to help diagnose your issue. If there is no output to the command, the status code cannot be a zero.
By default, the commands will be sent to the Master Server that the client is registered to. You can use the command "bpclntcmd -pn" to verify that information. The policy type will default to what is normal for the OS type of the requesting client. For Unix/Linux, the policy type is 0, for Windows 13. For your AIX client the command 'bpclimagelist -U' will become the equivalent of:
bpclimagelist -client $client_name -server $Master_Server_name -ct 0 -U
The values of $Master_Server_name and $client_name will be coming out the "SERVER=" and "CLIENT=" entries in bp.conf file of the client.
If the start date "-s" option is not specified, the start date defaults to 6 months previous the current date. If the "-e" end date is not specified it defaults to end of epoch.
Again, make use of the 'echo $?' status code display to find your root cause.
05-26-2015 11:42 AM
Use the GUI and go to Catalog. Select the machine and time frame for the backups, select the images you want, and then export the list.
05-26-2015 12:21 PM
05-27-2015 11:03 AM
Verify the status code of the 'bpclimagelist' command by running "echo $?" immediately after invoking it.
bpclimagelist -U; echo $?
The status code will indicate why there is no output. This will be a normal NBU status code. Do the same for the "bplist" command. Use this information to help diagnose your issue. If there is no output to the command, the status code cannot be a zero.
By default, the commands will be sent to the Master Server that the client is registered to. You can use the command "bpclntcmd -pn" to verify that information. The policy type will default to what is normal for the OS type of the requesting client. For Unix/Linux, the policy type is 0, for Windows 13. For your AIX client the command 'bpclimagelist -U' will become the equivalent of:
bpclimagelist -client $client_name -server $Master_Server_name -ct 0 -U
The values of $Master_Server_name and $client_name will be coming out the "SERVER=" and "CLIENT=" entries in bp.conf file of the client.
If the start date "-s" option is not specified, the start date defaults to 6 months previous the current date. If the "-e" end date is not specified it defaults to end of epoch.
Again, make use of the 'echo $?' status code display to find your root cause.