Variable name corrected origin/timkrief/mainBackupDir-Fix
authorTim Krief <tim.krief@gmail.com>
Mon, 26 Feb 2018 01:55:07 +0000 (02:55 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2018 01:55:07 +0000 (02:55 +0100)
I just corrected a variable name  (I didn't work otherwise).

NextcloudRestore.sh

index 7bb09e22e745eea5b85dab9ac49208bb9359a9fd..eeaa2eaebdf6e3047101a5f474e37d66b2644246 100644 (file)
@@ -15,7 +15,7 @@
 
 # Variables
 # TODO: The directory where you store the Nextcloud backups
 
 # 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)
 restore=$1
 currentRestoreDir="${mainBackupDir}/${restore}"
 # TODO: The directory of your Nextcloud installation (this is a directory under your web root)

patrick-canterino.de