On 2016-01-25 22:19, Tomasz Chmielewski wrote:

Let's say I have a container named "container1" and make a snapshot
called "test1":

# lxc snapshot container1 "test1"


How would I restore it as a new container, called "container1-test"?

lxc copy container1/test1 container1-test1

If using a filesystem which allows snapshotting (btrfs) - will it copy
container's directory (uses lots of space, takes long), or snapshot it
(almost instant, uses almost no extra space)?

It seems to be doing a proper snapshot - good :)

Tomasz Chmielewski
http://wpkg.org
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to