Backup Software / Backup Jenkins Jobs and Restore Copy – Best Practices
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.
Version 8.2.1, built on 15 January 2021 112 MB
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.
It is simple; just do the following things.
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.
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.
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.
Version 8.2.1, built on 15 January 2021 . 112 MB Backup Software from Novosoft LLC. 89 USD per license.
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!
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.
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!
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!
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!
Copyright © 2004-2021 Novosoft LLC. All rights reserved. Handy Backup software.10685-B Hazelhurst Dr., Houston, TX 77043, United States Tel.: +1 (707) 703-13-11
Back to Top