I have two separate servers both running Appwrite 1.6.0. I am trying to move all the data from the Appwrite instance running on Server A to the one running on Server B.
This is how I have gone about it:
- Took a dump of the DB on server A
- Created a volume backup of appwrite uploads and functions on Server A
- Copied the db dump and the backup volumes to server B
- Set the OPENSSL key to match on both servers
- Restored the db
- Restored the volumes
- Ran docker migrate to finish up the migration
Now after doing all this, I launch the console and try to login, I get an invalid credentials error. Now the smtp config is setup fine on server B so I reset the password and login. From the console, I can see that everything is there in the database, however when I go to the storage section, the files are there, but they are still encrypted, the images show broken links and can’t be previewed. What exactly is it that I am missing here?
Also, I am running both servers on Coolify, so if there is a simpler way of doing this, please let me know
Try recreating the containers and dump the redis cache from the server B
Ah I see, how can I take a backup of the redis cache?
I think you can just invalidate it and then restart appwrite
Don't try in the working server but in testing/B instance just in case
Also, the docs strictly prohibit doing this https://appwrite.io/docs/advanced/self-hosting/production
Where?
Not the answer to your questions, but after few migrations I needed to do on different versions of appwrite (1.5.x and 1.6.0 recently) and trying DB dump/restore & Migrations functionality in console I am now sticking to few simple scripts utilizing server API, here is an example (beware, somewhat old appwrite-nodejs version plus implementation for storage doesn't restore metadata like per file access and file names - I created my own version). Rate limites could be disabled temporary if possible to speed up, otherwise it could be an overnightly migration (main delay will be with storage, took me around 40 min for 5 Gb in JPEG in my project). https://github.com/react-declarative/appwrite-backup-tool
here is what I used for migration instance to instance https://codefile.io/f/UYGDQCbXFt
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- GitHub Student Benefits Not Applied to M...
Hi! I signed up for Appwrite using my GitHub account, and I’m a student with an active GitHub Student Developer Pack. I was expecting the Appwrite educational/...
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.