[Lxc-users] Backing Up A Container
Thaddeus Hogan
thaddeus at thogan.com
Sat May 5 05:21:33 UTC 2012
What tools are you using for backup? I am using Amanda for my Ubuntu
12.04/LXC hosts/guests, however I don't back up the whole root
filesystem. What I do is store a gold root filesystem, and a list of
additional packages installed I generate from dpkg-query. Finally, with
Amanda I only backup data and config files. I have not had any issues so
far re-producing an identically functioning guest system from the gold
image + additional packages + Amanda backups. Of course, my method only
works if you own all the guests.
Sorry I cannot comment more on backing up a whole root filesystem, but
though I would share my technique in case if gives you any ideas.
-- Thaddeus
On 5/3/2012 12:01 PM, Patrick Kevin McCaffrey wrote:
> Hello list,
> I've been doing some work on my LXC setup lately. I have several Debian containers set up under an Ubuntu 12.04 host. Each container runs different services (email, web, database, etc.), and I've been trying to figure out the best way to back them up.
>
> I've tried simply copying the rootfs of each container, but I get errors about not being able to copy special files. What is the 'standard' method for container backups?
>
> Pat McCaffrey
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
More information about the lxc-users
mailing list