Home » Jenkins Backup Plugin

Jenkins Backup Plugin

by Online Tutorials Library

Jenkins Backup Plugins

It is important to have a Jenkins backup with its data and configurations. It includes job configs, plugins, build logs, plugin configuration, etc.

Jenkins provides a backup plugin which can be used to get backup critical configuration settings related to Jenkins. Let’s see how to configure backup plugin in Jenkins:

Step 1: Go to the Jenkins dashboard screen and click on Manage Jenkins.

Jenkins Backup Plugins

Step 2: Select Manage Plugins.

Jenkins Backup Plugins

Step 3: Go to the Available tab and search for “Backup” plugin on the filter field.

Jenkins Backup Plugins

Step 4: After successful installation, click on Go back to the top page link.

Jenkins Backup Plugins

Step 5: Now, when you go to the Manage Jenkins option, and scroll down, you will see Backup manager as an option. Select this option.

Jenkins Backup Plugins

Step 6: Click on setup.

Jenkins Backup Plugins

Step 7: Here, enter the directory name in the field of Backup directory. Please make sure that it is on another drive which is different from the drive where your Jenkins instance is installed. Then, click on the Save button.

Jenkins Backup Plugins

Step 8: Click on the Backup Hudson configuration link from the backup manager page to initiate the backup.

Jenkins Backup Plugins

The next page will show the backup status.

Jenkins Backup Plugins

To recover from a backup, go to the Backup manager screen, and click on Restore Hudson configuration.

Jenkins Backup Plugins

The backup list will be shown here.


Next TopicJenkins vs. Bamboo

You may also like