---
title: Migration & Disaster Recovery (Fargate)
url: https://www.tines.com/docs/self-hosted/best-practices/migration-and-disaster-recovery-fargate/
updated: 2026-03-18T10:22:44+00:00
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Self-Hosted](https://www.tines.com/llm/docs/self-hosted.md) › [Best Practices](https://www.tines.com/llm/docs/self-hosted/best-practices.md)*

# Migration & Disaster Recovery (Fargate)

*[View on tines.com](https://www.tines.com/docs/self-hosted/best-practices/migration-and-disaster-recovery-fargate/)*

This document outlines how to migrate your Tines self-hosted tenant to another deployment. It explains how to take an RDS Snapshot, delete the old database, and restore the RDS Snapshot to a new deployment. 

In the event of a disaster, **Restoring an RDS Snapshot** outlines how to restore your Tines tenant. 

# Taking an RDS Snapshot

Step 1: Go to the [AWS Console](https://console.aws.amazon.com/).

Step 2: Go to **Elastic Container Service**.

Step 3: Go to the appropriate Cluster.

Step 4: You will see that you have the *tines-app* and *tines-sidekiq* services running.

Step 5: Go to **RDS**.

Step 6: Select **Databases** in the menu on the left of the screen.

Step 7: Go to the appropriate database.

Step 8: Go to the Actions dropdown in the upper right corner of the screen.

Step 9: Select **Take Snapshot**.

Step 10: Give the snapshot a name and click **Take Snapshot**. You will see that the snapshot is being created. Please allow time for the operation to complete. 

# Deleting the Database (Optional)

Step 11: Go to **Databases**. Go to the appropriate database.

Step 12: Go to the Actions dropdown in the upper right corner and select **Delete**. The database will be deleted. This may take a few minutes, please allow it time to complete. 

# Restoring an RDS Snapshot

Step 13: Select the snapshot. Go to the **Actions** dropdown in the upper right corner and select **Restore Snapshot**.

Step 14: Enter the name of the DB instance.

Step 15: Select the Existing VPC Security Group for the DB instance.

Step 16: Proceed with restoring the snapshot. The restoration of the snapshot may take a few minutes. Please allow the operation time to complete. 

Step 17: Go to the **Elastic Container Service** and select the appropriate Cluster.

Step 18: Select both tasks (*tines-app*, *tines-sidekiq*) and stop the tasks. The task definitions are set to restart the tasks if they are down, so wait for the tasks to come back up.
