From 17546d0991025f39ebb56d4ba7c1a2d8c8766dc6 Mon Sep 17 00:00:00 2001 From: Mingliang Liu Date: Wed, 8 Aug 2018 10:53:44 -0700 Subject: [PATCH] HBASE-21026 Fix Backup/Restore command usage bug in book --- src/main/asciidoc/_chapters/backup_restore.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/asciidoc/_chapters/backup_restore.adoc b/src/main/asciidoc/_chapters/backup_restore.adoc index cb7fcedaa1..e6a4c21516 100644 --- a/src/main/asciidoc/_chapters/backup_restore.adoc +++ b/src/main/asciidoc/_chapters/backup_restore.adoc @@ -308,7 +308,7 @@ _-o_:: [source] ---- -hbase backup restore /tmp/backup_incremental backupId_1467823988425 -t mytable1,mytable2 +hbase restore /tmp/backup_incremental backupId_1467823988425 -t mytable1,mytable2 ---- This command restores two tables of an incremental backup image. In this example: @@ -357,7 +357,7 @@ $ hbase backup merge backupId_1467823988425,backupId_1467827588425 Backup sets can ease the administration of HBase data backups and restores by reducing the amount of repetitive input of table names. You can group tables into a named backup set with the `hbase backup set add` command. You can then use -the -set option to invoke the name of a backup set in the `hbase backup create` or `hbase backup restore` rather than list +the `-set` option to invoke the name of a backup set in the `hbase backup create` or `hbase restore` rather than list individually every table in the group. You can have multiple backup sets. NOTE: Note the differentiation between the `hbase backup set add` command and the _-set_ option. The `hbase backup set add` -- 2.18.0