PostgreSQL
TMA-POSTGRES-7.3
Ensure base backups are configured and functional
MittelStufe 1Manuelle Prüfungpostgres
Beschreibung
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.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
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.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
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.
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- postgresdatabasebackupmanual
- Referenz
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.3 Ensure base backups are configured and functional