Backing up and restoring

A core task for the smooth running of Jenkins is the scheduled backing up of its workspace. Not necessarily backing up all the artifacts, but at least the Jenkins configuration and the testing history are recorded by individual plugins.

Backups are not interesting unless you can restore. There are a wide range of stories on this subject. My favorite (and I won't name the well-known company involved) is the one in which somewhere in the early 70S, a company brought a very expensive piece of software and a tape backup facility to back up all the marketing results being harvested through their mainframes. However, not everything was automated. Every night, a tape needed to be moved into a specific slot. A poorly paid worker ...

Get Jenkins Continuous Integration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.