From 8b28d1f7e1b2ad35cf781a5e93e899818f1677c5 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Wed, 5 Aug 2026 17:02:04 +0200 Subject: [PATCH] add full backup path sub method --- src/backup | 2 ++ 1 file changed, 2 insertions(+) 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 } -- 2.47.3