Veritas NetBackup™ Commands Reference Guide
- Introduction
- Appendix A. NetBackup Commands
Name
nbcldutil — the cloud storage utility for performing various operations specific to cloud deployment.
SYNOPSIS
-appendcert -sourcecert source_certificate_path_and_name
-copycert -sourcecert source_certificate_path_and_name [-destcert destination_certificate_path]
-createbucket [-storage_server servername] [-username username] [-region regionname] [-j]
-get_supported_api_list
-validatecreds [-storage_server servername] [-username username] [-j]
-help
On UNIX systems, the directory path to this command is /usr/openv/netbackup/bin
DESCRIPTION
Use the nbcldutil command to validate user credentials and create buckets for Amazon S3 compatible cloud storage providers and Microsoft Azure.
Note:
This utility only supports Red Hat Linux.
OPTIONS
- -appendcert
This option appends certificate data in a
.pem
format to NetBackup cloud store CA certificate bundle. Use this option if your cloud vendor's CA certificate isn't present in the NetBackup cloud store CA bundle (cacert.pem
) at thedb/cloud
location, or if it's expired. The data is appended to the certificate in theinstall_path/var/global/wmc/cloud
directory on UNIX and theinstall_path\netbackup\var\global\wmc\cloud
directory on Windows.- -copycert
This option copies the certificate to a specified destination.
- -createbucket
Creates a bucket in the cloud storage provider. The createbucket option requires the storage server, user name, and region name options for Amazon S3 compatible cloud storage providers. For Microsoft Azure, the region name option is not supported.
- -destcert destination_certificate_path
Use this option to copy the certificate to a specific path destination. By default, the certificate is copied to the
install_path/var/global/wmc/cloud
directory on UNIX and theinstall_path\netbackup\var\global\wmc\cloud
directory on Windows.. This parameter is optional. If the source file extension is not.pem
but it is a valid.pem
format, the command copies the file to the destination with the.pem
extension.Be aware that you cannot use the -destcert option with the -appendcert option.
- -get_supported_api_list
Displays a list of nbcldutil supported APIs.
- -help
Displays help information for the command or option.
- -j
Generates output data in the json format that spans multiple lines.
- -region
For Amazon S3 compatible cloud storage region support, specifies the region in which to create the bucket. Use the Amazon suggested region values. If you do not add the region value, the default region is used.
- -sourcecert source_certificate_path_and_name
The file name and path of the source certificate.
- -storage_server
Specifies the cloud storage server for bucket creation or validation.
- -username
Specifies the user name of a user that has administrator privileges.
- -validatecreds
Validates the user credentials for the cloud storage provider. The validatecreds option requires the storage server and user name options. When you run the nbcldutil command with this option, a password prompt is displayed.
EXAMPLES
Example 1: Copy the certificate to a non-default location.
nbcldutil -copycert -sourcecert /root/cert/file.pem -destcert /root/destpath/
Example 2: Append a certificate.
nbcldutil -appendcert -sourceCert /root/certpath/file.pem
Example 3: Create Bucket in Amazon S3
nbcldutil -createbucket -storage_server mystorage_server -username myusername -bucket_name bucketname -region us-west-1