#postgres backup - data empaty

11 messages · Page 1 of 1 (latest)

small solstice
#

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:

kindred auroraBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

sinful foxBOT
#

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.

small solstice
#

ID:ffe282e7-d7f6-4e3e-818e-c3b6963a4a0d

velvet matrix
#

what was the filesize of the dump file?

small solstice
velvet matrix
#

are you sure al the credentials are correct when using pg_dump and re_restore?

small solstice
#

this was that, I used for pg_dumb

velvet matrix
#

are you able to inspect the dump file for the desired data?

small solstice
#

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.