Back

What do I need to Copy and Transfer?

  • 0
  • Self Hosted
  • Web
ORIZON
21 Mar, 2023, 15:50

Hi guys. I'm Copying Appwrite from One Server to another. Is Copying MariaDb data enough or You need to Copy Other Things too ?

TL;DR
The user wants to know what needs to be copied and transferred when moving Appwrite from one server to another. They are specifically asking about copying the MariaDb data and if anything else needs to be copied. Solution: The user should refer to the conversation in the provided Discord link where it is mentioned that only the containers affected by the `.env` file change will be updated. To transfer Appwrite, they need to copy the MariaDb data and all the Docker volumes. They can also change the MariaDb user and password after installation by updating the values in the `.env` file located in the same folder as `docker-compose.yml`.
Binyamin
21 Mar, 2023, 15:56

Copy also all the docker volumes

Binyamin
21 Mar, 2023, 15:57
ORIZON
21 Mar, 2023, 17:32

Can I change the MariaDb user And Password After its been installed. Because I have some data that needs to be there & need to change the default password?

Binyamin
21 Mar, 2023, 17:36

Sure you can You do so by update those details inside the .env which located in the same folder as docker-compose.yml

To be exact those are the values

TypeScript
_APP_DB_HOST=mariadb
_APP_DB_PORT=3306
_APP_DB_SCHEMA=appwrite
_APP_DB_USER=user
_APP_DB_PASS=password
_APP_DB_ROOT_PASS=rootsecretpassword
ORIZON
21 Mar, 2023, 17:36

I can change these Values after Initialising them with default password?

Binyamin
21 Mar, 2023, 17:37

Yes You can set them to whatever you want

ORIZON
21 Mar, 2023, 17:37

And need to Restart the Container?

Binyamin
21 Mar, 2023, 17:42

Yes

Binyamin
21 Mar, 2023, 17:42

Just run docker-compose up -d

Binyamin
21 Mar, 2023, 17:43

It will update only containers the affect by the .env file change

rafagazani
21 Mar, 2023, 17:50

Hello @ORIZON , I think this conversation will be useful: https://discord.com/channels/564160730845151244/1082652391867944980

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more