From 9ffba2d84b9c9823f7f9fbd36266a97666e8a2ef Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 24 Nov 2024 22:01:48 +0100 Subject: [PATCH] borg2-backup-nc.sh: replace 'borg' with 'botg2'. --- borg2-backup-nc.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/borg2-backup-nc.sh b/borg2-backup-nc.sh index e49da03..1043a06 100755 --- a/borg2-backup-nc.sh +++ b/borg2-backup-nc.sh @@ -316,7 +316,7 @@ fi [[ -z "${BORG_LOG_DIR}" ]] && BORG_LOG_DIR="${DEFAULT_BORG_LOG_DIR}" -BORG_LOG_FILE="${BORG_LOG_DIR}//borg-backup.log" +BORG_LOG_FILE="${BORG_LOG_DIR}/borg2-backup.log" [[ -z "${NC_DB_BACKUP_DIR}" ]] && NC_DB_BACKUP_DIR="${DEFAULT_NC_DB_BACKUP_DIR}" @@ -570,7 +570,7 @@ fi echononl "Create borg backup.." cat << EOF >> ${BORG_LOG_FILE} -borg \\ +borg2 \\ --remote-path borg2 \\ --repo ${BORG_URL} \\ create \\ @@ -593,7 +593,7 @@ borg \\ ${BORG_BACKUP_DIRS} EOF -borg \ +borg2 \ --remote-path borg2 \ --repo ${BORG_URL} \ create \ @@ -630,7 +630,7 @@ fi echononl "Pruning repository.." cat << EOF >> ${BORG_LOG_FILE} -borg \\ +borg2 \\ --remote-path borg2 \\ --repo ${BORG_URL} \\ prune \\ @@ -642,7 +642,7 @@ borg \\ --keep-yearly 1 \\ EOF -borg \ +borg2 \ --remote-path borg2 \ --repo ${BORG_URL} \ prune \