Veritas NetBackup™ for HBase Administrator's Guide
- Introduction
- Deploying HBase plug-in for NetBackup
- About the HBase plug-in deployment
- Pre-requisites for installing the HBase plug-in
- Operating system and platform compatibility
- License for HBase plug-in for NetBackup
- Preparing the HBase cluster
- Best practices for deploying the HBase plug-in
- Post installation procedures
- Verifying the deployment of the HBase plug-in
- Configuring NetBackup for HBase
- About configuring NetBackup for HBase
- Managing backup hosts
- Adding HBase credentials in NetBackup
- Configuring the HBase plug-in using the HBase configuration file
- Configuration for a HBase cluster that uses Kerberos
- Configuring NetBackup policies for HBase plug-in
- Disaster recovery of a HBase cluster
- Performing backups and restores of HBase
- Troubleshooting
- About NetBackup for HBase debug logging
- Backup fails with error 6609
- Backup fails with error 6601
- Backup fails with error 6623
- Restore fails with error 2850
- Backup fails with error 20
- Backup fails with error 112
- Backup operation fails with error 6654
- NetBackup configuration and certificate files do not persist after the container-based NetBackup appliance restarts
- Configuration file is not recovered after a disaster recovery
- Index
Using NetBackup Command Line Interface (CLI) to create a BigData policy for HBase clusters
You can also use the CLI method to create a BigData policy for HBase.
To create a BigData policy using NetBackup CLI method
- Log on as an Administrator.
- Navigate to:
For Windows:<install_path>\NetBackup\bin\admincmd
For UNIX:
/usr/openv/var/global/bin/admincmd - Create a new BigData policy using the default settings.
bppolicynew policyname
- View the details about the new policy using the
-Loption.bpplinfo policyname -L
- Modify and update the policy type as BigData.
bpplinfo PolicyName -modify -v -M MasterServerName -pt BigData
- Specify the Application_Type as HBase.
For Windows:
bpplinclude PolicyName -add "Application_Type=hbase"
For UNIX:
bpplinclude PolicyName -add 'Application_Type=hbase
Note:
The parameter values for Application_Type=HBase are case-sensitive.
- Specify the backup host on which you want the backup operations to be performed for HBase.
For Windows:
bpplinclude PolicyName -add "Backup_Host=hostname"
For UNIX:
bpplinclude PolicyName -add 'Backup_Host=hostname'
Note:
The backup host must be a Linux computer. The backup host can be a NetBackup client or a media server or a master server.
- Specify the HBase directory or folder name that you want to backup.
For Windows:
bpplinclude PolicyName -add "/namespace:table_name"
For UNIX:
bpplinclude PolicyName -add '/namespace:table_name'
Note:
The table names that are specified for backup selection while defining BigData Policy with Application_Type=hbase must not contain space or comma in their names.
- Modify and update the policy storage type for BigData policy.
bpplinfo PolicyName -residence STUName -modify
- Specify the IP address or the host name of the HMaster for adding the client details.
For Windows:
bpplclients PolicyName -M "MasterServerName" -add "HBaseServerHMaster" "Linux" "RedHat"
For UNIX:
bpplclients PolicyName -M 'MasterServerName' -add 'HBaseServerHMaster' 'Linux' 'RedHat'
- Assign a schedule for the created BigData policy as per your requirements.
bpplsched PolicyName -add Schedule_Name -cal 0 -rl 0 -st sched_type -window 0 0
Here,
sched_typevalue can be specified as follows:Schedule Type
Description
FULL
Full backup
INCR
Differential Incremental backup
CINC
Cumulative Incremental backup
The default value for
sched_typeis FULL.Once you set the schedule, HBase data is backed up automatically as per the set schedule without any further user intervention.
- Alternatively, you can also perform a manual backup for HBase data.
For performing a manual backup operation, execute all the steps from Step 1 to Step 11.
- For a manual backup operation, navigate to:
For Windows:<install_path>\NetBackup\bin
For UNIX:
/usr/openv/var/global/binInitiate a manual backup operation for an existing BigData policy using the following command:
bpbackup -i -p PolicyName -s Schedule_Name -S MasterServerName -t 44
Here,
-prefers to policy,-srefers to schedule,-Srefers to master server, and-t 44refers to BigData policy type.