TMAegis
Другие правила для postgres

TMA-POSTGRES-7.3

Ensure base backups are configured and functional

СреднийУровень 1Ручная проверкаpostgres

Описание

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.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --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.

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

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.

Свойства

Операционные системы
Любая
Теги
postgresdatabasebackupmanual
Источник
CIS PostgreSQL 18 Benchmark v1.0.0 - 7.3 Ensure base backups are configured and functional