From dd66e25d405afbc4e4cca6a997fb2776eadebf78 Mon Sep 17 00:00:00 2001 From: DecaTec Date: Thu, 20 Feb 2020 14:41:26 +0100 Subject: [PATCH] Bump version --- NextcloudBackup.sh | 9 ++++++--- NextcloudRestore.sh | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/NextcloudBackup.sh b/NextcloudBackup.sh index ce9601a..d1b1ed2 100644 --- a/NextcloudBackup.sh +++ b/NextcloudBackup.sh @@ -3,7 +3,7 @@ # # 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 @@ -26,8 +26,6 @@ if [ -z "$backupMainDir" ]; then 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 @@ -106,6 +104,11 @@ function CtrlC() { exit 1 } +# +# Print information +# +echo "Backup directory: ${backupMainDir}" + # # Check for root # diff --git a/NextcloudRestore.sh b/NextcloudRestore.sh index 0a0175a..08fc504 100644 --- a/NextcloudRestore.sh +++ b/NextcloudRestore.sh @@ -3,7 +3,7 @@ # # Bash script for restoring backups of Nextcloud. # -# Version 1.0.0 +# Version 1.1.0 # # Usage: # - With backup directory specified in the script: ./NextcloudRestore.sh (e.g. ./NextcloudRestore.sh 20170910_132703) -- 2.34.1