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
.tar
file & 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
- 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
- Account Status
Hello! I'm a student and am in the GitHub Student Organization, and according to GitHub, I am recieving pro membership via the Student Dev Pack. However, when I...