0

I know multiple ways to backing up a lxc container, but all of them, as far as I see, involve stop the container first. I would like to know if there is a way to make a live backup of the containers of course without stopping it.

amh9412
  • 79
  • 1
  • 11
  • You can snapshot the running container, then do what you like with the snapshot, ie image then export. – Lawrence Cherone Nov 09 '18 at 05:15
  • @LawrenceCherone With the snapshot utility of lxc, I tried and it does not work, but making a **tar.gz** backup did work and I don't be force to stop the container. So I think I find my solution thanks anyway. – amh9412 Nov 09 '18 at 13:27

1 Answers1

0

I don't think this can be done in an officially supported way. LXD does have this functionality though.

Uku Loskit
  • 40,868
  • 9
  • 92
  • 93