I have two computers I work on. One windows pc and one mac. My problem is, that I want to sync my appwrite project between these two computers. I am not using Appwrite Cloud, I am using local hosting. Is there any way to share the docker volumes or something else from docker, so that I don't have to add new collections, attributes or other manually when switching computers again. PS: The last two months I have been working on my mac, so having a way to just copy the project and insert it on my other pc would save me a ton of time.
you would need to store the data in some shared file location...or make it so that one system can mount the other...but, honestly, that's messy and not worth it.
I have actually found a solution. Recently, docker has launched extensions for docker desktop. There is an extension that can create .tar files or similar out of docker volumes (where all the data is stored). I did this with every appwrite volume, copied them over with Logitech flow (alternatively you can use GitHub) and import them on the other docker desktop with the same extension. This only takes like 10 minutes. Worth it.
This scenario is more like migrating data between instances. for that, i recommend creating a backup from one instance and restoring to the other: https://www.youtube.com/watch?v=lM5yZEPtlvg
The problem with doing this volume route is there is a small chance of corrupting your database data
Luckily it was only dev, not prod xD But thank you very much for the link, will do it like this in the future
[SOLVED] Share Appwrite Docker across computers
Recommended threads
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...
- 1.9.6 Console handles all array columns ...
When creating or updating a row in the appwrite 1.9.6 web console, the form treats all list columns as a type string. Even if the column is a list of booleans, ...