in Jenkins by
How to create a backup and copy files in Jenkins?

1 Answer

0 votes
In Jenkins, all the settings, build logs and configurations are stored in the JENKINS_HOME

directory. Whenever you want to create a backup of your Jenkins you can back up JENKINS_HOME directory frequently.

It consists of all the job configurations and slave node configurations. Hence, regularly copying this directory allows us to keep a backup of Jenkins.

You can maintain a separate backfile and copy it whenever you need the same. If you want to copy the Jenkins job, then you can do so by simply replicating the job directory.

Related questions

0 votes
asked Oct 21, 2019 in Jenkins by rajeshsharma
  • create-backup
  • create-a-backup
  • jenkins-backup
  • jenkins-file-backup
0 votes
asked Aug 23 in DevOps by sharadyadav1986
0 votes
asked Sep 8, 2019 in Jenkins by ivor2019