Barman vs pgbackrest :
Feature | pgBackRest | Barman |
---|---|---|
Backup Types | Full, Incremental, Differential | Full, Incremental (via WAL archiving) |
Parallel Backups | Yes | No |
Compression | Yes | Yes |
Encryption | Yes | No (Requires external encryption) |
Point-in-Time Recovery | Yes | Yes |
Performance | High performance, parallel processing | Good, but not as optimized as pgBackRest |
Ease of Use | Moderate (some complexity) | Easy to set up and use |
Restore Process | Flexible, with automatic WAL recovery | Simple, but less feature-rich |
Cross-Platform | Yes | Primarily Linux-based |
Centralized Management | No | Yes |
Retention Policies | Yes | Limited (manual management) |
Community Support | Strong community and active development | Active community support |
When to Use pgBackRest:
- Large Scale Systems: If you have large databases or need to backup large volumes of data with high performance and efficiency, pgBackRest is ideal due to its parallelism and delta backups.
- Advanced Features: If you need features like encryption, compression, and fine-tuned backup configurations, pgBackRest excels in these areas.
- High Availability and Replication: If you are using streaming replication or other advanced PostgreSQL features, pgBackRest integrates well into these environments.
When to Use Barman:
- Small to Medium Systems: Barman is well-suited for smaller to medium-sized PostgreSQL environments where simplicity and ease of use are the primary concerns.
- Centralized Management: If you have multiple PostgreSQL instances and need centralized backup management, Barman is a good choice.
- Basic Backup and Recovery Needs: If you don't require advanced features like parallel backups or encryption, Barman provides a straightforward solution for backup and recovery tasks.
Top comments (1)
someone can help me: with pgbackrest I did restore end of backup or end of log or latest PIT or PIT and my database are always in read mode (all db in my instance are in read mode). Do I need to switch manually to write mode?