X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/c560d693f1d4e3f6b842f776a2d7d6a187c5f4c3..47fec062ef9af45d9dc2d16dc348672368910014:/NextcloudRestore.sh?ds=sidebyside diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index bfc25de..faad960 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -15,9 +15,9 @@ # Variables # TODO: The directory where you store the Nextcloud backups -backupMainDir="/mnt/Share/NextcloudBackups/" +mainBackupDir="/mnt/Share/NextcloudBackups/" restore=$1 -currentRestoreDir="${mainBackupdir}/${restore}" +currentRestoreDir="${mainBackupDir}/${restore}" # TODO: The directory of your Nextcloud installation (this is a directory under your web root) nextcloudFileDir="/var/www/nextcloud" # TODO: The directory of your Nextcloud data directory (outside the Nextcloud file directory) @@ -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}"