Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change client name in host properties from commad line

Status
Not open for further replies.

CrazyMaD

Technical User
Oct 24, 2006
6
EU
Hi all,

is it possible to change client name in the "GUI: NetBackup Management -> host properties -> clients -> particular client" from command line? I'm using NBU 5.1 on HP-UX.

Thanks in advance.
 
yes, but you will also have to do some changes in the images directory on the master so that you will be able to restore.
Here is a technote describing the actions:
The name of a VERITAS NetBackup client has been changed and it cannot browse backup images written under the previous name for a restore

Details:
This problem can be resolved by simply renaming the old client directory in the NetBackup database to reflect the new client name. It is advisable to create a NetBackup catalog backup before attempting this procedure to minimize the risk of problems. The backup images for each individual client can be found in /usr/openv/netbackup/db/images/<client_name>/ on the NetBackup master server.

For example, if the old client name is OLD and the new client name is NEW:


mv /usr/openv/netbackup/db/images/OLD /usr/openv/netbackup/db/images/NEW



If backups have already been performed using the new client name, the new directory will already exist. If this is the case, all subdirectories in the old directory need to be recursively copied to the new client directory while maintaining the original file permissions.

Again, for example, if the old client name is OLD and the new client name is NEW:


cp -pR /usr/openv/netbackup/db/images/OLD/* /usr/openv/netbackup/db/images/NEW


NOTE: The commands used in these examples are based on the UNIX operating system and may need to be revised according the target platform and this procedure should be carried out with care to prevent serious database inconsistencies occurring in the event of a mistake


Bob Stump
Just because the VERITAS documentation states a certain thing does not make it a fact and that is truth.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top