Automating VM restore and homologation

Tacioandrade

Renowned Member
Sep 14, 2012
120
17
83
Vitória da Conquista, Brazil
Good night, I would like to know if anyone here on the forum has started to implement some way to automate the process of restoring some proxmox backups (mainly from PBS) from time to time ...
I say this because previously full backups just believe that the chances of having problems would be less, so I wanted to start implementing a policy for approval of backups once a week for example without having to spend hours to do the process manually.
 
did you already see https://pve.proxmox.com/wiki/Proxmox_VE_API ?
so the restore can be done via api and can be automated
I've looked at the API a few times, in most cases to integrate with Zabbix and get information for monitoring PVE and VMs.
I hadn't looked at the backup or restore part of the backup via the API. I'll see if I can assemble something in shellscript.
 

About

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!