|
|
|
@@ -561,47 +561,41 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (db-master host)
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --link-all --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-2]
|
|
|
|
|
P00 WARN: backup group for pg_data was not mapped to a name, set to [GROUP-2]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-2]
|
|
|
|
|
P00 WARN: backup user for pg_data was not mapped to a name, set to [USER-2]
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_stat exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_stat
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/recovery.done
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/postmaster.opts
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/postgresql.auto.conf.tmp
|
|
|
|
|
P00 DETAIL: remove link [TEST_PATH]/db-master/db/base/postgresql.auto.conf
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_subtrans/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_stat_tmp/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_snapshots/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_serial/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_replslot/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_notify/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_log2/logfile
|
|
|
|
|
P00 DETAIL: remove path [TEST_PATH]/db-master/db/base/pg_log2
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_log/logfile
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/pg_dynshmem/anything.tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/global/pg_internal.init
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/deleteme/deleteme.txt
|
|
|
|
|
P00 DETAIL: remove path [TEST_PATH]/db-master/db/base/deleteme
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/base/pgsql_tmp/pgsql_tmp.1
|
|
|
|
|
P00 DETAIL: remove path [TEST_PATH]/db-master/db/base/base/pgsql_tmp
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/base/32768/t333_44000
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/base/32768/44000
|
|
|
|
|
P00 DETAIL: set ownership [USER-1]:[GROUP-2] on [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
|
|
|
|
P00 DETAIL: set ownership [USER-2]:[GROUP-1] on [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
|
|
|
|
P00 DETAIL: set mode 0660 on [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
|
|
|
|
P00 DETAIL: set mode 0700 on [TEST_PATH]/db-master/db/base/base
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/backup_label.old
|
|
|
|
|
P00 DETAIL: remove file [TEST_PATH]/db-master/db/base/apipe
|
|
|
|
|
P00 INFO: cleanup removed 19 files, 1 link, 3 paths
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to '[USER-2]'
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to '[GROUP-2]'
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_config' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_stat' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: update ownership for '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: remove special file '[TEST_PATH]/db-master/db/base/apipe'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/backup_label.old'
|
|
|
|
|
P00 DETAIL: update mode for '[TEST_PATH]/db-master/db/base/base' to 0700
|
|
|
|
|
P00 DETAIL: update ownership for '[TEST_PATH]/db-master/db/base/base/1/PG_VERSION'
|
|
|
|
|
P00 DETAIL: update mode for '[TEST_PATH]/db-master/db/base/base/1/PG_VERSION' to 0660
|
|
|
|
|
P00 DETAIL: update ownership for '[TEST_PATH]/db-master/db/base/base/16384/PG_VERSION'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/base/32768/44000'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/base/32768/t333_44000'
|
|
|
|
|
P00 DETAIL: remove invalid path '[TEST_PATH]/db-master/db/base/base/pgsql_tmp'
|
|
|
|
|
P00 DETAIL: remove invalid path '[TEST_PATH]/db-master/db/base/deleteme'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/global/pg_internal.init'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_dynshmem/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_log/logfile'
|
|
|
|
|
P00 DETAIL: remove invalid path '[TEST_PATH]/db-master/db/base/pg_log2'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_notify/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_replslot/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_serial/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_snapshots/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_stat_tmp/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/pg_subtrans/anything.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid link '[TEST_PATH]/db-master/db/base/postgresql.auto.conf'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/postgresql.auto.conf.tmp'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/postmaster.opts'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/recovery.conf'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/recovery.done'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/pg_stat'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33001 - exists and matches backup (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/44000_init - exists and matches backup (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000.32767 - exists and matches backup (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -621,7 +615,25 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/zero_from_start - exists and is zero size (0B, 100%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/special-!_.*'()&!@;:+,? - exists and is zero size (0B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/pg_config'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
@@ -633,19 +645,17 @@ restore delta, backup '[BACKUP-FULL-2]' - fix permissions (db-master host)
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --link-all --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_stat exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_stat
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: set ownership [USER-1]:[GROUP-1] on [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
|
|
|
|
P00 DETAIL: set ownership [USER-1]:[GROUP-1] on [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to '[USER-1]'
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to '[GROUP-1]'
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_config' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_stat' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: update ownership for '[TEST_PATH]/db-master/db/base/base/1/PG_VERSION'
|
|
|
|
|
P00 DETAIL: update ownership for '[TEST_PATH]/db-master/db/base/base/16384/PG_VERSION'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/recovery.conf'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/pg_stat'
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33001 - exists and matches backup (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/44000_init - exists and matches backup (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000.32767 - exists and matches backup (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -665,30 +675,47 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/zero_from_start - exists and is zero size (0B, 100%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/special-!_.*'()&!@;:+,? - exists and is zero size (0B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/pg_config'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
----------------------------------------------------------------
|
|
|
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=detail --stanza=db archive-get %f "%p"'
|
|
|
|
|
restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get %f "%p"'
|
|
|
|
|
|
|
|
|
|
restore delta, backup '[BACKUP-FULL-2]' - fix broken symlink (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-FULL-2] --link-all --stanza=db restore
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --link-all --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_stat exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_stat
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: remove link [TEST_PATH]/db-master/db/base/pg_stat - destination changed
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_config' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_stat' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: remove link '[TEST_PATH]/db-master/db/base/pg_stat' because destination changed
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/recovery.conf'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/pg_stat'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base/pg_stat' to '../pg_stat'
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33001 - exists and matches backup (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/44000_init - exists and matches backup (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000.32767 - exists and matches backup (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -708,7 +735,25 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/zero_from_start - exists and is zero size (0B, 100%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/special-!_.*'()&!@;:+,? - exists and is zero size (0B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/pg_config'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
@@ -720,20 +765,18 @@ restore delta, backup '[BACKUP-FULL-2]' - restore all links by mapping (db-maste
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --link-map=pg_stat=../pg_stat --link-map=postgresql.conf=../pg_config/postgresql.conf --link-map=pg_hba.conf=../pg_config/pg_hba.conf --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 INFO: remap link pg_data/pg_hba.conf destination to ../pg_config/pg_hba.conf
|
|
|
|
|
P00 INFO: remap link pg_data/pg_stat destination to ../pg_stat
|
|
|
|
|
P00 INFO: remap link pg_data/postgresql.conf destination to ../pg_config/postgresql.conf
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_stat exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_stat
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 INFO: map link 'pg_hba.conf' to '../pg_config/pg_hba.conf'
|
|
|
|
|
P00 INFO: map link 'pg_stat' to '../pg_stat'
|
|
|
|
|
P00 INFO: map link 'postgresql.conf' to '../pg_config/postgresql.conf'
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_config' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_stat' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/recovery.conf'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/pg_stat'
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33001 - exists and matches backup (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/44000_init - exists and matches backup (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000.32767 - exists and matches backup (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -753,7 +796,25 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/zero_from_start - exists and is zero size (0B, 100%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/special-!_.*'()&!@;:+,? - exists and is zero size (0B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/pg_config'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
@@ -763,24 +824,24 @@ restore_command = '[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf
|
|
|
|
|
restore delta, backup '[BACKUP-FULL-2]', expect exit 70 - restore all links by mapping (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --set=[BACKUP-FULL-2] --log-level-console=warn --link-map=pg_stat=../pg_stat --link-map=postgresql.conf=../pg_stat/postgresql.conf --stanza=db restore
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 WARN: file link pg_hba.conf will be restored as a file at the same location
|
|
|
|
|
P00 ERROR: [070]: link [TEST_PATH]/db-master/db/base/postgresql.conf (../pg_stat) references a subdirectory of or the same directory as link [TEST_PATH]/db-master/db/base/pg_stat (../pg_stat)
|
|
|
|
|
P00 WARN: file link 'pg_hba.conf' will be restored as a file at the same location
|
|
|
|
|
P00 ERROR: [070]: link 'pg_stat' ([TEST_PATH]/db-master/db/pg_stat) destination is a subdirectory of or the same directory as link 'postgresql.conf' ([TEST_PATH]/db-master/db/pg_stat)
|
|
|
|
|
|
|
|
|
|
restore, backup '[BACKUP-FULL-2]', expect exit 40 - error on existing linked file (db-master host)
|
|
|
|
|
restore, backup '[BACKUP-FULL-2]', expect exit 93 - error on existing linked file (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --set=[BACKUP-FULL-2] --log-level-console=warn --link-all --stanza=db restore
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 ERROR: [040]: cannot restore file '[TEST_PATH]/db-master/db/pg_config/pg_hba.conf' that already exists - try using --delta if this is what you intended
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 ERROR: [093]: unable to restore file '[TEST_PATH]/db-master/db/pg_config/pg_hba.conf' because it already exists
|
|
|
|
|
HINT: try using --delta if this is what you intended.
|
|
|
|
|
|
|
|
|
|
restore, backup '[BACKUP-FULL-2]', expect exit 40 - error on existing linked path (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --set=[BACKUP-FULL-2] --log-level-console=warn --link-all --stanza=db restore
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 ERROR: [040]: cannot restore to path '[TEST_PATH]/db-master/db/pg_stat' that contains files - try using --delta if this is what you intended
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 ERROR: [040]: unable to restore to path '[TEST_PATH]/db-master/db/pg_stat' because it contains files
|
|
|
|
|
HINT: try using --delta if this is what you intended.
|
|
|
|
|
|
|
|
|
|
restore, backup '[BACKUP-FULL-2]', expect exit 38 - error on postmaster.pid exists (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --set=[BACKUP-FULL-2] --log-level-console=warn --stanza=db restore
|
|
|
|
@@ -794,14 +855,32 @@ restore delta, backup '[BACKUP-FULL-2]' - restore all links --link-all and mappi
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --link-all --link-map=pg_stat=../pg_stat --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 INFO: remap link pg_data/pg_stat destination to ../pg_stat
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_stat exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/pg_config exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/pg_config
|
|
|
|
|
P00 INFO: map link 'pg_stat' to '../pg_stat'
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_config' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/pg_stat' exists
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/pg_stat'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base/pg_stat' to '../pg_stat'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base/pg_hba.conf' to '../pg_config/pg_hba.conf'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base/postgresql.conf' to '../pg_config/postgresql.conf'
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/32768/33001 (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/32768/44000_init (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/32768/33000.32767 (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -821,7 +900,25 @@ P01 INFO: restore file [TEST_PATH]/db-master/db/base/PG_VERSION (3B, 100%) che
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base/zero_from_start (0B, 100%)
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base/special-!_.*'()&!@;:+,? (0B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/pg_config'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
@@ -834,13 +931,14 @@ restore delta, force, backup '[BACKUP-FULL-2]', expect exit 40 - fail on missing
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --force --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 WARN: --delta or --force specified but unable to find 'PG_VERSION' or 'backup.manifest' in '[TEST_PATH]/db-master/db/base' to confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files exist in the destination directories the restore will be aborted.
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 WARN: file link pg_hba.conf will be restored as a file at the same location
|
|
|
|
|
P00 WARN: contents of directory link pg_stat will be restored in a directory at the same location
|
|
|
|
|
P00 WARN: file link postgresql.conf will be restored as a file at the same location
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 ERROR: [040]: cannot restore to path '[TEST_PATH]/db-master/db/base' that contains files - try using --delta if this is what you intended
|
|
|
|
|
P00 WARN: file link 'pg_hba.conf' will be restored as a file at the same location
|
|
|
|
|
P00 WARN: contents of directory link 'pg_stat' will be restored in a directory at the same location
|
|
|
|
|
P00 WARN: file link 'postgresql.conf' will be restored as a file at the same location
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 ERROR: [040]: unable to restore to path '[TEST_PATH]/db-master/db/base' because it contains files
|
|
|
|
|
HINT: try using --delta if this is what you intended.
|
|
|
|
|
P00 INFO: restore command end: aborted with exception [040]
|
|
|
|
|
|
|
|
|
|
restore delta, force, backup '[BACKUP-FULL-2]' - restore succeeds with backup.manifest file (db-master host)
|
|
|
|
@@ -848,20 +946,21 @@ restore delta, force, backup '[BACKUP-FULL-2]' - restore succeeds with backup.ma
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --force --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-FULL-2]
|
|
|
|
|
P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [GROUP-1]
|
|
|
|
|
P00 WARN: group bogus in manifest cannot be used for restore, set to [USER-1]
|
|
|
|
|
P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1]
|
|
|
|
|
P00 WARN: user bogus in manifest cannot be used for restore, set to [USER-1]
|
|
|
|
|
P00 WARN: file link pg_hba.conf will be restored as a file at the same location
|
|
|
|
|
P00 WARN: contents of directory link pg_stat will be restored in a directory at the same location
|
|
|
|
|
P00 WARN: file link postgresql.conf will be restored as a file at the same location
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: remove link [TEST_PATH]/db-master/db/base/postgresql.conf
|
|
|
|
|
P00 DETAIL: remove link [TEST_PATH]/db-master/db/base/pg_stat
|
|
|
|
|
P00 DETAIL: remove link [TEST_PATH]/db-master/db/base/pg_hba.conf
|
|
|
|
|
P00 INFO: cleanup removed 3 links
|
|
|
|
|
P00 WARN: file link 'pg_hba.conf' will be restored as a file at the same location
|
|
|
|
|
P00 WARN: contents of directory link 'pg_stat' will be restored in a directory at the same location
|
|
|
|
|
P00 WARN: file link 'postgresql.conf' will be restored as a file at the same location
|
|
|
|
|
P00 WARN: unknown user in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown user 'bogus' in backup manifest mapped to current user
|
|
|
|
|
P00 WARN: unknown group in backup manifest mapped to current group
|
|
|
|
|
P00 WARN: unknown group 'bogus' in backup manifest mapped to current group
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: remove invalid link '[TEST_PATH]/db-master/db/base/pg_hba.conf'
|
|
|
|
|
P00 DETAIL: remove invalid link '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: remove invalid link '[TEST_PATH]/db-master/db/base/postgresql.conf'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base/recovery.conf'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33001 - exists and matches size 65536 and modification time [MODIFICATION-TIME-1] (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/44000_init - exists and matches size 32768 and modification time [MODIFICATION-TIME-1] (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000.32767 - exists and matches size 32768 and modification time [MODIFICATION-TIME-1] (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -881,7 +980,24 @@ P01 INFO: restore file [TEST_PATH]/db-master/db/base/PG_VERSION (3B, 100%) che
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/zero_from_start - exists and matches size 0 and modification time [MODIFICATION-TIME-1] (0B, 100%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/special-!_.*'()&!@;:+,? - exists and matches size 0 and modification time [MODIFICATION-TIME-1] (0B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/pg_tblspc'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf
|
|
|
|
@@ -1821,8 +1937,9 @@ restore, backup '[BACKUP-DIFF-2]', expect exit 40 - fail on used path (db-master
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-DIFF-2] --stanza=db
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-2]
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base exists
|
|
|
|
|
P00 ERROR: [040]: cannot restore to path '[TEST_PATH]/db-master/db/base' that contains files - try using --delta if this is what you intended
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base' exists
|
|
|
|
|
P00 ERROR: [040]: unable to restore to path '[TEST_PATH]/db-master/db/base' because it contains files
|
|
|
|
|
HINT: try using --delta if this is what you intended.
|
|
|
|
|
P00 INFO: restore command end: aborted with exception [040]
|
|
|
|
|
|
|
|
|
|
restore, backup '[BACKUP-DIFF-2]', remap - remap all paths (db-master host)
|
|
|
|
@@ -1830,12 +1947,33 @@ restore, backup '[BACKUP-DIFF-2]', remap - remap all paths (db-master host)
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base-2 --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-2]
|
|
|
|
|
P00 INFO: remap $PGDATA directory to [TEST_PATH]/db-master/db/base-2
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/1 directory to [TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/2 directory to [TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2 exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/tablespace/ts1-2 exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/tablespace/ts2-2 exists
|
|
|
|
|
P00 INFO: remap data directory to '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/1' to '[TEST_PATH]/db-master/db/tablespace/ts1-2'
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/2' to '[TEST_PATH]/db-master/db/tablespace/ts2-2'
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base-2' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/tablespace/ts1-2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: update mode for '[TEST_PATH]/db-master/db/base-2' to 0777
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/1'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/16384'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/32768'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/global'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_clog'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_log'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_notify'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_replslot'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_serial'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_snapshots'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_stat'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_subtrans'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_tblspc'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1' to '[TEST_PATH]/db-master/db/tablespace/ts1-2'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2' to '[TEST_PATH]/db-master/db/tablespace/ts2-2'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/32768/33001 (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/32768/44000_init (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/32768/33000.32767 (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -1855,10 +1993,33 @@ P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/PG_VERSION (3B, 99%) ch
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/zerosize.txt (0B, 99%)
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/zero_from_start (0B, 99%)
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/special-!_.*'()&!@;:+,? (0B, 99%)
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 99%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt (7B, 99%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
@@ -1870,16 +2031,17 @@ restore delta, backup '[BACKUP-DIFF-2]', remap - ensure file in tblspc root rema
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --no-compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --delta --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base-2 --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db-master/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-2]
|
|
|
|
|
P00 INFO: remap $PGDATA directory to [TEST_PATH]/db-master/db/base-2
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/1 directory to [TEST_PATH]/db-master/db/tablespace/ts1-2
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/2 directory to [TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2 exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/tablespace/ts1-2 exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/tablespace/ts2-2 exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/tablespace/ts1-2/[TS_PATH-1]
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base-2
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 INFO: remap data directory to '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/1' to '[TEST_PATH]/db-master/db/tablespace/ts1-2'
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/2' to '[TEST_PATH]/db-master/db/tablespace/ts2-2'
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base-2' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/tablespace/ts1-2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base-2/recovery.conf'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/tablespace/ts1-2/[TS_PATH-1]'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]'
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/base/32768/33001 - exists and matches backup (64KB, 33%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/base/32768/44000_init - exists and matches backup (32KB, 49%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/base/32768/33000.32767 - exists and matches backup (32KB, 66%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -1899,10 +2061,33 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/PG_VERSION - exists and
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/zerosize.txt - exists and is zero size (0B, 99%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/zero_from_start - exists and is zero size (0B, 99%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/special-!_.*'()&!@;:+,? - exists and is zero size (0B, 99%)
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt - exists and matches backup (7B, 99%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt - exists and matches backup (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt - exists and matches backup (7B, 99%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
|
|
|
|
|
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt - exists and matches backup (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/1/[TS_PATH-1]/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
@@ -2037,7 +2222,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -2054,7 +2239,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -2272,7 +2457,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -2289,7 +2474,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -2475,7 +2660,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -2492,7 +2677,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -2657,7 +2842,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -2674,7 +2859,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -2861,7 +3046,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -2878,7 +3063,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -3061,7 +3246,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -3078,7 +3263,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -3625,7 +3810,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -3642,7 +3827,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -3683,14 +3868,14 @@ restore delta, remap - selective restore 16384 (db-master host)
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-include=16384 --delta --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base-2 --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-5]
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/2 directory to [TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2 exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/tablespace/ts2-2 exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base-2
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 DETAIL: databases for include/exclude (1, 16384, 32768)
|
|
|
|
|
P00 DETAIL: database filter: (^pg_data\/base\/32768\/)|(^pg_tblspc/2\/[TS_PATH-1]\/32768\/)
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/2' to '[TEST_PATH]/db-master/db/tablespace/ts2-2'
|
|
|
|
|
P00 DETAIL: databases found for selective restore (1, 16384, 32768)
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base-2' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base-2/recovery.conf'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]'
|
|
|
|
|
P01 DETAIL: restore zeroed file [TEST_PATH]/db-master/db/base-2/base/32768/33001 (64KB, 36%)
|
|
|
|
|
P01 DETAIL: restore zeroed file [TEST_PATH]/db-master/db/base-2/base/32768/44000_init (32KB, 54%)
|
|
|
|
|
P01 DETAIL: restore zeroed file [TEST_PATH]/db-master/db/base-2/base/32768/33000.32767 (32KB, 72%)
|
|
|
|
@@ -3714,7 +3899,27 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/special-!_.*'()&!@;:+,?
|
|
|
|
|
P01 DETAIL: restore zeroed file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt (12B, 99%)
|
|
|
|
|
P01 DETAIL: restore zeroed file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 100%)
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
@@ -3726,14 +3931,14 @@ restore delta, remap - selective restore 32768 (db-master host)
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-include=32768 --delta --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base-2 --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --tablespace-map=2=[TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-5]
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/2 directory to [TEST_PATH]/db-master/db/tablespace/ts2-2
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2 exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/tablespace/ts2-2 exists
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]
|
|
|
|
|
P00 INFO: remove invalid files/paths/links from [TEST_PATH]/db-master/db/base-2
|
|
|
|
|
P00 DETAIL: preserve file [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 DETAIL: databases for include/exclude (1, 16384, 32768)
|
|
|
|
|
P00 DETAIL: database filter: (^pg_data\/base\/16384\/)|(^pg_tblspc/2\/[TS_PATH-1]\/16384\/)
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/2' to '[TEST_PATH]/db-master/db/tablespace/ts2-2'
|
|
|
|
|
P00 DETAIL: databases found for selective restore (1, 16384, 32768)
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base-2' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: remove 'global/pg_control' so cluster will not start if restore does not complete
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: remove invalid file '[TEST_PATH]/db-master/db/base-2/recovery.conf'
|
|
|
|
|
P00 INFO: remove invalid files/links/paths from '[TEST_PATH]/db-master/db/tablespace/ts2-2/[TS_PATH-1]'
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/32768/33001 (64KB, 36%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/32768/44000_init (32KB, 54%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/32768/33000.32767 (32KB, 72%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -3757,7 +3962,27 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base-2/special-!_.*'()&!@;:+,?
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/recovery.conf
|
|
|
|
@@ -3774,27 +3999,34 @@ restore delta, remap, expect exit 81 - error on system id (db-master host)
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 ERROR: [081]: system databases (template0, postgres, etc.) are included by default
|
|
|
|
|
|
|
|
|
|
restore, remap, expect exit 73 - no tablespace remap - error when tablespace dir does not exist (db-master host)
|
|
|
|
|
restore, remap - no tablespace remap (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --tablespace-map-all=../../tablespace --stanza=db restore
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base-2/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --tablespace-map-all=../../tablespace
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-5]
|
|
|
|
|
P00 INFO: remap $PGDATA directory to [TEST_PATH]/db-master/db/base-2/base
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/2 directory to ../../tablespace/ts2
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2/tablespace exists
|
|
|
|
|
P00 ERROR: [073]: cannot restore to missing path [TEST_PATH]/db-master/db/base-2/tablespace
|
|
|
|
|
P00 INFO: restore command end: aborted with exception [073]
|
|
|
|
|
|
|
|
|
|
restore - no tablespace remap (db-master host)
|
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --tablespace-map-all=../../tablespace --stanza=db restore
|
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
P00 INFO: restore command begin [BACKREST-VERSION]: --compress --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log --log-subprocess --no-log-timestamp --pg1-path=[TEST_PATH]/db-master/db/base-2/base --protocol-timeout=60 --repo1-path=[TEST_PATH]/db-master/repo --stanza=db --tablespace-map-all=../../tablespace
|
|
|
|
|
P00 INFO: restore backup set [BACKUP-DIFF-5]
|
|
|
|
|
P00 INFO: remap $PGDATA directory to [TEST_PATH]/db-master/db/base-2/base
|
|
|
|
|
P00 INFO: remap tablespace pg_tblspc/2 directory to ../../tablespace/ts2
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2/base exists
|
|
|
|
|
P00 DETAIL: check [TEST_PATH]/db-master/db/base-2/tablespace exists
|
|
|
|
|
P00 INFO: remap data directory to '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 INFO: map tablespace 'pg_tblspc/2' to '../../tablespace/ts2'
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base-2/base' exists
|
|
|
|
|
P00 DETAIL: check '[TEST_PATH]/db-master/db/base-2/tablespace/ts2/[TS_PATH-1]' exists
|
|
|
|
|
P00 DETAIL: update mode for '[TEST_PATH]/db-master/db/base-2/base' to 0777
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/base'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/base/1'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/base/16384'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/base/32768'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/global'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_clog'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_log'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_notify'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_serial'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_stat'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc'
|
|
|
|
|
P00 DETAIL: create symlink '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2' to '../../tablespace/ts2'
|
|
|
|
|
P00 DETAIL: create path '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/base/32768/33001 (64KB, 36%) checksum 6bf316f11d28c28914ea9be92c00de9bea6d9a6b
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/base/32768/44000_init (32KB, 54%) checksum 7a16d165e4775f7c92e8cdf60c0af57313f0bf90
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/base/32768/33000.32767 (32KB, 72%) checksum 6e99b589e550e68e934fd235ccba59fe5b592a9e
|
|
|
|
@@ -3818,7 +4050,27 @@ P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/special-!_.*'()&!@
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
|
|
|
|
|
P01 INFO: restore file [TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
|
|
|
|
P00 INFO: write [TEST_PATH]/db-master/db/base-2/base/recovery.conf
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/base'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/base/1'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/base/16384'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/base/32768'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_clog'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_dynshmem'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_log'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_notify'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_replslot'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_serial'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_snapshots'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_stat'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_stat_tmp'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_subtrans'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2/[TS_PATH-1]'
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/pg_tblspc/2/[TS_PATH-1]/32768'
|
|
|
|
|
P00 INFO: restore global/pg_control (performed last to ensure aborted restores cannot be started)
|
|
|
|
|
P00 DETAIL: sync path '[TEST_PATH]/db-master/db/base-2/base/global'
|
|
|
|
|
P00 INFO: restore command end: completed successfully
|
|
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/db/base-2/base/recovery.conf
|
|
|
|
@@ -4122,7 +4374,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -4139,7 +4391,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
@@ -4300,7 +4552,7 @@ group="[GROUP-1]"
|
|
|
|
|
user="[USER-1]"
|
|
|
|
|
|
|
|
|
|
[target:path]
|
|
|
|
|
pg_data={}
|
|
|
|
|
pg_data={"mode":"0777"}
|
|
|
|
|
pg_data/base={}
|
|
|
|
|
pg_data/base/1={}
|
|
|
|
|
pg_data/base/16384={}
|
|
|
|
@@ -4317,7 +4569,7 @@ pg_data/pg_stat={}
|
|
|
|
|
pg_data/pg_stat_tmp={}
|
|
|
|
|
pg_data/pg_subtrans={}
|
|
|
|
|
pg_data/pg_tblspc={}
|
|
|
|
|
pg_tblspc={}
|
|
|
|
|
pg_tblspc={"mode":"0777"}
|
|
|
|
|
pg_tblspc/2={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]={}
|
|
|
|
|
pg_tblspc/2/[TS_PATH-1]/32768={}
|
|
|
|
|