CopyTable
is a utility to copy the data of one table to another table, either on the same cluster, or on a different HBase cluster. You can copy to a table that is on the same cluster; however, if you have another cluster that you want to treat as a backup, you might want to use CopyTable
as a live backup option to copy the data of a table to the backup cluster.
CopyTable
is configurable with a start and an end timestamp. If specified, only the data with a timestamp in the specific time frame will be copied. This feature makes it possible for incremental backup of an HBase table in some situations.
Note
"Incremental backup" is a method to only back up the data that has been changed during the last backup.
Note
Note: Since the cluster keeps running, there is a risk that edits could be missed during the copy process.
In this recipe, we will describe how to use CopyTable
to copy the data of a table to another one, on a different HBase cluster...