pre/post backup task (feature request)

liane

Renowned Member
Nov 25, 2008
40
1
73
Hi,

the backup system is really simple to use, and the notification feature very useful, but after a backup is done, I have some tasks that need to be done (like copying files to remote machines) and I have to set these cron job way later the backup is done, to be sure it is really done at that time.

For daily backup, it is not a big deal, but since it is so easy to backup an entire VM with no down time, I think of doing it hourly for example.

For that, I'll have to store backup files as soon as the backup is done, and that requires to setup the backup by hand, not using the GUI, but instead launching with cron a script containing the vzdump command and the copy commands.

on a similar idea, pre-processing commands could be used to rotate backups on a remote location

So as a feature request, could a future version cron backup task launch a backup script (instead of just a vzdump command) on which we could add pre and post processing commands?
 
Hi,

the backup system is really simple to use, and the notification feature very useful, but after a backup is done, I have some tasks that need to be done (like copying files to remote machines) and I have to set these cron job way later the backup is done, to be sure it is really done at that time.

For daily backup, it is not a big deal, but since it is so easy to backup an entire VM with no down time, I think of doing it hourly for example.

For that, I'll have to store backup files as soon as the backup is done, and that requires to setup the backup by hand, not using the GUI, but instead launching with cron a script containing the vzdump command and the copy commands.

on a similar idea, pre-processing commands could be used to rotate backups on a remote location

So as a feature request, could a future version cron backup task launch a backup script (instead of just a vzdump command) on which we could add pre and post processing commands?

Not top priority here but I added this request to our list.
 
I was nicely surprised to find that a lot of support has been added to vzdump, via multiple hooks.

I can't wait to see a web interface to complete this.