Bucket is in a default AWS Region
For the case of reconfiguring NetBackup to work with S3 after performing backups to AWS Snowball Edge when the bucket is in a default AWS region, use the following procedure. You can also use the following procedure if you encounter an error for unique host name.
To reconfigure NetBackup to work with S3 after a backup is performed
- Verify that the backup policies and the SLP targeting the AWS Snowball Edge are deactivated. If not, deactivate them before proceeding with the reconfiguration steps.
Run the following command to suspend the secondary operation for SLP:
/usr/openv/netbackup/bin/admincmd/nbstlutil inactive -lifecycle <slp_name>
- To get the storage server name created for the custom instance, run the following and note the storage server which was configured when you created the disk pool.
/usr/openv/netbackup/bin/admincmd/csconfig cldinstance -i -in <name of your instance>
- To remove the storage server from the custom instance, run:
/usr/openv/netbackup/bin/admincmd/csconfig cldinstance -rs -in <instance name> -sts <storage server name from step 2>
- To add a storage server to an amazon.com instance, run:
/usr/openv/netbackup/bin/admincmd/csconfig cldinstance -as -in amazon.com -sts <storage server name from step 2>
- Run: /usr/openv/netbackup/bin/admincmd/csconfig r to refresh the cloud instance.
- Up the AWS Snowball Edge volume: /usr/openv/netbackup/bin/admincmd/nbdevconfig -changestate -stype PureDisk -dp <disk_pool_name> -dv <disk_volume_name> -state UP
- Log on to the NetBackup web UI.
- Go to your Disk pool in the NetBackup web UI and update the credentials with credentials of your AWS account.
- Restart the pdde services on the media server:
/usr/openv/pdde/pdconfigure/pdde stop
/usr/openv/pdde/pdconfigure/pdde start
- In the NetBackup web UI, go to Storage > Disk storage > Disk pools, select the disk pool and click on Update disk volume.
- Run the following and verify Status = UP: /usr/openv/netbackup/bin/admincmd/nbdevquery -listdv -stype PureDisk -U -dp <disk_pool_name>
- Open the Disk pool details page in NetBackup web UI and verify that the Service host is updated to the AWS service host for the region in the Cloud details section.
- Activate backup policies or activate the secondary operation processing in the SLP, you can use the following command to activate secondary operations in the SLP:
/usr/openv/netbackup/bin/admincmd/nbstlutil active -lifecycle <slp_name>
- Perform the restore and verify the data. Use the NetBackup web UI to verify the images.