From 5a00e4340511efb39a846e47b79317f2315dd949 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 14 Jan 2026 12:36:16 +0100 Subject: [PATCH] a --- jenkins/default_backup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/default_backup.yml b/jenkins/default_backup.yml index d5547e1..f4e5b2d 100644 --- a/jenkins/default_backup.yml +++ b/jenkins/default_backup.yml @@ -32,7 +32,7 @@ pipeline { script { if (params.backuplocally) { withCredentials([string(credentialsId: 'cbce976a-0d98-4f35-8ea2-1f7818931bc3', variable: 'BORG_PASSPHRASE')]) { - BORG_RELOCATED_REPO_ACCESS_IS_OK=yes + sh "export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes" sh "borg create --progress --stats --exclude-from excludelist ${env.borglocation}/${directory}::${java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern('dd-MM-yyyy_HH:mm'))} ${env.storagelocation}/${directory}" sh "borg prune --list --keep-daily 31 --keep-weekly 48 ${env.borglocation}/${directory}" }