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
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Current User is Not authorized
recreating same Thread