From: DecaTec Date: Thu, 2 Dec 2021 05:35:19 +0000 (+0100) Subject: Update fingerprint after disabling maintenance mode X-Git-Tag: v2.3.3 X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/commitdiff_plain/refs/heads/master Update fingerprint after disabling maintenance mode --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 10240ab..928fa27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.3.3 + +### Restore +- Update fingerprint after disabling maintenance mode + ## 2.3.2 ### Restore diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index a60eb96..d96ec3c 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -3,7 +3,7 @@ # # Bash script for creating backups of Nextcloud. # -# Version 2.3.2 +# Version 2.3.3 # # Requirements: # - pigz (https://zlib.net/pigz/) for using backup compression. If not available, you can use another compression algorithm (e.g. gzip) diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index 90fa336..5febde7 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -3,7 +3,7 @@ # # Bash script for restoring backups of Nextcloud. # -# Version 2.3.2 +# Version 2.3.3 # # Requirements: # - pigz (https://zlib.net/pigz/) for using backup compression. If not available, you can use another compression algorithm (e.g. gzip) @@ -302,18 +302,18 @@ echo "Done" echo # -# Update the system data-fingerprint (see https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#maintenance-commands-label) +# Disbale maintenance mode # -echo "$(date +"%H:%M:%S"): Updating the system data-fingerprint..." -sudo -u "${webserverUser}" php ${nextcloudFileDir}/occ maintenance:data-fingerprint +echo "$(date +"%H:%M:%S"): Switching off maintenance mode..." +sudo -u "${webserverUser}" php ${nextcloudFileDir}/occ maintenance:mode --off echo "Done" echo # -# Disbale maintenance mode +# Update the system data-fingerprint (see https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#maintenance-commands-label) # -echo "$(date +"%H:%M:%S"): Switching off maintenance mode..." -sudo -u "${webserverUser}" php ${nextcloudFileDir}/occ maintenance:mode --off +echo "$(date +"%H:%M:%S"): Updating the system data-fingerprint..." +sudo -u "${webserverUser}" php ${nextcloudFileDir}/occ maintenance:data-fingerprint echo "Done" echo diff --git a/setup.sh b/setup.sh index 43fcee4..2f384ba 100755 --- a/setup.sh +++ b/setup.sh @@ -3,7 +3,7 @@ # # Bash script an easy setup of NextcloudBackup.sh and NextcloudRestore.sh # -# Version 2.3.2 +# Version 2.3.3 # # Usage: # - call the setup.sh script