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
- Index
Restoring HBase data on an alternate HBase cluster
NetBackup lets you restore HBase data to another HMaster or HBase cluster. This type of restore method is also referred to as redirected restores.
Consider the following when you perform an alternate restore
To restoring HBase tables to different cluster, both cluster must have same HBase version deployed.
NetBackup supports redirected restores only using the Command Line Interface (CLI).
Make sure that you have added the credentials for the alternate HMaster or HBase cluster in NetBackup master server.
To perform redirected restore for HBase
- Modify the values for rename_file and listfile as follows:
Parameter
Value
rename_file
Change
/<namespace:source_table_name>to/<namespace:destination_table_name> ALT_APPLICATION_SERVER=<alternate name node>listfile
List of all the HBase files to be restored
Note:
/<namespace:source_table_name>and/<namespace:destination_table_name>must be different. - Run the bprestore -S master_server -D backup_host-C client -R rename_file -t 44 -L progress log -f listfile command on the NetBackup master server using the modified values for the mentioned parameters in step 1.
Where,
-S master_serverSpecifies the name of the NetBackup master server.
-D backup_hostSpecifies the name of the backup host.
-C clientSpecifies a HMaster as a source to use for finding backups or archives from which to restore files. This name must be as it appears in the NetBackup catalog.
-f listfileSpecifies a file (listfile) that contains a list of files to be restored and can be used instead of the file names option. In listfile, list each file path must be on a separate line.
-L progress_logSpecifies the name of whitelisted file path in which to write progress information.
-t 44Specifies BigData as the policy type.
-R rename_fileSpecifies the name of a file with name changes for alternate-path restores.
Use the following form for entries in the rename file:
change backup_tablename to restore_tablename ALT_APPLICATION_SERVER=<Application Server Name>The file paths must start with / (slash).
Note:
Ensure that you have whitelisted all the file paths such as
<rename_file_path>,<progress_log_path>that are already not included as a part of NetBackup install path.