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.
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.