Created
March 8, 2015 17:03
-
-
Save kaishuu0123/f663e88a5c802889f463 to your computer and use it in GitHub Desktop.
jenkins backup fig.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Backup a data volume container for Jenkins | |
jenkins-backup: | |
image: busybox | |
command: tar cvf /backup/jenkins-backup.tar /var/jenkins_home | |
volumes: | |
- .:/backup | |
volumes_from: | |
- jenkins-data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment