cli
cli copied to clipboard
supabase db dump -x flag not excluding all files in list
Bug report
$ supabase db dump --data-only -f file.sql -x
only the first table is excluded from the dump
- [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.
To Reproduce
include more than 1 table in the exclude list
Expected behavior
All files in exclude list should be omitted from the dump
Screenshots
System information
- OS: macOS
- Browser (if applies) NA
- Version of supabase-js: 2.15.18
- Version of Node.js: 22.11
Additional context
Add any other context about the problem here.
Hi, I've moved this issue over from the supabase repo to cli.
@rtessler Have you tried adding the tables separated by commas? ie:
supabase db dump -f supabase/seed-sql --data-only --exclude "auth.audit_log_entries,auth.refresh_tokens,auth.sessions"