Skip to content

Instantly share code, notes, and snippets.

@kaishuu0123
Created March 8, 2015 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaishuu0123/f663e88a5c802889f463 to your computer and use it in GitHub Desktop.
Save kaishuu0123/f663e88a5c802889f463 to your computer and use it in GitHub Desktop.
jenkins backup fig.yml
# 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