
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
- Function gives unauthorized error when w...
I am on free tier. I have function that has three attributes: 1. A stand alone attribute (required) 2. A many to one relationship attribute 3. A many to man...
- The UI for creating relational data is d...
It is difficult to select data from other collections when creationg relational data. The dropdown menu is sometimes unresponsive. Sometimes the delete button d...
- Golang docs outdated
Golang docs on the website are update and some if not all methods are broken/ not updated
