Created
January 10, 2015 10:09
-
-
Save eeichinger/afa8c1fe19d0e21d1769 to your computer and use it in GitHub Desktop.
Backup complete Jenkins config via ssh, excluding archived binaries
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
ssh <user>@<server> "tar -cvzf - -C /home/jenkins/ . --exclude 'maven-repositories' --exclude 'jobs/*/builds' --exclude 'backup' --exclude 'workspace' " > jenkins_backup.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment