2

I know that the command $ lxc-snapshot exists somewhere, but it seems that it's not available on Debian? Forgive my Linux ignorance - but how do I get a hold of this capability? Is there an alternative for Debian?

Also, if you need this info, the result of $ uname -a:

Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux

galois
  • 241
  • Have you tried apt-file search "lxc-snapshot"? – goldilocks Jan 29 '15 at 17:12
  • It looks like is available in a more recent version of lxc than the one you have, since apt-file lists it as being in lxc, but my version (wheezy) does not have it. Backporting lxc is probably an option, though you might have to also upgrade the kernel. I'm guessing you are running wheezy. For future reference, note that lsb_release -a is the information to post. – Faheem Mitha Jan 29 '15 at 17:15
  • deb7 is wheezy. So yes @Jaska is running wheezy. – ctrl-alt-delor Jan 29 '15 at 19:44

1 Answers1

2

lxc-snapshot is listed in the version of lxc in testing/unstable, which at this time of writing are both the same, namely 1:1.0.6-6.

You can see the list of packages at File list of package lxc/jessie/amd64.

Backporting lxc should not be a problem. It does not have much by way of dependencies. Comment if you need more details about this. Generic instructions are at How can I install more recent versions of software than what Debian provides?

I haven't checked to see if you need to upgrade your kernel, but I think 3.2 probably offers sufficiently recent support for the 1.0.6 version of the LXC userspace tools.

Faheem Mitha
  • 35,108