I'd like to automate snapshotting in my zfs based small cluster where every VM has replication enabled. The schedule should also have a pruning logic.
Basically https://github.com/EnterpriseVE/eve4pve-autosnap/blob/master/eve4pve-autosnap pretty much looks like what I want. However the author is using the `qm` command where as dietmar stated in a thread ( https://forum.proxmox.com/threads/cli-for-snapshots.36288/ ) we should use the `pct` command. So here are a few questions:
PS: Implementing something like that officially would be great also it can be done quite easily manually ;-)
Basically https://github.com/EnterpriseVE/eve4pve-autosnap/blob/master/eve4pve-autosnap pretty much looks like what I want. However the author is using the `qm` command where as dietmar stated in a thread ( https://forum.proxmox.com/threads/cli-for-snapshots.36288/ ) we should use the `pct` command. So here are a few questions:
- What is the difference between `qm snapshot` and `pct snapshot`?
- What is the best approach if I want stateless (!) snapshots hourly which also play well with the replication on ZFS?
- Is `qm`, `pct` or whatever the best tool is clever enough to not perform all snapshots at the exact same time when I schedule them at the same time or should I take care of delaying snapshots a little manually?
PS: Implementing something like that officially would be great also it can be done quite easily manually ;-)