cluster level after-backups job/script: would it make sense? howto?

m.ardito

Famous Member
Feb 17, 2010
1,473
17
103
Torino, Italy
Hi,

I was just wondering if there was a way to automate with a script a job to copy nightly backup files (pve cluster defined job) to another storage.
I know single backups can hook a script but I thought it would make sense to execute it after last job has finished (ie: when pve sends backup job mail report), jusat don't know if there is a way...

any thoughts?

Marco
 
My knowledge on Proxmox inner working is limited. But as far as i understand cron jobs, each job perform in sequential order. Jobs can be nested within jobs, meaning the Auto backup job itself is master job, and all other VMs backup jobs are within the main backup job. Adding new VM for backup just becomes nested within main backup job. So long the script is put right after main backup job, it should start copying your backup files to another storage server regardless how many VMs it has backup. Hope this makes sense. Somebody from Proxmox staff may be explain little better about cron job locations.

Sent from my ASUS Transformer Pad TF700T using Tapatalk
 

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!