Dear Oliver, I just want to mention, that with this workaround it isn't a real snapshot anymore but may be called a "slow bullet" instead: It will take some real time to copy the whole image and in contrast to a snapshot, it will be not completely consistent if the Container is running at this time.
With greetings Guido -----Ursprüngliche Nachricht----- Von: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] Im Auftrag von Fajar A. Nugraha Gesendet: Montag, 13. Januar 2020 10:16 An: LXC users mailing-list <lxc-users@lists.linuxcontainers.org> Betreff: Re: [lxc-users] Howto save snapshots only to another drive? Bug? On Mon, Jan 13, 2020 at 3:57 PM Oliver Rath <oli...@greenunit.de> wrote: > > Hi Fajar, > > its "dir": > > lxc storage show default | grep driver > driver: dir If it's dir, you could probably work around that by using bind mounts. something like rm /path/to/pool/dir/containers-snapshots <= remove the symlink first mkdir /path/to/pool/dir/containers-snapshots <= recreate the directory mount --bind /path/to/new/disk/containers-snapshots /path/to/pool/dir/containers-snapshots then test it, see whether new directories/files appear on /path/to/new/disk/containers-snapshots Not sure whether this is a supported method or not though. -- Fajar _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users