How to trigger preconfigured tape backup job and wait for its completion from shell script?

AmateurProgrammer

New Member
Sep 17, 2024
18
2
3
I would like to do some more automation with the tape jobs. How can I start a preconfigured tape backup job from cli? The configured backup job is visible in the tape backup "backup jobs" category in the web ui.
 
Yeah, seems like there is no way currently to trigger the jobs through the api...
I would really like to see this added or the ability tuo queue long running tasks. Now I have to wait for multiple hours and then again press a button to run the next job. Ideally i would just add the second job to the queue to be run after the first tape backup/restore operation finishes. I'm using the tape backup for archiving vm:s and sometimes restoring those aswell. I would like to do something like run archive job -> delete stuff in the archival namespace -> restore few vm:s from tape back to that archival namespace.
 

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!