Created
August 22, 2012 15:42
-
-
Save francho/3426895 to your computer and use it in GitHub Desktop.
Backup de jenkins en Ubuntu
This file contains 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
#bin/sh | |
sudo tar vjcf /var/backups/jenkins.tgz /var/lib/jenkins/ \ | |
--exclude '/var/lib/jenkins/jobs/*/workspace/*' \ | |
--exclude '/var/lib/jenkins/jobs/*/builds/*' \ | |
--exclude '/var/lib/jenkins/jobs/*/javadoc/*' \ | |
--exclude '/var/lib/jenkins/jobs/*/bundle/*' \ | |
--exclude '/var/lib/jenkins/tools/android-sdk/*' \ | |
--exclude '/var/lib/jenkins/jobs/webapp-trunk/builds/*' \ | |
--exclude '/var/lib/jenkins/.android/avd/*' \ | |
--exclude '/var/lib/jenkins/.android/modem-nv-ram*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment