Hello everybody <:supafire:979110896762757121> I'...
# help
h
Hello everybody I'm connected to the DB from my machine but if i try to do a backup (pg_dump), it says I don't have enough permissions. I'm connected with the postgres credentials in a free project. am I doing it wrong?, or do I need a Pro project?, or even like that is it not possible at all to backup my database? thanks!
n
Hello @Haus Of Alejandro! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
You might need to elevate the postgres user before doing the
pg_dump
, you can do this with the command below from inside of the Supabase Dashboard using the SQL Editor
Copy code
sql
ALTER USER postgres WITH SUPERUSER;
After the
pg_dump
has completed, remember to go back in the SQL Editor and de-elevate the postgres user.
Copy code
sql
ALTER USER postgres WITH NOSUPERUSER;
h
@silentworks thanks a lot!!!
n
Thread was archived by @Haus Of Alejandro. Anyone can send a message to unarchive it.