X-Git-Url: https://git.p6c8.net/nextcloud-backup-restore.git/blobdiff_plain/4e167bf7c63ced932faa536946f7b6b22b4c8546..95acb367ebc1a81b2edbe531d74f11bb59393f1a:/NextcloudBackup.sh diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index f719087..8d8149c 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -3,7 +3,7 @@ # # 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) @@ -29,7 +29,7 @@ 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)