Skip to content
Discussion options

You must be logged in to vote

Hey, I had the same thing this morning. It turned out it was how I'd pasted the command into my terminal.
It had done it like this:

supabase db dump --db-url postgresql://postgres.blah:my-db-pswd@aws-0-us-west-1.pooler.supabase.com:5432/postgres
-f roles.sql --role-only

It was running the first line (verified by emitting a log of stuff in the terminal!) but then looking to run the second line as a new command.

I ran it as a single line....

supabase db dump --db-url postgresql://postgres.blah:my-db-pswd@aws-0-us-west-1.pooler.supabase.com:5432/postgres -f roles.sql --role-only

And all good!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by garthoid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants