Hello,
We are currently developing a script to get the creation date of a snapshot from a VM using this command :
But we cannot understand the syntax/format of the output :
On the VM, there's 3 snapshots in which the 2 created on 17/12/2024 whereas the latest one is created today (19/12/2024).
Can someone explain the syntax of the
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/snapshot
Any help will be much appreciated.
Thanks in advance.
Best Regards,
Linux Team
We are currently developing a script to get the creation date of a snapshot from a VM using this command :
pvesh get "/nodes/$NODE/qemu/$VMID/snapshot" --output-format=json |jq .[].snaptime
But we cannot understand the syntax/format of the output :
1734579627
1734423758
1734423290
On the VM, there's 3 snapshots in which the 2 created on 17/12/2024 whereas the latest one is created today (19/12/2024).
Can someone explain the syntax of the
snaptime
output above? We already seen the documentation and it does not seem to explain the syntax very well : https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/snapshot
Any help will be much appreciated.
Thanks in advance.
Best Regards,
Linux Team