pgbackrest.git / summary / log / commit / refs

commit    bff262ac4791fae834f13ee4c422da8a4e7cdb1d
Author:   David Steele <david@pgmasters.net>
Date:     Thu Aug 11 21:32:28 2016 +0000

    Removed all OP_* function constants that were used only for debugging, not in the protocol, and replaced with __PACKAGE__.


doc/xml/release.xml | 10 + lib/pgBackRest/Archive.pm | 73 +---- lib/pgBackRest/ArchiveInfo.pm | 22 +- lib/pgBackRest/Backup.pm | 53 +-- lib/pgBackRest/BackupCommon.pm | 12 +- lib/pgBackRest/BackupFile.pm | 12 +- lib/pgBackRest/BackupInfo.pm | 36 +-- lib/pgBackRest/Common/Exit.pm | 9 +- lib/pgBackRest/Common/Ini.pm | 15 +- lib/pgBackRest/Common/Lock.pm | 21 +- lib/pgBackRest/Common/Log.pm | 3 + lib/pgBackRest/Db.pm | 83 +---- lib/pgBackRest/Expire.pm | 39 +-- lib/pgBackRest/File.pm | 117 +++---- lib/pgBackRest/FileCommon.pm | 17 +- lib/pgBackRest/Info.pm | 30 +- lib/pgBackRest/Manifest.pm | 32 +- lib/pgBackRest/Protocol/Common.pm | 9 +- lib/pgBackRest/Protocol/CommonMaster.pm | 15 +- lib/pgBackRest/Protocol/CommonMinion.pm | 16 +- lib/pgBackRest/Protocol/IO.pm | 12 +- lib/pgBackRest/Protocol/RemoteMaster.pm | 9 +- lib/pgBackRest/Protocol/RemoteMinion.pm | 9 +- lib/pgBackRest/Restore.pm | 42 +-- lib/pgBackRest/RestoreFile.pm | 9 +- lib/pgBackRest/Version.pm | 2 +- test/expect/backup-archive-get-001.log | 20 +- test/expect/backup-archive-get-002.log | 16 +- test/expect/backup-archive-get-003.log | 20 +- test/expect/backup-archive-get-004.log | 16 +- test/expect/backup-archive-get-005.log | 20 +- test/expect/backup-archive-get-006.log | 16 +- test/expect/backup-archive-get-007.log | 20 +- test/expect/backup-archive-get-008.log | 16 +- test/expect/backup-archive-push-001.log | 194 +++++------ test/expect/backup-archive-push-002.log | 360 ++++++++++----------- test/expect/backup-archive-push-003.log | 180 +++++------ test/expect/backup-archive-push-004.log | 336 +++++++++---------- test/expect/backup-archive-push-005.log | 194 +++++------ test/expect/backup-archive-push-006.log | 360 ++++++++++----------- test/expect/backup-archive-push-007.log | 180 +++++------ test/expect/backup-archive-push-008.log | 336 +++++++++---------- test/expect/backup-archive-stop-001.log | 60 ++-- test/expect/backup-archive-stop-002.log | 60 ++-- test/expect/backup-archive-stop-003.log | 60 ++-- test/expect/backup-archive-stop-004.log | 60 ++-- test/expect/backup-archive-stop-005.log | 60 ++-- test/expect/backup-archive-stop-006.log | 60 ++-- test/expect/backup-synthetic-001.log | 92 +++--- test/expect/backup-synthetic-002.log | 48 +-- test/expect/backup-synthetic-003.log | 48 +-- test/expect/backup-synthetic-004.log | 48 +-- test/expect/backup-synthetic-005.log | 126 ++++---- test/expect/backup-synthetic-006.log | 48 +-- test/expect/backup-synthetic-007.log | 48 +-- test/expect/backup-synthetic-008.log | 48 +-- .../Backup/Common/ExpireCommonTest.pm | 37 +-- test/lib/pgBackRestTest/Common/ExecuteTest.pm | 34 +- test/lib/pgBackRestTest/Common/LogTest.pm | 15 +- 59 files changed, 1766 insertions(+), 2177 deletions(-) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 73071ae5e..fe0f2c8b7 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -109,6 +109,16 @@ </contributor-list> <release-list> + <release date="XXXX-XX-XX" version="1.06dev" title="UNDER DEVELOPMENT"> + <release-core-list> + <release-refactor-list> + <release-item> + <p>Removed all <code>OP_*</code> function constants that were used only for debugging, not in the protocol, and replaced with <code>__PACKAGE__</code>.</p> + </release-item> + </release-refactor-list> + </release-core-list> + </release> + <release date="2016-08-09" version="1.05" title="Bug Fix for Tablespace Link Checking"> <release-core-list> <release-bug-list> diff --git a/lib/pgBackRest/Archive.pm b/lib/pgBackRest/Archive.pm index dbdc72dfb..ba557a8ee 100644 --- a/lib/pgBackRest/Archive.pm +++ b/lib/pgBackRest/Archive.pm @@ -26,26 +26,16 @@ use pgBackRest::File; use pgBackRest::FileCommon; #################################################################################################################################### -# Operation constants +# Remote operation constants #################################################################################################################################### use constant OP_ARCHIVE => 'Archive'; -use constant OP_ARCHIVE_GET => OP_ARCHIVE . '->get'; use constant OP_ARCHIVE_GET_ARCHIVE_ID => OP_ARCHIVE . '->getArchiveId'; push @EXPORT, qw(OP_ARCHIVE_GET_ARCHIVE_ID); use constant OP_ARCHIVE_GET_CHECK => OP_ARCHIVE . '->getCheck'; push @EXPORT, qw(OP_ARCHIVE_GET_CHECK); -use constant OP_ARCHIVE_GET_PROCESS => OP_ARCHIVE . '->getProcess'; -use constant OP_ARCHIVE_NEW => OP_ARCHIVE . '->new'; -use constant OP_ARCHIVE_PROCESS => OP_ARCHIVE . '->process'; -use constant OP_ARCHIVE_PUSH => OP_ARCHIVE . '->pushProcess'; use constant OP_ARCHIVE_PUSH_CHECK => OP_ARCHIVE . '->pushCheck'; push @EXPORT, qw(OP_ARCHIVE_PUSH_CHECK); -use constant OP_ARCHIVE_PUSH_PROCESS => OP_ARCHIVE . '->pushProcess'; -use constant OP_ARCHIVE_RANGE => OP_ARCHIVE . '->range'; -use constant OP_ARCHIVE_WAL_FILE_NAME => OP_ARCHIVE . '->walFileName'; -use constant OP_ARCHIVE_WAL_INFO => OP_ARCHIVE . '->walInfo'; -use constant OP_ARCHIVE_XFER => OP_ARCHIVE . '->xfer'; #################################################################################################################################### # PostgreSQL WAL magic @@ -77,14 +67,7 @@ sub new my $class = shift; # Class name # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_ARCHIVE_NEW - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); # Create the class hash my $self = {}; @@ -108,14 +91,7 @@ sub process my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_ARCHIVE_PROCESS - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); my $iResult; @@ -151,14 +127,7 @@ sub getProcess my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_ARCHIVE_GET_PROCESS - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->getProcess'); # Make sure the archive file is defined if (!defined($ARGV[1])) @@ -205,7 +174,7 @@ sub walFileName ) = logDebugParam ( - OP_ARCHIVE_WAL_FILE_NAME, \@_, + __PACKAGE__ . '->walFileName', \@_, {name => 'oFile'}, {name => 'strArchiveId'}, {name => 'strWalSegment'}, @@ -284,7 +253,7 @@ sub walInfo ) = logDebugParam ( - OP_ARCHIVE_WAL_INFO, \@_, + __PACKAGE__ . '->walInfo', \@_, {name => 'strWalFile'} ); @@ -372,7 +341,7 @@ sub get ) = logDebugParam ( - OP_ARCHIVE_GET, \@_, + __PACKAGE__ . '->get', \@_, {name => 'strSourceArchive'}, {name => 'strDestinationFile'} ); @@ -455,7 +424,7 @@ sub getCheck ) = logDebugParam ( - OP_ARCHIVE_GET_CHECK, \@_, + __PACKAGE__ . '->getCheck', \@_, {name => 'oFile'}, {name => 'strDbVersion', required => false}, {name => 'ullDbSysId', required => false} @@ -510,14 +479,7 @@ sub getArchiveId my $oFile = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_ARCHIVE_GET_ARCHIVE_ID - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->getArchiveId'); my $strArchiveId; @@ -546,14 +508,7 @@ sub pushProcess my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_ARCHIVE_PUSH_PROCESS - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->pushProcess'); # Make sure the archive push command happens on the db side if (optionRemoteTypeTest(DB)) @@ -673,7 +628,7 @@ sub push ) = logDebugParam ( - OP_ARCHIVE_PUSH, \@_, + __PACKAGE__ . '->push', \@_, {name => 'strSourceFile'}, {name => 'bAsync'} ); @@ -779,7 +734,7 @@ sub pushCheck ) = logDebugParam ( - OP_ARCHIVE_PUSH_CHECK, \@_, + __PACKAGE__ . '->pushCheck', \@_, {name => 'oFile'}, {name => 'strWalSegment'}, {name => 'bPartial'}, @@ -870,7 +825,7 @@ sub xfer ) = logDebugParam ( - OP_ARCHIVE_XFER, \@_, + __PACKAGE__ . '->xfer', \@_, {name => 'strArchivePath'}, {name => 'strStopFile'} ); @@ -1071,7 +1026,7 @@ sub range ) = logDebugParam ( - OP_ARCHIVE_RANGE, \@_, + __PACKAGE__ . '->', \@_, {name => 'strArchiveStart'}, {name => 'strArchiveStop'}, {name => 'bSkipFF', default => false} diff --git a/lib/pgBackRest/ArchiveInfo.pm b/lib/pgBackRest/ArchiveInfo.pm index a19704310..302c8b436 100644 --- a/lib/pgBackRest/ArchiveInfo.pm +++ b/lib/pgBackRest/ArchiveInfo.pm @@ -25,15 +25,6 @@ use pgBackRest::Config::Config; use pgBackRest::File; use pgBackRest::Manifest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_ARCHIVE_INFO => 'ArchiveInfo'; - -use constant OP_ARCHIVE_INFO_ARCHIVE_ID => OP_ARCHIVE_INFO . "->archiveId"; -use constant OP_ARCHIVE_INFO_CHECK => OP_ARCHIVE_INFO . "->check"; -use constant OP_ARCHIVE_INFO_NEW => OP_ARCHIVE_INFO . "->new"; - #################################################################################################################################### # File/path constants #################################################################################################################################### @@ -71,7 +62,7 @@ sub new ) = logDebugParam ( - OP_ARCHIVE_INFO_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strArchiveClusterPath'}, {name => 'bRequired', default => false} ); @@ -121,7 +112,7 @@ sub check ) = logDebugParam ( - OP_ARCHIVE_INFO_CHECK, \@_, + __PACKAGE__ . '->check', \@_, {name => 'strDbVersion'}, {name => 'ullDbSysId'} ); @@ -192,14 +183,7 @@ sub archiveId my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_ARCHIVE_INFO_ARCHIVE_ID - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->archiveId'); # Return from function and log return values if any return logDebugReturn diff --git a/lib/pgBackRest/Backup.pm b/lib/pgBackRest/Backup.pm index 05eaae983..e73f3d131 100644 --- a/lib/pgBackRest/Backup.pm +++ b/lib/pgBackRest/Backup.pm @@ -32,18 +32,6 @@ use pgBackRest::FileCommon; use pgBackRest::Manifest; use pgBackRest::Version; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_BACKUP => 'Backup'; - -use constant OP_BACKUP_DESTROY => OP_BACKUP . '->DESTROY'; -use constant OP_BACKUP_FILE_NOT_IN_MANIFEST => OP_BACKUP . '->fileNotInManifest'; -use constant OP_BACKUP_NEW => OP_BACKUP . '->new'; -use constant OP_BACKUP_PROCESS => OP_BACKUP . '->process'; -use constant OP_BACKUP_PROCESS_MANIFEST => OP_BACKUP . '->processManifest'; -use constant OP_BACKUP_TMP_CLEAN => OP_BACKUP . '->tmpClean'; - #################################################################################################################################### # new #################################################################################################################################### @@ -56,7 +44,7 @@ sub new bless $self, $class; # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(OP_BACKUP_NEW); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); # Initialize protocol $self->{oProtocol} = protocolGet(); @@ -89,23 +77,13 @@ sub DESTROY my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_BACKUP_DESTROY - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->DESTROY'); undef($self->{oFile}); undef($self->{oDb}); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -127,7 +105,7 @@ sub fileNotInManifest ) = logDebugParam ( - OP_BACKUP_FILE_NOT_IN_MANIFEST, \@_, + __PACKAGE__ . '->fileNotInManifest', \@_, {name => 'strPathType', trace => true}, {name => 'oManifest', trace => true}, {name => 'oAbortedManifest', trace => true} @@ -224,7 +202,7 @@ sub tmpClean ) = logDebugParam ( - OP_BACKUP_TMP_CLEAN, \@_, + __PACKAGE__ . '->tmpClean', \@_, {name => 'oManifest', trace => true}, {name => 'oAbortedManifest', trace => true} ); @@ -255,10 +233,7 @@ sub tmpClean } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -283,7 +258,7 @@ sub processManifest ) = logDebugParam ( - OP_BACKUP_PROCESS_MANIFEST, \@_, + __PACKAGE__ . '->processManifest', \@_, {name => 'strDbPath'}, {name => 'strType'}, {name => 'bCompress'}, @@ -552,14 +527,7 @@ sub process my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_BACKUP_PROCESS - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); # Record timestamp start my $lTimestampStart = time(); @@ -977,10 +945,7 @@ sub process $oBackupInfo->add($oBackupManifest); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } 1; diff --git a/lib/pgBackRest/BackupCommon.pm b/lib/pgBackRest/BackupCommon.pm index 541e62df6..f20855ab4 100644 --- a/lib/pgBackRest/BackupCommon.pm +++ b/lib/pgBackRest/BackupCommon.pm @@ -16,14 +16,6 @@ use pgBackRest::Common::Log; use pgBackRest::Common::String; use pgBackRest::Config::Config; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_BACKUP_COMMON => 'BackupCommon'; - -use constant OP_BACKUP_COMMON_REG_EXP_GET => OP_BACKUP_COMMON . '::backupRegExpGet'; -use constant OP_BACKUP_COMMON_BACKUP_LABEL_FORMAT => OP_BACKUP_COMMON . '::backupLabelFormat'; - #################################################################################################################################### # backupRegExpGet - Generate a regexp depending on the backups that need to be found #################################################################################################################################### @@ -40,7 +32,7 @@ sub backupRegExpGet ) = logDebugParam ( - OP_BACKUP_COMMON_REG_EXP_GET, \@_, + __PACKAGE__ . '::backupRegExpGet', \@_, {name => 'bFull', default => false}, {name => 'bDifferential', default => false}, {name => 'bIncremental', default => false}, @@ -119,7 +111,7 @@ sub backupLabelFormat ) = logDebugParam ( - OP_BACKUP_COMMON_BACKUP_LABEL_FORMAT, \@_, + __PACKAGE__ . '::backupLabelFormat', \@_, {name => 'strType', trace => true}, {name => 'strBackupLabelLast', required => false, trace => true}, {name => 'lTimestampStop', trace => true} diff --git a/lib/pgBackRest/BackupFile.pm b/lib/pgBackRest/BackupFile.pm index f51a83305..89c025564 100644 --- a/lib/pgBackRest/BackupFile.pm +++ b/lib/pgBackRest/BackupFile.pm @@ -21,14 +21,6 @@ use pgBackRest::File; use pgBackRest::FileCommon; use pgBackRest::Manifest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_BACKUP_FILE => 'BackupFile'; - -use constant OP_BACKUP_FILE_BACKUP_FILE => OP_BACKUP_FILE . '::backupFile'; -use constant OP_BACKUP_FILE_BACKUP_MANIFEST_UPDATE => OP_BACKUP_FILE . '::backupManifestUpdate'; - #################################################################################################################################### # backupFile #################################################################################################################################### @@ -50,7 +42,7 @@ sub backupFile ) = logDebugParam ( - OP_BACKUP_FILE_BACKUP_FILE, \@_, + __PACKAGE__ . '::backupFile', \@_, {name => 'oFile', trace => true}, {name => 'strDbFile', trace => true}, {name => 'strRepoFile', trace => true}, @@ -162,7 +154,7 @@ sub backupManifestUpdate ) = logDebugParam ( - OP_BACKUP_FILE_BACKUP_MANIFEST_UPDATE, \@_, + __PACKAGE__ . '::backupManifestUpdate', \@_, {name => 'oManifest', trace => true}, {name => 'strFile', trace => true}, {name => 'bCopied', trace => true}, diff --git a/lib/pgBackRest/BackupInfo.pm b/lib/pgBackRest/BackupInfo.pm index efe9f3055..4c811083c 100644 --- a/lib/pgBackRest/BackupInfo.pm +++ b/lib/pgBackRest/BackupInfo.pm @@ -23,19 +23,6 @@ use pgBackRest::File; use pgBackRest::FileCommon; use pgBackRest::Manifest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_BACKUP_INFO => 'BackupInfo'; - -use constant OP_INFO_BACKUP_ADD => OP_BACKUP_INFO . "->add"; -use constant OP_INFO_BACKUP_CHECK => OP_BACKUP_INFO . "->check"; -use constant OP_INFO_BACKUP_CURRENT => OP_BACKUP_INFO . "->current"; -use constant OP_INFO_BACKUP_DELETE => OP_BACKUP_INFO . "->delete"; -use constant OP_INFO_BACKUP_LAST => OP_BACKUP_INFO . "->last"; -use constant OP_INFO_BACKUP_LIST => OP_BACKUP_INFO . "->list"; -use constant OP_INFO_BACKUP_NEW => OP_BACKUP_INFO . "->new"; - #################################################################################################################################### # File/path constants #################################################################################################################################### @@ -121,7 +108,7 @@ sub new ) = logDebugParam ( - OP_INFO_BACKUP_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strBackupClusterPath'}, {name => 'bValidate', default => true} ); @@ -160,14 +147,7 @@ sub validate my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - ) = - logDebugParam - ( - OP_INFO_BACKUP_NEW - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->validate'); # Check for backups that are not in FILE_BACKUP_INFO my $strPattern = backupRegExpGet(true, true, true); @@ -231,7 +211,7 @@ sub check ) = logDebugParam ( - OP_INFO_BACKUP_CHECK, \@_, + __PACKAGE__ . '->check', \@_, {name => 'strDbVersion', trace => true}, {name => 'iControlVersion', trace => true}, {name => 'iCatalogVersion', trace => true}, @@ -305,7 +285,7 @@ sub add ) = logDebugParam ( - OP_INFO_BACKUP_ADD, \@_, + __PACKAGE__ . '->add', \@_, {name => 'oBackupManifest', trace => true} ); @@ -419,7 +399,7 @@ sub current ) = logDebugParam ( - OP_INFO_BACKUP_CURRENT, \@_, + __PACKAGE__ . '->current', \@_, {name => 'strBackup'} ); @@ -449,7 +429,7 @@ sub list ) = logDebugParam ( - OP_INFO_BACKUP_LIST, \@_, + __PACKAGE__ . '->list', \@_, {name => 'strFilter', required => false}, {name => 'strOrder', default => 'forward'} ); @@ -499,7 +479,7 @@ sub last ) = logDebugParam ( - OP_INFO_BACKUP_LAST, \@_, + __PACKAGE__ . '->last', \@_, {name => 'strType'} ); @@ -531,7 +511,7 @@ sub delete ) = logDebugParam ( - OP_INFO_BACKUP_DELETE, \@_, + __PACKAGE__ . '->delete', \@_, {name => 'strBackupLabel'} ); diff --git a/lib/pgBackRest/Common/Exit.pm b/lib/pgBackRest/Common/Exit.pm index 3838616d9..035d345b2 100644 --- a/lib/pgBackRest/Common/Exit.pm +++ b/lib/pgBackRest/Common/Exit.pm @@ -18,13 +18,6 @@ use pgBackRest::Common::Lock; use pgBackRest::Common::Log; use pgBackRest::Config::Config; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_EXIT => 'Exit'; - -use constant OP_EXIT_SAFE => OP_EXIT . '::exitSafe'; - #################################################################################################################################### # Signal constants #################################################################################################################################### @@ -88,7 +81,7 @@ sub exitSafe ) = logDebugParam ( - OP_EXIT_SAFE, \@_, + __PACKAGE__ . '::exitSafe', \@_, {name => 'iExitCode'}, {name => 'strSignal', required => false} ); diff --git a/lib/pgBackRest/Common/Ini.pm b/lib/pgBackRest/Common/Ini.pm index 660b285f5..e8c08f0fa 100644 --- a/lib/pgBackRest/Common/Ini.pm +++ b/lib/pgBackRest/Common/Ini.pm @@ -22,14 +22,6 @@ use pgBackRest::Common::String; use pgBackRest::FileCommon; use pgBackRest::Version; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_INI => 'Ini'; - -use constant OP_INI_INI_SAVE => OP_INI . "::iniSave"; -use constant OP_INI_SET => OP_INI . "->set"; - #################################################################################################################################### # Boolean constants #################################################################################################################################### @@ -239,7 +231,7 @@ sub iniSave ) = logDebugParam ( - OP_INI_INI_SAVE, \@_, + __PACKAGE__ . '::iniSave', \@_, {name => 'strFileName', trace => true}, {name => 'oContent', trace => true}, {name => 'bRelaxed', default => false, trace => true}, @@ -340,10 +332,7 @@ sub iniSave filePathSync(dirname($strFileName)); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### diff --git a/lib/pgBackRest/Common/Lock.pm b/lib/pgBackRest/Common/Lock.pm index b6436ef55..ca1607075 100644 --- a/lib/pgBackRest/Common/Lock.pm +++ b/lib/pgBackRest/Common/Lock.pm @@ -19,15 +19,6 @@ use pgBackRest::Common::String; use pgBackRest::Config::Config; use pgBackRest::FileCommon; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_LOCK => 'Common:::Lock'; - -use constant OP_LOCK_ACQUIRE => OP_LOCK . "::lockAquire"; -use constant OP_LOCK_RELEASE => OP_LOCK . "::lockRelease"; -use constant OP_LOCK_STOP_TEST => OP_LOCK . "::lockStopTest"; - #################################################################################################################################### # Global lock type and handle #################################################################################################################################### @@ -80,7 +71,7 @@ sub lockAcquire ) = logDebugParam ( - OP_LOCK_ACQUIRE, \@_, + __PACKAGE__ . '::lockAcquire', \@_, {name => 'strLockType'}, {name => 'bFailOnNoLock', default => true}, {name => 'bRemote', default => false}, @@ -159,7 +150,7 @@ sub lockRelease ) = logDebugParam ( - OP_LOCK_RELEASE, \@_, + __PACKAGE__ . '::lockRelease', \@_, {name => 'bFailOnNoLock', default => true} ); @@ -176,12 +167,6 @@ sub lockRelease } else { - # # Fail if the lock being released is not the one held - # if ($strLockType ne $strCurrentLockType) - # { - # confess &log(ASSERT, "cannot remove lock ${strLockType} since ${strCurrentLockType} is currently held"); - # } - # Remove the file unlink($strCurrentLockFile); close($hCurrentLockHandle); @@ -310,7 +295,7 @@ push @EXPORT, qw(lockStop); sub lockStopTest { # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(OP_LOCK_STOP_TEST); + my ($strOperation) = logDebugParam(__PACKAGE__ . '::lockStopTest'); # Check the stanza first if it is specified if (optionTest(OPTION_STANZA)) diff --git a/lib/pgBackRest/Common/Log.pm b/lib/pgBackRest/Common/Log.pm index c56ab08a1..9b0e2a349 100644 --- a/lib/pgBackRest/Common/Log.pm +++ b/lib/pgBackRest/Common/Log.pm @@ -240,6 +240,9 @@ sub logDebugProcess # Process each parameter hash my $oParam = shift; + # Strip the package name off strFunction if it's pgBackRest + $strFunction =~ s/^pgBackRest[^\:]*\:\://; + while (defined($oParam)) { my $strParamName = $$oParam{name}; diff --git a/lib/pgBackRest/Db.pm b/lib/pgBackRest/Db.pm index a5b15221a..34212b703 100644 --- a/lib/pgBackRest/Db.pm +++ b/lib/pgBackRest/Db.pm @@ -25,23 +25,14 @@ use pgBackRest::Manifest; use pgBackRest::Version; #################################################################################################################################### -# Operation constants +# Remote operation constants #################################################################################################################################### use constant OP_DB => 'Db'; -use constant OP_DB_NEW => OP_DB . "->new"; -use constant OP_DB_BACKUP_START => OP_DB . "->backupStart"; -use constant OP_DB_BACKUP_STOP => OP_DB . "->backupStop"; -use constant OP_DB_DESTROY => OP_DB . "->DESTROY"; -use constant OP_DB_EXECUTE_SQL => OP_DB . "->executeSql"; +use constant OP_DB_EXECUTE_SQL => OP_DB . '->executeSql'; push @EXPORT, qw(OP_DB_EXECUTE_SQL); -use constant OP_DB_EXECUTE_SQL_ONE => OP_DB . "->executeSqlOne"; -use constant OP_DB_EXECUTE_SQL_ROW => OP_DB . "->executeSqlRow"; -use constant OP_DB_INFO => OP_DB . "->info"; +use constant OP_DB_INFO => OP_DB . '->info'; push @EXPORT, qw(OP_DB_INFO); -use constant OP_DB_TABLESPACE_MAP_GET => OP_DB . "->tablespaceMapGet"; -use constant OP_DB_VERSION_GET => OP_DB . "->versionGet"; -use constant OP_DB_VERSION_SUPPORT => OP_DB . "->versionSupport"; #################################################################################################################################### # Backup advisory lock @@ -113,13 +104,7 @@ sub new bless $self, $class; # Assign function parameters, defaults, and log debug info - ( - my $strOperation - ) = - logDebugParam - ( - OP_DB_NEW - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); # Return from function and log return values if any return logDebugReturn @@ -137,14 +122,7 @@ sub DESTROY my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_DB_DESTROY - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->DESTROY'); if (defined($self->{hDb})) { @@ -153,10 +131,7 @@ sub DESTROY } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -167,14 +142,7 @@ sub DESTROY sub versionSupport { # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_DB_VERSION_SUPPORT - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->versionSupport'); my @strySupportVersion = (PG_VERSION_83, PG_VERSION_84, PG_VERSION_90, PG_VERSION_91, PG_VERSION_92, PG_VERSION_93, PG_VERSION_94, PG_VERSION_95, PG_VERSION_96); @@ -205,7 +173,7 @@ sub executeSql ) = logDebugParam ( - OP_DB_EXECUTE_SQL, \@_, + __PACKAGE__ . '->executeSql', \@_, {name => 'strSql'}, {name => 'bIgnoreError', default => false} ); @@ -356,7 +324,7 @@ sub executeSqlRow ) = logDebugParam ( - OP_DB_EXECUTE_SQL_ROW, \@_, + __PACKAGE__ . '->executeSqlRow', \@_, {name => 'strSql', trace => true} ); @@ -386,7 +354,7 @@ sub executeSqlOne ) = logDebugParam ( - OP_DB_EXECUTE_SQL_ONE, \@_, + __PACKAGE__ . '->executeSqlOne', \@_, {name => 'strSql', trace => true} ); @@ -408,14 +376,7 @@ sub tablespaceMapGet my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_DB_TABLESPACE_MAP_GET - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->tablespaceMapGet'); dataHashBuild(my $oTablespaceMapRef = {}, "oid\tname\n" . $self->executeSql( 'select oid, spcname from pg_tablespace'), "\t"); @@ -467,7 +428,7 @@ sub info ) = logDebugParam ( - OP_DB_INFO, \@_, + __PACKAGE__ . '->info', \@_, {name => 'oFile'}, {name => 'strDbPath'} ); @@ -569,14 +530,7 @@ sub versionGet my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_DB_VERSION_GET - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->versionGet'); # Get data from the cache if possible if (defined($self->{strDbVersion}) && defined($self->{strDbPath})) @@ -623,7 +577,7 @@ sub backupStart ) = logDebugParam ( - OP_DB_BACKUP_START, \@_, + __PACKAGE__ . '->backupStart', \@_, {name => 'oFile'}, {name => 'strDbPath'}, {name => 'strLabel'}, @@ -699,14 +653,7 @@ sub backupStop my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_DB_BACKUP_STOP - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->backupStop'); # Stop the backup &log(INFO, 'execute ' . ($self->{strDbVersion} >= PG_VERSION_96 ? 'non-' : '') . diff --git a/lib/pgBackRest/Expire.pm b/lib/pgBackRest/Expire.pm index b79995709..64d4c9949 100644 --- a/lib/pgBackRest/Expire.pm +++ b/lib/pgBackRest/Expire.pm @@ -23,15 +23,6 @@ use pgBackRest::File; use pgBackRest::FileCommon; use pgBackRest::Manifest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_EXPIRE => 'Expire'; - -use constant OP_EXPIRE_DESTROY => OP_EXPIRE . '->DESTROY'; -use constant OP_EXPIRE_NEW => OP_EXPIRE . '->new'; -use constant OP_EXPIRE_PROCESS => OP_EXPIRE . '->process'; - #################################################################################################################################### # new #################################################################################################################################### @@ -44,7 +35,7 @@ sub new bless $self, $class; # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(OP_EXPIRE_NEW); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); # Initialize file object $self->{oFile} = new pgBackRest::File @@ -74,22 +65,12 @@ sub DESTROY my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_EXPIRE_DESTROY - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->DESTROY'); undef($self->{oFile}); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -139,14 +120,7 @@ sub process my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_EXPIRE_PROCESS - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); my @stryPath; @@ -431,10 +405,7 @@ sub process } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } 1; diff --git a/lib/pgBackRest/File.pm b/lib/pgBackRest/File.pm index 09e1d45bd..f087e2880 100644 --- a/lib/pgBackRest/File.pm +++ b/lib/pgBackRest/File.pm @@ -26,38 +26,24 @@ use pgBackRest::Config::Config; use pgBackRest::FileCommon; #################################################################################################################################### -# Operation constants +# Remote operation constants #################################################################################################################################### use constant OP_FILE => 'File'; -use constant OP_FILE_CLONE => OP_FILE . '->clone'; -use constant OP_FILE_COMPRESS => OP_FILE . '->compress'; use constant OP_FILE_COPY => OP_FILE . '->copy'; push @EXPORT, qw(OP_FILE_COPY); use constant OP_FILE_COPY_IN => OP_FILE . '->copyIn'; push @EXPORT, qw(OP_FILE_COPY_IN); use constant OP_FILE_COPY_OUT => OP_FILE . '->copyOut'; push @EXPORT, qw(OP_FILE_COPY_OUT); -use constant OP_FILE_DESTROY => OP_FILE . '->DESTROY'; use constant OP_FILE_EXISTS => OP_FILE . '->exists'; push @EXPORT, qw(OP_FILE_EXISTS); -use constant OP_FILE_HASH => OP_FILE . '->hash'; -use constant OP_FILE_HASH_SIZE => OP_FILE . '->hashSize'; -use constant OP_FILE_LINK_CREATE => OP_FILE . '->linkCreate'; use constant OP_FILE_LIST => OP_FILE . '->list'; push @EXPORT, qw(OP_FILE_LIST); use constant OP_FILE_MANIFEST => OP_FILE . '->manifest'; push @EXPORT, qw(OP_FILE_MANIFEST); -use constant OP_FILE_MANIFEST_RECURSE => OP_FILE . '->manifestRecurse'; -use constant OP_FILE_MOVE => OP_FILE . '->move'; -use constant OP_FILE_NEW => OP_FILE . '->new'; -use constant OP_FILE_OWNER => OP_FILE . '->owner'; use constant OP_FILE_PATH_CREATE => OP_FILE . '->pathCreate'; push @EXPORT, qw(OP_FILE_PATH_CREATE); -use constant OP_FILE_PATH_GET => OP_FILE . '->pathGet'; -use constant OP_FILE_PATH_TYPE_GET => OP_FILE . '->pathTypeGet'; -use constant OP_FILE_REMOVE => OP_FILE . '->remove'; -use constant OP_FILE_STANZA => OP_FILE . '->stanza'; use constant OP_FILE_WAIT => OP_FILE . '->wait'; push @EXPORT, qw(OP_FILE_WAIT); @@ -129,7 +115,7 @@ sub new ) = logDebugParam ( - OP_FILE_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strStanza', required => false}, {name => 'strBackupPath'}, {name => 'strRemote', required => false}, @@ -175,14 +161,7 @@ sub DESTROY my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_FILE_DESTROY - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->DESTROY'); if (defined($self->{oProtocol})) { @@ -190,10 +169,7 @@ sub DESTROY } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -211,7 +187,7 @@ sub clone ) = logDebugParam ( - OP_FILE_CLONE, \@_, + __PACKAGE__ . '->clone', \@_, {name => 'iThreadidx', required => false} ); @@ -240,14 +216,7 @@ sub stanza my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_FILE_STANZA - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->stanza'); # Return from function and log return values if any return logDebugReturn @@ -272,7 +241,7 @@ sub pathTypeGet ) = logDebugParam ( - OP_FILE_PATH_TYPE_GET, \@_, + __PACKAGE__ . '->pathTypeGet', \@_, {name => 'strType', trace => true} ); @@ -325,7 +294,7 @@ sub pathGet ) = logDebugParam ( - OP_FILE_PATH_GET, \@_, + __PACKAGE__ . '->pathGet', \@_, {name => 'strType', trace => true}, {name => 'strFile', required => false, trace => true}, {name => 'bTemp', default => false, trace => true} @@ -466,7 +435,7 @@ sub isRemote ) = logDebugParam ( - OP_FILE_CLONE, \@_, + __PACKAGE__ . '->isRemote', \@_, {name => 'strPathType', trace => true} ); @@ -501,7 +470,7 @@ sub linkCreate ) = logDebugParam ( - OP_FILE_LINK_CREATE, \@_, + __PACKAGE__ . '->linkCreate', \@_, {name => 'strSourcePathType'}, {name => 'strSourceFile'}, {name => 'strDestinationPathType'}, @@ -524,7 +493,7 @@ sub linkCreate # Run remotely if ($self->isRemote($strSourcePathType)) { - confess &log(ASSERT, 'remote operation not supported'); + confess &log(ASSERT, "${strOperation}: remote operation not supported"); } # Run locally else @@ -583,10 +552,7 @@ sub linkCreate } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -610,7 +576,7 @@ sub move ) = logDebugParam ( - OP_FILE_MOVE, \@_, + __PACKAGE__ . '->move', \@_, {name => 'strSourcePathType'}, {name => 'strSourceFile', required => false}, {name => 'strDestinationPathType'}, @@ -631,7 +597,7 @@ sub move # Run remotely if ($self->isRemote($strSourcePathType)) { - confess &log(ASSERT, 'remote operation not supported'); + confess &log(ASSERT, "${strOperation}: remote operation not supported"); } # Run locally else @@ -663,7 +629,7 @@ sub compress ) = logDebugParam ( - OP_FILE_COMPRESS, \@_, + __PACKAGE__ . '->compress', \@_, {name => 'strPathType'}, {name => 'strFile'}, {name => 'bRemoveSource', default => true} @@ -675,7 +641,7 @@ sub compress # Run remotely if ($self->isRemote($strPathType)) { - confess &log(ASSERT, 'remote operation not supported'); + confess &log(ASSERT, "${strOperation}: remote operation not supported"); } # Run locally else @@ -718,7 +684,7 @@ sub pathCreate ) = logDebugParam ( - OP_FILE_PATH_CREATE, \@_, + __PACKAGE__ . '->pathCreate', \@_, {name => 'strPathType'}, {name => 'strPath', required => false}, {name => 'strMode', default => '0750'}, @@ -776,7 +742,7 @@ sub exists ) = logDebugParam ( - OP_FILE_EXISTS, \@_, + __PACKAGE__ . '->exists', \@_, {name => 'strPathType'}, {name => 'strPath', required => false} ); @@ -794,7 +760,7 @@ sub exists $oParamHash{path} = $strPathOp; # Execute the command - $bExists = $self->{oProtocol}->cmdExecute($strOperation, \%oParamHash, true) eq 'Y' ? true : false; + $bExists = $self->{oProtocol}->cmdExecute(OP_FILE_EXISTS, \%oParamHash, true) eq 'Y' ? true : false; } # Run locally else @@ -828,7 +794,7 @@ sub remove ) = logDebugParam ( - OP_FILE_REMOVE, \@_, + __PACKAGE__ . '->remove', \@_, {name => 'strPathType'}, {name => 'strPath'}, {name => 'bTemp', required => false}, @@ -842,7 +808,7 @@ sub remove # Run remotely if ($self->isRemote($strPathType)) { - confess &log(ASSERT, OP_FILE_REMOVE . ": remote operation not supported"); + confess &log(ASSERT, "${strOperation}: remote operation not supported"); } # Run locally else @@ -876,7 +842,7 @@ sub hash ) = logDebugParam ( - OP_FILE_HASH, \@_, + __PACKAGE__ . '->hash', \@_, {name => 'strPathType'}, {name => 'strFile'}, {name => 'bCompressed', required => false}, @@ -911,7 +877,7 @@ sub hashSize ) = logDebugParam ( - OP_FILE_HASH_SIZE, \@_, + __PACKAGE__ . '->hashSize', \@_, {name => 'strPathType'}, {name => 'strFile'}, {name => 'bCompressed', default => false}, @@ -925,7 +891,7 @@ sub hashSize if ($self->isRemote($strPathType)) { - confess &log(ASSERT, OP_FILE_HASH_SIZE . ": remote operation not supported"); + confess &log(ASSERT, "${strOperation}: remote operation not supported"); } else { @@ -959,7 +925,7 @@ sub owner ) = logDebugParam ( - OP_FILE_OWNER, \@_, + __PACKAGE__ . '->owner', \@_, {name => 'strPathType'}, {name => 'strFile'}, {name => 'strUser'}, @@ -971,7 +937,7 @@ sub owner if ($self->isRemote($strPathType)) { - confess &log(ASSERT, OP_FILE_OWNER . ": remote operation not supported"); + confess &log(ASSERT, "${strOperation}: remote operation not supported"); } else { @@ -1037,7 +1003,7 @@ sub list ) = logDebugParam ( - OP_FILE_LIST, \@_, + __PACKAGE__ . '->list', \@_, {name => 'strPathType'}, {name => 'strPath', required => false}, {name => 'strExpression', required => false}, @@ -1107,7 +1073,7 @@ sub wait ) = logDebugParam ( - OP_FILE_WAIT, \@_, + __PACKAGE__ . '->wait', \@_, {name => 'strPathType'}, {name => 'bWait', default => true} ); @@ -1160,7 +1126,7 @@ sub manifest ) = logDebugParam ( - OP_FILE_MANIFEST, \@_, + __PACKAGE__ . '->manifest', \@_, {name => 'strPathType'}, {name => 'strPath', required => false}, {name => 'oManifestHashRef'} @@ -1209,7 +1175,7 @@ sub manifestRecurse ) = logDebugParam ( - OP_FILE_MANIFEST_RECURSE, \@_, + __PACKAGE__ . '->manifestRecurse', \@_, {name => 'strPathType'}, {name => 'strPathOp'}, {name => 'strPathFileOp', required => false}, @@ -1388,10 +1354,7 @@ sub manifestRecurse } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -1429,7 +1392,7 @@ sub copy ) = logDebugParam ( - OP_FILE_COPY, \@_, + __PACKAGE__ . '->copy', \@_, {name => 'strSourcePathType'}, {name => 'strSourceFile', required => false}, {name => 'strDestinationPathType'}, @@ -1549,13 +1512,13 @@ sub copy my $hIn, my $hOut; my $strRemote; - my $strOperation; + my $strRemoteOp; # If source is remote and destination is local if ($bSourceRemote && !$bDestinationRemote) { $hOut = $hDestinationFile; - $strOperation = OP_FILE_COPY_OUT; + $strRemoteOp = OP_FILE_COPY_OUT; $strRemote = 'in'; if ($strSourcePathType ne PIPE_STDIN) @@ -1569,7 +1532,7 @@ sub copy elsif (!$bSourceRemote && $bDestinationRemote) { $hIn = $hSourceFile; - $strOperation = OP_FILE_COPY_IN; + $strRemoteOp = OP_FILE_COPY_IN; $strRemote = 'out'; if ($strDestinationPathType ne PIPE_STDOUT) @@ -1603,7 +1566,7 @@ sub copy # Else source and destination are remote else { - $strOperation = OP_FILE_COPY; + $strRemoteOp = OP_FILE_COPY; $oParamHash{source_file} = $strSourceOp; $oParamHash{source_compressed} = $bSourceCompressed; @@ -1640,11 +1603,11 @@ sub copy # If an operation is defined then write it if (%oParamHash) { - $self->{oProtocol}->cmdWrite($strOperation, \%oParamHash); + $self->{oProtocol}->cmdWrite($strRemoteOp, \%oParamHash); } # Transfer the file (skip this for copies where both sides are remote) - if ($strOperation ne OP_FILE_COPY) + if ($strRemoteOp ne OP_FILE_COPY) { ($strChecksum, $iFileSize) = $self->{oProtocol}->binaryXfer($hIn, $hOut, $strRemote, $bSourceCompressed, $bDestinationCompress); @@ -1664,8 +1627,8 @@ sub copy if (substr($strOutput, 0, 1) eq 'Y') { # If the operation was purely remote, get checksum/size - if ($strOperation eq OP_FILE_COPY || - $strOperation eq OP_FILE_COPY_IN && $bSourceCompressed && !$bDestinationCompress) + if ($strRemoteOp eq OP_FILE_COPY || + $strRemoteOp eq OP_FILE_COPY_IN && $bSourceCompressed && !$bDestinationCompress) { # Checksum shouldn't already be set if (defined($strChecksum) || defined($iFileSize)) diff --git a/lib/pgBackRest/FileCommon.pm b/lib/pgBackRest/FileCommon.pm index d3fd99f31..00790e4f5 100644 --- a/lib/pgBackRest/FileCommon.pm +++ b/lib/pgBackRest/FileCommon.pm @@ -299,7 +299,7 @@ sub fileMode ) = logDebugParam ( - __PACKAGE__ . '::fileModeDefaultSet', \@_, + __PACKAGE__ . '::fileMode', \@_, {name => 'strFile', trace => true}, {name => 'strMode', default => $strFileModeDefault, trace => true}, ); @@ -417,10 +417,7 @@ sub fileMove } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } push @EXPORT, qw(fileMove); @@ -692,10 +689,7 @@ sub fileStringWrite filePathSync(dirname($strFileName)) if $bSync; # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } push @EXPORT, qw(fileStringWrite); @@ -841,10 +835,7 @@ sub filePathCreate } # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } push @EXPORT, qw(filePathCreate); diff --git a/lib/pgBackRest/Info.pm b/lib/pgBackRest/Info.pm index 9fe450850..e9909af18 100644 --- a/lib/pgBackRest/Info.pm +++ b/lib/pgBackRest/Info.pm @@ -22,12 +22,11 @@ use pgBackRest::File; use pgBackRest::Manifest; #################################################################################################################################### -# Operation constants +# Remote operation constants #################################################################################################################################### -use constant OP_INFO_BACKUP_LIST => 'Info->backupList'; -use constant OP_INFO_NEW => 'Info->new'; -use constant OP_INFO_PROCESS => 'Info->process'; -use constant OP_INFO_STANZA_LIST => 'Info->stanzaList'; +use constant OP_INFO => 'Info'; + +use constant OP_INFO_STANZA_LIST => OP_INFO . '->stanzaList'; push @EXPORT, qw(OP_INFO_STANZA_LIST); #################################################################################################################################### @@ -80,13 +79,7 @@ sub new bless $self, $class; # Assign function parameters, defaults, and log debug info - ( - my $strOperation - ) = - logDebugParam - ( - OP_INFO_NEW - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); # Return from function and log return values if any return logDebugReturn @@ -104,14 +97,7 @@ sub process my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_INFO_PROCESS - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->process'); # Get stanza if specified my $strStanza = optionTest(OPTION_STANZA) ? optionGet(OPTION_STANZA) : undef; @@ -229,7 +215,7 @@ sub stanzaList ) = logDebugParam ( - OP_INFO_STANZA_LIST, \@_, + __PACKAGE__ . '->stanzaList', \@_, {name => 'oFile'}, {name => 'strStanza', required => false} ); @@ -337,7 +323,7 @@ sub backupList ) = logDebugParam ( - OP_INFO_BACKUP_LIST, \@_, + __PACKAGE__ . '->backupList', \@_, {name => 'oFile'}, {name => 'strStanza'} ); diff --git a/lib/pgBackRest/Manifest.pm b/lib/pgBackRest/Manifest.pm index 8f6f7bb38..efdc2647c 100644 --- a/lib/pgBackRest/Manifest.pm +++ b/lib/pgBackRest/Manifest.pm @@ -21,15 +21,6 @@ use pgBackRest::Common::Log; use pgBackRest::File; use pgBackRest::FileCommon; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_MANIFEST => 'Manifest'; - -use constant OP_MANIFEST_BUILD => OP_MANIFEST . '->build'; -use constant OP_MANIFEST_NEW => OP_MANIFEST . '->new'; -use constant OP_MANIFEST_SAVE => OP_MANIFEST . '->save'; - #################################################################################################################################### # File/path constants #################################################################################################################################### @@ -221,7 +212,7 @@ sub new ) = logDebugParam ( - OP_MANIFEST_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strFileName', trace => true}, {name => 'bLoad', required => false, trace => true} ); @@ -250,26 +241,15 @@ sub save my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation, - ) = - logDebugParam - ( - OP_MANIFEST_SAVE - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->save'); # Call inherited save $self->SUPER::save(); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } - #################################################################################################################################### # get # @@ -503,7 +483,7 @@ sub build ) = logDebugParam ( - OP_MANIFEST_BUILD, \@_, + __PACKAGE__ . '->build', \@_, {name => 'oFile'}, {name => 'strPath'}, {name => 'oLastManifest', required => false}, @@ -837,7 +817,7 @@ sub linkCheck my $self = shift; # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(OP_MANIFEST . '->linkCheck'); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->linkCheck'); # Working variable my $strBasePath = $self->get(MANIFEST_SECTION_BACKUP_TARGET, MANIFEST_TARGET_PGDATA, MANIFEST_SUBKEY_PATH); @@ -933,7 +913,7 @@ sub buildDefault my $self = shift; # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(OP_MANIFEST . '->buildDefault'); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->buildDefault'); # Set defaults for subkeys that tend to repeat foreach my $strSection (&MANIFEST_SECTION_TARGET_FILE, &MANIFEST_SECTION_TARGET_PATH, &MANIFEST_SECTION_TARGET_LINK) diff --git a/lib/pgBackRest/Protocol/Common.pm b/lib/pgBackRest/Protocol/Common.pm index a07e79f40..494347c52 100644 --- a/lib/pgBackRest/Protocol/Common.pm +++ b/lib/pgBackRest/Protocol/Common.pm @@ -20,13 +20,6 @@ use pgBackRest::Config::Config; use pgBackRest::Protocol::IO; use pgBackRest::Version; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_PROTOCOL_COMMON => 'Protocol::Common'; - -use constant OP_PROTOCOL_COMMON_NEW => OP_PROTOCOL_COMMON . "->new"; - #################################################################################################################################### # Operation constants #################################################################################################################################### @@ -57,7 +50,7 @@ sub new ) = logDebugParam ( - OP_PROTOCOL_COMMON_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'iBufferMax', trace => true}, {name => 'iCompressLevel', trace => true}, {name => 'iCompressNetworkLevel', trace => true}, diff --git a/lib/pgBackRest/Protocol/CommonMaster.pm b/lib/pgBackRest/Protocol/CommonMaster.pm index 187d69bdb..0e7207dd4 100644 --- a/lib/pgBackRest/Protocol/CommonMaster.pm +++ b/lib/pgBackRest/Protocol/CommonMaster.pm @@ -20,15 +20,6 @@ use pgBackRest::Config::Config; use pgBackRest::Protocol::Common; use pgBackRest::Protocol::IO; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_PROTOCOL_COMMON_MASTER => 'Protocol::CommonMaster'; - -use constant OP_PROTOCOL_COMMON_MASTER_NEW => OP_PROTOCOL_COMMON_MASTER . "->new"; -use constant OP_PROTOCOL_COMMON_MASTER_COMMAND_WRITE => OP_PROTOCOL_COMMON_MASTER . "->commandWrite"; -use constant OP_PROTOCOL_COMMON_MASTER_OUTPUT_READ => OP_PROTOCOL_COMMON_MASTER . "->outputRead"; - #################################################################################################################################### # CONSTRUCTOR #################################################################################################################################### @@ -50,7 +41,7 @@ sub new ) = logDebugParam ( - OP_PROTOCOL_COMMON_MASTER_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strName'}, {name => 'strId'}, {name => 'strCommand'}, @@ -196,7 +187,7 @@ sub outputRead ) = logDebugParam ( - OP_PROTOCOL_COMMON_MASTER_OUTPUT_READ, \@_, + __PACKAGE__ . '->outputRead', \@_, {name => 'bOutputRequired', default => false, trace => true}, {name => 'bSuppressLog', required => false, trace => true} ); @@ -295,7 +286,7 @@ sub cmdWrite ) = logDebugParam ( - OP_PROTOCOL_COMMON_MASTER_COMMAND_WRITE, \@_, + __PACKAGE__ . '->cmdWrite', \@_, {name => 'strCommand', trace => true}, {name => 'oParamRef', required => false, trace => true} ); diff --git a/lib/pgBackRest/Protocol/CommonMinion.pm b/lib/pgBackRest/Protocol/CommonMinion.pm index 90ab4c09c..57b8741fb 100644 --- a/lib/pgBackRest/Protocol/CommonMinion.pm +++ b/lib/pgBackRest/Protocol/CommonMinion.pm @@ -20,13 +20,6 @@ use pgBackRest::Config::Config; use pgBackRest::Protocol::Common; use pgBackRest::Protocol::IO; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_PROTOCOL_COMMON_MINION => 'Protocol::CommonMinion'; - -use constant OP_PROTOCOL_COMMON_MINION_NEW => OP_PROTOCOL_COMMON_MINION . "->new"; - #################################################################################################################################### # CONSTRUCTOR #################################################################################################################################### @@ -47,7 +40,7 @@ sub new ) = logDebugParam ( - OP_PROTOCOL_COMMON_MINION_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strName'}, {name => 'strCommand'}, {name => 'iBufferMax'}, @@ -68,7 +61,12 @@ sub new # Write the greeting so master process knows who we are $self->greetingWrite(); - return $self; + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'self', value => $self} + ); } #################################################################################################################################### diff --git a/lib/pgBackRest/Protocol/IO.pm b/lib/pgBackRest/Protocol/IO.pm index 33383041b..87a21b41b 100644 --- a/lib/pgBackRest/Protocol/IO.pm +++ b/lib/pgBackRest/Protocol/IO.pm @@ -22,14 +22,6 @@ use pgBackRest::Common::Log; use pgBackRest::Common::String; use pgBackRest::Common::Wait; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_IO_PROTOCOL => 'IO'; - -use constant OP_IO_PROTOCOL_NEW => OP_IO_PROTOCOL . "->new"; -use constant OP_IO_PROTOCOL_NEW3 => OP_IO_PROTOCOL . "->new3"; - #################################################################################################################################### # Amount of time to attempt to retrieve errors when a process terminates unexpectedly #################################################################################################################################### @@ -60,7 +52,7 @@ sub new ) = logDebugParam ( - OP_IO_PROTOCOL_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'hIn', required => false, trace => true}, {name => 'hOut', required => false, trace => true}, {name => 'hErr', required => false, trace => true}, @@ -104,7 +96,7 @@ sub new3 ) = logDebugParam ( - OP_IO_PROTOCOL_NEW3, \@_, + __PACKAGE__ . '->new3', \@_, {name => 'strId', trace => true}, {name => 'strCommand', trace => true}, {name => 'iProtocolTimeout', trace => true}, diff --git a/lib/pgBackRest/Protocol/RemoteMaster.pm b/lib/pgBackRest/Protocol/RemoteMaster.pm index ea4d9ccaf..a157923b5 100644 --- a/lib/pgBackRest/Protocol/RemoteMaster.pm +++ b/lib/pgBackRest/Protocol/RemoteMaster.pm @@ -15,13 +15,6 @@ use pgBackRest::Common::Log; use pgBackRest::Config::Config; use pgBackRest::Protocol::CommonMaster; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_PROTOCOL_REMOTE_MASTER => 'Protocol::RemoteMaster'; - -use constant OP_PROTOCOL_REMOTE_MASTER_NEW => OP_PROTOCOL_REMOTE_MASTER . "->new"; - #################################################################################################################################### # CONSTRUCTOR #################################################################################################################################### @@ -43,7 +36,7 @@ sub new ) = logDebugParam ( - OP_PROTOCOL_REMOTE_MASTER_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strCommand'}, {name => 'iBufferMax'}, {name => 'iCompressLevel'}, diff --git a/lib/pgBackRest/Protocol/RemoteMinion.pm b/lib/pgBackRest/Protocol/RemoteMinion.pm index 5fef41a7e..d5f74835e 100644 --- a/lib/pgBackRest/Protocol/RemoteMinion.pm +++ b/lib/pgBackRest/Protocol/RemoteMinion.pm @@ -21,13 +21,6 @@ use pgBackRest::Info; use pgBackRest::Protocol::Common; use pgBackRest::Protocol::CommonMinion; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_PROTOCOL_REMOTE_MINION => 'Protocol::RemoteMinion'; - -use constant OP_PROTOCOL_REMOTE_MINION_NEW => OP_PROTOCOL_REMOTE_MINION . "->new"; - #################################################################################################################################### # CONSTRUCTOR #################################################################################################################################### @@ -47,7 +40,7 @@ sub new ) = logDebugParam ( - OP_PROTOCOL_REMOTE_MINION_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strCommand'}, {name => 'iBufferMax'}, {name => 'iCompressLevel'}, diff --git a/lib/pgBackRest/Restore.pm b/lib/pgBackRest/Restore.pm index 9451a08e3..62d743b79 100644 --- a/lib/pgBackRest/Restore.pm +++ b/lib/pgBackRest/Restore.pm @@ -25,20 +25,6 @@ use pgBackRest::FileCommon; use pgBackRest::Manifest; use pgBackRest::RestoreFile; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_RESTORE => 'Restore'; - -use constant OP_RESTORE_BUILD => OP_RESTORE . '->build'; -use constant OP_RESTORE_CLEAN => OP_RESTORE . '->clean'; -use constant OP_RESTORE_DESTROY => OP_RESTORE . '->destroy'; -use constant OP_RESTORE_MANIFEST_LOAD => OP_RESTORE . '->manifestLoad'; -use constant OP_RESTORE_MANIFEST_OWNERSHIP_CHECK => OP_RESTORE . '->manifestOwnershipCheck'; -use constant OP_RESTORE_NEW => OP_RESTORE . '->new'; -use constant OP_RESTORE_PROCESS => OP_RESTORE . '->process'; -use constant OP_RESTORE_RECOVERY => OP_RESTORE . '->recovery'; - #################################################################################################################################### # CONSTRUCTOR #################################################################################################################################### @@ -51,7 +37,7 @@ sub new bless $self, $class; # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam(OP_RESTORE_NEW); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->new'); # Initialize protocol $self->{oProtocol} = protocolGet(); @@ -85,22 +71,12 @@ sub DESTROY my $self = shift; # Assign function parameters, defaults, and log debug info - my - ( - $strOperation - ) = - logDebugParam - ( - OP_RESTORE_DESTROY - ); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->DESTROY'); undef($self->{oFile}); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -121,7 +97,7 @@ sub manifestOwnershipCheck ) = logDebugParam ( - OP_RESTORE_MANIFEST_OWNERSHIP_CHECK, \@_, + __PACKAGE__ . '->manifestOwnershipCheck', \@_, {name => 'oManifest'} ); @@ -247,7 +223,7 @@ sub manifestLoad my $self = shift; # Class hash # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam (OP_RESTORE_MANIFEST_LOAD); + my ($strOperation) = logDebugParam (__PACKAGE__ . '->manifestLoad'); # Error if the backup set does not exist if (!$self->{oFile}->exists(PATH_BACKUP_CLUSTER, $self->{strBackupSet})) @@ -490,7 +466,7 @@ sub clean ) = logDebugParam ( - OP_RESTORE_CLEAN, \@_, + __PACKAGE__ . '->clean', \@_, {name => 'oManifest'} ); @@ -789,7 +765,7 @@ sub build ) = logDebugParam ( - OP_RESTORE_BUILD, \@_, + __PACKAGE__ . '->build', \@_, {name => 'oManifest'} ); @@ -914,7 +890,7 @@ sub recovery my $strDbVersion = shift; # Version to restore # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam (OP_RESTORE_RECOVERY); + my ($strOperation) = logDebugParam (__PACKAGE__ . '->recovery'); # Create recovery.conf path/file my $strRecoveryConf = $self->{strDbClusterPath} . '/' . DB_FILE_RECOVERYCONF; @@ -1045,7 +1021,7 @@ sub process my $self = shift; # Class hash # Assign function parameters, defaults, and log debug info - my ($strOperation) = logDebugParam (OP_RESTORE_PROCESS); + my ($strOperation) = logDebugParam (__PACKAGE__ . '->process'); if (!fileExists($self->{strDbClusterPath})) { diff --git a/lib/pgBackRest/RestoreFile.pm b/lib/pgBackRest/RestoreFile.pm index db69613dd..daf92a413 100644 --- a/lib/pgBackRest/RestoreFile.pm +++ b/lib/pgBackRest/RestoreFile.pm @@ -25,13 +25,6 @@ use pgBackRest::File; use pgBackRest::FileCommon; use pgBackRest::Manifest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_RESTORE_FILE => 'RestoreFile'; - -use constant OP_RESTORE_FILE_RESTORE_FILE => OP_RESTORE_FILE . '::restoreFile'; - #################################################################################################################################### # restoreFile # @@ -58,7 +51,7 @@ sub restoreFile ) = logDebugParam ( - OP_RESTORE_FILE_RESTORE_FILE, \@_, + __PACKAGE__ . '->restoreFile', \@_, {name => 'lCopyTimeBegin', trace => true}, {name => 'bDelta', trace => true}, {name => 'bForce', trace => true}, diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 42ed494f0..f35e3684b 100644 --- a/lib/pgBackRest/Version.pm +++ b/lib/pgBackRest/Version.pm @@ -27,7 +27,7 @@ use constant BACKREST_CONF => BACKREST_ # Defines the current version of the BackRest executable. The version number is used to track features but does not affect what # repositories or manifests can be read - that's the job of the format number. #----------------------------------------------------------------------------------------------------------------------------------- -use constant BACKREST_VERSION => '1.05'; +use constant BACKREST_VERSION => '1.06dev'; push @EXPORT, qw(BACKREST_VERSION); # Format Format Number diff --git a/test/expect/backup-archive-get-001.log b/test/expect/backup-archive-get-001.log index c10eaafdd..6a6a286b8 100644 --- a/test/expect/backup-archive-get-001.log +++ b/test/expect/backup-archive-get-001.log @@ -14,9 +14,9 @@ run 001 - rmt 0, cmp 0, exists 0 ERROR: [130]: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- @@ -37,9 +37,9 @@ stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -47,17 +47,17 @@ stop all stanzas (db-master host) INFO: get WAL segment 000000090000000900000009 DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -78,6 +78,6 @@ start all stanzas (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] INFO: unable to find 000000090000000900000009 in the archive DEBUG: Archive->get=>: iResult = 1 - DEBUG: Exit::exitSafe(): iExitCode = 1, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 1, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-002.log b/test/expect/backup-archive-get-002.log index fa581e770..14221bea7 100644 --- a/test/expect/backup-archive-get-002.log +++ b/test/expect/backup-archive-get-002.log @@ -14,9 +14,9 @@ run 002 - rmt 0, cmp 0, exists 1 ERROR: [130]: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- @@ -52,9 +52,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ @@ -75,9 +75,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ @@ -98,6 +98,6 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-003.log b/test/expect/backup-archive-get-003.log index 2e010f91e..41bd94bf0 100644 --- a/test/expect/backup-archive-get-003.log +++ b/test/expect/backup-archive-get-003.log @@ -14,9 +14,9 @@ run 003 - rmt 0, cmp 1, exists 0 ERROR: [130]: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- @@ -37,9 +37,9 @@ stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -47,17 +47,17 @@ stop all stanzas (db-master host) INFO: get WAL segment 000000090000000900000009 DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -78,6 +78,6 @@ start all stanzas (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] INFO: unable to find 000000090000000900000009 in the archive DEBUG: Archive->get=>: iResult = 1 - DEBUG: Exit::exitSafe(): iExitCode = 1, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 1, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-004.log b/test/expect/backup-archive-get-004.log index 197693c49..d841b24ad 100644 --- a/test/expect/backup-archive-get-004.log +++ b/test/expect/backup-archive-get-004.log @@ -14,9 +14,9 @@ run 004 - rmt 0, cmp 1, exists 1 ERROR: [130]: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- @@ -52,9 +52,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ @@ -75,9 +75,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ @@ -98,6 +98,6 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-005.log b/test/expect/backup-archive-get-005.log index 8b729ecf8..02efa583e 100644 --- a/test/expect/backup-archive-get-005.log +++ b/test/expect/backup-archive-get-005.log @@ -15,9 +15,9 @@ run 005 - rmt 1, cmp 0, exists 0 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- @@ -38,9 +38,9 @@ stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --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 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -48,17 +48,17 @@ stop all stanzas (db-master host) INFO: get WAL segment 000000090000000900000009 DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -77,6 +77,6 @@ start all stanzas (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] INFO: unable to find 000000090000000900000009 in the archive DEBUG: Archive->get=>: iResult = 1 - DEBUG: Exit::exitSafe(): iExitCode = 1, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 1, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-006.log b/test/expect/backup-archive-get-006.log index b9dcaa94a..fe52cb261 100644 --- a/test/expect/backup-archive-get-006.log +++ b/test/expect/backup-archive-get-006.log @@ -15,9 +15,9 @@ run 006 - rmt 1, cmp 0, exists 1 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- @@ -51,9 +51,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ @@ -72,9 +72,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ @@ -93,6 +93,6 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-007.log b/test/expect/backup-archive-get-007.log index 122e951bc..f3c246433 100644 --- a/test/expect/backup-archive-get-007.log +++ b/test/expect/backup-archive-get-007.log @@ -15,9 +15,9 @@ run 007 - rmt 1, cmp 1, exists 0 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- @@ -38,9 +38,9 @@ stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --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 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -48,17 +48,17 @@ stop all stanzas (db-master host) INFO: get WAL segment 000000090000000900000009 DEBUG: Archive->get(): strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/RECOVERYXLOG, strSourceArchive = 000000090000000900000009 ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [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 ------------------------------------------------------------------------------------------------------------------------------------ @@ -77,6 +77,6 @@ start all stanzas (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] INFO: unable to find 000000090000000900000009 in the archive DEBUG: Archive->get=>: iResult = 1 - DEBUG: Exit::exitSafe(): iExitCode = 1, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 1, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-get-008.log b/test/expect/backup-archive-get-008.log index 81ce17eb4..94557dfee 100644 --- a/test/expect/backup-archive-get-008.log +++ b/test/expect/backup-archive-get-008.log @@ -15,9 +15,9 @@ run 008 - rmt 1, cmp 1, exists 1 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments 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. - DEBUG: Exit::exitSafe(): iExitCode = 130, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 130, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- @@ -51,9 +51,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ @@ -72,9 +72,9 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ @@ -93,6 +93,6 @@ db-version="9.3" DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.3-1/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, strSourcePathType = backup:archive, strUser = [undef] DEBUG: Archive->get=>: iResult = 0 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-get stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-push-001.log b/test/expect/backup-archive-push-001.log index 71c2e50f4..acde994bc 100644 --- a/test/expect/backup-archive-push-001.log +++ b/test/expect/backup-archive-push-001.log @@ -5,7 +5,7 @@ run 001 - rmt 0, cmp 0, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -21,15 +21,15 @@ run 001 - rmt 0, cmp 0, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -39,15 +39,15 @@ run 001 - rmt 0, cmp 0, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -57,42 +57,42 @@ run 001 - rmt 0, cmp 0, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db ERROR: [137]: stop file exists for stanza db - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -112,15 +112,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -138,15 +138,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -162,15 +162,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -190,15 +190,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -216,15 +216,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -240,15 +240,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -264,15 +264,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -288,15 +288,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -312,15 +312,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -330,15 +330,15 @@ start db stanza (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -348,15 +348,15 @@ start db stanza (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -376,15 +376,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -402,15 +402,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -426,15 +426,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -454,15 +454,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -480,15 +480,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -504,15 +504,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -528,15 +528,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -552,15 +552,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -576,15 +576,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -594,15 +594,15 @@ start db stanza (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -612,15 +612,15 @@ start db stanza (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -640,15 +640,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -666,15 +666,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -690,15 +690,15 @@ start db stanza (db-master host) DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -718,15 +718,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -744,9 +744,9 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-002.log b/test/expect/backup-archive-push-002.log index 0e8c6502b..a5e927257 100644 --- a/test/expect/backup-archive-push-002.log +++ b/test/expect/backup-archive-push-002.log @@ -5,13 +5,13 @@ run 002 - rmt 0, cmp 0, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -40,22 +40,22 @@ run 002 - rmt 0, cmp 0, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -70,21 +70,21 @@ run 002 - rmt 0, cmp 0, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -99,69 +99,69 @@ run 002 - rmt 0, cmp 0, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --force stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --force --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo INFO: sent term signal to process [PROCESS-ID] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --test --test-delay=5 --test-point=archive-push-async-start=y [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db --test --test-delay=5 --test-point=archive-push-async-start=y INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute - DEBUG: Exit::exitSafe(): iExitCode = -1, strSignal = TERM + DEBUG: Common::Exit::exitSafe(): iExitCode = -1, strSignal = TERM INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false ERROR: [138]: process terminated on a TERM signal > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -194,22 +194,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -232,21 +232,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -275,22 +275,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -323,22 +323,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -361,21 +361,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -404,22 +404,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -448,22 +448,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -492,22 +492,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -536,22 +536,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -566,21 +566,21 @@ start all stanzas (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -595,21 +595,21 @@ start all stanzas (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -642,22 +642,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -680,21 +680,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -723,22 +723,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -771,22 +771,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -809,21 +809,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -852,22 +852,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -896,22 +896,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -940,22 +940,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -984,22 +984,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1014,21 +1014,21 @@ start all stanzas (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1043,21 +1043,21 @@ start all stanzas (db-master host) DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1090,22 +1090,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1128,21 +1128,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1171,22 +1171,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1219,22 +1219,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1257,9 +1257,9 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-003.log b/test/expect/backup-archive-push-003.log index a894b7e96..128753366 100644 --- a/test/expect/backup-archive-push-003.log +++ b/test/expect/backup-archive-push-003.log @@ -5,7 +5,7 @@ run 003 - rmt 0, cmp 1, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -21,15 +21,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -39,15 +39,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -57,15 +57,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -85,15 +85,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -111,15 +111,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -135,15 +135,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -163,15 +163,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -189,15 +189,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -213,15 +213,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -237,15 +237,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -261,15 +261,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -285,15 +285,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -303,15 +303,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -321,15 +321,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -349,15 +349,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -375,15 +375,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -399,15 +399,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -427,15 +427,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -453,15 +453,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -477,15 +477,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -501,15 +501,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -525,15 +525,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -549,15 +549,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -567,15 +567,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -585,15 +585,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -613,15 +613,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -639,15 +639,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -663,15 +663,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: Archive->walFileName=>: strWalFileName = [undef] DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -691,15 +691,15 @@ run 003 - rmt 0, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Archive->walInfo=>: strDbVersion = 9.3, ullDbSysId = 5947969990501855219 @@ -717,9 +717,9 @@ run 003 - rmt 0, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-004.log b/test/expect/backup-archive-push-004.log index bf66397f7..5b4a8b5ae 100644 --- a/test/expect/backup-archive-push-004.log +++ b/test/expect/backup-archive-push-004.log @@ -5,13 +5,13 @@ run 004 - rmt 0, cmp 1, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -40,22 +40,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -70,21 +70,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -99,21 +99,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -146,22 +146,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -184,21 +184,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -227,22 +227,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -275,22 +275,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -313,21 +313,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -356,22 +356,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -400,22 +400,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -444,22 +444,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -488,22 +488,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -518,21 +518,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -547,21 +547,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -594,22 +594,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -632,21 +632,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -675,22 +675,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -723,22 +723,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -761,21 +761,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -804,22 +804,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -848,22 +848,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -892,22 +892,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -936,22 +936,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -966,21 +966,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -995,21 +995,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1042,22 +1042,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1080,21 +1080,21 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1123,22 +1123,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1171,22 +1171,22 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -1209,9 +1209,9 @@ run 004 - rmt 0, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info ----------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-005.log b/test/expect/backup-archive-push-005.log index 75bdcb660..0a520e9a0 100644 --- a/test/expect/backup-archive-push-005.log +++ b/test/expect/backup-archive-push-005.log @@ -5,7 +5,7 @@ run 005 - rmt 1, cmp 0, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -14,15 +14,15 @@ run 005 - rmt 1, cmp 0, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -31,15 +31,15 @@ run 005 - rmt 1, cmp 0, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -48,44 +48,44 @@ run 005 - rmt 1, cmp 0, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --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 --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db ERROR: [137]: stop file exists for stanza db - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -98,15 +98,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -117,15 +117,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -134,15 +134,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -155,15 +155,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -174,15 +174,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -191,15 +191,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -208,15 +208,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -225,15 +225,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -242,15 +242,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -259,15 +259,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -276,15 +276,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -297,15 +297,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -316,15 +316,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -333,15 +333,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -354,15 +354,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -373,15 +373,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -390,15 +390,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -407,15 +407,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -424,15 +424,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -441,15 +441,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -458,15 +458,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -475,15 +475,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -496,15 +496,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -515,15 +515,15 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -532,15 +532,15 @@ start db stanza (db-master host) DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -553,15 +553,15 @@ start db stanza (db-master host) WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -572,9 +572,9 @@ start db stanza (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-006.log b/test/expect/backup-archive-push-006.log index 811931f14..82cd65201 100644 --- a/test/expect/backup-archive-push-006.log +++ b/test/expect/backup-archive-push-006.log @@ -5,13 +5,13 @@ run 006 - rmt 1, cmp 0, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -34,22 +34,22 @@ run 006 - rmt 1, cmp 0, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -64,21 +64,21 @@ run 006 - rmt 1, cmp 0, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -93,69 +93,69 @@ run 006 - rmt 1, cmp 0, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --force stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --force --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 INFO: sent term signal to process [PROCESS-ID] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --test --test-delay=5 --test-point=archive-push-async-start=y [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db --test --test-delay=5 --test-point=archive-push-async-start=y INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute - DEBUG: Exit::exitSafe(): iExitCode = -1, strSignal = TERM + DEBUG: Common::Exit::exitSafe(): iExitCode = -1, strSignal = TERM INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false ERROR: [138]: process terminated on a TERM signal > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -182,22 +182,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -214,21 +214,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -251,22 +251,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -293,22 +293,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -325,21 +325,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -362,22 +362,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -400,22 +400,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -438,22 +438,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -476,22 +476,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -506,21 +506,21 @@ start all stanzas (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -535,21 +535,21 @@ start all stanzas (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -576,22 +576,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -608,21 +608,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -645,22 +645,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -687,22 +687,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -719,21 +719,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -756,22 +756,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -794,22 +794,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -832,22 +832,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -870,22 +870,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -900,21 +900,21 @@ start all stanzas (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -929,21 +929,21 @@ start all stanzas (db-master host) DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -970,22 +970,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -1002,21 +1002,21 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -1039,22 +1039,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -1081,22 +1081,22 @@ start all stanzas (db-master host) DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -1113,9 +1113,9 @@ start all stanzas (db-master host) DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-007.log b/test/expect/backup-archive-push-007.log index 59d5141fa..8c96e55ce 100644 --- a/test/expect/backup-archive-push-007.log +++ b/test/expect/backup-archive-push-007.log @@ -5,7 +5,7 @@ run 007 - rmt 1, cmp 1, arc_async 0 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -14,15 +14,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -31,15 +31,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -48,15 +48,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -69,15 +69,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -88,15 +88,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -105,15 +105,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -126,15 +126,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000001.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -145,15 +145,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -162,15 +162,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -179,15 +179,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -196,15 +196,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -213,15 +213,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -230,15 +230,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -247,15 +247,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -268,15 +268,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -287,15 +287,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -304,15 +304,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -325,15 +325,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000005.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -344,15 +344,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -361,15 +361,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -378,15 +378,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -395,15 +395,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -412,15 +412,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -429,15 +429,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -446,15 +446,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -467,15 +467,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -486,15 +486,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -503,15 +503,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = [undef] DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.3-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -524,15 +524,15 @@ run 007 - rmt 1, cmp 1, arc_async 0 WARN: WAL segment 000000010000000100000009.partial already exists in the archive with the same checksum HINT: this is valid in some recovery scenarios but may also indicate a problem DEBUG: Archive->pushCheck=>: strArchiveId = 9.3-1, strChecksum = 1c7e00fd09b9dd11fc2966590b3e3274645dd031 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial - DEBUG: Archive->pushProcess(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = 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-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -543,9 +543,9 @@ run 007 - rmt 1, cmp 1, arc_async 0 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- diff --git a/test/expect/backup-archive-push-008.log b/test/expect/backup-archive-push-008.log index 27fea48f1..8986cea6b 100644 --- a/test/expect/backup-archive-push-008.log +++ b/test/expect/backup-archive-push-008.log @@ -5,13 +5,13 @@ run 008 - rmt 1, cmp 1, arc_async 1 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -34,22 +34,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -64,21 +64,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -93,21 +93,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000001, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -134,22 +134,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -166,21 +166,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -203,22 +203,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -245,22 +245,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -277,21 +277,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000001.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -314,22 +314,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -352,22 +352,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000004, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -390,22 +390,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -428,22 +428,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -458,21 +458,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -487,21 +487,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000005, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -528,22 +528,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -560,21 +560,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -597,22 +597,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -639,22 +639,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -671,21 +671,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000005.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -708,22 +708,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000007, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -746,22 +746,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000008, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -784,22 +784,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -822,22 +822,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -852,21 +852,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -881,21 +881,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000009, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -922,22 +922,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -954,21 +954,21 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -991,22 +991,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -1033,22 +1033,22 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000009.partial, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -1065,9 +1065,9 @@ run 008 - rmt 1, cmp 1, arc_async 1 DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-4518a0fdf41d796760b384a358270d4682589820, strHashType = <sha1>, strPathType = db:absolute DEBUG: File->hashSize=>: iSize = 16777216, strHash = 4518a0fdf41d796760b384a358270d4682589820 ERROR: [120]: WAL segment 000000010000000100000009.partial already exists in the archive - DEBUG: Exit::exitSafe(): iExitCode = 120, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 120, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/backup/repo/archive/db/archive.info -------------------------------------------------------------------- diff --git a/test/expect/backup-archive-stop-001.log b/test/expect/backup-archive-stop-001.log index 3893c4194..f55b5302e 100644 --- a/test/expect/backup-archive-stop-001.log +++ b/test/expect/backup-archive-stop-001.log @@ -5,13 +5,13 @@ run 001 - rmt 0, cmp 0, error version ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -40,22 +40,22 @@ run 001 - rmt 0, cmp 0, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -70,21 +70,21 @@ run 001 - rmt 0, cmp 0, error version DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -100,29 +100,29 @@ run 001 - rmt 0, cmp 0, error version ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? ERROR: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/repo/stop/db-archive.stop) is removed - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/db-master/repo/stop/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -181,22 +181,22 @@ run 001 - rmt 0, cmp 0, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -225,7 +225,7 @@ run 001 - rmt 0, cmp 0, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-stop-002.log b/test/expect/backup-archive-stop-002.log index 54b50948e..82458edc2 100644 --- a/test/expect/backup-archive-stop-002.log +++ b/test/expect/backup-archive-stop-002.log @@ -5,13 +5,13 @@ run 002 - rmt 0, cmp 1, error version ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -40,22 +40,22 @@ run 002 - rmt 0, cmp 1, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -70,21 +70,21 @@ run 002 - rmt 0, cmp 1, error version DEBUG: ArchiveInfo->check(): strDbVersion = 9.3, ullDbSysId = 5947969990501855219 ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -100,29 +100,29 @@ run 002 - rmt 0, cmp 1, error version ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? ERROR: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/repo/stop/db-archive.stop) is removed - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/db-master/repo/stop/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -181,22 +181,22 @@ run 002 - rmt 0, cmp 1, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-fork --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute @@ -225,7 +225,7 @@ run 002 - rmt 0, cmp 1, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-stop-003.log b/test/expect/backup-archive-stop-003.log index 684a1ad7d..e78e47b42 100644 --- a/test/expect/backup-archive-stop-003.log +++ b/test/expect/backup-archive-stop-003.log @@ -5,13 +5,13 @@ run 003 - rmt 1, cmp 0, error version ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -34,22 +34,22 @@ run 003 - rmt 1, cmp 0, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -64,21 +64,21 @@ run 003 - rmt 1, cmp 0, error version DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000002, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -94,29 +94,29 @@ run 003 - rmt 1, cmp 0, error version ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? ERROR: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) is removed - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -151,22 +151,22 @@ run 003 - rmt 1, cmp 0, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -189,7 +189,7 @@ run 003 - rmt 1, cmp 0, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-stop-004.log b/test/expect/backup-archive-stop-004.log index 31ca325a5..6a42c7985 100644 --- a/test/expect/backup-archive-stop-004.log +++ b/test/expect/backup-archive-stop-004.log @@ -5,13 +5,13 @@ run 004 - rmt 1, cmp 0, error connect ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -34,22 +34,22 @@ run 004 - rmt 1, cmp 0, error connect DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --backup-host=bogus archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=bogus --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -57,21 +57,21 @@ run 004 - rmt 1, cmp 0, error connect DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = bogus, 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@bogus '[BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = bogus, strName = remote ERROR: [124]: remote process terminated on bogus host (exit status 255): [REMOTE-PROCESS-TERMINATED-MESSAGE] - DEBUG: Exit::exitSafe(): iExitCode = 124, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 124, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --backup-host=bogus archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=bogus --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -80,29 +80,29 @@ run 004 - rmt 1, cmp 0, error connect DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@bogus '[BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = bogus, strName = remote ERROR: [124]: remote process terminated on bogus host (exit status 255): [REMOTE-PROCESS-TERMINATED-MESSAGE] ERROR: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) is removed - DEBUG: Exit::exitSafe(): iExitCode = 124, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 124, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -137,22 +137,22 @@ run 004 - rmt 1, cmp 0, error connect DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -175,7 +175,7 @@ run 004 - rmt 1, cmp 0, error connect DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-stop-005.log b/test/expect/backup-archive-stop-005.log index 3290ad740..81f538fd5 100644 --- a/test/expect/backup-archive-stop-005.log +++ b/test/expect/backup-archive-stop-005.log @@ -5,13 +5,13 @@ run 005 - rmt 1, cmp 1, error version ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -34,22 +34,22 @@ run 005 - rmt 1, cmp 1, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -64,21 +64,21 @@ run 005 - rmt 1, cmp 1, error version DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.3, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, strWalSegment = 000000010000000100000002, ullDbSysId = 5947969990501855219 ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -94,29 +94,29 @@ run 005 - rmt 1, cmp 1, error version ERROR: [119]: raised on backup host: WAL segment version 9.3 does not match archive version 8.0 HINT: are you archiving to the correct stanza? ERROR: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) is removed - DEBUG: Exit::exitSafe(): iExitCode = 119, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 119, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -151,22 +151,22 @@ run 005 - rmt 1, cmp 1, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -189,7 +189,7 @@ run 005 - rmt 1, cmp 1, error version DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-archive-stop-006.log b/test/expect/backup-archive-stop-006.log index 4747451f4..d5038d800 100644 --- a/test/expect/backup-archive-stop-006.log +++ b/test/expect/backup-archive-stop-006.log @@ -5,13 +5,13 @@ run 006 - rmt 1, cmp 1, error connect ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000001, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -34,22 +34,22 @@ run 006 - rmt 1, cmp 1, error connect DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --backup-host=bogus archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=bogus --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000002, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -57,21 +57,21 @@ run 006 - rmt 1, cmp 1, error connect DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = bogus, 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@bogus '[BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = bogus, strName = remote ERROR: [124]: remote process terminated on bogus host (exit status 255): [REMOTE-PROCESS-TERMINATED-MESSAGE] - DEBUG: Exit::exitSafe(): iExitCode = 124, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 124, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db --backup-host=bogus archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=bogus --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000003, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -80,29 +80,29 @@ run 006 - rmt 1, cmp 1, error connect DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no backrest@bogus '[BACKREST-BIN] --command=archive-push --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = bogus, strName = remote ERROR: [124]: remote process terminated on bogus host (exit status 255): [REMOTE-PROCESS-TERMINATED-MESSAGE] ERROR: local archive queue has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) is removed - DEBUG: Exit::exitSafe(): iExitCode = 124, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 124, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/db-master/spool/stop/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000005, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -137,22 +137,22 @@ run 006 - rmt 1, cmp 1, error connect DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 ------------------------------------------------------------------------------------------------------------------------------------ INFO: archive-push start: --archive-async --archive-max-mb=24 --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/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 --no-fork --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 asynchronously - DEBUG: Archive->pushProcess(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 + DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 000000010000000100000006, strDestinationPathType = backup:archive:out, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] DEBUG: Archive->pushProcess: no fork on archive local for TESTING DEBUG: Archive->pushProcess: start async archive-push - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = <false>, iProcessIdx = [undef], strLockType = archive-push + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute @@ -175,7 +175,7 @@ run 006 - rmt 1, cmp 1, error connect DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/spool/archive/db/out, strPathType = db:absolute DEBUG: Archive->xfer: no WAL segments to archive DEBUG: Archive->pushProcess: transfer found 0 WAL segments - exiting - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: archive-push stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false diff --git a/test/expect/backup-synthetic-001.log b/test/expect/backup-synthetic-001.log index 28945a5c7..28a23669e 100644 --- a/test/expect/backup-synthetic-001.log +++ b/test/expect/backup-synthetic-001.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -130,10 +130,10 @@ full backup - create pg_stat link, pg_clog dir (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -251,16 +251,16 @@ stop all stanzas (db-master host) ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --force --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo INFO: sent term signal to process [PROCESS-ID] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - abort backup - local (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup --test --test-delay=5 --test-point=backup-start=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=5 --test-point=backup-start=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -306,79 +306,79 @@ full backup - abort backup - local (db-master host) DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp - DEBUG: Exit::exitSafe(): iExitCode = -1, strSignal = TERM + DEBUG: Common::Exit::exitSafe(): iExitCode = -1, strSignal = TERM INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false ERROR: [138]: process terminated on a TERM signal full backup - global stop (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db WARN: stop file already exists for stanza db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - stanza stop (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup ERROR: [137]: stop file exists for stanza db - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo WARN: stop file does not exist - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - resume (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --force --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -495,10 +495,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -622,8 +622,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute DEBUG: File->exists=>: bExists = false @@ -788,9 +788,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -1067,8 +1067,8 @@ incr backup - add tablespace 1 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -1158,10 +1158,10 @@ incr backup - add tablespace 1 (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1284,8 +1284,8 @@ incr backup - resume and add tablespace 2 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -1397,10 +1397,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-002.log b/test/expect/backup-synthetic-002.log index e547c0524..405df8319 100644 --- a/test/expect/backup-synthetic-002.log +++ b/test/expect/backup-synthetic-002.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -130,10 +130,10 @@ full backup - create pg_stat link, pg_clog dir (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -251,8 +251,8 @@ full backup - resume (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --force --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -369,10 +369,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -490,8 +490,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute DEBUG: File->exists=>: bExists = false @@ -648,9 +648,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -796,8 +796,8 @@ incr backup - add tablespace 1 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -910,10 +910,10 @@ incr backup - add tablespace 1 (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1037,8 +1037,8 @@ incr backup - resume and add tablespace 2 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -1194,10 +1194,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-003.log b/test/expect/backup-synthetic-003.log index c925bf786..3d25ea750 100644 --- a/test/expect/backup-synthetic-003.log +++ b/test/expect/backup-synthetic-003.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -130,10 +130,10 @@ full backup - create pg_stat link, pg_clog dir (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -249,8 +249,8 @@ full backup - resume (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --force --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -367,10 +367,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -486,8 +486,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute DEBUG: File->exists=>: bExists = false @@ -644,9 +644,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -792,8 +792,8 @@ incr backup - add tablespace 1 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -883,10 +883,10 @@ incr backup - add tablespace 1 (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1008,8 +1008,8 @@ incr backup - resume and add tablespace 2 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -1121,10 +1121,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-004.log b/test/expect/backup-synthetic-004.log index 2d97de2a8..ea5d91c80 100644 --- a/test/expect/backup-synthetic-004.log +++ b/test/expect/backup-synthetic-004.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -130,10 +130,10 @@ full backup - create pg_stat link, pg_clog dir (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -250,8 +250,8 @@ full backup - resume (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --force --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -368,10 +368,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -488,8 +488,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute DEBUG: File->exists=>: bExists = false @@ -646,9 +646,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -794,8 +794,8 @@ incr backup - add tablespace 1 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -908,10 +908,10 @@ incr backup - add tablespace 1 (db-master host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1034,8 +1034,8 @@ incr backup - resume and add tablespace 2 (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --hardlink --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/db-master/repo/log --no-online --repo-path=[TEST_PATH]/db-master/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = none, strStanza = db DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = backup.history, strPathType = backup:cluster DEBUG: BackupInfo->new(): bValidate = <true>, strBackupClusterPath = [TEST_PATH]/db-master/repo/backup/db @@ -1191,10 +1191,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-005.log b/test/expect/backup-synthetic-005.log index 3f650d852..18614715e 100644 --- a/test/expect/backup-synthetic-005.log +++ b/test/expect/backup-synthetic-005.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --protocol-timeout=2 --db-timeout=1 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-timeout=1 --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --protocol-timeout=2 --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 2, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=1 --protocol-timeout=2 --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, strUser = [USER-1] DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 2, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=1 --protocol-timeout=2 --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -121,10 +121,10 @@ full backup - create pg_stat link, pg_clog dir (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -262,8 +262,8 @@ full backup - protocol timeout (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --protocol-timeout=1 --db-timeout=.1 --type=full --stanza=db backup --test --test-delay=1 --test-point=backup-start=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-timeout=.1 --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --protocol-timeout=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=1 --test-point=backup-start=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=.1 --protocol-timeout=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, strUser = [USER-1] DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1, strCommand = ssh -o LogLevel=error -o Compression=no -o PasswordAuthentication=no vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=.1 --protocol-timeout=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -302,25 +302,25 @@ full backup - protocol timeout (backup host) DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-1], strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strSourcePathType = db:absolute, strUser = [undef] ERROR: [141]: remote process terminated on db-master host: ERROR [141]: unable to read line after 1 seconds - DEBUG: Exit::exitSafe(): iExitCode = 141, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 141, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --force stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --force --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 INFO: sent term signal to process [PROCESS-ID] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - abort backup - local (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --type=full --stanza=db backup --test --test-delay=5 --test-point=backup-start=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=5 --test-point=backup-start=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -359,16 +359,16 @@ full backup - abort backup - local (backup host) DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-1], strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strSourcePathType = db:absolute, strUser = [undef] ERROR: [138]: remote process terminated on db-master host: ERROR [138]: process terminated on a TERM signal - DEBUG: Exit::exitSafe(): iExitCode = 138, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 138, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - global stop (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -382,33 +382,33 @@ full backup - global stop (backup host) DEBUG: BackupInfo->current=>: bTest = true DEBUG: Db->info(): oFile = [object], strDbPath = [TEST_PATH]/db-master/db/base ERROR: [137]: remote process terminated on db-master host: ERROR [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --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 --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --backup-host=backup --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 --stanza=db WARN: stop file already exists for stanza db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - stanza stop (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -422,50 +422,50 @@ full backup - stanza stop (backup host) DEBUG: BackupInfo->current=>: bTest = true DEBUG: Db->info(): oFile = [object], strDbPath = [TEST_PATH]/db-master/db/base ERROR: [137]: remote process terminated on db-master host: ERROR [137]: stop file exists for stanza db - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start db stanza (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 --stanza=db - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (db-master host) > [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --backup-host=backup --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 WARN: stop file does not exist - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false stop all stanzas (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --force stop ------------------------------------------------------------------------------------------------------------------------------------ INFO: stop start: --config=[TEST_PATH]/backup/pgbackrest.conf --force --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo INFO: sent term signal to process [PROCESS-ID] - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: stop stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - abort backup - remote (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --type=full --stanza=db backup --test --test-delay=5 --test-point=backup-start=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=5 --test-point=backup-start=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -515,35 +515,35 @@ DETAIL: clean backup temp path: [TEST_PATH]/backup/repo/temp/db.tmp DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp - DEBUG: Exit::exitSafe(): iExitCode = -1, strSignal = TERM + DEBUG: Common::Exit::exitSafe(): iExitCode = -1, strSignal = TERM INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false ERROR: [138]: process terminated on a TERM signal full backup - global stop (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup ERROR: [137]: stop file exists for all stanzas - DEBUG: Exit::exitSafe(): iExitCode = 137, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 137, strSignal = [undef] INFO: backup stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false start all stanzas (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf start ------------------------------------------------------------------------------------------------------------------------------------ INFO: start start: --config=[TEST_PATH]/backup/pgbackrest.conf --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: start stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false full backup - resume (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --force --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -651,10 +651,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -799,8 +799,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --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 --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = backup, strUser = [USER-2] 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=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -959,9 +959,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -1107,8 +1107,8 @@ incr backup - add tablespace 1 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -1187,10 +1187,10 @@ incr backup - add tablespace 1 (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1334,8 +1334,8 @@ incr backup - resume and add tablespace 2 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -1433,10 +1433,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-006.log b/test/expect/backup-synthetic-006.log index 8d9f17e3b..64bb789ef 100644 --- a/test/expect/backup-synthetic-006.log +++ b/test/expect/backup-synthetic-006.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -121,10 +121,10 @@ full backup - create pg_stat link, pg_clog dir (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -263,8 +263,8 @@ full backup - resume (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --force --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -372,10 +372,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -514,8 +514,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --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 --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = backup, strUser = [USER-2] 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=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -674,9 +674,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -822,8 +822,8 @@ incr backup - add tablespace 1 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -925,10 +925,10 @@ incr backup - add tablespace 1 (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1073,8 +1073,8 @@ incr backup - resume and add tablespace 2 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -1216,10 +1216,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-007.log b/test/expect/backup-synthetic-007.log index 47d4050dd..db0854548 100644 --- a/test/expect/backup-synthetic-007.log +++ b/test/expect/backup-synthetic-007.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -121,10 +121,10 @@ full backup - create pg_stat link, pg_clog dir (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -260,8 +260,8 @@ full backup - resume (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --force --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -369,10 +369,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -508,8 +508,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --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 --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = backup, strUser = [USER-2] 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=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -668,9 +668,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -816,8 +816,8 @@ incr backup - add tablespace 1 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -896,10 +896,10 @@ incr backup - add tablespace 1 (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1041,8 +1041,8 @@ incr backup - resume and add tablespace 2 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -1140,10 +1140,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/expect/backup-synthetic-008.log b/test/expect/backup-synthetic-008.log index 8a2b7f387..d2862e959 100644 --- a/test/expect/backup-synthetic-008.log +++ b/test/expect/backup-synthetic-008.log @@ -29,8 +29,8 @@ full backup - create pg_stat link, pg_clog dir (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -121,10 +121,10 @@ full backup - create pg_stat link, pg_clog dir (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-1] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -261,8 +261,8 @@ full backup - resume (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --force --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --force --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -370,10 +370,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -510,8 +510,8 @@ restore delta, backup '[BACKUP-FULL-2]' - add and delete files (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 ------------------------------------------------------------------------------------------------------------------------------------ INFO: restore start: --backup-host=backup --backup-user=backrest --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --config-remote=[TEST_PATH]/backup/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --delta --link-all --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 --set=[BACKUP-FULL-2] --stanza=db - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = restore + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = backup, strUser = [USER-2] 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=restore --config=[TEST_PATH]/backup/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = backup, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = backup, strStanza = db @@ -670,9 +670,9 @@ DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and match INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control (8KB) checksum 56fe5780b8dca9705e0c22032a83828860a21235 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute DEBUG: File->remove=>: bRemoved = true - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: restore stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/db/base/recovery.conf ---------------------------------------------------------------- @@ -818,8 +818,8 @@ incr backup - add tablespace 1 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --test --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -921,10 +921,10 @@ incr backup - add tablespace 1 (backup host) DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- @@ -1067,8 +1067,8 @@ incr backup - resume and add tablespace 2 (backup host) > [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y ------------------------------------------------------------------------------------------------------------------------------------ INFO: backup start: --cmd-remote=[BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --config-remote=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=vagrant --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-path=[TEST_PATH]/backup/repo/log --no-online --repo-path=[TEST_PATH]/backup/repo --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y - DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup - DEBUG: Common:::Lock::lockAquire=>: bResult = true + DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup + DEBUG: Common::Lock::lockAcquire=>: bResult = true DEBUG: Protocol::RemoteMaster->new(): iBufferMax = 4194304, iCompressLevel = 6, iCompressLevelNetwork = 3, iProtocolTimeout = 1830, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote, strHost = db-master, 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 vagrant@db-master '[BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --repo-path=[TEST_PATH]/backup/repo --stanza=db remote', strId = db-master, strName = remote DEBUG: File->new(): iThreadIdx = [undef], oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strRemote = db, strStanza = db @@ -1210,10 +1210,10 @@ DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] DEBUG: BackupInfo->current=>: bTest = true INFO: archive retention type not set - archive logs will not be expired - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = <true> - DEBUG: Exit::exitSafe(): iExitCode = 0, strSignal = [undef] + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = <true> + DEBUG: Common::Exit::exitSafe(): iExitCode = 0, strSignal = [undef] INFO: expire stop - DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false + DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false + supplemental file: [TEST_PATH]/db-master/pgbackrest.conf ---------------------------------------------------------- diff --git a/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm b/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm index 1fa89587a..bcb413c28 100644 --- a/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm +++ b/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm @@ -27,19 +27,6 @@ use pgBackRestTest::Common::FileTest; use pgBackRestTest::Common::HostGroupTest; use pgBackRestTest::CommonTest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_EXPIRE_COMMON_TEST => 'ExpireCommonTest'; - -use constant OP_EXPIRE_COMMON_TEST_ARCHIVE_CREATE => OP_EXPIRE_COMMON_TEST . "->archiveCreate"; -use constant OP_EXPIRE_COMMON_TEST_ARCHIVE_NEXT => OP_EXPIRE_COMMON_TEST . "->archiveNext"; -use constant OP_EXPIRE_COMMON_TEST_BACKUP_CREATE => OP_EXPIRE_COMMON_TEST . "->backupCreate"; -use constant OP_EXPIRE_COMMON_TEST_NEW => OP_EXPIRE_COMMON_TEST . "->new"; -use constant OP_EXPIRE_COMMON_TEST_PROCESS => OP_EXPIRE_COMMON_TEST . "->process"; -use constant OP_EXPIRE_COMMON_TEST_STANZA_CREATE => OP_EXPIRE_COMMON_TEST . "->stanzaCreate"; -use constant OP_EXPIRE_COMMON_TEST_SUPPLEMENTAL_LOG => OP_EXPIRE_COMMON_TEST . "->supplementalLog"; - #################################################################################################################################### # new #################################################################################################################################### @@ -60,7 +47,7 @@ sub new ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'oHostBackup', trace => true}, {name => 'oFile', trace => true}, {name => 'oLogTest', required => false, trace => true} @@ -90,7 +77,7 @@ sub stanzaCreate ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_STANZA_CREATE, \@_, + __PACKAGE__ . '->sanzaCreate', \@_, {name => 'strStanza'}, {name => 'strDbVersion'} ); @@ -136,10 +123,7 @@ sub stanzaCreate $self->{oStanzaHash}{$strStanza} = $oStanza; # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -161,7 +145,7 @@ sub backupCreate ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_BACKUP_CREATE, \@_, + __PACKAGE__ . '->backupCreate', \@_, {name => 'strStanza'}, {name => 'strType'}, {name => 'lTimestamp'}, @@ -242,10 +226,7 @@ sub backupCreate $self->archiveCreate($strStanza, $iArchiveBetweenTotal); # Return from function and log return values if any - return logDebugReturn - ( - $strOperation - ); + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -264,7 +245,7 @@ sub archiveNext ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_ARCHIVE_NEXT, \@_, + __PACKAGE__ . '->archiveNext', \@_, {name => 'strArchive', trace => true}, {name => 'bSkipFF', trace => true} ); @@ -307,7 +288,7 @@ sub archiveCreate ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_ARCHIVE_CREATE, \@_, + __PACKAGE__ . '->archiveCreate', \@_, {name => 'strStanza'}, {name => 'iArchiveTotal'} ); @@ -364,7 +345,7 @@ sub supplementalLog ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_SUPPLEMENTAL_LOG, \@_, + __PACKAGE__ . '->supplementalLog', \@_, {name => 'strStanza'} ); @@ -407,7 +388,7 @@ sub process ) = logDebugParam ( - OP_EXPIRE_COMMON_TEST_PROCESS, \@_, + __PACKAGE__ . '->process', \@_, {name => 'strStanza'}, {name => 'iExpireFull'}, {name => 'iExpireDiff'}, diff --git a/test/lib/pgBackRestTest/Common/ExecuteTest.pm b/test/lib/pgBackRestTest/Common/ExecuteTest.pm index 6fbbb47a5..ae4a01927 100644 --- a/test/lib/pgBackRestTest/Common/ExecuteTest.pm +++ b/test/lib/pgBackRestTest/Common/ExecuteTest.pm @@ -21,16 +21,6 @@ use pgBackRest::Common::Log; use pgBackRest::Common::Wait; use pgBackRest::Protocol::IO; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_EXECUTE_TEST => 'ExecuteTest'; - -use constant OP_EXECUTE_TEST_BEGIN => OP_EXECUTE_TEST . "->begin"; -use constant OP_EXECUTE_TEST_END => OP_EXECUTE_TEST . "->end"; -use constant OP_EXECUTE_TEST_END_RETRY => OP_EXECUTE_TEST . "->endRetry"; -use constant OP_EXECUTE_TEST_NEW => OP_EXECUTE_TEST . "->new"; - #################################################################################################################################### # new #################################################################################################################################### @@ -50,7 +40,7 @@ sub new ) = logDebugParam ( - OP_EXECUTE_TEST_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strCommand'}, {name => 'oParam', required => false} ); @@ -85,7 +75,7 @@ sub begin my $self = shift; # Assign function parameters, defaults, and log debug info - logDebugParam(OP_EXECUTE_TEST_BEGIN); + my ($strOperation) = logDebugParam(__PACKAGE__ . '->begin'); $self->{strErrorLog} = ''; $self->{strOutLog} = ''; @@ -114,6 +104,8 @@ sub begin { confess 'STDERR handle is undefined'; } + + return logDebugReturn($strOperation); } #################################################################################################################################### @@ -132,7 +124,7 @@ sub endRetry ) = logDebugParam ( - OP_EXECUTE_TEST_END_RETRY, \@_, + __PACKAGE__ . '->endRetry', \@_, {name => 'strTest', required => false, trace => true}, {name => 'bWait', required => false, default => true, trace => true} ); @@ -262,7 +254,12 @@ sub endRetry confess &log(ASSERT, "test point ${strTest} was not found"); } - return $iExitStatus; + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'iExitStatus', value => $iExitStatus, trace => true} + ); } #################################################################################################################################### @@ -281,7 +278,7 @@ sub end ) = logDebugParam ( - OP_EXECUTE_TEST_END, \@_, + __PACKAGE__ . '->end', \@_, {name => 'strTest', required => false, trace => true}, {name => 'bWait', required => false, default => true, trace => true} ); @@ -318,7 +315,12 @@ sub end } } - return $iExitStatus; + # Return from function and log return values if any + return logDebugReturn + ( + $strOperation, + {name => 'iExitStatus', value => $iExitStatus, trace => true} + ); } #################################################################################################################################### diff --git a/test/lib/pgBackRestTest/Common/LogTest.pm b/test/lib/pgBackRestTest/Common/LogTest.pm index 316b70170..ce459be92 100644 --- a/test/lib/pgBackRestTest/Common/LogTest.pm +++ b/test/lib/pgBackRestTest/Common/LogTest.pm @@ -21,15 +21,6 @@ use pgBackRest::Version; use pgBackRestTest::Common::ExecuteTest; -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_LOG_TEST => 'LogTest'; - -use constant OP_LOG_TEST_LOG_ADD => OP_LOG_TEST . "->logAdd"; -use constant OP_LOG_TEST_LOG_WRITE => OP_LOG_TEST . "->logWrite"; -use constant OP_LOG_TEST_NEW => OP_LOG_TEST . "->new"; - #################################################################################################################################### # new #################################################################################################################################### @@ -56,7 +47,7 @@ sub new ) = logDebugParam ( - OP_LOG_TEST_NEW, \@_, + __PACKAGE__ . '->new', \@_, {name => 'strModule', trace => true}, {name => 'strTest', trace => true}, {name => 'iRun', trace => true}, @@ -100,7 +91,7 @@ sub logAdd ) = logDebugParam ( - OP_LOG_TEST_LOG_ADD, \@_, + __PACKAGE__ . '->logAdd', \@_, {name => 'strCommand', trace => true}, {name => 'strComment', required => false, trace => true}, {name => 'strLog', required => false, trace => true} @@ -185,7 +176,7 @@ sub logWrite ) = logDebugParam ( - OP_LOG_TEST_LOG_WRITE, \@_, + __PACKAGE__ . '->logWrite', \@_, {name => 'strBasePath', trace => true}, {name => 'strTestPath', trace => true}, {name => 'strFileName', [parent: 9f19e1309562]