Have and edge node with a configured HBase client tarball and know how to launch
the hbase shell from it. For more information, see Launching HBase
shell.
Get your CLOUD STORAGE LOCATION for your Cloudera Operational Database
using the Cloudera Operational Database web interface.
s3a://my_cod_bucket/cod-12345/hbase
Add your bucket to the IAM policy used by IDBroker.
For more information, see one of the following documentation:
From the edge node, run the ExportSnapshot command. Use the
external bucket as the source location and the Cloudera Operational Database cloud storage as the target.
Use the list_snapshots command and verify that your snapshot
is listed.
$ cd $HBASE_HOME$ ./bin/hbase shell$ hbase> list_snapshots[‘snapshot_name’]
Use the restore_snapshot or the
clone_snapshot command to reconstitute the table.
restore_snapshot: Overwrites current table state with
that of the snapshot. It means that any data modification applied after
the snapshot was taken would be lost. If the table does not exist in the
given cluster, the command automatically creates it.
clone_snapshot: Accepts a new table name for the table
in which it restores the table schema and data.
Validate that all rows are present in the table using the hbase
rowcounter or count command in the hbase
shell.