#
# Bash script for creating backups of Nextcloud.
#
-# Version 1.0.0
+# Version 1.1.0
#
# Usage:
# - With backup directory specified in the script: ./NextcloudBackup.sh
backupMainDir='/media/hdd/nextcloud_backup'
fi
-echo "Backup directory: $backupMainDir"
-
currentDate=$(date +"%Y%m%d_%H%M%S")
# The actual directory of the current backup - this is a subdirectory of the main directory above with a timestamp
exit 1
}
+#
+# Print information
+#
+echo "Backup directory: ${backupMainDir}"
+
#
# Check for root
#