pghoard icon indicating copy to clipboard operation
pghoard copied to clipboard

Allow basebackup name to persist across restarts.

Open nicois opened this issue 3 years ago • 0 comments

About this change - What it does

Provides an additional (optional) configuration setting: durable_basebackup_path, allowing the basebackup path to be preserved across restarts of the service.

Why this way

This is backwards-compatible, allowing previous behaviour to continue as a default. When enabled, this change will allow the service to be restarted (e.g. via systemctl restart pghoard) without causing the basebackup name to be regenerated. This is helpful in a range of situations where a new basebackup should not be created, simply because the service has restarted. This durable basebackup name will be preserved indefinitely, even across server restarts.

nicois avatar May 17 '22 02:05 nicois