Previous  |  Next >  
Product: NetBackup System Administrator's Help  

Setting the List and Restore Permissions

To set the list and restore permissions, use the bpclient command to change the list_restore settings for the desired clients. The list_restore setting is a part of the NetBackup client catalog entry for each client and you can modify it only with the bpclient command in the following directory:

/usr/openv/netbackup/bin/admincmd/bpclient

The syntax for changing list_restore with the bpclient command is as follows (one line):

bpclient -client client_name -update -current_host host_name -list_restore [ 0 | 1 | 2 | 3 ]

Where:

0 = List or restore control is not specified (default, see below)

1 = Allow both list and restore

2 = Allow list only

3 = Deny both list and restore

For example, to prevent both lists and restores from the client shark (one line):

bpclient -client shark -update -current_host shark -list_restore 3

If you select 0, the standard default action is to allow both lists and restores. However, you can change this by adding DISALLOW_CLIENT_LIST_RESTORE and DISALLOW_CLIENT_LIST options to the bp.conf file on the master server.

  • Adding DISALLOW_CLIENT_LIST_RESTORE changes the default to deny both lists and restores.
  • Adding DISALLOW_CLIENT_LIST changes the default to deny lists.

If you add both the DISALLOW_CLIENT_RESTORE and DISALLOW_CLIENT_LIST_RESTORE, NetBackup behaves as though only DISALLOW_CLIENT_LIST_RESTORE is present.

The following table shows the combinations that are possible for setting list and restore permissions. Notice that you can use list_restore in combination with the DISALLOW_CLIENT_RESTORE and DISALLOW_CLIENT_LIST_RESTORE options in the bp.conf file. But for any specific client, a list_restore setting other than 0 always overrides the bp.conf file option.

 ^ Return to Top Previous  |  Next >  
Product: NetBackup System Administrator's Help  
VERITAS Software Corporation
www.veritas.com