A step-by-step guide to backing up and restoring a PostgreSQL database using pg_dump and pg_restore. Covers installation of psql tools on macOS, Ubuntu, and Windows, retrieving connection variables from Railway, and running the backup and restore commands. Also includes a note on handling Heroku-specific dump formats.

4m read timeFrom blog.railway.com
Post cover image
Table of contents
Table of ContentsGetting StartedBacking Up Your DatabaseRestoring Your Database BackupClosing

Sort: