
Hi I was wondering if it would be possible to duplicate an environment so that I don't have to manually replicate the schema I'm using in my dev environment. Is there a way to do this using the API or an SDK?

If you have the appwrite cli you can do appwrite init collection
to pull down a json representation of your database structure, then do appwrite deploy collection
to deploy it.


oh that's awesome i didn't know about the cli!

thanks!
Recommended threads
- How to reduce DB Reads?
I just noticed that I hit the 500k db reads limit on my very small next js app with the most data being present in one collection having around 50 documents. ...
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
