[PVE-User] how to check commands behind webconsole
dietmar at proxmox.com
Sat May 11 08:40:28 CEST 2013
> Because it is more easier for a user to understand where he is making mistakes
> and why command is not working. for example i run the command via following
> the manual format which is mentioned as below
> qm snapshot <vmid> <snapname> [OPTIONS]
You can also use:
> qm help snapshot
To get a more detailed help.
> root at acivirtsrv:~# qm snapshot 502 testsnap -freezefs -vmstate
> Formatting '/var/lib/vz/images/502/vm-502-state-testsnap.raw', fmt=raw
> Undefined subroutine &PVE::QemuServer::gqa_unfreezefs called at
> /usr/share/perl5/PVE/QemuServer.pm line 4287.
This is a bug. I suggest you do not use the '-freezefs' option (It has
not effect currently).
> secondly, how could we list snapshots via command line?
There is no extra command for that, but you can use the API, like:
# pvesh get /nodes/<nodename>/qemu/<vmid>/snapshot
Does that help?
More information about the pve-user