How to Back Up PostgreSQL with pg_dump and Point-in-Time Recovery Basics
PostgreSQL stores your data in a way that makes simple file copies unreliable as backups. The database files change while the server runs, so copying them by hand can produce a set you cannot start. The supported route is pg_dump, a tool that reads the database through the server itself and writes a consistent snapshot. … Baca Selengkapnya