Restore a backup image
You can perform restore operation to restore a backup image. You can only restore on a live HBase cluster because the data must be redistributed to the RegionServers to complete the restore operation successfully.
Run the hbase restore command as hbase superuser to restore a backup image.
hbase restore /tmp/backup_incremental backupId_1467823988425 -t mytable1,mytable2
This command restores two tables of an incremental backup image. In this example:
tmp/backup_incrementalis the path to the directory containing the backup image.
backupId_1467823988425is the backup ID.
mytable2are the names of the tables in the backup image to be restored.