#
# Bash script for restoring backups of Nextcloud.
#
-# Version 2.1.3
+# Version 2.2.0
#
# Usage:
# - With backup directory specified in the script: ./NextcloudRestore.sh <BackupName> (e.g. ./NextcloudRestore.sh 20170910_132703)
# Local external storage
if [ ! -z "${nextcloudLocalExternalDataDir+x}" ] ; then
- echo "$(date +"%H:%M:%S"): Restoring Nextcloud data directory..."
+ echo "$(date +"%H:%M:%S"): Restoring Nextcloud local external storage directory..."
if [ "$useCompression" = true ] ; then
tar -I pigz -xmpf "${currentRestoreDir}/${fileNameBackupExternalDataDir}" -C "${nextcloudLocalExternalDataDir}"