On 03/10/2014 01:34 PM, Richard Weinberger wrote: > On Mon, Mar 10, 2014 at 1:11 PM, Thouraya TH <thouray...@gmail.com> wrote: >> Hello, >> >> Please, is it possible to migrate a container to a new node and restart it >> there ? And How? should i take a snapshot of the container or i can >> transfer the repository of container directly to the new node and restart it >> ? > Someday it may work with CRIU. > See: http://criu.org/Main_Page
As per my understanding he asked about the filesystem, correct me if I'm wrong. You can just copy files over to the new place. A good method: rsync --delete -rvalH --numeric-ids /var/lib/lxc/CONTAINER dsthost:/var/lib/lxc/ lxc-stop -n CONTAINER rsync --delete -rvalH --numeric-ids /var/lib/lxc/CONTAINER dsthost:/var/lib/lxc/ ssh dsthost lxc-start -d -n CONTAINER tamas _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users