Closed mousi closed 5 years ago
We'll need to ensure that the DUPLICATI_HOME directory exists.
Please add a mkdir -p $DUPLICATI_HOME
to install.sh
I don't like to clutter the Nas_Prog dir but Plex does it this way as well.
I tested that as is (after making sure the directory doesn't exist) and duplicati creates the directory so I skipped that on purpose because otherwise we need to check if the directory exists so we don't overwrite it.
mkdir -p
creates a dir if it doesn't exist, but doesn't complain if it does.
The goal is that the config must survive an upgrade of the app (which is stop-clean-remove of the old app + install of new app).
Upgraded duplicati to version v2.0.3.11-2.0.3.11_canary_2018-09-05 and added DUPLICATI_HOME variable to save configuration to a persistent location