I found solution:
post "/nodes/{node-name}/qemu"
[
'vmid' => $vmid,
'force' => 1,
'storage' => 'local',
'archive' => $path
];
$path like – "local-1Tb:backup/vzdump-qemu-104-2021_07_15-01_15_42.vma.zst";
'force' is required for restore current VM
Help me please! I can't find any solution…
How can i restore existed VM using HTTP API?
Using post request to 'nodes/{node}/qemu' with parameters 'archive' and 'vmid' i can create new VM from vma.zst file with unique ID, but can't restore herself
It's possible?
Or I must delete current VM and...
I found solution here – https://forum.proxmox.com/threads/lost-access-to-the-gui-after-ssl-certificates-deletion.58789/post-271194
– remove the files '/etc/pve/local/pveproxy-ssl.pem' and '/etc/pve/local/pveproxy-ssl.key'
– run `pvecm updatecerts --force`
– systemctl restart pveproxy
I have a same problem as topic starter…
I was add new SSL to Proxmox and see alert something – "PVE need need to restart web server …", was click "OK" and after that GUI of Proxmox not accessible but I can connect over ssh and all VM still work
I'am using PHP API (curl)
this code create user with any userid
$result = $px->post('/access/users', [
'userid' => '6lUs3WcD?0%9@pve',
'groups' => $param['user_group'],
'password' => $param['user_password'],
]);
this dosn't work. can't create user...
Hello.
I was create new user with unique name via API – 6lUs3WcD0?9%@pve, but now i can't delete him…
On creation process was not any errors, but on delete i have:
Parameter verification failed. (400)
9%@pve: property is not defined in schema and the schema does not allow additional...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.