[lxc-users] lxd: restore snapshot as a new container?
Tomasz Chmielewski
mangoo at wpkg.org
Mon Jan 25 16:34:32 UTC 2016
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
More information about the lxc-users
mailing list