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
- Resource limit error using API for proje...
Project ID: 67414182001dfe44c386 Endpoint: https://fra.cloud.appwrite.io/v1 Web Dashboard works fine, able to CRUD. But API return error ``` { "message": "...
- Failed to receive appwrite reset passwor...
Hey there, I forgot my password for my appwrite account but when i use forgot password, i dont get an email to reset the account but when i try to create a new ...
- Opening Project I get "500 Internal Erro...
Opening Project I get "500 Internal Error" added what i see on the page and in dev console