Feature request: "pre-*" and "post-*" backup task hooks

DerDanilo

Renowned Member
Jan 21, 2017
476
133
83
It would be really nice if there were two lines in the backup task configuration which allow the reference to a backup script that has to be run pre- or post- the actual backup task.

The two lines could be displayed right below the other configuration as they are optional.

@proxmox team: Do you think that you can add this feature soon?
This should be simple to add to the GUI to run any script/programm before and after the task/job.
This way one could mount a specific storage and or "open" an encrypted backup storage that needs to be attached manually.
This would also be nice to be able to trigger rsync/borg/... jobs right after the end of the backup.

2017-12-10_16h12_51-png.6440
 

Attachments

  • 2017-12-10_16h12_51.png
    2017-12-10_16h12_51.png
    102.8 KB · Views: 148
  • Like
Reactions: marsian
First, feature requests have to be made directly to the bugtracker at https://bugzilla.proxmox.com/

So, you want to have that in the GUI, because the CLI tool is already able to do that. At the moment, you can just add your hook-script directly to /etc/pve/vzdump.cron to get what you want if you cannot wait for the FR.
 

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!