rsnapshot plugin pre and post execution scripts?

  • 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

    OpenMediaVault 6.x (most recent stable version) -- 64 bit -- OMV-Extras 6.x (most recent stable version) -- Default Kernel

    • Offizieller Beitrag

    No. The plugin would require a change for that.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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

    OpenMediaVault 6.x (most recent stable version) -- 64 bit -- OMV-Extras 6.x (most recent stable version) -- Default Kernel

    • Offizieller Beitrag

    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 :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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 start


    The reason behind is that the application ABC should be stopped while its data are backed up due to data consistency reasons.

    OpenMediaVault 6.x (most recent stable version) -- 64 bit -- OMV-Extras 6.x (most recent stable version) -- Default Kernel

    • Offizieller Beitrag

    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.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!