# Backup and restore

Backup and restore
==================

[](#_basic_steps)Basic steps
----------------------------

What does the backup and restore process involve for a Jenkins-based deployment?

The basic steps for backup:

1.  Determine what you want to back up using [Explaining $JENKINS\_HOME](/docs/cloudbees-ci/latest/backup-restore/jenkins-home).
    
2.  Determine how often you want to back up your `$JENKINS_HOME`.
    
3.  Determine how you want to schedule the backup (cron is recommended if available).
    
4.  Consider our [Best practices for backup and restore](/docs/cloudbees-ci/latest/backup-restore/best-practices).
    
5.  If you are running CloudBees CI, decide between performing [manual backups](/docs/cloudbees-ci/latest/backup-restore/backup-manually) or [using the CloudBees Backup Plugin](/docs/cloudbees-ci/latest/backup-restore/cloudbees-backup-plugin). Other deployments should perform [manual backups](/docs/cloudbees-ci/latest/backup-restore/backup-manually).
    

For the restore process:

1.  Consider our [Best practices for backup and restore](/docs/cloudbees-ci/latest/backup-restore/best-practices).
    
2.  If you performed a manual backup, [restore $JENKINS\_HOME manually](/docs/cloudbees-ci/latest/backup-restore/restoring-manually).
    
3.  If you are using CloudBees CI, you can use the [CloudBees Backup Plugin to create a job to recover from backup](/docs/cloudbees-ci/latest/backup-restore/restoring-from-backup-plugin).
    
4.  If you are running CloudBees CI on AWS, refer to [Backup and restore on AWS](/docs/cloudbees-ci/latest/backup-restore/aws) for additional information.
    
5.  If you need to restore jobs to a different Jenkins instance ID, follow the procedure in the [Restore credentials](/docs/cloudbees-ci/latest/backup-restore/restoring-credentials) section.