pg_dump version different from railway postgres version
I'm on macOS trying to backup my database with:
but I'm getting this error:
6 Replies
Project ID:
N/A
N/A
Solution
use a pg_dump version compatible with the database in use on railway
I keep getting this error whenever I do a manual backup because it seems Railway keeps updating their PostgreSQL version which requires me to update mine on my local effecting all my other projects - it would be good to keep it static for a project
New reply sent from Help Station thread:
Is there any progress on this? I am having a similar issue and I don't really know what version my postgres server isYou're seeing this because this thread has been automatically linked to the Help Station thread.
I'm pretty sure the version is printed in the deployment logs, but using pg_dump / pg_restore version 16 is what you'd want to be using