#
# Bash script for creating backups of Nextcloud.
#
-# Version 2.3.0
+# Version 2.3.1
#
# Requirements:
# - pigz (https://zlib.net/pigz/) for using backup compression. If not available, you can use another compression algorithm (e.g. gzip)
set -Eeuo pipefail
# Variables
-backupMainDir=$1
+backupMainDir=${1:-}
if [ -z "$backupMainDir" ]; then
# TODO: The directory where you store the Nextcloud backups (when not specified by args)