From c19051a3bf5b2c857afede99f5e91b46b9bbaee9 Mon Sep 17 00:00:00 2001 From: Tavin Cole Date: Mon, 15 Dec 2025 18:24:31 +0000 Subject: [PATCH] alternative fix --- backup/pvc/bin/backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup/pvc/bin/backup.sh b/backup/pvc/bin/backup.sh index 622e458f..e88b6928 100755 --- a/backup/pvc/bin/backup.sh +++ b/backup/pvc/bin/backup.sh @@ -44,8 +44,9 @@ trap '_trap' SIGQUIT SIGINT SIGTERM ret=0 tar --zstd -C "${JENKINS_HOME}" -cf "${BACKUP_TMP_DIR}/${BACKUP_NUMBER}.tar.zstd" \ --exclude 'jobs/*/workspace*' \ - --no-wildcards-match-slash \ + --no-wildcards-match-slash --anchored \ --ignore-failed-read \ + --exclude-ignore=.jenkinsbackupignore \ --exclude 'jobs/*/config.xml' -c jobs || ret=$? if [[ "$ret" -eq 0 ]]; then