Files
backup/jenkins/backupWinschoten.yml
T
matthias b677ede690 Merge branch 'newtry'
# Conflicts:
#	jenkins/default_backup.yml
2026-05-08 14:44:30 +02:00

14 lines
408 B
YAML

pipeline {
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/"
}
}
}
}
}