Middle
Milliste tööriistadega teete klasteri varukoopia?
sobes.tech AI
Vastus AI-lt
For backing up a PostgreSQL cluster, the following tools are often used:
- pg_basebackup — built-in tool for creating a physical copy of the entire cluster, suitable for basic backups.
- pg_dump/pg_dumpall — for logical backups of individual databases or the entire cluster.
- Barman — specialized tool for managing backups and recovery of PostgreSQL, supports incremental backups and WAL archiving.
- Wal-G — modern backup tool with support for cloud storage, efficient for large data volumes.
- Patroni + Etcd/Consul — for cluster management and high availability, in conjunction with backups.
Depending on RTO/RPO requirements and infrastructure, a combination of these tools is chosen. For example, critical systems use pg_basebackup with WAL archiving via Barman or Wal-G to ensure precise recovery up to the point of failure.