Skip to content

Instantly share code, notes, and snippets.

@gtt116
Created November 12, 2014 01:58
Show Gist options
  • Save gtt116/05fa132f000155b08e11 to your computer and use it in GitHub Desktop.
Save gtt116/05fa132f000155b08e11 to your computer and use it in GitHub Desktop.
back jenkins
tar czf ~/jenkins_backup.tar.gz --exclude='var/lib/jenkins/logs/*' --exclude='var/lib/jenkins/jobs/*/builds/*' --exclude="var/lib/jenkins/jdk" '/var/lib/jenkins'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment