SCM Sync Configuration Plugin or via the jenkins_home volume
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | kai.nissen | T157560 Use GitHub Repository for Fundraising Frontend contents | |||
Resolved | None | T167096 Set up Jenkins | |||
Resolved | • Pablo-WMDE | T167103 Configure config backup |
Event Timeline
Comment Actions
Along the lines of https://docs.docker.com/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes
jenkins-backup-files.txt - List of files we want in the backup (if not all)
/data/config.xml
Command to create tar ball of current config
docker run --rm -u $UID:$GID -v jenkins_home:/data:ro -v $(pwd):/backup ubuntu tar czf /backup/backup.tar.gz -T /backup/jenkins-backup-files.txt
Comment Actions
Found problems
- mail not installed, hence crontjob notifications were not sent
- wmfg-backup user mysteriously not in docker group (despite playbook instructions)
Comment Actions
Entire jenkins config kept on backup server for 10d
wmfg-backup@vm5001443:~/jenkins-backup$ ll insgesamt 674736 drwxrwx--- 2 wmfg-backup wmfg-backup 4096 Jun 26 13:21 ./ drwxr-xr-x 14 wmfg-backup wmfg-backup 4096 Jun 22 11:50 ../ -rw-r--r-- 1 wmfg-backup wmfg-backup 171368425 Jun 22 03:00 20170622030015Z.tar.gz