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
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Introducing new string column types made...
Adding new string types is hugely bennificial! Unfortunately it made the current column types not editable to change their types to the new longer field types.