2015-05-28 19:17:34 +02:00
|
|
|
run 005 - rmt 1, cmp 0, exists 0
|
|
|
|
================================
|
|
|
|
|
2016-06-24 16:54:31 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
2015-06-22 15:51:16 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 INFO: get WAL segment 000000010000000100000001
|
2017-01-11 02:59:32 +02:00
|
|
|
P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup
|
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol
|
2016-10-05 14:55:54 +02:00
|
|
|
P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1]
|
2017-01-27 17:06:16 +02:00
|
|
|
P00 DEBUG: Protocol::CommandMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup
|
2016-12-23 15:30:34 +02:00
|
|
|
P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db
|
2017-01-27 18:02:27 +02:00
|
|
|
P00 DEBUG: Archive::Archive->getCheck(): oFile = [object], strDbVersion = [undef], strWalFile = 000000010000000100000001, ullDbSysId = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Db->new(): iRemoteIdx = 1
|
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [undef], strRemoteType = db
|
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
2016-11-30 21:15:11 +02:00
|
|
|
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
|
|
|
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
2016-12-23 15:30:34 +02:00
|
|
|
P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db
|
2016-12-04 00:34:51 +02:00
|
|
|
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
2016-12-20 23:52:20 +02:00
|
|
|
P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to push/get WAL segments
|
2016-05-14 16:36:35 +02:00
|
|
|
HINT: is archive_command configured in postgresql.conf?
|
2016-12-20 23:52:20 +02:00
|
|
|
HINT: has a stanza-create been performed?
|
2016-05-14 16:36:35 +02:00
|
|
|
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef]
|
2016-09-14 23:37:07 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup
|
2017-01-27 17:06:16 +02:00
|
|
|
P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
|
|
|
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: archive-get command end: aborted with exception [130]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 130
|
2015-06-22 15:51:16 +02:00
|
|
|
|
2016-12-20 23:52:20 +02:00
|
|
|
stanza-create db - create required data for stanza (backup host)
|
|
|
|
> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --stanza=db --log-level-console=detail --no-online stanza-create
|
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-2] --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=detail --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
|
|
|
P00 INFO: stanza-create command end: completed successfully
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/repo/backup/db/backup.info
|
|
|
|
------------------------------------------------------------------
|
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
|
|
|
[db]
|
|
|
|
db-catalog-version=201409291
|
|
|
|
db-control-version=942
|
|
|
|
db-id=1
|
|
|
|
db-system-id=6353949018581704918
|
|
|
|
db-version="9.4"
|
|
|
|
|
|
|
|
[db:history]
|
|
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":6353949018581704918,"db-version":"9.4"}
|
|
|
|
|
|
|
|
+ supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info
|
|
|
|
--------------------------------------------------------------------
|
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
backrest-format=5
|
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
|
|
|
[db]
|
|
|
|
db-id=1
|
|
|
|
db-system-id=6353949018581704918
|
|
|
|
db-version="9.4"
|
|
|
|
|
|
|
|
[db:history]
|
|
|
|
1={"db-id":6353949018581704918,"db-version":"9.4"}
|
|
|
|
|
2016-06-24 16:54:31 +02:00
|
|
|
+ supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info
|
|
|
|
--------------------------------------------------------------------
|
2015-06-14 00:25:49 +02:00
|
|
|
[backrest]
|
|
|
|
backrest-checksum="[CHECKSUM]"
|
2016-04-15 04:50:02 +02:00
|
|
|
backrest-format=5
|
2015-06-14 00:25:49 +02:00
|
|
|
backrest-version="[VERSION-1]"
|
|
|
|
|
|
|
|
[db]
|
|
|
|
db-id=1
|
2016-12-01 16:33:14 +02:00
|
|
|
db-system-id=6353949018581704918
|
|
|
|
db-version="9.4"
|
2015-06-14 00:25:49 +02:00
|
|
|
|
|
|
|
[db:history]
|
2016-12-01 16:33:14 +02:00
|
|
|
1={"db-id":6353949018581704918,"db-version":"9.4"}
|
2015-06-14 00:25:49 +02:00
|
|
|
|
2016-06-24 14:12:58 +02:00
|
|
|
stop all stanzas (db-master host)
|
2016-06-24 16:54:31 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf stop
|
2015-10-08 17:43:56 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: stop command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef]
|
2016-09-14 23:37:07 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
|
|
|
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: stop command end: completed successfully
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0
|
2015-10-08 17:43:56 +02:00
|
|
|
|
2016-06-24 16:54:31 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000090000000900000009 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
2015-10-08 17:43:56 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 INFO: get WAL segment 000000090000000900000009
|
2017-01-11 02:59:32 +02:00
|
|
|
P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 ERROR: [137]: stop file exists for all stanzas
|
|
|
|
P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef]
|
2016-09-14 23:37:07 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = false, iRemoteIdx = [undef], strRemoteType = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
|
|
|
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: archive-get command end: aborted with exception [137]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 137
|
2015-10-08 17:43:56 +02:00
|
|
|
|
2016-06-24 14:12:58 +02:00
|
|
|
start all stanzas (db-master host)
|
2016-06-24 16:54:31 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start
|
2015-10-08 17:43:56 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: start command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef]
|
2016-09-14 23:37:07 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
|
|
|
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: start command end: completed successfully
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 0
|
2015-10-08 17:43:56 +02:00
|
|
|
|
2016-06-24 16:54:31 +02:00
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000090000000900000009 [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG
|
2015-05-28 19:17:34 +02:00
|
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
2016-12-04 21:44:53 +02:00
|
|
|
P00 INFO: archive-get command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 INFO: get WAL segment 000000090000000900000009
|
2017-01-11 02:59:32 +02:00
|
|
|
P00 DEBUG: Archive::ArchiveGet->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup
|
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol
|
2016-10-05 14:55:54 +02:00
|
|
|
P00 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strCommandSSH = ssh, strHost = backup, strRemoteType = backup, strUser = [USER-1]
|
2017-01-27 17:06:16 +02:00
|
|
|
P00 DEBUG: Protocol::CommandMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --buffer-size=4194304 --command=archive-get --compress-level=6 --compress-level-network=3 --config=[TEST_PATH]/backup/pgbackrest.conf --protocol-timeout=1830 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup
|
2016-12-23 15:30:34 +02:00
|
|
|
P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db
|
2017-01-27 18:02:27 +02:00
|
|
|
P00 DEBUG: Archive::Archive->getCheck(): oFile = [object], strDbVersion = [undef], strWalFile = 000000090000000900000009, ullDbSysId = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Db->new(): iRemoteIdx = 1
|
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [undef], strRemoteType = db
|
|
|
|
P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
2016-11-30 21:15:11 +02:00
|
|
|
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
|
|
|
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
2016-12-23 15:30:34 +02:00
|
|
|
P00 DEBUG: File->new(): oProtocol = [object], strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRepoPath = [TEST_PATH]/backup/repo, strStanza = db
|
2016-12-04 00:34:51 +02:00
|
|
|
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
2017-01-27 18:02:27 +02:00
|
|
|
P00 DEBUG: Archive::Archive->getCheck=>: strArchiveFile = [undef], strArchiveId = 9.4-1
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 INFO: unable to find 000000090000000900000009 in the archive
|
2017-01-11 02:59:32 +02:00
|
|
|
P00 DEBUG: Archive::ArchiveGet->get=>: iResult = 1
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 1, oException = [undef], strSignal = [undef]
|
2016-09-14 23:37:07 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef]
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup
|
2017-01-27 17:06:16 +02:00
|
|
|
P00 DEBUG: Protocol::CommandMaster->close=>: iExitStatus = 0
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
|
|
|
P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
2017-01-31 17:36:59 +02:00
|
|
|
P00 INFO: archive-get command end: completed successfully
|
2016-09-14 23:30:57 +02:00
|
|
|
P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 1
|