Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61F85D5BD for ; Wed, 7 Nov 2012 16:01:21 +0000 (UTC) Received: (qmail 7796 invoked by uid 500); 7 Nov 2012 16:01:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 7622 invoked by uid 500); 7 Nov 2012 16:01:19 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 6209 invoked by uid 99); 7 Nov 2012 16:01:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 16:01:17 +0000 Date: Wed, 7 Nov 2012 16:01:17 +0000 (UTC) From: "Jesse Yates (JIRA)" To: issues@hbase.apache.org Message-ID: <1253876802.80952.1352304077851.JavaMail.jiratomcat@arcas> In-Reply-To: <641294419.18550.1341662194634.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HBASE-6353) Snapshots shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse Yates updated HBASE-6353: ------------------------------- Fix Version/s: hbase-6055 > Snapshots shell > --------------- > > Key: HBASE-6353 > URL: https://issues.apache.org/jira/browse/HBASE-6353 > Project: HBase > Issue Type: Sub-task > Components: shell > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Fix For: hbase-6055 > > Attachments: HBASE-6353-v0.patch, HBASE-6353-v1.patch, snapshot-offline-test-demo.shell > > > h6. hbase shell with snapshot commands > * snapshot > ** Take a snapshot of the specified name with the specified name > * restore_snapshot > ** Restore specified snapshot on the original table > * clone_snapshot
> ** Create a new table based on the snapshot content > * list_snapshots [filter] > ** Show the list of snapshots taken > * delete_snapshot > ** Remove a specified snapshot > * rename_snapshot > ** Rename a snapshot to a new name > h6. Restore Table > Given a "snapshot name" restore override the original table with the snapshot content. > Before restoring a new snapshot of the table is taken, just to avoid bad situations. > This allows a full and quick rollback to a previous snapshot. > h6. Clone from Snapshot > Given a "snapshot name" a new table is created with the content of the specified snapshot. > This operation allows: > * To have an old version of the table in parallel with the current one. > ** Look at snapshot side-by-side with the "current" before making the decision whether to roll back or not > * To Add/Remove data from this table without affecting the original one or the snapshot. > * To Restore only "individual items" (only some small range of data was lost from "current") > ** MR job that scan the cloned table and update the data in the original one. (Partial restore of the data) > h6. Open points > * Add snapshot type option on take snapshot command (global, timestamp)? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira