Re: [lxc-users] lxc archive / lxc restore command?

2017-04-13 Thread Serge E. Hallyn
Quoting Micky Del Favero (mi...@mesina.net): > Tomasz Chmielewski writes: > > > In other words - how to best achieve: > > > > - tar a selected container > > > > - copy it via SSH somewhere > > > > - restore at some later point in time somewhere else, on a different, > >

Re: [lxc-users] lxc archive / lxc restore command?

2017-04-13 Thread Micky Del Favero
Tomasz Chmielewski writes: > In other words - how to best achieve: > > - tar a selected container > > - copy it via SSH somewhere > > - restore at some later point in time somewhere else, on a different, > unrelated LXD server Probably it's not the best way to do it, but you

Re: [lxc-users] lxc archive / lxc restore command?

2017-04-13 Thread Tomasz Chmielewski
It might work, but looks like an overkill to me. Essentially, I want to do: - full container backup - then restore it, perhaps somewhere else, at some point in the future Can I simply copy /var/lib/lxd/containers/MYCONTAINER to a different server an expect it to work? I think it won't work,

[lxc-users] lxc archive / lxc restore command?

2017-04-13 Thread Tomasz Chmielewski
Is there such a thing like "lxc archive / lxc restore"? Or perhaps "lxc export / lxc import"? I have a container called "mycontainer". I would like to "archive" it, and save to backup. Then, perhaps a month later, I would like to restore it, on a different LXD server. Right now, the