Backup and restore Jenkins

Preparation

Create a new folder with read/write permission for Jenkins.

Example:

Now install the Jenkins Plugin “ThinBackup”.

thinbackup plugin for jenkins

Backup configuration

After installation and restart, you can start with backup configuration “Manage Jenkins > ThinBackup > Settings”. For Backup directory insert the path for directory that you created.┬áComplete the configuration by your needs and press “Save” button.

thinbackup settings

Backup

Now you could wait for 1st automated backup or press the “Backup Now” button “Manage Jenkins > ThinBackup”.

Restore

For restore simply select Restore “Manage Jenkins > ThinBackup”. Select backup from list and press “Restore” button.