X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/c560d693f1d4e3f6b842f776a2d7d6a187c5f4c3..36ca4fe76ee5ab73cc5745fbcb78afbc0b5f10c5:/NextcloudRestore.sh?ds=sidebyside

diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh
index bfc25de..eeaa2ea 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)