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

DerDanilo

Famous Member
Jan 21, 2017
477
141
108
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: 169
  • Like
Reactions: luison and 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.