-
Notifications
You must be signed in to change notification settings - Fork 15
snapshot
Dilshat edited this page Feb 12, 2019
·
12 revisions
Allows to create snapshots of container partitions and rollback them.
usage: subutai snapshot <command> [<args> ...]
Options:
snapshot create --container=CONTAINER --partition=PARTITION --label=LABEL [<flags>]
Create snapshot
snapshot remove --container=CONTAINER --partition=PARTITION --label=LABEL
Remove snapshot
snapshot list [<flags>]
List snapshots
snapshot rollback --container=CONTAINER --partition=PARTITION --label=LABEL [<flags>]
Rollback to snapshot
Example:
subutai snapshot create --container foo --partition home --label snap-01012019
subutai snapshot list
subutai snapshot list --container foo
subutai snapshot list --container foo --partition rootfs
subutai snapshot remove --container foo --partition home --label snap-01012019
subutai snapshot rollback --container foo --partition home --label snap-01012019
- Parameter
--container
specifies a name of target container - Parameter
--partition
specifies a target partition of container (home|rootfs|var|opt) - Parameter
--label
specifies a unique name of snapshot