On 2016-01-20 02:04, Serge Hallyn wrote:
Quoting Tomasz Chmielewski (man...@wpkg.org):
Can lxc restore a snapshot as a new container?

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)?


Tomasz Chmielewski
http://wpkg.org

_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to