We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc81de2 commit ee3e8d1Copy full SHA for ee3e8d1
src/pg_probackup.c
@@ -497,8 +497,14 @@ main(int argc, char *argv[])
497
if (backup_subcmd != INIT_CMD && backup_subcmd != ADD_INSTANCE_CMD)
498
{
499
if (fio_access(backup_instance_path, F_OK, FIO_BACKUP_HOST) != 0)
500
+ {
501
+ elog(WARNING, "Failed to access directory \"%s\": %s",
502
+ backup_instance_path, strerror(errno));
503
+
504
+ // TODO: redundant message, should we get rid of it?
505
elog(ERROR, "Instance '%s' does not exist in this backup catalog",
506
instance_name);
507
+ }
508
}
509
510
0 commit comments