]> git.p6c8.net - nextcloud-backup-restore.git/blobdiff - NextcloudRestore.sh
fixed typo
[nextcloud-backup-restore.git] / NextcloudRestore.sh
index bfc25deb2fc60f034cd019214172a2da042dee46..faad960bd54b1089a47b2be59ccb872a5a905150 100644 (file)
@@ -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}"

patrick-canterino.de