New name for backup plugin output folder

  • I was looking to rename the backup dir for the backup plugin and came across this post


    What I'm not sure about is if I only need to add a new line in /etc/default/openmediavault like so:


    Code
    ## OMV_BACKUP_DIR_NAME="omvbackup"
    OMV_BACKUP_DIR_NAME="omvsettings"
    OMV_BACKUP_FILE_PREFIX="backup-omv"
    OMV_BACKUP_MAX_DEPTH="1"

    What would happen with a new plugin update? Will that setting be overwritten?


    TIA

    • Official Post

    What I'm not sure about is if I only need to add a new line in /etc/default/openmediavault like so:

    Yes, that is it. The backup plugin is a bash script that sources /etc/default/openmediavault. You can also add/change values using omv-env.

    What would happen with a new plugin update?

    It will keep using the defaults. That is the point of the /etc/default/openmediavault. Nothing should change those values.

    Will that setting be overwritten?

    Nope.

    omv 8.0.6-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.2 | compose 8.1.2 | cterm 8.0 | borgbackup 8.0.2 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


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


    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!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!