
* Initial version with not tested script. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add Restic cloud backup to menu. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add menu options correctly. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Make sure script files are named correctly. Add instructions and warning messages about important account details. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix backup file locations and pg dump user. Add database connection details from config. Load database config from ncdb function. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add database as variable. Redefine exit logic to notify on success and failure. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add option to include /mnt/ncdata. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add restic excludes file which will automatically exclude preview files which can be regenerated after restore. Move explainer to msg_box to make it multiline. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix variable handling for full backup. Add clearer explanation. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix issues found while trying to use Azure as destination. Restic will now be downloaded from official github repo. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add more details to restic install process and hash the executable so verify doesn't fail. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Remove hash as for some reason it will not work in script, also might be unnecessary. Edit version verification to clean version number before checking installed restic version. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Remove unnecessary folder from end of Azure config. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Move version check to correct location and fix version check variable. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix to actually use the container name instead of account name per Azure best practices. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix typo. Add error handling to restic check part. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add script logging. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix forgotten import for actual script. Fix date variables not being variables after constructing the script. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Fix all variables in script to be actual variables instead of hard coded values after cat. Signed-off-by: Sami Nieminen <imas@nenimein.fi> * Add database variables to script. Include settings, were lost for some reason... Make alerts more clear for admins. Fix pipefail. Signed-off-by: Sami Nieminen <imas@nenimein.fi> --------- Signed-off-by: Sami Nieminen <imas@nenimein.fi>
What is this subfolder about?
This subdirectory of the Nextcloud VM contains scripts that probably never will get merged into the released version, but we keep them here so that users can test, and enjoy the befnefits of having an easy way set up the different software offered in this sub-folder. Freedom of choice basically.
Can I help?
Yes, of course! :)
Although mostof the scripts might not be 100% ready, we would love to hear your feedback anyway.
Feedback is especially welcome, if you would like to add some features that these scripts bring in the released version of the NcVM.
So, please report back! 🚀
How to run this inside my NcVM?
We have prepared a menu for you to choose from available options. You can download the menu with the following command:
sudo wget https://raw.githubusercontent.com/nextcloud/vm/main/not-supported/not-supported.sh -P /var/scripts
After downloading the menu, you just run it with the following command:
sudo bash /var/scripts/not-supported.sh
Running the not-supported script will show the menu with the latest options to choose from.