Hi there,
perhaps I just have not overseen it completely but is there a way to configure pre and post execution scripts (cmd_postexec and cmd_preexec) within the rsnapshot plugin?
Thanks in advance for a hint,
topi
rsnapshot plugin pre and post execution scripts?
-
- OMV 4.x
- topi
-
-
No. The plugin would require a change for that.
-
Thanks ryecoaaron for the clarification.
May I ask for placing a feature request for this feature: add the possibility to configure pre and post execution scripts (cmd_postexec and cmd_preexec) in the rsnapshot plugin?
Perhaps this feature is also of interest for others and worth for the devs to spend some time on it.
- topi -
May I ask for placing a feature request for this feature: add the possibility to configure pre and post execution scripts (cmd_postexec and cmd_preexec) in the rsnapshot plugin?
Sure. Can I ask what your use case is?
worth for the devs to spend some time on it.
I wish there was more than one dev
-
Thanks ryecoaaron for getting back on this.
A typical use case for me and perhaps others is:1. pre-exec script:
service application ABC stop
2. start rsnapshot to back directories which belong to ABC
3. post-exec script:
service application ABC startThe reason behind is that the application ABC should be stopped while its data are backed up due to data consistency reasons.
-
The reason behind is that the application ABC should be stopped while its data are backed up due to data consistency reasons.
Thanks. That is an excellent reason for the scripts. Didn't think of that.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!