diff --git a/src/command/backup/backup.c b/src/command/backup/backup.c index f276c7fda..18c7a4566 100644 --- a/src/command/backup/backup.c +++ b/src/command/backup/backup.c @@ -1188,7 +1188,7 @@ backupJobResult( // Format log progress String *const logProgress = strNew(); - if (bundleId != 0) + if (bundleId != 0 && copyResult != backupCopyResultNoOp) strCatFmt(logProgress, "bundle %" PRIu64 "/%" PRIu64 ", ", bundleId, bundleOffset); // Store percentComplete as an integer diff --git a/test/src/module/command/backupTest.c b/test/src/module/command/backupTest.c index 2b6ef0e22..3a13ca994 100644 --- a/test/src/module/command/backupTest.c +++ b/test/src/module/command/backupTest.c @@ -3358,7 +3358,7 @@ testRun(void) "P00 INFO: backup start archive = 0000000105DBBF8000000000, lsn = 5dbbf80/0\n" "P00 INFO: check archive for segment 0000000105DBBF8000000000\n" "P01 DETAIL: backup file " TEST_PATH "/pg1/global/pg_control (bundle 1/0, 8KB, [PCT]) checksum [SHA1]\n" - "P01 DETAIL: match file from prior backup " TEST_PATH "/pg1/PG_VERSION (bundle 1/0, 2B, [PCT]) checksum [SHA1]\n" + "P01 DETAIL: match file from prior backup " TEST_PATH "/pg1/PG_VERSION (2B, [PCT]) checksum [SHA1]\n" "P00 DETAIL: reference pg_data/PG_VERSION to 20191030-014640F\n" "P00 DETAIL: reference pg_data/zero to 20191030-014640F\n" "P00 INFO: execute non-exclusive pg_stop_backup() and wait for all WAL segments to archive\n"