Closed mikecaat closed 2 years ago
But, to use data_directory
is not recommended because recovery-relate parameters (ex. --recovery-target-time) don't work. It must add them into postgresql.conf which user manages, but it add them into postgresql.conf in the restored data directory.
TODO
[memo] As a first step, this commit omits following feature.
It looks good. And I think that the new option needs to be added to the manual.
When restoring, pg_rman removes the 'include' directive which it previously added in the restored postgrsql.conf.
But, the logic didn't consider the restored data doesn't have postgresql.conf. It happens when a user manages it in a directory different from the data directory using postgresql's guc parameter
data_directory
.