Restores HBase from S3. This command is only available when using Amazon EMR versionsearlier than 4.0.
See ‘aws help’ for descriptions of global parameters.
restore-from-hbase-backup
--cluster-id <value>
--dir <value>
[--backup-version <value>]
--cluster-id
(string)
A unique string that identifies a cluster. The
create-cluster
command returns this identifier. You can use thelist-clusters
command to get cluster IDs.
--dir
(string)
The Amazon S3 location of the Hbase backup. Example:
s3://mybucket/mybackup
, wheremybucket
is the specified Amazon S3 bucket and mybackup is the specified backup location. The path argument must begin with s3://, which refers to an Amazon S3 bucket.
--backup-version
(string)
The backup version to restore from. If not specified, the latest backup in the specified location is used.
See ‘aws help’ for descriptions of global parameters.