* Update torrent script to work with current transmission CLI.
Signed-off-by: Sami Nieminen <imas@nenimein.fi>
* Add logic to not download the file every time script is ran to save bandwidth.
Refine curl file to download straight to correct directory.
Add script to fix transmission default systemd file per https://github.com/transmission/transmission/issues/6991
Signed-off-by: Sami Nieminen <imas@nenimein.fi>
* Make Transmission directory a variable.
Fix torrent creation missing the source file.
Signed-off-by: Sami Nieminen <imas@nenimein.fi>
* Update trackers file to reduce amount of dead trackers while creating the torrent.
Signed-off-by: Sami Nieminen <imas@nenimein.fi>
---------
Signed-off-by: Sami Nieminen <imas@nenimein.fi>
* 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>
One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>