Tuesday 1 September 2015

Backup Table and Data in HBase

Use following command :

snapshot 'tweets1', 'tweets1-Snapshot'
clone_snapshot 'tweets1-Snapshot', 'newTable'


//tweets1 is the actual table name.
//newTable is the cloned table. Type in command  -- scan 'newTable'to verify.

No comments:

Post a Comment