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

m.ardito

Famous Member
Feb 17, 2010
1,473
18
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