# How to Backup And Restore Docker Apps in xCloud

> Learn how to create, schedule, retain, remotely store, restore, and delete Docker app backups safely in xCloud.

**Backup and restore docker apps** in xCloud protects the app’s persistent data and deployment recipe. xCloud captures named volumes, eligible bind mounts, `docker-compose.yml` and the app’s `.env` file in an encrypted, deduplicated restic snapshot.

This guide is for site owners and team members who manage Docker + NGINX sites and need on-demand backups, scheduled backups, remote copies, retention controls or an in-place restore.

Learn how to manage Docker app backups and restores in xCloud.

## **How to Backup and Restore Docker Apps in xCloud?**

With a dedicated backup and restore experience, xCloud makes protecting Docker applications simpler and more reliable. Whether applications are created with OneClick, Docker Compose, Git or Dockerfiles, users can schedule backups, control retention, choose flexible storage options and preview backups before restoring them.

### **Open the Docker Backups Page**

In the xCloud dashboard, open **Sites** and select your Docker site. Then from the site menu select **Backup**, then **Previous Backups**. Review the backup summary and existing backup rows.

![How to Backup and Restore Docker Apps in xCloud](/_landing/docs/backup-and-restore-docker-apps-image.png)

The summary shows whether automatic backups are active, the configured frequency, the retention period and the latest backup. Each backup row shows its time, type, snapshot identifier and status.

### **Create an On-demand Backup**

On **Backup > Previous Backups**, select **Backup Now**. Wait while xCloud creates the backup asynchronously. Refresh or revisit the list to confirm the row changes from **Running** to **Completed**.

![Create an On-demand Backup](/_landing/docs/backup-and-restore-docker-apps-image-1.png)

During capture, xCloud stops the app, records its eligible named volumes and bind mounts, saves the Compose recipe and environment file and restarts the app. A remote destination receives a replicated copy after the local capture finishes.

### **Configure Scheduled Local Backups**

Open **Backup > Backup Settings**. Select the **Local Backup** tab. Turn on **Automatic Backup**. Under **Select Backup Frequency**, choose **Daily**, **Weekly** or **Monthly**. To remove older snapshots automatically, turn on **Backup Retention** and enter the number of days in **Delete After Days**. Select **Save Settings**.

![Configure Scheduled Local Backups](/_landing/docs/backup-and-restore-docker-apps-image-2.png)

### **Configure Remote Backups**

Remote backups keep a copy outside the site’s server. The Docker backup workflow supports S3-compatible and SFTP destinations.

Configure an S3-compatible or SFTP provider for your team if one is not already available. Open the Docker site and go to **Backup > Backup Settings**. Select the **Remote Backup** tab. Under **Bucket**, choose **Select Storage Provider** and select the destination. Configure **Automatic Backup**, **Backup Frequency** and **Backup Retention** as needed. Select **Save Settings**.

![Configure Remote Backups](/_landing/docs/backup-and-restore-docker-apps-image-3.png)

### **Restore a Docker App Backup**

A restore replaces the current app data in place. Confirm that you selected the correct site and snapshot before applying it.

Open **Backup > Previous Backups**. Find a backup with **Completed** status. Open the row’s three-dot **Action** menu and select **Restore**.

![Completed Docker backup action menu with Restore highlighted](/_landing/docs/backup-and-restore-docker-apps-docker-backup-restore-action.png)

Review the prepared restore details. xCloud checks that the snapshot is reachable and previews its size and paths without changing the app. Enter the site name when prompted to confirm the destructive operation. Apply the restore and wait for the operation to finish.

### **Delete A Backup**

Open the three-dot **Action** menu for a backup that is not running. Select **Delete** and confirm the action.

![Delete A Backup](/_landing/docs/backup-and-restore-docker-apps-image-4.png)

This is how you can easily back up and restore your Docker applications in xCloud.

Still stuck? Feel free to reach out to our [**support team.**](https://xcloud.host/support/)
