Restoring from the CloudBees Backup Plugin
|The CloudBees Backup Plugin is only available for CloudBees Core. This chapter explains how to restore from a backup created with the CloudBees Backup Plugin. Refer to Restoring $JENKINS_HOME manually to restore other Jenkins-based deployments.|
Masters with CloudBees Backup Plugin 3.38 or later installed has support for Restore job type.
To restore a backup:
Click New Job from the left and select Backup or Restore Jenkins. This takes you to the page where you configure the restore project. Configuration of a restore job is very similar to that of a freestyle project.
Click Add build step and add Restore from backup builder.
Then, just like a backup job, you must configure where the backup is retrieved from. The latest backup available in the given source will be used to restore.
When running the restore job, the backup file is downloaded from the configured backend to the Jenkins filesystem, checked for integrity, then unpacked. After these steps are completed, you will be prompted to restart the Jenkins instance.
$JENKINS_HOMEis replaced with the content of the backup file, and the restore process is complete.
Restore is supported only from full backup files
The restore process will replace the current