ansible - snapshot container with mount points

nxet

Member
Sep 13, 2020
17
3
8
125
I've recently opened a PR which adds the functionality to the ansible.community.proxmox_snap module.
The module can now be used with a unbind option, which allows to take snapshots of LXC containers regardless of them having configured mount points.
This simple task is achieved by "toggling" the mount points config before and after the snapshot (save init config > remove > snap > restore).

But. Since this behavior is explicitly not supported by Proxmox, I thought it might have been very productive to let the community know about this, hoping that someone will eventually chime in with their comments, test results, or even better improvements.

You can find the PR on Github.