How to backup/restore Rails db with Postgres?
I do the following on my server: pg_dump -O -c register_production > register.sql Then, after copying register.sql to my local environment, I try: psql register_development < register.sql Source: How to backup/restore Rails db with Postgres?
Recent Comments