From 4e07ca5c82134f379b08bf59c3d326f2d331b263 Mon Sep 17 00:00:00 2001 From: matthias Date: Sun, 18 Jan 2026 16:52:00 +0100 Subject: [PATCH] removed paramteres --- jenkins/nextcloud_database.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jenkins/nextcloud_database.yml b/jenkins/nextcloud_database.yml index 1570d65..36bee2c 100644 --- a/jenkins/nextcloud_database.yml +++ b/jenkins/nextcloud_database.yml @@ -5,19 +5,15 @@ pipeline { booleanParam(name: 'backuptostackstorage', defaultValue: params.backuptostackstorage ?: false, description: 'If true backup data to TransIP Stack') booleanParam(name: 'backuptodavid', defaultValue: params.backuptodavid ?: false, description: 'If true rsync the BORG repository to David') booleanParam(name: 'backuptopi', defaultValue: params.backuptopi ?: false, description: 'If true rsync the BORG repository to our ExternalPI') - string(name: 'directory', defaultValue: params.directory ?: ' ', description: 'The directory that should be handled') - text(name: 'excludelist', defaultValue: params.excludelist ?: '**/cache/** ', description: 'Multiline string to exclude patterns from backup') } stages { stage('Run Information') { steps { - echo "Backing up directory ${env.storagelocation}/${directory}" echo "Local BORG backup creation is ${params.backuplocally}" echo "Backup to TransIP Stack is ${params.backuptostackstorage}" echo "Backup to David is ${params.backuptodavid}" echo "Backup to External PI is ${params.backuptopi}" - sh "echo '${params.excludelist}' >> excludelist" } } stage('Run MariaDB') { @@ -35,7 +31,7 @@ pipeline { sh "yes | cp -rf /data/backup_latest.dmp /data/backup_yesterday.dmp 2>/dev/null || :" sh "mariadb-dump -u nextcloud -h 10.10.1.32 --all-databases -ppassword -v > /data/backup_latest.dmp" } else { - echo "Local BORG backup creation is skipped" + echo "Local backup creation is skipped" } } } @@ -54,7 +50,7 @@ pipeline { if (params.backuptostackstorage) { sh "mkdir -p /config/rclone" sh "cp ${WORKSPACE}/config/rclone.conf /config/rclone/" - sh "rclone copy -v /data/ stackstorage:/julien/nextcloud/database --exclude-from excludelist" + sh "rclone copy -v /data/ stackstorage:/julien/nextcloud/database" } else { echo "Backup to TransIP Stack is skipped" }