Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Do you know how to backup and/or clone a lxc container ? I'm under Debian 6, and there is no lxc-clone, lxc-backup commands !?

Lxc administration seems pretty tough...

share|improve this question
add comment

1 Answer

This depends on whether you're using LVM as your storage base for your containers or not. lxc-clone and lxc-backup are not native commands to the LXC package I have, but seem to be available in the Ubuntu version. What version of the package are you using?

[root@Lancaster ~]# lxc-
lxc-attach       lxc-console      lxc-freeze       lxc-monitor      lxc-setcap       lxc-unfreeze
lxc-cgroup       lxc-create       lxc-info         lxc-netstat      lxc-setuid       lxc-unshare
lxc-checkconfig  lxc-destroy      lxc-kill         lxc-ps           lxc-start        lxc-version
lxc-checkpoint   lxc-execute      lxc-ls           lxc-restart      lxc-stop         lxc-wait
share|improve this answer
    
lxc version: 0.7.2 and no lvm –  Stef Jan 31 '13 at 13:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.