I followed this article but came with an error
https://blog.railway.app/p/postgre-backup
#I need help with postgres restore database
39 messages · Page 1 of 1 (latest)
Project ID: 53b9fe5c-d166-46c5-bd1a-8280edc67251
53b9fe5c-d166-46c5-bd1a-8280edc67251
what was the command ran to take the backup?
pg_restore -U postgres -h autorack.proxy.rlwy.net -p 28543 -W -F t -d railway SCHOOL_MANAGER
im sorry but that doesnt quite answer my question
pg_dump -U postgres -h monorail.proxy.rlwy.net -p 30383 -W -F t railway > SCHOOL_MANAGER
what version of pg_dump are you using?
and what about pg_restore?
i cant reproduce the issue with pg_restore / pg_dump 16.x, i ran the same commands you gave me
can you give me the file/
the backup file
I used the file which I backed up 2 months ago, it works just fine, but not the new one
i didnt take a backup of your database lol
Then does my database create the issue?
i assume its a bad file
how come?
because restoring from the file doesnt work
Can I swap postgres database between prod and dev environment
nope, you would want to use pg_dump and pg_restore for that
you need to use the public host and port
thats the internal host
external and internal
i honestly dont know, unfortunately theres not all that much i can do here as we cant really provide support for 3rd party software