[SOLVED] Proxmox API for restore of a container backup-archive

Daniel Lauck

Aug 5, 2019

I´m currently using the Promox´s API to restore VM backups, and works very well. Now I´m searching what´s the API route to perform a container restore, but could´t find any.
I´m able to restore a container backup using "pct restore", but my goal is to use API REST requests to automatize all the process.

Do anyone know what´s the API route the perform such task?
Proxmox version: 7.4-3

Best Regards.
One can always use "Developer Tools" to analyze what API call is made by PVE GUI. For example, looking at LXC restore performed from UI, we can can see this POST request:
Request URL:
Request Method:

Further looking at payload:
vmid: 102
force: 1
storage: bb-iscsi
ostemplate: local%3Abackup%2Fvzdump-lxc-102-2023_09_28-17_56_01.tar.zst
restore: 1

The API reference is here: https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/lxc
Hope this helps

Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!