I want to take lxc container backup. We have server with 12.04 LTS ubuntu server and I have installed LXC - 1.0.0.alpha2 in it. I wanted to update our
12.04 LTS ubuntu server
LXC - 1.0.0.alpha2
I find the simplest way to back up a container is to just run lxc-clone.
lxc-clone -o NAMEOFCONTAINER -n NAMEOFCONTAINER -P BACKUPDIR
Restoring it is as simple as copying or moving the backup back to /var/lib/lxc You can also tar it to save space.