Hello ! :appwrite:
My wish is to backup a server running on a computer A & restore it on a computer B to have two instances (dev & prod).
Here is the process I followed:
- Make a full backup using this script on the computer A (stopped traefik container before) : https://gist.github.com/stnguyen90/fee636ff652b8ecbf761935b2aa254fb#file-0-backup-sh
- Dowload the
.tarfile & then untar it to get a backup folder. - On my other computer B, I created an Appwrite instance from scratch (https://appwrite.io/docs/advanced/self-hosting)
- I skipped all the CLI questions by pressing enter (because I think it was overrided during the restore process?)
- I stopped traefik on computer B & then move the backup folder & restore script (https://gist.github.com/stnguyen90/fee636ff652b8ecbf761935b2aa254fb#file-1-restore-sh) to "appwrite" folder, then run the script. :appwritecheers: I don't have any errors :appwriteparty:
- I copied the .env file from computer A to computer B & run
docker compose restart
Now when I open the localhost address on computer B, I can't login with my credentials from computer A & when I try to register with a new account, I get : The current project has exceeded the maximum number of users. Please check your user limit in the Appwrite console.
So my question is, how to login again & check if my server was correctlty restored?
Thanks :appwritepeepo:
You need to login. Such error appears when registered. If you're not able to login with your credentials, double check that the docker compose has the _APP_OPENSSL_KEY_V1 set with the same value as your previous instance
@D5 Thanks for your fast reply, I double checked but _APP_OPENSSL_KEY_V1 in .env file has the same value on both instances...
@D5 Is the backup script backup saved account from Appwrite? Or I will need to create an Appwrite instance from scratch, create an account & then restore?
Recommended threads
- Function executions not getting logged b...
Hello, I have just upgraded on a self-hosted 1.8.1 to 1.9.0 and I have a strange bug where my functions are no longer showing executions in the console, howeve...
- Appwrite 1.9 Local Console Login Issue A...
I've installed Appwrite 1.9 locally through the web wizard. When I try to log in to the console, I get the following. Any suggestion?
- > [Bug] Infinite loading on Auth /securi...
Hello everyone! 👋 I need some help with an issue I'm facing after a recent upgrade. **Context:** I just upgraded my Appwrite instance from version **1.8.1**...