(Solved) Option not saved in webui for system backup

  • Hi,
    In OMV 4., whenever I change in the webUI the schedule for system backup from daily to anything else (e.g. monthly), then the usual Save + Apply, and then go back to the "Create Schedule backup job", it again show Daily. In /etc/openmediavault/config.xml, I get this:

    XML
    <backup>
          <sharedfolderref>723dd3b2-f9ae-464b-8ddb-99070cd01311</sharedfolderref>
          <method>fsarchiver</method>
          <root></root>
          <extraoptions></extraoptions>
          <keep>2</keep>
          <passwd></passwd>
        </backup>


    Do I miss something or is it a bug? What should be the correct XML for 2 monthly backups? (I couldn't find the script reading and using that).
    Thank you!

    • Offizieller Beitrag

    Do I miss something or is it a bug? What should be the correct XML for 2 monthly backups? (I couldn't find the script reading and using that).

    The plugin ONLY creates a daily backup - https://github.com/OpenMediaVa…ackup/SystemBackup.js#L46. If you want monthly, the keep number of copies won't work. But you should create the backup and then edit the job in the Scheduled Jobs tab. Then never use the Scheduled Backup button again.

    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!