Back

Single collections backup and restore

  • 0
  • Flutter
Karthik
23 Aug, 2023, 05:19

is it possible to take download document in a single collections and restore it back using appwirte cli ?.

TL;DR
The user is asking for guidance on how to backup and restore a single collection using a dart script. They are familiar with using CLI commands but unsure about uploading data. They are considering using a server SDK to fetch the data and store it in a json or csv file, and then upload it back using a script. They want to know if it's possible to download and restore a document in a single collection using Appwrite CLI.
Drake
23 Aug, 2023, 05:34

Best to use a server SDK to fetch it all. You can store into a json or csv file then another script to upload

Karthik
23 Aug, 2023, 06:17

i able to get json (inspect-> network tab in web) can you please point me to how to upload back i am only familiar with cli commands(like deploy functions and collections) and dart.

Drake
23 Aug, 2023, 06:21

No I was suggesting to write something like a dart script

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