[lxc-users] Cloning frozen containers

Rory Campbell-Lange rory at campbell-lange.net
Sun Jul 12 23:42:52 UTC 2015


Hi.

I'd like to clone a frozen container (in this case running on btrfs).

This would be extremely useful for upgrade tests and so on. Stopping
some of our development servers to make a snapshot isn't really
feasible.

Thanks for any advice
Rory

# lxc-ls --fancy
NAME               STATE    IPV4            IPV6  AUTOSTART  
-----------------------------------------------------------
debian-wheezy      FROZEN   192.168.100.10  -     NO         
debian-wheezy-new  STOPPED  -               -     NO         

# lxc-clone -s debian-wheezy debian-wheezy-frozentest
lxc_container: error: Original container (debian-wheezy) is running
clone failed





More information about the lxc-users mailing list