Veritas NetBackup for HBase Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.1)
Platform: Linux,UNIX,Windows
  1. Introduction
    1.  
      Protecting HBase data using NetBackup
    2.  
      Backing up HBase data
    3.  
      Restoring HBase data
    4.  
      Deploying the HBase plug-in
    5.  
      NetBackup for HBase terminologies
    6.  
      Limitations
  2. Installing and deploying HBase plug-in for NetBackup
    1.  
      About installing and deploying the HBase plug-in
    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.  
      Downloading the plug-in
    7.  
      Installing the HBase plug-in
    8.  
      Best practices for deploying the HBase plug-in
    9.  
      Post installation procedures
    10.  
      Verifying the installation of the HBase plug-in
  3. Configuring NetBackup for HBase
    1.  
      About configuring NetBackup for HBase
    2. Managing backup hosts
      1.  
        Whitelisting a NetBackup client on NetBackup master server
      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
    5.  
      Configuration for a HBase cluster that uses Kerberos
    6. Configuring NetBackup policies for HBase plug-in
      1. Creating a BigData backup policy
        1. Creating BigData policy using the NetBackup Administration Console
          1.  
            Using the Policy Configuration Wizard to create a BigData policy for HBase clusters
          2.  
            Using the NetBackup Policies utility to create a BigData policy for HBase clusters
        2.  
          Using NetBackup Command Line Interface (CLI) to 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.  
        Pre-requisite 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 a HBase cluster
      1. Restoring HBase data on the same HBase cluster
        1.  
          Using the Restore Wizard to restore HBase data on the same cluster
        2.  
          Using the bprestore command to restore 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

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

  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 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_server

    Specifies the name of the NetBackup master 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.