Backup and restore Jenkins


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


# create directory
$ mkdir backup_jenkins

# change user
$ chown jenkins:jenkins backup_jenkins/

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


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


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