Veritas NetBackup™ for HBase Administrator's Guide
- Introduction
- Deploying HBase plug-in for NetBackup
- Configuring NetBackup for HBase
- Managing backup hosts
- Configuring the HBase plug-in using the HBase configuration file
- Configuring NetBackup policies for HBase plug-in
- Performing backups and restores of HBase
- Troubleshooting
Restoring truncated tables
HBase has a limitation to restore truncated tables. As a workaround, follow the procedure.
To restore truncated tables
- Open the Backup, Archive, and Restore interface.
- Select the appropriate date range to restore the complete data set.
- In the Browse directory, specify the root directory ( "/") as the path to browse.
- From the File menu (Windows) or Actions menu (UNIX), choose Specify NetBackup Machines and Policy Type.
- On the Specify NetBackup Machines and Policy Type wizard, enter the source and destination details for restore.
Specify the HBase HMaster as the source for which you want to perform the restore operation.
From the Source client for restores list, select the required HMaster.
Specify the backup host as the destination client.
From the Destination client for restores list, select the required backup host.
On the Specify NetBackup Machines and Policy Type wizard, enter the policy type details for restore.
From the Policy type for restores list, choose BigData as the policy type for restore.
Click Ok.
- Go to the Backup History and select the backup images that you want to restore.
- In the Directory Structure pane, expand the Directory.
All the subsequent files and folders under the directory are displayed in the Contents of Selected Directory pane.
- In the Contents of Selected Directory pane, select the check box for the HBase files that you want to restore.
- Click Restore.
- In the Restore Marked Files dialog box, select Restore individual directories and files to different locations.
- Select the source HBase directory.
- Click Change Selected Destination(s)....
The Change Selected Destinations dialog box is displayed.
- In the Destinations field, add archive at the end of the destination directory.
- Click OK.
- Click Start Restore.
- Verify the restored files.