From: Bastian Dehn Date: Wed, 5 Aug 2026 15:02:04 +0000 (+0200) Subject: add full backup path sub method X-Git-Tag: v1.0.6^2~1^2~53 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=8b28d1f7e1b2ad35cf781a5e93e899818f1677c5;p=simple-backup.git add full backup path sub method --- diff --git a/src/backup b/src/backup index 7195f76..6ede52d 100755 --- a/src/backup +++ b/src/backup @@ -135,6 +135,7 @@ machine_backup_pathes() local RESET="\e[0m" local config="$1" local machine="$2" + local full_backup_path="$3" local pathes=() mapfile -t pathes < <(echo "$config" \ | jq --raw-output ".machines.$machine.pathes[]") @@ -167,6 +168,7 @@ backup_machines() mkdir --parents "$full_backup_path" machine_backup_pathes "$config" \ "$machine" \ + "$full_backup_path" \ || return $? done }