X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/374a1bc67f0cd848e46bf3cb685c9c7fa880f762..d6e40c61a35ea86523348c771f19867d433373cb:/NextcloudRestore.sh diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index 7bb09e2..a2fa3d2 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -4,7 +4,7 @@ # Bash script for restoring backups of Nextcloud. # Usage: ./NextcloudRestore.sh (e.g. ./NextcloudRestore.sh 20170910_132703) # -# The script is based on an installation of Nextcloud using nginx and MariaDB, see https://decatec.de/home-server/nextcloud-auf-ubuntu-server-mit-nginx-mariadb-php-lets-encrypt-redis-und-fail2ban/ +# The script is based on an installation of Nextcloud using nginx and MariaDB, see https://decatec.de/home-server/nextcloud-auf-ubuntu-server-18-04-lts-mit-nginx-mariadb-php-lets-encrypt-redis-und-fail2ban/ # # @@ -15,7 +15,7 @@ # Variables # TODO: The directory where you store the Nextcloud backups -backupMainDir="/mnt/Share/NextcloudBackups/" +mainBackupDir="/mnt/Share/NextcloudBackups/" restore=$1 currentRestoreDir="${mainBackupDir}/${restore}" # TODO: The directory of your Nextcloud installation (this is a directory under your web root) @@ -153,7 +153,7 @@ echo "Done" echo # -# Update the system data-fingerprint (see https://docs.nextcloud.com/server/12/admin_manual/configuration_server/occ_command.html#maintenance-commands-label) +# Update the system data-fingerprint (see https://docs.nextcloud.com/server/13/admin_manual/configuration_server/occ_command.html#maintenance-commands-label) # echo "Updating the system data-fingerprint..." cd "${nextcloudFileDir}"