PostgreSQL
TMA-POSTGRES-7.3
Ensure base backups are configured and functional
MoyenneNiveau 1Revue manuellepostgres
Description
A 'base backup' is a copy of the PRIMARY host's data cluster ($PGDATA) and is used to create STANDBY hosts and for Point In Time Recovery (PITR) mechanisms. Base backups should be copied across networks in a secure manner using an encrypted transport mechanism.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.
Confirm that base backups (pg_basebackup, pgBackRest or similar) exist, are taken on a regular schedule, are stored off-host, and that restores are tested.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Schedule regular base backups (e.g. pg_basebackup -D <dir> -Ft -z -P or pgBackRest), store them separately from the database server with restricted access, and test restores.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- postgresdatabasebackupmanual
- Référence
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.3 Ensure base backups are configured and functional