Backup Jenkins Jobs and Restore Copy – Best Practices

Jenkins Backup

Jenkins backup must be an integral part of overall Jenkins usage. Presumably, you can use some Jenkins backup script (or even more complex technique, e.g. backup Jenkins with Git), although Handy Backup allows much more convenient and flexible solution for Jenkins backup and restore.

Download Handy Backup

Version 8.2.1, built on 15 January 2021
112 MB

Preparing for Jenkins Backup Jobs

To make Jenkins backup you must firstly locate the Jenkins home directory. By default, Jenkins is a *nix-based solution, and a home folder is ~/.jenkins (note that is hidden!). For Windows, search for a hidden directory at the path C:/Users/[username]/AppData.

Note: Handy Backup can work natively under Linux! No steps described below are significantly differ between Windows and Linux solutions; the key question is only the location of a home directory to make Jenkins copy job.

How to Make Jenkins Backup Jobs with Handy Backup

It is simple; just do the following things.

  1. Open Handy Backup and create a new task by Ctrl+N keys or by a button on the main panel.
  2. Select a backup task on the Step 1. Go to the Step 2 and open “Local or Network Drives” group.
  3. Double-click on the “Computer” plug-in or click on it and then on the “>>” button.

Specify Backup Set: Jenkins Folder

  1. You will see the content of your computer’s local folders. Select and mark the Jenkins folder.
  2. Click OK. You will return to the Step 2 window. Click “Next” to continue.

Jenkins Backup Best Practices


Use the Step 6 to schedule your task for backup Jenkins jobs. You may tune a task to run at an exact time, with an interval between a minute and a couple of months, or start it by a system event such as user logon to a system or plugging a USB unit device into a PC where your task running.

Automatic Jenkins Backup


On the Step 4, you can make a partial backup instead of a full backup, to save time and space (a big option for cloud backups, e.g. when you storing a Jenkins backup to S3 cloud from Amazon), without compromising data integrity. You can also store and time-stamp different versions for your backups.

Jenkins Backup Types

Choose Destination for Jenkins Backup


Use any secured vault for your Jenkins backup, including SFTP and FTPS protocols, commercial clouds with internal data-saving (Dropbox, Google Drive etc.), NAS units or just local drives protected with software that you want. In addition, you can encrypt your Jenkins backup files with an internal tool.

Recommended Solution

Handy Backup Professional

Version 8.2.1, built on 15 January 2021 . 112 MB
Backup Software from Novosoft LLC. 89 USD per license.

Handy Backup Professional

The Professional edition contains a good set of storage media plug-ins for versatile and effective Jenkins backup, as well as for other backup tasks oriented on a home or pro-level PC user! Free 30-days trial version!

Making Jenkins Restore from Backup

To restore Jenkins, firstly stop a service controlling it on your computer. (For backup Jenkins, this step is not obligate, because Handy Backup can make “hot” backups.) You can use the Step 7 of a task creation wizard to auto stop and then restart Jenkins – just enter appropriate commands to command line.

Run Apps Before or After Jenkins Backup

Using Jenkins Jobs and Files Just from Backups

Handy Backup stores any backup files without changing data formats (unless these files being deliberately compressed and/or encrypted). This allows you browsing Jenkins jobs just from a backup storage, as well as modifying, using and even deleting these files without restoring an entire job archive!

Comparing Handy Backup with Other Methods of Jenkins Backup

These are some Jenkins backup script and plug-in tools available as freeware and open-source products. Despite the functionality of these solutions, none of them allows the level of scheduling and system integration common for Handy Backup. Still, these solutions have an advantage of being free!

Download Handy Backup

Version 8.2.1, built on 15 January 2021
112 MB

Experience the might of Jenkins backup with Handy Backup at first hands!
Download and install a 30-day free trial version of Handy Backup with all functions and plug-ins just now!

See also:


    Who uses our backup software?