Problem
In NetBackup 7.5 all NetBackup client image list queries are performed in the EMM database, and these are associated with single hostname. To enable queries via an alias use the bpclient command to define the alias.
Windows :
<install-path>\netbackup\bin\admincmd\bpclient -client <client-name> -add_alias <alias>
UNIX/Linux
/usr/openv/netbackup/bin/admincmd/bpclient -client <client-name> -add_alias <alias>
This is especially useful for client side restore requests where the server is clustered and the backup was performed using the virtual hostname or the query from the client side restore is using the shortname for the query, but the backup was performed using the FQDN as defined in the backup policy.
Solution
Example :
The backup was performed using FQDN win2k8r2-test-sql.Veritas.com, but the restore or image query is required to use the shortname win2k8r2-test-sql
# /usr/openv/netbackup/bin/admincmd/bpimagelist -client win2k8r2-test-sql.Veritas.com -d 05/01/2012 -U
Backed Up Expires Files KB C Sched Type On Hold Index Status Policy
---------------- ---------- -------- -------- - ------------ ------- ------------ ------------
05/20/2012 00:02 06/03/2012 106469 41733783 N Full Backup 0 0 NBU-VMware-Test
05/20/2012 00:00 06/03/2012 33 0 N Full Backup 0 0 NBU-VMware-Test
# /usr/openv/netbackup/bin/admincmd/bpimagelist -client win2k8r2-test-sql -d 05/01/2012 -U
no entity was found
# /usr/openv/netbackup/bin/admincmd/bpclient -client win2k8r2-test-sql.Veritas.com -add_alias win2k8r2-test-sql
# /usr/openv/netbackup/bin/admincmd/bpclient -client win2k8r2-test-sql.Veritas.com -list_all_aliases
win2k8r2-test-sql.Veritas.com
win2k8r2-test-sql
# /usr/openv/netbackup/bin/admincmd/bpimagelist -client win2k8r2-test-sql -d 05/01/2012 -U
Backed Up Expires Files KB C Sched Type On Hold Index Status Policy
---------------- ---------- -------- -------- - ------------ ------- ------------ ------------
05/20/2012 00:02 06/03/2012 106469 41733783 N Full Backup 0 0 NBU-VMware-Test
05/20/2012 00:00 06/03/2012 33 0 N Full Backup 0 0 NBU-VMware-Test
See the related articles for the Best Practices for Client Aliases.