From 5e71088b9778fee653da12bf48b09eff56d499ad Mon Sep 17 00:00:00 2001 From: matthias Date: Fri, 8 May 2026 20:24:20 +0200 Subject: [PATCH] identifyfile added --- jenkins/other_location_backup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/other_location_backup.yml b/jenkins/other_location_backup.yml index 18dbb8c..8327aa6 100644 --- a/jenkins/other_location_backup.yml +++ b/jenkins/other_location_backup.yml @@ -22,7 +22,7 @@ pipeline { steps { script { sh "mkdir -p ${WORKSPACE}/tmpmount" - sh "sshfs root@10.10.1.32:/${env.borglocation}/${directory} ${WORKSPACE}/tmpmount" + sh "sshfs -o IdentityFile=~/.ssh/id_rsa root@10.10.1.32:/${env.borglocation}/${directory} ${WORKSPACE}/tmpmount" withCredentials([string(credentialsId: 'cbce976a-0d98-4f35-8ea2-1f7818931bc3', variable: 'BORG_PASSPHRASE')]) { sh "borg create --progress --stats --exclude-from excludelist ${backdirectory}::${java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern('dd-MM-yyyy_HH:mm'))} /${directory}" sh "borg prune --list --keep-daily 31 --keep-weekly 48 ${backdirectory}"