This commit is contained in:
matthias
2026-05-31 18:49:08 +02:00
parent e23cc9eca0
commit 55a9cffe6a
+1 -1
View File
@@ -41,7 +41,7 @@ pipeline {
withCredentials([string(credentialsId: 'cbce976a-0d98-4f35-8ea2-1f7818931bc3', variable: 'BORG_PASSPHRASE')]) {
sh "borg create --progress --stats ${env.borglocation}/nextcloud_database::${java.time.LocalDateTime.now().format(java.time.format.DateTimeFormatter.ofPattern('dd-MM-yyyy_HH:mm'))} ${backdirectory}"
sh "borg prune --list --keep-daily 31 --keep-weekly 48 ${env.borglocation}/nextcloud_database"
sh "rm -rf ${backdirectory}
sh "rm -rf ${backdirectory}"
}
}
}