TLDR: How do I comfortably move all my functions, schemas, data, files etc from Appwrite cloud to a DigitalOcean droplet's Appwrite instance?
I need to transfer all my data to a freshly installed Appwrite instance in DigitalOcean. I can easily transfer the functions, collection schemas, storage bucket names using the appwrite-cli. And I was thinking I would have to write another script to transfer all the documents from the collections. But that would change the '$createdAt' which is not ideal. Moving the users could be a pain too. What is the simplest way to just COPY AND PASTE everything?
For now, there's no way to migrate everything in simple one-click solution. Notice that this option is currently in development.
As for your use-case What you can do is something like this.
- Move everything to the newly created DigitalOcean server.
- Export all the document (using server SDK) to a csv
- Use this gist to connect to MariaDB Database.
- Locate the collection table in the database
- Update the createdAt & updatedAt to those in the CSV.
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- I recently applied for the free plan und...
I recently applied for the free plan under the GitHub Student Developer Pack. However, my billing status still shows $15, and it mentions that this amount will ...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.