Database – Ruby and Rails Blog https://rubyandrails.net This is where diamonds exists Mon, 18 Oct 2021 22:41:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 195321763 https://rubyandrails.net/1135-2/ Mon, 18 Oct 2021 22:41:09 +0000 https://rubyandrails.net/?p=1135

Today I’d like to share the steps I take when I need to convert a PostgreSQL database into a SQLite database. Commonly I have to do this when …

]]>
1135
How to backup/restore Rails db with Postgres? https://rubyandrails.net/how-to-backup-restore-rails-db-with-postgres/ Mon, 30 Aug 2021 20:12:37 +0000 https://rubyandrails.net/?p=1130

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?

]]>
1130
PostgreSQL Tutorials, Resources and Training | EDB https://rubyandrails.net/postgresql-tutorials-resources-and-training-edb/ Sat, 10 Jul 2021 03:45:19 +0000 https://rubyandrails.net/?p=424

PostgreSQL High availability – ha, Backup and recovery, Automatic failover, PostgreSQL Extensions, and resources on being successful with Postgres.

Source: PostgreSQL Tutorials, Resources and Training | EDB

]]>
424