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
- Rec'd a "phishing" email that apparently...
I received an email attempting to convince me that my password expired - and the link wanted to send me to an appwrite instance: (https://updating-projects-ads....
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- HackByte X AppWrite
I am Om an Organiser at Hackbyte, Central India's largest hackathon. We are an MLH acreddited hackathon and this is our 4th iteration. Last year we had around ...