You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve documentation for Storage API while awaiting longer term solution for being able to download all files from storage buckets
User Problem
User would like to download all files from a storage bucket more easily.
User would like to backup storage buckets more easily.
Potential Solutions
Client-side code using current API to list the contents of a bucket, downloading each file asyncronously, also using the API (see simple Node example below).
Supabase could provide a new endpoint called something like .storage.from('mybucket').downloadAll() or .storage.from('mybucket').backup(). Future version request for options like {asSingleZipFile: true, callHookWhenComplete: 'https://myhook_to_call_when_complete', etc: 'etc'}.
Alternatively, Supabase could provide a new endpoint called something like .storage.from('mybucket').createBackupFile('backups') which does the backend work to create a new file which gets placed into 'backups' storage bucket. Finally, the current .download() API endpoint could be used to get the backup file.
Simple example Node script for looping through entire storage folder and downloading each file asynchronously.
The text was updated successfully, but these errors were encountered:
Improve documentation for Storage API while awaiting longer term solution for being able to download all files from storage buckets
User Problem
User would like to download all files from a storage bucket more easily.
User would like to backup storage buckets more easily.
Potential Solutions
Simple example Node script for looping through entire storage folder and downloading each file asynchronously.
The text was updated successfully, but these errors were encountered: