deta / deta-cli

Legacy Deta CLI. Repository is now archived.
https://deta.space
MIT License
67 stars 13 forks source link

I want to export / backup all Deta Base data #62

Closed Neos21 closed 2 years ago

Neos21 commented 3 years ago

I want to export or backup all data of Deta Base. I want the data to be output as a JSON file. But, fetch API limits 1MB. (Ref) How to export all data that over 1MB?

abdelhai commented 3 years ago

Hi @Neos21, the limit of 1MB is only for one page, you can keep fetching next pages by passing the last parameter/option. Make sure to use the our >1.0.0 version of the SDK and the docs.