Sunday, 13 November 2016

Jenkins - Backup Plugin


Jenkins has a backup plugin which can used to backup critical configuration settings related to Jenkins. Follow the steps given below to have a backup in place.
Step 1 − Click on Manage Jenkins and choose the ‘Manage Plugins’ option.
Manage Backup Plugin
Step 2 − In the available tab, search for ‘Backup Plugin’. Click On Install without Restart. Once done, restart the Jenkins instance
Backup Plugin1Backup Plugin2
Step 3 − Now when you go to Manage Jenkins, and scroll down you will see ‘Backup Manager’ as an option. Click on this option.
Backup Manager
Step 4 − Click on Setup.
Backup Manager Setup
Step 5 − Here, the main field to define is the directory for your backup. Ensure it’s on another drive which is different from the drive where your Jenkins instance is setup. Click on the Save button.
Backup Config Files
Step 6 − Click on the ‘Backup Hudson configuration’ from the Backup manager screen to initiate the backup.
Backup Hudson Configuration
The next screen will show the status of the backup
Backup Status
To recover from a backup, go to the Backup Manager screen, click on Restore Hudson configuration.
Restore Hudson Configuration
The list of backup’s will be shown, click on the appropriate one to click on Launch Restore to begin the restoration of the backup.

No comments:

Post a Comment

Ansible: Roles

Use Ansible roles to orchestrate more complex configurations.Let's create a new directory named  nginx , which will be a Role. Then we&...