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-08-24 18:39:27 +02:00
|
|
|
INFO: archive-get start: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=backrest --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-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: get WAL segment 000000010000000100000001
|
2016-06-24 16:54:31 +02:00
|
|
|
DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourceArchive = 000000010000000100000001
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup
|
|
|
|
DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol
|
|
|
|
DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-get --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strHost = backup, strRemoteType = backup, strUser = [USER-1]
|
|
|
|
DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --command=archive-get --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup
|
2016-09-04 15:22:53 +02:00
|
|
|
DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
2016-07-29 20:02:11 +02:00
|
|
|
DEBUG: Archive->getCheck(): oFile = [object], strDbVersion = [undef], ullDbSysId = [undef]
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Db->new(): iRemoteIdx = 1
|
|
|
|
DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [undef], strRemoteType = db
|
|
|
|
DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
|
|
|
DEBUG: Db->info(): strDbPath = [TEST_PATH]/db-master/db/base
|
2016-09-04 15:22:53 +02:00
|
|
|
DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
2016-07-29 20:02:11 +02:00
|
|
|
DEBUG: Db->info=>: iCatalogVersion = 201306121, iControlVersion = 937, strDbVersion = 9.3, ullDbSysId = 6156904820763115222
|
2016-07-26 22:57:38 +02:00
|
|
|
ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments
|
2016-05-14 16:36:35 +02:00
|
|
|
HINT: is archive_command configured in postgresql.conf?
|
|
|
|
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef]
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: archive-get stop
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy(): iRemoteIdx = [undef], strRemoteType = [undef]
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup
|
|
|
|
DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
2015-06-22 15:51:16 +02:00
|
|
|
|
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-07-29 20:02:11 +02:00
|
|
|
db-system-id=6156904820763115222
|
2015-06-14 00:25:49 +02:00
|
|
|
db-version="9.3"
|
|
|
|
|
|
|
|
[db:history]
|
2016-07-29 20:02:11 +02:00
|
|
|
1={"db-id":6156904820763115222,"db-version":"9.3"}
|
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-08-24 18:39:27 +02:00
|
|
|
INFO: stop start: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=backrest --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef]
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: stop stop
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy(): iRemoteIdx = [undef], strRemoteType = [undef]
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
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-08-24 18:39:27 +02:00
|
|
|
INFO: archive-get start: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=backrest --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-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: get WAL segment 000000090000000900000009
|
2016-06-24 16:54:31 +02:00
|
|
|
DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009
|
2016-04-14 00:55:34 +02:00
|
|
|
ERROR: [137]: stop file exists for all stanzas
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef]
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: archive-get stop
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy(): iRemoteIdx = [undef], strRemoteType = [undef]
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
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-08-24 18:39:27 +02:00
|
|
|
INFO: start start: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=backrest --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef]
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: start stop
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy(): iRemoteIdx = [undef], strRemoteType = [undef]
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|
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-08-24 18:39:27 +02:00
|
|
|
INFO: archive-get start: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=backrest --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-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: get WAL segment 000000090000000900000009
|
2016-06-24 16:54:31 +02:00
|
|
|
DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup
|
|
|
|
DEBUG: Protocol::Protocol::protocolGet: create (cached) remote protocol
|
|
|
|
DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-get --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote, strHost = backup, strRemoteType = backup, strUser = [USER-1]
|
|
|
|
DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@backup '[BACKREST-BIN] --command=archive-get --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup remote', strId = backup, strName = remote, strRemoteType = backup
|
2016-09-04 15:22:53 +02:00
|
|
|
DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
2016-07-29 20:02:11 +02:00
|
|
|
DEBUG: Archive->getCheck(): oFile = [object], strDbVersion = [undef], ullDbSysId = [undef]
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Db->new(): iRemoteIdx = 1
|
|
|
|
DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [undef], strRemoteType = db
|
|
|
|
DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
|
|
|
DEBUG: Db->info(): strDbPath = [TEST_PATH]/db-master/db/base
|
2016-09-04 15:22:53 +02:00
|
|
|
DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
2016-07-29 20:02:11 +02:00
|
|
|
DEBUG: Db->info=>: iCatalogVersion = 201306121, iControlVersion = 937, strDbVersion = 9.3, ullDbSysId = 6156904820763115222
|
2016-04-14 00:55:34 +02:00
|
|
|
DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.3-1, strWalSegment = 000000090000000900000009
|
2016-06-24 16:54:31 +02:00
|
|
|
DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.3-1/0000000900000009, strPathType = backup:absolute, strSortOrder = <forward>
|
2016-04-14 00:55:34 +02:00
|
|
|
DEBUG: File->list=>: stryFileList = ()
|
|
|
|
DEBUG: Archive->walFileName=>: strWalFileName = [undef]
|
|
|
|
INFO: unable to find 000000090000000900000009 in the archive
|
|
|
|
DEBUG: Archive->get=>: iResult = 1
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Exit::exitSafe(): iExitCode = 1, strSignal = [undef]
|
2016-04-14 00:55:34 +02:00
|
|
|
INFO: archive-get stop
|
2016-08-24 18:39:27 +02:00
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy(): iRemoteIdx = [undef], strRemoteType = [undef]
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup
|
|
|
|
DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
|
|
|
DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0
|
2016-08-11 23:32:28 +02:00
|
|
|
DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false
|