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 c81a612 commit e947cacCopy full SHA for e947cac
src/restore.c
@@ -315,7 +315,12 @@ do_restore_or_validate(time_t target_backup_id,
315
* produce corresponding error message
316
*/
317
if (dest_backup->status == BACKUP_STATUS_OK)
318
- elog(INFO, "Backup %s is valid.", base36enc(dest_backup->start_time));
+ {
319
+ if (rt->restore_no_validate)
320
+ elog(INFO, "Backup %s is used without validation.", base36enc(dest_backup->start_time));
321
+ else
322
+ elog(INFO, "Backup %s is valid.", base36enc(dest_backup->start_time));
323
+ }
324
else if (dest_backup->status == BACKUP_STATUS_CORRUPT)
325
elog(ERROR, "Backup %s is corrupt.", base36enc(dest_backup->start_time));
326
else if (dest_backup->status == BACKUP_STATUS_ORPHAN)
0 commit comments