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
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Rec'd a "phishing" email that apparently...
I received an email attempting to convince me that my password expired - and the link wanted to send me to an appwrite instance: (https://updating-projects-ads....
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...