postgres backup - data empaty

Hi, I made a copy of the database using the command: "pg_dump -U PGUSER -h PGHOST -p PGPORT -W -F t PGDATABASE > YOUR_FILENAME_HERE". When I restore it locally and query a table, the query comes up empty:
9 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
alhexander_ad
alhexander_adOP2y ago
ID:ffe282e7-d7f6-4e3e-818e-c3b6963a4a0d
Brody
Brody2y ago
what was the filesize of the dump file?
alhexander_ad
alhexander_adOP2y ago
Hi, @Brody. is this size
Brody
Brody2y ago
are you sure al the credentials are correct when using pg_dump and re_restore?
alhexander_ad
alhexander_adOP2y ago
this was that, I used for pg_dumb
Brody
Brody2y ago
are you able to inspect the dump file for the desired data?
alhexander_ad
alhexander_adOP2y ago
thank you very much, I missed to put password to postgres of localhost; since it contains all the credentials that I needed, I can already see the backup in my local machine.
alhexander_ad
alhexander_adOP2y ago
Want results from more Discord servers?
Add your server