storage icon indicating copy to clipboard operation
storage copied to clipboard

can not dump buckets

Open matart15 opened this issue 1 year ago • 0 comments

Bug report

  • [x] I confirm this is a bug with Supabase, not with my own application.
  • [x] I confirm I have searched the Docs, GitHub Discussions, and Discord. Docs says --schema storage it should be fine.

Describe the bug

When dumping local db storage data is not dumped.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to storage

  2. create new bucket Screenshot 2024-07-05 at 19 57 29

  3. check bucket data is in DB Screenshot 2024-07-05 at 19 56 50

  4. dump local db with pnpm supabase db pull --local --schema public,storage,graphql_public Screenshot 2024-07-05 at 20 02 40

  5. Bucket permissions are dumped. But bucket names are not in migration file Screenshot 2024-07-05 at 19 58 35

  6. just to make sure, delete docker volumes and pnpm supabase start it does not create buckets

Expected behavior

Bucket data must be dumped

System information

  • OS: macOS
  • Browser chrome
  • Version of "supabase": "1.178.2",
  • Version of Node.js: v20.12.2

matart15 avatar Jul 05 '24 11:07 matart15