From 6752469c8d1b1318084b58fa26e8c2b43eca7c72 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:45:56 +0100 Subject: [PATCH] fix --- clone-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone-backup.sh b/clone-backup.sh index 8e3aadba..50d6fecd 100755 --- a/clone-backup.sh +++ b/clone-backup.sh @@ -11,7 +11,7 @@ keys=$(cat $dir/$2.yml | yaml2json - | jq '.volumes' | jq -r 'keys[]') files=() for key in $keys; do - volume_name="rpc_$key" + volume_name="rpc_$key-20" # needs to be followed by a date 2024 need_to_copy_file=$($dir/list-backups.sh $1 | grep "${volume_name}" | sort | tail -n 1)