Back

Database Content Duplication

  • 0
  • Web
  • Cloud
Chris Nowicki
19 Sep, 2024, 19:05

I am working on setting up a staging (develop) database separate from production and figured out how to use the CLI which gets the current structure for my DB, with collections, and attribute settings / permissions per each collection.

Is there a way to get ALL the data from production DB and push that to the new DB I am creating?

Is there a way to sync them up or would I have to create a custom script for that?

TL;DR
Developers are trying to set up a staging database separate from production. They want to know if there's a way to migrate all the data from the production database to the new staging database. The solution provided is to use the migration feature available with the CLI in Appwrite. This feature allows developers to get the current structure of the database, including collections, attribute settings, and permissions, and push that data to the new database.
Steven
19 Sep, 2024, 19:28

You can use the migration feature: https://appwrite.io/docs/advanced/migrations/cloud

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more