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
- [Self-hosted] Realtime crashes with "Mis...
- Problem adding domain onto the project a...
I have used 2 domains on the project HavanaDev (havanadev.pro and havanadev.com). .com was just redirected to . Pro domain. .pro is expired, now I’d like to use...
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...