NetBackup™ for HBase Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.4)
  1. Introduction
    1.  
      Protecting HBase data using NetBackup
    2.  
      Backing up HBase data
    3.  
      Restoring HBase data
    4.  
      NetBackup for HBase terminologies
    5.  
      Limitations
  2. Deploying HBase plug-in for NetBackup
    1.  
      About the HBase plug-in deployment
    2.  
      Pre-requisites for installing the HBase plug-in
    3.  
      Operating system and platform compatibility
    4.  
      License for HBase plug-in for NetBackup
    5.  
      Preparing the HBase cluster
    6.  
      Best practices for deploying the HBase plug-in
    7.  
      Post installation procedures
    8.  
      Verifying the deployment of the HBase plug-in
  3. Configuring NetBackup for HBase
    1.  
      About configuring NetBackup for HBase
    2. Managing backup hosts
      1.  
        Adding a NetBackup client to the allowed list
      2.  
        Configure a NetBackup Appliance as a backup host
    3.  
      Adding HBase credentials in NetBackup
    4. Configuring the HBase plug-in using the HBase configuration file
      1.  
        Configuring NetBackup for a highly-available HBase cluster
      2.  
        Configuring communication between NetBackup and HBase clusters that have SSL enabled (HTTPS)
    5.  
      Configuration for a HBase cluster that uses Kerberos
    6.  
      Create a BigData policy for HBase clusters
    7.  
      Disaster recovery of a HBase cluster
  4. Performing backups and restores of HBase
    1. About backing up a HBase cluster
      1.  
        Prerequisites for running backup and restore operations for a HBase cluster with Kerberos authentication
      2.  
        Backing up a HBase cluster
      3.  
        Best practices for backing up a HBase cluster
    2. About restoring an HBase cluster
      1.  
        Restoring HBase data on the same HBase cluster
    3.  
      Restoring HBase data on an alternate HBase cluster
    4.  
      Restoring truncated tables
    5.  
      Best practices for restoring a HBase cluster
  5. Troubleshooting
    1.  
      About NetBackup for HBase debug logging
    2.  
      Backup fails with error 6609
    3.  
      Backup fails with error 6601
    4.  
      Backup fails with error 6623
    5.  
      Restore fails with error 2850
    6.  
      Backup fails with error 20
    7.  
      Backup fails with error 112
    8.  
      Backup operation fails with error 6654
    9.  
      NetBackup configuration and certificate files do not persist after the container-based NetBackup appliance restarts
    10.  
      Configuration file is not recovered after a disaster recovery

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.

  • Make sure that you have added the credentials for the alternate HMaster or HBase cluster in NetBackup primary server.

To perform redirected restore for HBase

  1. 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.

  2. Run the bprestore -S primary_server -D backup_host-C client -R rename_file -t 44 -L progress log -f listfile command on the NetBackup primary server using the modified values for the mentioned parameters in step 1.

    Where,

    -S primary_server

    Specifies the name of the NetBackup primary server.

    -D backup_host

    Specifies the name of the backup host.

    -C client

    Specifies 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 listfile

    Specifies 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_log

    Specifies the name of whitelisted file path in which to write progress information.

    -t 44

    Specifies BigData as the policy type.

    -R rename_file

    Specifies 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.