Skip to content
Back

Is there a way to export / transfer Appwrite project, including it's data to another server?

  • 1
  • Self Hosted
  • General
raizel0609
24 Apr, 2023, 10:34

Suppose I have Appwrite project in one server and want to transfer it to another server. Everything is running on Docker. Would it be enough if simply just create a snapshot of the directory volume mounted in Appwrite?

TL;DR
The user is asking if there is a way to export and transfer an Appwrite project, including its data, to another server. The user mentions that there is a code available on GitHub for syncing two Appwrite instances. They also mention the need for a logic for managing different environments and the ability to add fields or make changes on one environment and have them automatically synced to others. There is a mention of migration and backup/restore. The user asks about importing data from an old server and suggests creating a snapshot of the directory volume mounted in Appwrite. It is suggested to review and upvote some relevant GitHub issues. Solution: The support
DPC2709
24 Apr, 2023, 11:21

I transferred all the containers using docker save… and imported with docker load, but when I finished and deployed I don’t see the data🥲. How can I import the data from the old server?

Binyamin
24 Apr, 2023, 11:36
Bouahaza
24 Apr, 2023, 13:10

+1, without need to have docker access

Binyamin
24 Apr, 2023, 13:11

You mean in an in-browser format?

Binyamin
24 Apr, 2023, 13:12

If so, you can upvote this issue https://github.com/appwrite/appwrite/issues/5208

Bouahaza
24 Apr, 2023, 13:12

JSON, YML, whatever format

Binyamin
24 Apr, 2023, 13:13

Sorry, didn't got you What you mean JSON, YML etc? for what part of the data you're referring?

Bouahaza
24 Apr, 2023, 13:15

Like ORM (for database) or like docker about buckets, etc.. Already explain that needed to core team btw Need real CI logic on appwrite

Binyamin
24 Apr, 2023, 13:16

Okay 👍

Bouahaza
24 Apr, 2023, 13:22

Here is about backup/restore

Bouahaza
24 Apr, 2023, 13:23

And here migration

Bouahaza
24 Apr, 2023, 13:25

What about, you've 4 differents env (dev - stagging - production - archive), with differents data on each. You add fields (or whatever) on dev env, for now you need to manually add it on others env. You don't have historic, don't know from where this new fields come, etc... Need a logic here 🙂 I hope it is better explained this way

Binyamin
24 Apr, 2023, 13:26

I see, got you

Guille
24 Apr, 2023, 20:15

I've just upload the code I'm using to sync two appwrite instances: https://github.com/gepd/appwrite-sync

Guille
24 Apr, 2023, 20:15

it's in early development

Guille
24 Apr, 2023, 20:16

it syncs databases, collections, attributes, indexes and documents

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