Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 623 Bytes

backup-database-from-railway.md

File metadata and controls

17 lines (13 loc) · 623 Bytes

Backing up the Railway Postgres Database

Pre-requisites

Railway Shell

  1. railway link
    • Link to the Ensembler project
  2. railway service
    • Use the Ensembler service
  3. railway shell
  4. echo $PGPASSWORD
  5. pg_dump -U $PGUSER -h $PGHOST -p $PGPORT -W -F t $PGDATABASE > database-railway-<today's date>.dump
  6. exit