cancel
Showing results for 
Search instead for 
Did you mean: 

Modify Master Server Properties like "enable open file backup" from command line?

SplashMasterson
Level 4
Certified

Smart guys,

Rather than go to:

NetBackup Management > Host Properties > Master Servers > Properties > Client Attributes > Windows Open Files.. etc

Does anyone know if there is a way to modify these attributes from command line? I have a Windows 2008 R2 Master Server but Linux Media Servers, all 7.7.2.

I would like to script the addition of Windows servers to the Client Attributes list and turn off Open File Backups as a default. I prefer to use bash, but will use PowerShell if I have to.

2 ACCEPTED SOLUTIONS

Accepted Solutions

Mr__Saz
Level 3
Partner Accredited

Hello Splash,

I think you can use the bpclient command.

Should be something like this:
bpclient -client <client_name> -update -WOFB_enabled 0 


*Note that some clients are registered in Netbackup db and some are not.(vmware backups, for example, do not require a backup client and are not registered in Netbackup DB, on those cases you should use -add instead of -update option)
There is an outdated documentation about this that you can take a look: 
https://www.veritas.com/support/en_US/article.TECH37708

Also, you can check the NetBackup Commands Reference Guide for this command on page 76. 
https://www.veritas.com/support/en_US/article.DOC8601

I hope it helps.

Regards,
Mr Saz

View solution in original post

Marianne
Level 6
Partner    VIP    Accredited Certified
3 REPLIES 3

Mr__Saz
Level 3
Partner Accredited

Hello Splash,

I think you can use the bpclient command.

Should be something like this:
bpclient -client <client_name> -update -WOFB_enabled 0 


*Note that some clients are registered in Netbackup db and some are not.(vmware backups, for example, do not require a backup client and are not registered in Netbackup DB, on those cases you should use -add instead of -update option)
There is an outdated documentation about this that you can take a look: 
https://www.veritas.com/support/en_US/article.TECH37708

Also, you can check the NetBackup Commands Reference Guide for this command on page 76. 
https://www.veritas.com/support/en_US/article.DOC8601

I hope it helps.

Regards,
Mr Saz

Marianne
Level 6
Partner    VIP    Accredited Certified
Here is a TN for NBU 5.x, but still relevant:
http://www.veritas.com/docs/000028959

Thank you both!