Hi, lads and ladies.
I stuck with one little trouble about topic.
I have a lot of VMs and CTs in a Proxmox environment, zfs-based. Some of them contains db or other services, that *CAN* restore after unclean shutdown, but it would be better to have them *CLEAN* at snapshot taken.
I'm using HA/replication within 3-nodes cluster. It calls `zfs snapshot` to take a snapshot.
Same for a backup.
Sometimes I call `pct snapshot` or `qm snapshot` to make an intermediate snapshot for some purposes.
Now, all the way I need to send some commands into CT/VM to make snapshot as cleaner as it can.
I'm able wrap backup command with some systemd timer and make bash alias for `pct snap`/`qm snap`, but it's not the same.
It's hidden, blackboxed solution, non-manageable by Proxmox itself in any available ways.
And there is nothing to do with replication.
It will be nice to have `pre-snap script` and `post-snap script` or add these subcommands in CT/VM `script` feature.
I stuck with one little trouble about topic.
I have a lot of VMs and CTs in a Proxmox environment, zfs-based. Some of them contains db or other services, that *CAN* restore after unclean shutdown, but it would be better to have them *CLEAN* at snapshot taken.
I'm using HA/replication within 3-nodes cluster. It calls `zfs snapshot` to take a snapshot.
Same for a backup.
Sometimes I call `pct snapshot` or `qm snapshot` to make an intermediate snapshot for some purposes.
Now, all the way I need to send some commands into CT/VM to make snapshot as cleaner as it can.
I'm able wrap backup command with some systemd timer and make bash alias for `pct snap`/`qm snap`, but it's not the same.
It's hidden, blackboxed solution, non-manageable by Proxmox itself in any available ways.
And there is nothing to do with replication.
It will be nice to have `pre-snap script` and `post-snap script` or add these subcommands in CT/VM `script` feature.