×
Menu
Index

snapcommand

 

Description

 
Issue a volume snapshot control command
 

Request

 
In addition to the Standard Request Structure, the following parameters are required.
 
For more information, consult section Parameters.
 
Parameter
Required?
pool_name
Y
start
Y
limit
Y
 
 

Command Options

 
Command
Possible Values
CREATE:
Create New Snapshot
Related Options:
pool_name
pool name i.e 'pool3/vol1'
volume_name
volume name
 
Example 1
Create snapshot.
 
$ softnas-cmd snapcommand create pool_name=pool1 volume_name=vol1
 
Example 2
Delete snapshots.
 
$ softnas-cmd snapcommand delete 'snapshots=pool1,volume1,snap-20150605-140647-cloned-Jun52015-141106:pool1,volume1,snap-20150606-070607'
 
 
 
Made with help of Dr.Explain
Copyright (c) SoftNAS LLC