[Lxc-users] Backing Up A Container

Derek Simkowiak derek at simkowiak.net
Sun May 6 23:02:42 UTC 2012


     I have been using Rsnapshot (which is a thin wrapper around 
rsync).  I run Rsnapshot on the host, and thus, back up all my LXC 
containers at once.

     More about my rsnapshot setup can be found here:

http://derek.simkowiak.net/backing-up-multiple-servers-with-rsnapshot/


Thanks,
Derek

On 05/04/2012 10:21 PM, Thaddeus Hogan wrote:
> 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
>>
>
> ------------------------------------------------------------------------------
> 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