Files
backup/jenkins/backupWinschoten.yaml
T
2026-05-08 13:23:19 +02:00

15 lines
425 B
YAML

pipeline {
parameters {
agent any
stages {
stage ('Run Backup to David') {
steps {
script {
sh "cp ${keyfile} ${WORKSPACE}/keyfile"
sh "rsync -v -a -e 'ssh -i /home/backupwinschoten/.ssh/id_rsa -p 9897' --delete --info=progress2 ${env.borglocation} backupwinschoten@localhost:/storage/"
}
}
}
}
}