mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
add verbose message
This commit is contained in:
+2
-2
@@ -462,8 +462,8 @@ help_validate(void)
|
|||||||
printf(_(" the named restore point to which recovery will proceed\n"));
|
printf(_(" the named restore point to which recovery will proceed\n"));
|
||||||
printf(_(" --skip-block-validation set to validate only file-level checksum\n"));
|
printf(_(" --skip-block-validation set to validate only file-level checksum\n"));
|
||||||
|
|
||||||
printf(_(" --db-include dbname restore only specified databases\n"));
|
printf(_(" --db-include dbname validate only files of specified databases\n"));
|
||||||
printf(_(" --db-exclude dbname do not restore specified databases\n"));
|
printf(_(" --db-exclude dbname do not validate files of specified databases\n"));
|
||||||
|
|
||||||
printf(_("\n Logging options:\n"));
|
printf(_("\n Logging options:\n"));
|
||||||
printf(_(" --log-level-console=log-level-console\n"));
|
printf(_(" --log-level-console=log-level-console\n"));
|
||||||
|
|||||||
@@ -207,7 +207,11 @@ pgBackupValidateFiles(void *arg)
|
|||||||
if (arguments->dbOid_exclude_list && file->external_dir_num == 0
|
if (arguments->dbOid_exclude_list && file->external_dir_num == 0
|
||||||
&& parray_bsearch(arguments->dbOid_exclude_list,
|
&& parray_bsearch(arguments->dbOid_exclude_list,
|
||||||
&file->dbOid, pgCompareOid))
|
&file->dbOid, pgCompareOid))
|
||||||
|
{
|
||||||
|
elog(VERBOSE, "Skip file validation due to partial restore: \"%s\"",
|
||||||
|
file->rel_path);
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Currently we don't compute checksums for
|
* Currently we don't compute checksums for
|
||||||
|
|||||||
Reference in New Issue
Block a user