What to backup in Jenkins

You can backup the whole $JENKINS_HOME directory, but the most important are:

Also, you can use this script to do the above: jenkins=backup-script