Public Repository

Last pushed: a year ago
Short Description
Data volume for jenkins data
Full Description

Making data volume backup

  • docker run --rm --volumes-from=jenkins-data -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /var/jenkins_home
    • Starts new ubuntu container and maps its data volume to jenkins-data
    • Runs tar and makes backup from data volume to host machine

Restoring data volume backup

  • docker run --rm --volumes-from jenkins-data -v $(pwd):/backup ubuntu bash -c "cd /var/jenkins_home && tar xvf /backup/backup.tar --strip 1"
Docker Pull Command
Owner
zapppp