1

How do I best perform a backup

There are a lot of plugins and tools for performing backups like:

As each of these meets a different requirement in terms of backing up what is the best way to perform a backup of the job configurations and global configurations?

2 comments

  • 0
    Avatar
    Arnaud Héritier

    I used a rsync for years and it was working fine, but you need to make sure to change ownership of the files when restoring.

  • 0
    Avatar
    Phil Mcardle

    I think it's going to depend a lot on your own environment, and especially what kind of failures you expect and how you'll recover from them. I use VM snapshots for the majority of my Jenkins backups, because in 90% of cases if something has gone wrong, I can best recover from a VM snapshot.

    If you have a well-configured configuration management system (Puppet, Chef), or are using containers for Jenkins masters, then you might want to just be restoring the Jenkins data, and not the entire machine, for which I've found thinBackup to be the best so far.

Please sign in to leave a comment.