dalibo / pitrery

DEPRECATED. PostgreSQL Point In Time Recovery made easy
http://dalibo.github.io/pitrery/
Other
108 stars 31 forks source link

check command thinks that the remote target directory does not exist #161

Closed Krysztophe closed 3 years ago

Krysztophe commented 3 years ago

This remote directory works perfectly well (backup, list), but the check fails:

2021-08-27 14:20:49 CEST INFO: ==> checking the configuration for inconsistencies
2021-08-27 14:20:49 CEST INFO: configuration seems correct
2021-08-27 14:20:49 CEST INFO: ==> checking backup configuration
2021-08-27 14:20:49 CEST INFO: checking SSH connection for backups
2021-08-27 14:20:49 CEST INFO: ssh connection to postgres@monolithe ok
2021-08-27 14:20:49 CEST INFO: checking backup directory: /BACKUPS/postgresql_PITR.pegase/11/defo
2021-08-27 14:20:49 CEST ERROR: target directory '/BACKUPS/postgresql_PITR.pegase/11/defo' does NOT exist or is NOT reachable

I think there is a typo in 59078c1ceb1750a120a43080a92dc3f192369d57, PR is coming.