Physical vs Logical Backups in PostgreSQL
PostgreSQL backups can be categorized into two types: logical and physical. Logical backups involve translating all the data into a set of SQL commands and writing it into a single file, which can then be fed to any database cluster to recreate everything. Physical backups pertain to the actual set of files or file systems where your database data is stored. Each type has unique uses depending on the needs of the user: Logical backups are simpler for smaller databases and better for handling larger ones, while physical backups are more ideal for larger databases and can be used for point-in-time recovery.
Company
Supabase
Date published
July 7, 2020
Author(s)
Angelico de los Reyes
Word count
626
Language
English
Hacker News points
None found.