lxc-snapshot --version (return code: 0)
2.1.0
lxc-snapshot --help (return code: 0)
Usage: lxc-snapshot --name=NAME [-P lxcpath] [-L [-C]] [-c commentfile] [-r snapname [-N newname]]
lxc-snapshot snapshots a container
Options :
-n, --name=NAME NAME of the container
-L, --list list all snapshots
-r, --restore=NAME restore snapshot NAME, e.g. 'snap0'
-N, --newname=NEWNAME NEWNAME for the restored container
-d, --destroy=NAME destroy snapshot NAME, e.g. 'snap0'
use ALL to destroy all snapshots
-c, --comment=FILE add FILE as a comment
-C, --showcomments show snapshot comments
--rcfile=FILE Load configuration file FILE
Common options :
-o, --logfile=FILE Output log to FILE instead of stderr
-l, --logpriority=LEVEL Set log priority to LEVEL
-q, --quiet Don't produce any output
-P, --lxcpath=PATH Use specified container path
-?, --help Give this help list
--usage Give a short usage message
--version Print the version number
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
See the lxc-snapshot man page for further information.