We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ebf1e0 commit 7121d00Copy full SHA for 7121d00
1 file changed
postgres-appliance/bootstrap/maybe_pg_upgrade.py
@@ -32,6 +32,7 @@ def perform_pitr(postgresql, cluster_version, bin_version, config):
32
config[config['method']]['command'] = 'true'
33
try:
34
if bin_version == cluster_version:
35
+ os.chmod('/home/postgres/pgdata/pgroot/data', 0o700)
36
if not postgresql.bootstrap.bootstrap(config):
37
raise Exception('Point-in-time recovery failed')
38
elif not postgresql.start_old_cluster(config, cluster_version):
0 commit comments