doc/snapshot: doc for snapshot clone

Change-Id: Ie53e6ab780ab67ffe0c4f6d92fe4c0b779cec2c9
BUG: 1199894
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Reviewed-on: http://review.gluster.org/10187
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Tested-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
This commit is contained in:
Mohammed Rafi KC 2015-04-10 13:05:02 +05:30 committed by Humble Devassy Chirammal
parent c79e03ecd3
commit e02ac3c282

View File

@ -62,18 +62,35 @@ Snapshot Management
**Snapshot creation**
Syntax :
*gluster snapshot create <snapname\> <volname\(s\)\> \[description <description\>\] \[force\]*
*gluster snapshot create <snapname\> <volname\> \[no-timestamp] \[description <description\>\] \[force\]*
Details :
Creates a snapshot of a GlusterFS volume. User can provide a snap-name and a
description to identify the snap. The description cannot be more than 1024
characters.
Snapshot will be created by appending timestamp with user provided snap name.
User can override this behaviour by giving no-timestamp flag.
NOTE : To be able to take a snapshot, volume should be present and it
should be in started state.
-----------------------------------------------------------------------------
**Snapshot clone**
Syntax :
*gluster snapshot clone <clonename\> <snapname\>*
Details :
Creates a clone of a snapshot. Upon successful completion, a new GlusterFS
volume will be created from snapshot. The clone will be a space efficient clone,
i.e, the snapshot and the clone will share the backend disk.
NOTE : To be able to take a clone from snapshot, snapshot should be present
and it should be in activated state.
-----------------------------------------------------------------------------
**Restoring snaps**
Syntax :