Can Jenkins be backup just with config and jobs?

Multi tool use
Multi tool use


Can Jenkins be backup just with config and jobs?



I want to do an automatically backup of the JENKINS_HOME but due to file size I just want to copy the config.xml and /jobs.


JENKINS_HOME



Is it possible to restore Jenkins if needed with just those two things? How is the process to do it? Just replacing the config.xml and /jobs and restarting the service?



Thanks.




1 Answer
1



Consider using the Jenkins SCM Sync configuration plugin - it allows to back up all your Jenkins settings (including job configurations) to git or SVN. Also, version control means you'll have an easier time debugging problems caused by configuration changes or to revert to an older configuration.





Yeah, I know that there are several plugins that would work, but I want to know if this approach can work and if it is a safe way of doing it or it may cause errors.
– Drubio
Jul 3 at 14:50






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

yCLYOedmahmnjE7RYLpKy,B295ODS1,VVf9
CiIGusXucUwYppU5,deWwi5KYuUucbxHBH6xAfKH UEI6R,Gg7WSZIlZVyxrw q1q2o

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications