Monday, July 29, 2019

How to take back ups in Jenkins? Thin backup plugin for Jenkins

As you all know, Jenkins does not use a database to store its configuration, It uses XMLs files to store. It is very important to take back up all jobs, configs, logs and plug-ins.

Jenkins thin backup plug-in is what we will be using for taking backups of Jenkins data.

Install plug-in:
It backs up all the data based on your schedule and it handles the backup retention as well.
To get started, first install the plugin.
1. Go to Manage Jenkins –> Manage Plugins
2. Click the Available tab and search for “Thin backup”



















3. install plug-in and restart Jenkins.

How to take backups?

As plug-in is installed, we need to configure how we will be doing backups in Jenkins.

1. Go to manage Jenkins->ThinBack
2. Click on settings. Enter info as needed for the backup.

3. after saving, click Backup Now link to run the back up to make sure it is creating data where needed.


4. Now you should see the back up folder.

1 comment: