Migrate gcs bucket objects to supabase storage bucket
Hi,
I'm trying to migrate about 400 files from the gcs bucket to the supabase storage bucket.
I've tried to follow this guide:
https://gist.github.com/danalloway/86f79efd5ca336ff7364554ac3104014
But I have not been able to get it working. It is able to get past the console.debug("Done!"); line with no errors.
Is there any other way to approach this?
Also, how would you go about updating the backend DB with the new URLs to the objects (post-migrate to supabase)?
I'm trying to migrate about 400 files from the gcs bucket to the supabase storage bucket.
I've tried to follow this guide:
https://gist.github.com/danalloway/86f79efd5ca336ff7364554ac3104014
But I have not been able to get it working. It is able to get past the console.debug("Done!"); line with no errors.
Is there any other way to approach this?
Also, how would you go about updating the backend DB with the new URLs to the objects (post-migrate to supabase)?