...
Code Block |
---|
|
lxc restore container01 snapshotname01 |
Renaming a snapshot
Code Block |
---|
|
lxc move container01/snapshotname01 container01/snaptestname01
lxc info container01
...
Snapshots:
snaptestname01 (taken at 2017/02/02 15:33 UTC) (stateless) |
Creating a container from a snapshot
Code Block |
---|
|
lxc copy container01/snaptestname01 container02 |
Deleting a snapshot
Code Block |
---|
|
lxc delete container01/snaptestname01 |
Moving Containers
With copy, the new container is identical in every way except no snapshots and volatile keys (ie MAC address and hostnames) will be regenerated.
...