]> git.p6c8.net - nextcloud-backup-restore.git/blobdiff - NextcloudRestore.sh
Merge pull request #7 from timkrief/mainBackupDir-Fix
[nextcloud-backup-restore.git] / NextcloudRestore.sh
index bfc25deb2fc60f034cd019214172a2da042dee46..eeaa2eaebdf6e3047101a5f474e37d66b2644246 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)

patrick-canterino.de