From f818901c0e619b50afa50412d246d0b1771fac11 Mon Sep 17 00:00:00 2001 From: David Steele Date: Sat, 10 Dec 2016 09:06:45 -0500 Subject: [PATCH] Added the --repo-sync option to allow directory syncs in the repository to be disabled. This is for file systems that do not support them, e.g. NTFS --- doc/xml/reference.xml | 9 + doc/xml/release.xml | 4 + lib/pgBackRest/Archive.pm | 29 +- lib/pgBackRest/ArchiveInfo.pm | 12 +- lib/pgBackRest/Backup.pm | 18 +- lib/pgBackRest/Common/Lock.pm | 2 +- lib/pgBackRest/Config/Config.pm | 19 ++ lib/pgBackRest/Config/ConfigHelpData.pm | 15 ++ lib/pgBackRest/File.pm | 94 ++++++- lib/pgBackRest/FileCommon.pm | 85 ++++-- lib/pgBackRest/Restore.pm | 11 +- test/expect/backup-archive-get-001.log | 2 +- test/expect/backup-archive-get-002.log | 12 +- test/expect/backup-archive-get-003.log | 2 +- test/expect/backup-archive-get-004.log | 12 +- test/expect/backup-archive-get-006.log | 6 +- test/expect/backup-archive-get-008.log | 6 +- test/expect/backup-archive-push-001.log | 156 +++++------ test/expect/backup-archive-push-002.log | 218 +++++++-------- test/expect/backup-archive-push-003.log | 156 +++++------ test/expect/backup-archive-push-004.log | 216 +++++++-------- test/expect/backup-archive-push-005.log | 96 +++---- test/expect/backup-archive-push-006.log | 158 +++++------ test/expect/backup-archive-push-007.log | 96 +++---- test/expect/backup-archive-push-008.log | 156 +++++------ test/expect/backup-archive-stop-001.log | 38 +-- test/expect/backup-archive-stop-002.log | 38 +-- test/expect/backup-archive-stop-003.log | 26 +- test/expect/backup-archive-stop-004.log | 22 +- test/expect/backup-archive-stop-005.log | 26 +- test/expect/backup-archive-stop-006.log | 22 +- test/expect/backup-synthetic-001.log | 221 +++++++++++---- test/expect/backup-synthetic-002.log | 255 +++++++++++++----- test/expect/backup-synthetic-003.log | 165 +++++++++--- test/expect/backup-synthetic-004.log | 255 +++++++++++++----- test/expect/backup-synthetic-005.log | 165 +++++++++--- test/expect/backup-synthetic-006.log | 255 +++++++++++++----- test/expect/backup-synthetic-007.log | 165 +++++++++--- test/expect/backup-synthetic-008.log | 255 +++++++++++++----- test/lib/pgBackRestTest/Backup/BackupTest.pm | 5 +- .../Backup/Common/ExpireCommonTest.pm | 2 +- test/lib/pgBackRestTest/Common/ExecuteTest.pm | 4 +- test/test.pl | 4 +- 43 files changed, 2231 insertions(+), 1282 deletions(-) diff --git a/doc/xml/reference.xml b/doc/xml/reference.xml index c1b857887d..6c4f421c95 100644 --- a/doc/xml/reference.xml +++ b/doc/xml/reference.xml @@ -219,6 +219,15 @@ /backup/db/backrest + + + + Sync directories in repository. + + Syncs directories when writing to the repository. Not all file systems support directory syncs (e.g., NTFS) so this option allows them to be disabled. + + n + diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 2caec80406..35760a224c 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -156,6 +156,10 @@

Added the --repo-link option to allow internal symlinks to be suppressed when the repository is located on a filesystem that does not support symlinks. This does not affect any functionality, but the convenience link latest will not be created and neither will internal tablespace symlinks, which will affect the ability to bring up clusters in-place manually using filesystem snapshots.

+ +

Added the --repo-sync option to allow directory syncs in the repository to be disabled for file systems that do not support them, e.g. NTFS.

+
+

Added a predictable log entry to signal that a command has completed successfully. For example a backup ends successfully with: INFO: backup command end: completed successfully.

diff --git a/lib/pgBackRest/Archive.pm b/lib/pgBackRest/Archive.pm index 6e4fe557c0..941b8e1b04 100644 --- a/lib/pgBackRest/Archive.pm +++ b/lib/pgBackRest/Archive.pm @@ -746,8 +746,9 @@ sub push if ($bArchiveFile) { my ($strDbVersion, $ullDbSysId) = $self->walInfo($strSourceFile); - ($strArchiveId, $strChecksum) = $self->pushCheck($oFile, substr(basename($strSourceFile), 0, 24), $bPartial, - $strSourceFile, $strDbVersion, $ullDbSysId); + ($strArchiveId, $strChecksum) = $self->pushCheck( + $oFile, substr(basename($strSourceFile), 0, 24), $bPartial, $strSourceFile, $strDbVersion, $ullDbSysId, + optionGet(OPTION_REPO_SYNC)); } else { @@ -774,7 +775,8 @@ sub push undef, undef, undef, # Unused params true, # Create path if it does not exist undef, undef, # User and group - $bArchiveFile); # Append checksum if archive file + $bArchiveFile, # Append checksum if archive file + $bAsync ? true : optionGet(OPTION_REPO_SYNC)); # Sync if spool, else check repo sync option } # Return from function and log return values if any @@ -800,7 +802,8 @@ sub pushCheck $bPartial, $strWalFile, $strDbVersion, - $ullDbSysId + $ullDbSysId, + $bPathSync, ) = logDebugParam ( @@ -810,7 +813,8 @@ sub pushCheck {name => 'bPartial'}, {name => 'strWalFile', required => false}, {name => 'strDbVersion'}, - {name => 'ullDbSysId'} + {name => 'ullDbSysId'}, + {name => 'bPathSync'}, ); # Set operation and debug strings @@ -821,15 +825,16 @@ sub pushCheck { # Execute the command ($strArchiveId, $strChecksum) = $oFile->{oProtocol}->cmdExecute( - OP_ARCHIVE_PUSH_CHECK, [$strWalSegment, $bPartial, undef, $strDbVersion, $ullDbSysId], true); + OP_ARCHIVE_PUSH_CHECK, [$strWalSegment, $bPartial, undef, $strDbVersion, $ullDbSysId, $bPathSync], true); } else { # Create the archive path if it does not exist $oFile->pathCreate(PATH_BACKUP_ARCHIVE, undef, undef, true, true); - # If the info file exists check db version and system-id, else create it with the db version and system-id passed and the history - $strArchiveId = (new pgBackRest::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE)))->check($strDbVersion, $ullDbSysId); + # If the info file exists check db version and system-id, else create it + $strArchiveId = (new pgBackRest::ArchiveInfo($oFile->pathGet(PATH_BACKUP_ARCHIVE)))->check( + $strDbVersion, $ullDbSysId, $bPathSync); # Check if the WAL segment already exists in the archive $strChecksum = $self->walFileName($oFile, $strArchiveId, $strWalSegment, $bPartial); @@ -996,8 +1001,9 @@ sub xfer if ($bArchiveFile) { my ($strDbVersion, $ullDbSysId) = $self->walInfo($strArchiveFile); - ($strArchiveId, $strChecksum) = $self->pushCheck($oFile, substr(basename($strArchiveFile), 0, 24), $bPartial, - $strArchiveFile, $strDbVersion, $ullDbSysId); + ($strArchiveId, $strChecksum) = $self->pushCheck( + $oFile, substr(basename($strArchiveFile), 0, 24), $bPartial, $strArchiveFile, $strDbVersion, $ullDbSysId, + optionGet(OPTION_REPO_SYNC)); } else { @@ -1019,7 +1025,8 @@ sub xfer undef, undef, undef, # Unused params true, # Create path if it does not exist undef, undef, # Unused params - true); # Append checksum + true, # Append checksum + optionGet(OPTION_REPO_SYNC)); # Sync path if set # If appended checksum does not equal copy checksum if (defined($strAppendedChecksum) && $strAppendedChecksum ne $strCopyChecksum) diff --git a/lib/pgBackRest/ArchiveInfo.pm b/lib/pgBackRest/ArchiveInfo.pm index ce19d419d3..cd24e266d3 100644 --- a/lib/pgBackRest/ArchiveInfo.pm +++ b/lib/pgBackRest/ArchiveInfo.pm @@ -108,13 +108,15 @@ sub check ( $strOperation, $strDbVersion, - $ullDbSysId + $ullDbSysId, + $bPathSync, ) = logDebugParam ( __PACKAGE__ . '->check', \@_, {name => 'strDbVersion'}, - {name => 'ullDbSysId'} + {name => 'ullDbSysId'}, + {name => 'bPathSync', default => false}, ); my $bSave = false; @@ -162,6 +164,12 @@ sub check if ($bSave) { $self->save(); + + # Sync path if requested + if ($bPathSync) + { + filePathSync($self->{strArchiveClusterPath}); + } } # Return from function and log return values if any diff --git a/lib/pgBackRest/Backup.pm b/lib/pgBackRest/Backup.pm index 62b6095c63..7ff2ea22c7 100644 --- a/lib/pgBackRest/Backup.pm +++ b/lib/pgBackRest/Backup.pm @@ -273,7 +273,7 @@ sub processManifest # Create paths foreach my $strPath ($oBackupManifest->keys(MANIFEST_SECTION_TARGET_PATH)) { - $oFileMaster->pathCreate(PATH_BACKUP_TMP, $strPath); + $oFileMaster->pathCreate(PATH_BACKUP_TMP, $strPath, undef, true); } if (optionGet(OPTION_REPO_LINK)) @@ -448,7 +448,7 @@ sub process my $bHardLink = optionGet(OPTION_HARDLINK); # Create the cluster backup and history path - $oFileLocal->pathCreate(PATH_BACKUP_CLUSTER, PATH_BACKUP_HISTORY, undef, true, true); + $oFileLocal->pathCreate(PATH_BACKUP_CLUSTER, PATH_BACKUP_HISTORY, undef, true, true, optionGet(OPTION_REPO_SYNC)); # Load or build backup.info my $oBackupInfo = new pgBackRest::BackupInfo($oFileLocal->pathGet(PATH_BACKUP_CLUSTER)); @@ -891,6 +891,12 @@ sub process # Final save of the backup manifest $oBackupManifest->save(); + # Sync all paths in the backup tmp path + if (optionGet(OPTION_REPO_SYNC)) + { + $oFileLocal->pathSync(PATH_BACKUP_TMP, undef, true); + } + &log(INFO, "new backup label = ${strBackupLabel}"); # Make a compressed copy of the manifest for history @@ -905,7 +911,7 @@ sub process # Copy manifest to history $oFileLocal->move(PATH_BACKUP_CLUSTER, "${strBackupLabel}/" . FILE_MANIFEST . '.gz', PATH_BACKUP_CLUSTER, PATH_BACKUP_HISTORY . qw{/} . substr($strBackupLabel, 0, 4) . - "/${strBackupLabel}.manifest.gz", true); + "/${strBackupLabel}.manifest.gz", true, optionGet(OPTION_REPO_SYNC)); # Create a link to the most recent backup $oFileLocal->remove(PATH_BACKUP_CLUSTER, LINK_LATEST); @@ -918,6 +924,12 @@ sub process # Save backup info $oBackupInfo->add($oBackupManifest); + # Sync the cluster path + if (optionGet(OPTION_REPO_SYNC)) + { + $oFileLocal->pathSync(PATH_BACKUP_CLUSTER); + } + # Return from function and log return values if any return logDebugReturn($strOperation); } diff --git a/lib/pgBackRest/Common/Lock.pm b/lib/pgBackRest/Common/Lock.pm index cdb5cc238d..e54b3dc1b3 100644 --- a/lib/pgBackRest/Common/Lock.pm +++ b/lib/pgBackRest/Common/Lock.pm @@ -49,7 +49,7 @@ sub lockFileName #################################################################################################################################### sub lockPathCreate { - filePathCreate(optionGet(OPTION_LOCK_PATH), '770'); + filePathCreate(optionGet(OPTION_LOCK_PATH), '770', true); } #################################################################################################################################### diff --git a/lib/pgBackRest/Config/Config.pm b/lib/pgBackRest/Config/Config.pm index ddac1cb26b..d5f20cc060 100644 --- a/lib/pgBackRest/Config/Config.pm +++ b/lib/pgBackRest/Config/Config.pm @@ -18,6 +18,7 @@ use pgBackRest::Common::Exception; use pgBackRest::Common::Ini; use pgBackRest::Common::Log; use pgBackRest::Common::Wait; +use pgBackRest::FileCommon; use pgBackRest::Protocol::Common; use pgBackRest::Version; @@ -258,6 +259,8 @@ use constant OPTION_COMPRESS_LEVEL_NETWORK => 'compress push @EXPORT, qw(OPTION_COMPRESS_LEVEL_NETWORK); use constant OPTION_NEUTRAL_UMASK => 'neutral-umask'; push @EXPORT, qw(OPTION_NEUTRAL_UMASK); +use constant OPTION_REPO_SYNC => 'repo-sync'; + push @EXPORT, qw(OPTION_REPO_SYNC); use constant OPTION_PROTOCOL_TIMEOUT => 'protocol-timeout'; push @EXPORT, qw(OPTION_PROTOCOL_TIMEOUT); use constant OPTION_PROCESS_MAX => 'process-max'; @@ -441,6 +444,8 @@ use constant OPTION_DEFAULT_DB_TIMEOUT_MIN => WAIT_TIME use constant OPTION_DEFAULT_DB_TIMEOUT_MAX => 86400 * 7; push @EXPORT, qw(OPTION_DEFAULT_DB_TIMEOUT_MAX); +use constant OPTION_DEFAULT_REPO_SYNC => true; + use constant OPTION_DEFAULT_PROTOCOL_TIMEOUT => OPTION_DEFAULT_DB_TIMEOUT + 30; push @EXPORT, qw(OPTION_DEFAULT_PROTOCOL_TIMEOUT); use constant OPTION_DEFAULT_PROTOCOL_TIMEOUT_MIN => OPTION_DEFAULT_DB_TIMEOUT_MIN; @@ -1187,6 +1192,20 @@ my %oOptionRule = }, }, + &OPTION_REPO_SYNC => + { + &OPTION_RULE_SECTION => CONFIG_SECTION_GLOBAL, + &OPTION_RULE_TYPE => OPTION_TYPE_BOOLEAN, + &OPTION_RULE_DEFAULT => OPTION_DEFAULT_REPO_SYNC, + &OPTION_RULE_NEGATE => true, + &OPTION_RULE_COMMAND => + { + &CMD_ARCHIVE_PUSH => true, + &CMD_BACKUP => true, + &CMD_STANZA_CREATE => true, + }, + }, + &OPTION_PROTOCOL_TIMEOUT => { &OPTION_RULE_SECTION => CONFIG_SECTION_GLOBAL, diff --git a/lib/pgBackRest/Config/ConfigHelpData.pm b/lib/pgBackRest/Config/ConfigHelpData.pm index c874a43837..12ee88640b 100644 --- a/lib/pgBackRest/Config/ConfigHelpData.pm +++ b/lib/pgBackRest/Config/ConfigHelpData.pm @@ -601,6 +601,18 @@ my $oConfigHelpData = "need, though of course requirements will likely change over time as your database evolves." }, + # REPO-SYNC Option Help + #--------------------------------------------------------------------------------------------------------------------------- + 'repo-sync' => + { + section => 'general', + summary => + "Sync directories in repository.", + description => + "Syncs directories when writing to the repository. Not all file systems support directory syncs (e.g., NTFS) so " . + "this option allows them to be disabled." + }, + # RESUME Option Help #--------------------------------------------------------------------------------------------------------------------------- 'resume' => @@ -848,6 +860,7 @@ my $oConfigHelpData = 'neutral-umask' => 'section', 'protocol-timeout' => 'section', 'repo-path' => 'section', + 'repo-sync' => 'section', 'spool-path' => 'section', 'stanza' => 'default' } @@ -917,6 +930,7 @@ my $oConfigHelpData = 'protocol-timeout' => 'section', 'repo-link' => 'section', 'repo-path' => 'section', + 'repo-sync' => 'section', 'resume' => 'section', 'retention-archive' => 'section', 'retention-archive-type' => 'section', @@ -1286,6 +1300,7 @@ my $oConfigHelpData = 'neutral-umask' => 'section', 'protocol-timeout' => 'section', 'repo-path' => 'section', + 'repo-sync' => 'section', 'stanza' => 'default' } }, diff --git a/lib/pgBackRest/File.pm b/lib/pgBackRest/File.pm index ef1eba85dd..0c1aaf2934 100644 --- a/lib/pgBackRest/File.pm +++ b/lib/pgBackRest/File.pm @@ -424,7 +424,7 @@ sub linkCreate # ??? This should only happen when the link create errors if ($bPathCreate && $self->pathTypeGet($strDestinationPathType) eq PATH_BACKUP) { - filePathCreate(dirname($strDestination)); + filePathCreate(dirname($strDestination), undef, true); } unless (-e $strSource) @@ -508,7 +508,8 @@ sub move $strSourceFile, $strDestinationPathType, $strDestinationFile, - $bDestinationPathCreate + $bDestinationPathCreate, + $bPathSync, ) = logDebugParam ( @@ -517,7 +518,8 @@ sub move {name => 'strSourceFile', required => false}, {name => 'strDestinationPathType'}, {name => 'strDestinationFile'}, - {name => 'bDestinationPathCreate', default => false} + {name => 'bDestinationPathCreate', default => false}, + {name => 'bPathSync', default => false}, ); # Source and destination path types must be the same @@ -538,7 +540,7 @@ sub move # Run locally else { - fileMove($strPathOpSource, $strPathOpDestination, $bDestinationPathCreate); + fileMove($strPathOpSource, $strPathOpDestination, $bDestinationPathCreate, $bPathSync); } # Return from function and log return values if any @@ -649,6 +651,70 @@ sub pathCreate ); } + +#################################################################################################################################### +# pathSync +#################################################################################################################################### +sub pathSync +{ + my $self = shift; + + # Assign function parameters, defaults, and log debug info + my + ( + $strOperation, + $strPathType, + $strPath, + $bRecursive, + ) = + logDebugParam + ( + __PACKAGE__ . '->pathSync', \@_, + {name => 'strPathType'}, + {name => 'strPath', required => false}, + {name => 'bRecursive', default => false}, + ); + + # Remote not implemented + if ($self->isRemote($strPathType)) + { + confess &log(ASSERT, "${strOperation}: remote operation not supported"); + } + + # Sync all paths in the tree + if ($bRecursive) + { + my $oManifest = $self->manifest($strPathType, $strPath); + + # Iterate all files in the manifest + foreach my $strFile (sort(keys(%{$oManifest}))) + { + # Only sync if this is a directory + if ($oManifest->{$strFile}{type} eq 'd') + { + # If current directory + if ($strFile eq '.') + { + $self->pathSync($strPathType, $strPath); + } + # Else a subdirectory + else + { + $self->pathSync($strPathType, (defined($strPath) ? "${strPath}/" : '') . $strFile); + } + } + } + } + # Only sync the specified path + else + { + filePathSync($self->pathGet($strPathType, $strPath)); + } + + # Return from function and log return values if any + return logDebugReturn($strOperation); +} + #################################################################################################################################### # exists # @@ -711,7 +777,8 @@ sub remove $strPathType, $strPath, $bTemp, - $bIgnoreMissing + $bIgnoreMissing, + $bPathSync, ) = logDebugParam ( @@ -719,7 +786,8 @@ sub remove {name => 'strPathType'}, {name => 'strPath'}, {name => 'bTemp', required => false}, - {name => 'bIgnoreMissing', default => true} + {name => 'bIgnoreMissing', default => true}, + {name => 'bPathSync', default => false}, ); # Set operation variables @@ -734,7 +802,7 @@ sub remove # Run locally else { - $bRemoved = fileRemove($strPathOp, $bIgnoreMissing); + $bRemoved = fileRemove($strPathOp, $bIgnoreMissing, $bPathSync); } # Return from function and log return values if any @@ -1271,7 +1339,8 @@ sub copy $bDestinationPathCreate, $strUser, $strGroup, - $bAppendChecksum + $bAppendChecksum, + $bPathSync, ) = logDebugParam ( @@ -1288,7 +1357,8 @@ sub copy {name => 'bDestinationPathCreate', default => false}, {name => 'strUser', required => false}, {name => 'strGroup', required => false}, - {name => 'bAppendChecksum', default => false} + {name => 'bAppendChecksum', default => false}, + {name => 'bPathSync', default => false}, ); # Set working variables @@ -1416,7 +1486,7 @@ sub copy $self->{oProtocol}->cmdWrite( $strRemoteOp, [undef, $strDestinationOp, $bSourceCompressed, $bDestinationCompress, undef, undef, $strMode, - $bDestinationPathCreate, $strUser, $strGroup, $bAppendChecksum]); + $bDestinationPathCreate, $strUser, $strGroup, $bAppendChecksum, $bPathSync]); $bController = true; } @@ -1429,7 +1499,7 @@ sub copy $self->{oProtocol}->cmdWrite( $strRemoteOp, [$strSourceOp, $strDestinationOp, $bSourceCompressed, $bDestinationCompress, $bIgnoreMissingSource, undef, - $strMode, $bDestinationPathCreate, $strUser, $strGroup, $bAppendChecksum]); + $strMode, $bDestinationPathCreate, $strUser, $strGroup, $bAppendChecksum, $bPathSync]); $bController = true; } @@ -1587,7 +1657,7 @@ sub copy } # Move the file from tmp to final destination - fileMove($strDestinationTmpOp, $strDestinationOp, $bDestinationPathCreate); + fileMove($strDestinationTmpOp, $strDestinationOp, $bDestinationPathCreate, $bPathSync); } } diff --git a/lib/pgBackRest/FileCommon.pm b/lib/pgBackRest/FileCommon.pm index bc64fc287b..0dfe412cc7 100644 --- a/lib/pgBackRest/FileCommon.pm +++ b/lib/pgBackRest/FileCommon.pm @@ -6,6 +6,7 @@ package pgBackRest::FileCommon; use strict; use warnings FATAL => qw(all); use Carp qw(confess); +use English '-no_match_vars'; use Digest::SHA; use Exporter qw(import); @@ -363,14 +364,16 @@ sub fileMove $strOperation, $strSourceFile, $strDestinationFile, - $bDestinationPathCreate + $bDestinationPathCreate, + $bPathSync, ) = logDebugParam ( __PACKAGE__ . '::fileMove', \@_, {name => 'strSourceFile', trace => true}, {name => 'strDestinationFile', trace => true}, - {name => 'bDestinationPathCreate', default => false, trace => true} + {name => 'bDestinationPathCreate', default => false, trace => true}, + {name => 'bPathSync', default => false, trace => true}, ); # Get source and destination paths @@ -388,7 +391,7 @@ sub fileMove { $bError = false; - filePathCreate(dirname($strDestinationFile), undef, true, true); + filePathCreate(dirname($strDestinationFile), undef, true, true, $bPathSync); # Try the rename again and store the error if it fails if (!rename($strSourceFile, $strDestinationFile)) @@ -406,13 +409,17 @@ sub fileMove } } - # Always sync the destination directory - filePathSync(dirname($strDestinationFile)); - - # If the source and destination directories are not the same then sync the source directory - if (dirname($strSourceFile) ne dirname($strDestinationFile)) + # Sync path(s) if requested + if ($bPathSync) { - filePathSync(dirname($strSourceFile)); + # Always sync the destination directory + filePathSync(dirname($strDestinationFile)); + + # If the source and destination directories are not the same then sync the source directory + if (dirname($strSourceFile) ne dirname($strDestinationFile)) + { + filePathSync(dirname($strSourceFile)); + } } # Return from function and log return values if any @@ -489,12 +496,15 @@ sub filePathSync ); open(my $hPath, "<", $strPath) - or confess &log(ERROR, "unable to open ${strPath}", ERROR_PATH_OPEN); + or confess &log(ERROR, "unable to open '${strPath}' for sync", ERROR_PATH_OPEN); open(my $hPathDup, ">&", $hPath) - or confess &log(ERROR, "unable to duplicate handle for ${strPath}", ERROR_PATH_OPEN); + or confess &log(ERROR, "unable to duplicate '${strPath}' handle for sync", ERROR_PATH_OPEN); $hPathDup->sync - or confess &log(ERROR, "unable to sync ${strPath}", ERROR_PATH_SYNC); + or confess &log(ERROR, "unable to sync '${strPath}'", ERROR_PATH_SYNC); + + close($hPathDup); + close($hPath); # Return from function and log return values if any return logDebugReturn($strOperation); @@ -514,13 +524,15 @@ sub fileRemove ( $strOperation, $strPath, - $bIgnoreMissing + $bIgnoreMissing, + $bPathSync, ) = logDebugParam ( __PACKAGE__ . '::fileRemove', \@_, {name => 'strPath', trace => true}, - {name => 'bIgnoreMissing', default => false, trace => true} + {name => 'bIgnoreMissing', default => false, trace => true}, + {name => 'bPathSync', default => false, trace => true}, ); # Working variables @@ -544,6 +556,12 @@ sub fileRemove } } + # Sync parent directory if requested + if ($bRemoved && $bPathSync) + { + filePathSync(dirname($strPath)); + } + # Return from function and log return values if any return logDebugReturn ( @@ -554,7 +572,6 @@ sub fileRemove push @EXPORT, qw(fileRemove); - #################################################################################################################################### # fileStat # @@ -802,7 +819,8 @@ sub filePathCreate $strPath, $strMode, $bIgnoreExists, - $bCreateParents + $bCreateParents, + $bPathSync, ) = logDebugParam ( @@ -810,29 +828,42 @@ sub filePathCreate {name => 'strPath', trace => true}, {name => 'strMode', default => $strPathModeDefault, trace => true}, {name => 'bIgnoreExists', default => false, trace => true}, - {name => 'bCreateParents', default => false, trace => true} + {name => 'bCreateParents', default => false, trace => true}, + {name => 'bPathSync', default => false, trace => true}, ); - if (!($bIgnoreExists && fileExists($strPath))) - { - # Attempt to create the directory - my $stryError; + # Determine if parent directory exists + my $strParentPath = dirname($strPath); - if (!$bCreateParents && !fileExists(dirname($strPath))) + if (!fileExists($strParentPath)) + { + if (!$bCreateParents) { confess &log(ERROR, "unable to create ${strPath} because parent path does not exist", ERROR_PATH_CREATE); } - make_path($strPath, {mode => oct($strMode), error => \$stryError}); + filePathCreate($strParentPath, $strMode, $bIgnoreExists, $bCreateParents, $bPathSync); + } - # Throw any errrors that were returned - if (@$stryError) + # Create the path + if (!mkdir($strPath, oct($strMode))) + { + # Get the error as a string + my $strError = $OS_ERROR . ''; + + # Error if not ignoring existence of the path + if (!($bIgnoreExists && fileExists($strPath))) { - my ($strErrorPath, $strErrorMessage) = %{@$stryError[0]}; - confess &log(ERROR, "unable to create ${strPath}: ${strErrorMessage}", ERROR_PATH_CREATE); + confess &log(ERROR, "unable to create ${strPath}: " . $OS_ERROR, ERROR_PATH_CREATE); } } + # Sync path if requested + if ($bPathSync) + { + filePathSync($strParentPath); + } + # Return from function and log return values if any return logDebugReturn($strOperation); } diff --git a/lib/pgBackRest/Restore.pm b/lib/pgBackRest/Restore.pm index a00de04478..6d80f7f686 100644 --- a/lib/pgBackRest/Restore.pm +++ b/lib/pgBackRest/Restore.pm @@ -1063,7 +1063,7 @@ sub process my $oBackupInfo = new pgBackRest::BackupInfo($self->{strDbClusterPath}, false); - $self->{oFile}->remove(PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . FILE_BACKUP_INFO, undef, false); + $self->{oFile}->remove(PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . FILE_BACKUP_INFO, undef, false, true); # If set to restore is latest then get the actual set if ($self->{strBackupSet} eq OPTION_DEFAULT_RESTORE_SET) @@ -1094,7 +1094,7 @@ sub process # from being started by PostgreSQL. $self->{oFile}->remove(PATH_DB_ABSOLUTE, $oManifest->dbPathGet( $oManifest->get(MANIFEST_SECTION_BACKUP_TARGET, MANIFEST_TARGET_PGDATA, MANIFEST_SUBKEY_PATH), - MANIFEST_FILE_PGCONTROL)); + MANIFEST_FILE_PGCONTROL), true, true); # Clean the restore paths $self->clean($oManifest); @@ -1266,6 +1266,9 @@ sub process # Create recovery.conf file $self->recovery($oManifest->get(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION)); + # Sync db cluster path + $self->{oFile}->pathSync(PATH_DB_ABSOLUTE, $self->{strDbClusterPath}, true); + # Copy pg_control last &log(INFO, 'restore ' . $oManifest->dbPathGet(undef, MANIFEST_FILE_PGCONTROL) . @@ -1273,10 +1276,10 @@ sub process $self->{oFile}->move( PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . DB_FILE_PGCONTROL . '.' . BACKREST_EXE, - PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . DB_FILE_PGCONTROL); + PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . DB_FILE_PGCONTROL, undef, true); # Finally remove the manifest to indicate the restore is complete - $self->{oFile}->remove(PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . FILE_MANIFEST, undef, false); + $self->{oFile}->remove(PATH_DB_ABSOLUTE, $self->{strDbClusterPath} . '/' . FILE_MANIFEST, undef, false, true); # Return from function and log return values if any return logDebugReturn($strOperation); diff --git a/test/expect/backup-archive-get-001.log b/test/expect/backup-archive-get-001.log index 5129a48a1f..485227b7d8 100644 --- a/test/expect/backup-archive-get-001.log +++ b/test/expect/backup-archive-get-001.log @@ -95,7 +95,7 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 diff --git a/test/expect/backup-archive-get-002.log b/test/expect/backup-archive-get-002.log index 4c6f240a0c..85d9c2844a 100644 --- a/test/expect/backup-archive-get-002.log +++ b/test/expect/backup-archive-get-002.log @@ -60,14 +60,14 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -93,14 +93,14 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -126,14 +126,14 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/backup-archive-get-003.log b/test/expect/backup-archive-get-003.log index 2851bffb23..c054f23940 100644 --- a/test/expect/backup-archive-get-003.log +++ b/test/expect/backup-archive-get-003.log @@ -95,7 +95,7 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009 diff --git a/test/expect/backup-archive-get-004.log b/test/expect/backup-archive-get-004.log index 1468a8fadf..093c37a412 100644 --- a/test/expect/backup-archive-get-004.log +++ b/test/expect/backup-archive-get-004.log @@ -60,14 +60,14 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -93,14 +93,14 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -126,14 +126,14 @@ P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base> P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->new(): bRequired = true, strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = , strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/db-master/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/backup-archive-get-006.log b/test/expect/backup-archive-get-006.log index a3bb717cc7..3f85ae6946 100644 --- a/test/expect/backup-archive-get-006.log +++ b/test/expect/backup-archive-get-006.log @@ -68,7 +68,7 @@ P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef] P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -101,7 +101,7 @@ P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef] P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -134,7 +134,7 @@ P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef] P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/backup-archive-get-008.log b/test/expect/backup-archive-get-008.log index a7432338c9..c0dde28bcd 100644 --- a/test/expect/backup-archive-get-008.log +++ b/test/expect/backup-archive-get-008.log @@ -68,7 +68,7 @@ P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef] P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -101,7 +101,7 @@ P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef] P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -134,7 +134,7 @@ P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef] P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz) P00 DEBUG: Archive->walFileName=>: strWalFileName = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = false, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = true, lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = 9.4-1/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz, strSourcePathType = backup:archive, strUser = [undef] P00 DEBUG: Archive->get=>: iResult = 0 P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] diff --git a/test/expect/backup-archive-push-001.log b/test/expect/backup-archive-push-001.log index 02870c3b84..48c209dda9 100644 --- a/test/expect/backup-archive-push-001.log +++ b/test/expect/backup-archive-push-001.log @@ -11,10 +11,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -22,7 +22,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -40,10 +40,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -63,10 +63,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -124,10 +124,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -157,10 +157,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -178,9 +178,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -188,10 +188,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -199,7 +199,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -217,10 +217,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -250,10 +250,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -281,10 +281,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 @@ -292,7 +292,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -310,10 +310,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 @@ -321,7 +321,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -339,10 +339,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 @@ -350,7 +350,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -368,10 +368,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -379,7 +379,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -397,10 +397,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -420,10 +420,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -443,10 +443,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -476,10 +476,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -497,9 +497,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -507,10 +507,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -518,7 +518,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -536,10 +536,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -569,10 +569,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -600,10 +600,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 @@ -611,7 +611,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -629,10 +629,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 @@ -640,7 +640,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -658,10 +658,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 @@ -669,7 +669,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -687,10 +687,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -698,7 +698,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -716,10 +716,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -739,10 +739,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -762,10 +762,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -795,10 +795,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -816,9 +816,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -826,10 +826,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -837,7 +837,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -855,10 +855,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -888,10 +888,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 diff --git a/test/expect/backup-archive-push-002.log b/test/expect/backup-archive-push-002.log index 944486d02a..9c45238dd0 100644 --- a/test/expect/backup-archive-push-002.log +++ b/test/expect/backup-archive-push-002.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -24,10 +24,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -35,7 +35,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -62,7 +62,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -77,10 +77,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -98,7 +98,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -113,10 +113,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -146,7 +146,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -201,7 +201,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -216,10 +216,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -258,7 +258,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -273,10 +273,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -294,15 +294,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -317,10 +317,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -328,7 +328,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -355,7 +355,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -370,10 +370,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -412,7 +412,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -427,10 +427,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -456,7 +456,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -471,10 +471,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 @@ -482,7 +482,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -509,7 +509,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -524,10 +524,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 @@ -535,7 +535,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -562,7 +562,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -577,10 +577,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 @@ -588,7 +588,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -615,7 +615,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -630,10 +630,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -641,7 +641,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -668,7 +668,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -683,10 +683,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -704,7 +704,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -719,10 +719,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -740,7 +740,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -755,10 +755,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -797,7 +797,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -812,10 +812,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -833,15 +833,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -856,10 +856,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -867,7 +867,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -894,7 +894,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -909,10 +909,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -951,7 +951,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -966,10 +966,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -995,7 +995,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1010,10 +1010,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 @@ -1021,7 +1021,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1048,7 +1048,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1063,10 +1063,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 @@ -1074,7 +1074,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1101,7 +1101,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1116,10 +1116,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 @@ -1127,7 +1127,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1154,7 +1154,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1169,10 +1169,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1180,7 +1180,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1207,7 +1207,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1222,10 +1222,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1243,7 +1243,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1258,10 +1258,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1279,7 +1279,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1294,10 +1294,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1336,7 +1336,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1351,10 +1351,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1372,15 +1372,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1395,10 +1395,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1406,7 +1406,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1433,7 +1433,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1448,10 +1448,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1490,7 +1490,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1505,10 +1505,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 diff --git a/test/expect/backup-archive-push-003.log b/test/expect/backup-archive-push-003.log index 71f020793d..a713018625 100644 --- a/test/expect/backup-archive-push-003.log +++ b/test/expect/backup-archive-push-003.log @@ -11,10 +11,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -22,7 +22,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -40,10 +40,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -63,10 +63,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -86,10 +86,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -119,10 +119,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -140,9 +140,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -150,10 +150,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -161,7 +161,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -179,10 +179,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -212,10 +212,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -243,10 +243,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 @@ -254,7 +254,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -272,10 +272,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 @@ -283,7 +283,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -301,10 +301,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 @@ -312,7 +312,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -330,10 +330,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -341,7 +341,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -359,10 +359,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -382,10 +382,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -405,10 +405,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -438,10 +438,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -459,9 +459,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -469,10 +469,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -480,7 +480,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -498,10 +498,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -531,10 +531,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -562,10 +562,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 @@ -573,7 +573,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -591,10 +591,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 @@ -602,7 +602,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -620,10 +620,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 @@ -631,7 +631,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -649,10 +649,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -660,7 +660,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -678,10 +678,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -701,10 +701,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -724,10 +724,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -757,10 +757,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -778,9 +778,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -788,10 +788,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -799,7 +799,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -817,10 +817,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -850,10 +850,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 diff --git a/test/expect/backup-archive-push-004.log b/test/expect/backup-archive-push-004.log index 34be908583..a32cf53810 100644 --- a/test/expect/backup-archive-push-004.log +++ b/test/expect/backup-archive-push-004.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -24,10 +24,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -35,7 +35,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -62,7 +62,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -77,10 +77,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -98,7 +98,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -113,10 +113,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -134,7 +134,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -149,10 +149,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -191,7 +191,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -206,10 +206,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -227,15 +227,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -250,10 +250,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -261,7 +261,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -288,7 +288,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -303,10 +303,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -345,7 +345,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -360,10 +360,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -389,7 +389,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -404,10 +404,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 @@ -415,7 +415,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -442,7 +442,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -457,10 +457,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 @@ -468,7 +468,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -495,7 +495,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -510,10 +510,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000004 @@ -521,7 +521,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -548,7 +548,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -563,10 +563,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -574,7 +574,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -601,7 +601,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -616,10 +616,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -637,7 +637,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -652,10 +652,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -673,7 +673,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -688,10 +688,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -730,7 +730,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -745,10 +745,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -766,15 +766,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -789,10 +789,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -800,7 +800,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -827,7 +827,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -842,10 +842,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -884,7 +884,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -899,10 +899,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -928,7 +928,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -943,10 +943,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000006 @@ -954,7 +954,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -981,7 +981,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -996,10 +996,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000007 @@ -1007,7 +1007,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1034,7 +1034,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1049,10 +1049,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000008 @@ -1060,7 +1060,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1087,7 +1087,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1102,10 +1102,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1113,7 +1113,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1140,7 +1140,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1155,10 +1155,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1176,7 +1176,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1191,10 +1191,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1212,7 +1212,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1227,10 +1227,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1269,7 +1269,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1284,10 +1284,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1305,15 +1305,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --spool-path=[TEST_PATH]/db-master/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/repo --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1328,10 +1328,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = false, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1339,7 +1339,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -1366,7 +1366,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1381,10 +1381,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 @@ -1423,7 +1423,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1438,10 +1438,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = true, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000009 diff --git a/test/expect/backup-archive-push-005.log b/test/expect/backup-archive-push-005.log index c4eecf8b8d..1e1035c5ed 100644 --- a/test/expect/backup-archive-push-005.log +++ b/test/expect/backup-archive-push-005.log @@ -13,9 +13,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -37,7 +37,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -61,7 +61,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -127,7 +127,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -155,7 +155,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -169,9 +169,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -181,9 +181,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -205,7 +205,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -233,7 +233,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -259,9 +259,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -283,9 +283,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -307,9 +307,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -331,9 +331,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -355,7 +355,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -379,7 +379,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -403,7 +403,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -431,7 +431,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -445,9 +445,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -457,9 +457,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -481,7 +481,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -509,7 +509,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -535,9 +535,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -559,9 +559,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -583,9 +583,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -607,9 +607,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -631,7 +631,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -655,7 +655,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -679,7 +679,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -707,7 +707,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -721,9 +721,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -733,9 +733,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -757,7 +757,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -785,7 +785,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/backup-archive-push-006.log b/test/expect/backup-archive-push-006.log index 3b93365646..3badb27573 100644 --- a/test/expect/backup-archive-push-006.log +++ b/test/expect/backup-archive-push-006.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -29,9 +29,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -60,7 +60,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -80,7 +80,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -100,7 +100,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -120,7 +120,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -152,7 +152,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -207,7 +207,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -227,7 +227,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -262,7 +262,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -282,7 +282,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -296,15 +296,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -324,9 +324,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -355,7 +355,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -375,7 +375,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -410,7 +410,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -430,7 +430,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -452,7 +452,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -472,9 +472,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -503,7 +503,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -523,9 +523,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -554,7 +554,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -574,9 +574,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -605,7 +605,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -625,9 +625,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -656,7 +656,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -676,7 +676,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -696,7 +696,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -716,7 +716,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -736,7 +736,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -756,7 +756,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -791,7 +791,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -811,7 +811,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -825,15 +825,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -853,9 +853,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -884,7 +884,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -904,7 +904,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -939,7 +939,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -959,7 +959,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -981,7 +981,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1001,9 +1001,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1032,7 +1032,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1052,9 +1052,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1083,7 +1083,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1103,9 +1103,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1134,7 +1134,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1154,9 +1154,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1185,7 +1185,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1205,7 +1205,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1225,7 +1225,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1245,7 +1245,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1265,7 +1265,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1285,7 +1285,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -1320,7 +1320,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1340,7 +1340,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1354,15 +1354,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1382,9 +1382,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1413,7 +1413,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1433,7 +1433,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -1468,7 +1468,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1488,7 +1488,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/backup-archive-push-007.log b/test/expect/backup-archive-push-007.log index f027616659..527588d5ab 100644 --- a/test/expect/backup-archive-push-007.log +++ b/test/expect/backup-archive-push-007.log @@ -13,9 +13,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -37,7 +37,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -61,7 +61,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -85,7 +85,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -113,7 +113,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -127,9 +127,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -139,9 +139,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -163,7 +163,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -191,7 +191,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -217,9 +217,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -241,9 +241,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -265,9 +265,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -289,9 +289,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -313,7 +313,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -337,7 +337,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -361,7 +361,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -389,7 +389,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -403,9 +403,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -415,9 +415,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -439,7 +439,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -467,7 +467,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -493,9 +493,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000006, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -517,9 +517,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000007, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -541,9 +541,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000008, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -565,9 +565,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -589,7 +589,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -613,7 +613,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -637,7 +637,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -665,7 +665,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -679,9 +679,9 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->push(): bAsync = false, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = backup @@ -691,9 +691,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -715,7 +715,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -743,7 +743,7 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/backup-archive-push-008.log b/test/expect/backup-archive-push-008.log index 9ece0db823..6b20304492 100644 --- a/test/expect/backup-archive-push-008.log +++ b/test/expect/backup-archive-push-008.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -29,9 +29,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -60,7 +60,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -80,7 +80,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -100,7 +100,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -120,7 +120,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -140,7 +140,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -160,7 +160,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -195,7 +195,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -215,7 +215,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -229,15 +229,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -257,9 +257,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -288,7 +288,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -308,7 +308,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -343,7 +343,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -363,7 +363,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -385,7 +385,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -405,9 +405,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -436,7 +436,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -456,9 +456,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -487,7 +487,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -507,9 +507,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000004, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000004.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000004-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -538,7 +538,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -558,9 +558,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -589,7 +589,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -609,7 +609,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -629,7 +629,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -649,7 +649,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -669,7 +669,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -689,7 +689,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -724,7 +724,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -744,7 +744,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -758,15 +758,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -786,9 +786,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -817,7 +817,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -837,7 +837,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -872,7 +872,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -892,7 +892,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000005.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -914,7 +914,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -934,9 +934,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000006, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000006.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000006-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -965,7 +965,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -985,9 +985,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000007, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000007.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000007-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1016,7 +1016,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1036,9 +1036,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000008, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000008.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000008-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1067,7 +1067,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1087,9 +1087,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1118,7 +1118,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1138,7 +1138,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1158,7 +1158,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1178,7 +1178,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment system-id 6353949018581704918 does not match archive system-id 5000900090001855000 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -1198,7 +1198,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1218,7 +1218,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -1253,7 +1253,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1273,7 +1273,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 @@ -1287,15 +1287,15 @@ P00 DEBUG: Common::Lock::lockRelease(): bFailOnNoLock = false P00 INFO: archive-push command end: aborted with exception [120] P00 DEBUG: Common::Exit::exitSafe=>: iExitCode = 120 -> [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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-fork --stanza=db archive-push --no-repo-sync [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --spool-path=[TEST_PATH]/db-master/spool --stanza=db +P00 INFO: archive-push command begin [BACKREST-VERSION]: --archive-async --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-1] --config=[TEST_PATH]/db-master/pgbackrest.conf --db-path=[TEST_PATH]/db-master/db/base --no-fork --lock-path=[TEST_PATH]/db-master/spool/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/spool/log --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --spool-path=[TEST_PATH]/db-master/spool --stanza=db P00 INFO: push WAL segment [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial asynchronously P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000009.partial P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1315,9 +1315,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = false, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000009.partial.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -1346,7 +1346,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1366,7 +1366,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 72b9da071c13957fb4ca31f05dbd5c644297c2f7 @@ -1401,7 +1401,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -1421,7 +1421,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = true, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strWalSegment = 000000010000000100000009, ullDbSysId = 6353949018581704918 P00 DEBUG: File->hash(): bCompressed = [undef], strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = [undef], strPathType = db:absolute P00 DEBUG: File->hashSize(): bCompressed = , strFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000009.partial-1e34fa1c833090d94b9bb14f2a8d3153dca6ea27, strHashType = , strPathType = db:absolute P00 DEBUG: File->hashSize=>: iSize = 16777216, strHash = 1e34fa1c833090d94b9bb14f2a8d3153dca6ea27 diff --git a/test/expect/backup-archive-stop-001.log b/test/expect/backup-archive-stop-001.log index d273ae9790..e65a68489a 100644 --- a/test/expect/backup-archive-stop-001.log +++ b/test/expect/backup-archive-stop-001.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -24,10 +24,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -35,7 +35,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -62,7 +62,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -77,10 +77,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -98,7 +98,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -113,10 +113,10 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 ERROR: [199]: 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 @@ -153,10 +153,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -164,7 +164,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -194,10 +194,10 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 @@ -205,14 +205,14 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 @@ -220,7 +220,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 2 P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop diff --git a/test/expect/backup-archive-stop-002.log b/test/expect/backup-archive-stop-002.log index dde9c6d95a..2e47bca10f 100644 --- a/test/expect/backup-archive-stop-002.log +++ b/test/expect/backup-archive-stop-002.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -24,10 +24,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000001 @@ -35,7 +35,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop @@ -62,7 +62,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -77,10 +77,10 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -98,7 +98,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -113,10 +113,10 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 ERROR: [199]: 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 @@ -153,10 +153,10 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000005 @@ -164,7 +164,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 @@ -194,10 +194,10 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000002 @@ -205,14 +205,14 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: File->pathCreate(): bCreateParents = true, bIgnoreExists = true, strMode = <0750>, strPath = [undef], strPathType = backup:archive P00 DEBUG: ArchiveInfo->new(): bRequired = , strArchiveClusterPath = [TEST_PATH]/db-master/repo/archive/db -P00 DEBUG: ArchiveInfo->check(): strDbVersion = 9.4, ullDbSysId = 6353949018581704918 +P00 DEBUG: ArchiveInfo->check(): bPathSync = true, strDbVersion = 9.4, ullDbSysId = 6353949018581704918 P00 DEBUG: ArchiveInfo->archiveId=>: strArchiveId = 9.4-1 P00 DEBUG: ArchiveInfo->check=>: strArchiveId = 9.4-1 P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000010000000100000003 @@ -220,7 +220,7 @@ P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^0000000100 P00 DEBUG: File->list=>: stryFileList = () P00 DEBUG: Archive->walFileName=>: strWalFileName = [undef] P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/repo/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 2 P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/repo/archive/db/out, strStopFile = [TEST_PATH]/db-master/repo/stop/db-archive.stop diff --git a/test/expect/backup-archive-stop-003.log b/test/expect/backup-archive-stop-003.log index bbd0803e6c..d2169520c0 100644 --- a/test/expect/backup-archive-stop-003.log +++ b/test/expect/backup-archive-stop-003.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -29,9 +29,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -60,7 +60,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -80,7 +80,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -100,7 +100,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -120,7 +120,7 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 ERROR: [199]: 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 @@ -161,9 +161,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -200,15 +200,15 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 2 P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop diff --git a/test/expect/backup-archive-stop-004.log b/test/expect/backup-archive-stop-004.log index 5a53939ed5..2302ade8ae 100644 --- a/test/expect/backup-archive-stop-004.log +++ b/test/expect/backup-archive-stop-004.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -29,9 +29,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -60,7 +60,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -91,7 +91,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -143,9 +143,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000005, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -182,15 +182,15 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = false, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 2 P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop diff --git a/test/expect/backup-archive-stop-005.log b/test/expect/backup-archive-stop-005.log index 75761a9107..65910bae59 100644 --- a/test/expect/backup-archive-stop-005.log +++ b/test/expect/backup-archive-stop-005.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -29,9 +29,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -60,7 +60,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -80,7 +80,7 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 DEBUG: Common::Exit::exitSafe(): iExitCode = [undef], oException = [object], strSignal = [undef] @@ -100,7 +100,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -120,7 +120,7 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 ERROR: [119]: raised on backup host: WAL segment version 9.4 does not match archive version 8.0 HINT: are you archiving to the correct stanza? P00 ERROR: [199]: 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 @@ -161,9 +161,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -200,15 +200,15 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 2 P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop diff --git a/test/expect/backup-archive-stop-006.log b/test/expect/backup-archive-stop-006.log index c13a1992ff..f6b668f36b 100644 --- a/test/expect/backup-archive-stop-006.log +++ b/test/expect/backup-archive-stop-006.log @@ -9,7 +9,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -29,9 +29,9 @@ P00 INFO: WAL segments to archive: total = 1, size = 16MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000001, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000001.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 1 P00 DEBUG: Archive->pushProcess: transferred 1 WAL segment, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop @@ -60,7 +60,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -91,7 +91,7 @@ P00 DEBUG: Archive->push(): bAsync = true, strSourceFile = [TEST_PATH]/db-m P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/db-master/spool, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , 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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, 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] P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = false, bRemote = , iProcessIdx = [undef], strLockType = archive-push P00 DEBUG: Common::Lock::lockAcquire=>: bResult = true P00 DEBUG: Archive->pushProcess: no fork on archive local for TESTING @@ -143,9 +143,9 @@ P00 DEBUG: Protocol::CommonMaster->new(): iBufferMax = 4194304, iCompressLe P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005, strWalSegment = 000000010000000100000005, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-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] P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = backup @@ -182,15 +182,15 @@ P00 INFO: WAL segments to archive: total = 2, size = 32MB P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000002, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000002.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer: bArchiveFile = true, bDestinationCompress = true, bSourceCompressed = false, strFile = 000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo(): strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7 P00 DEBUG: Archive->walInfo=>: strDbVersion = 9.4, ullDbSysId = 6353949018581704918 -P00 DEBUG: Archive->pushCheck(): bPartial = false, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 +P00 DEBUG: Archive->pushCheck(): bPartial = false, bPathSync = true, oFile = [object], strDbVersion = 9.4, strWalFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strWalSegment = 000000010000000100000003, ullDbSysId = 6353949018581704918 P00 DEBUG: Archive->pushCheck=>: strArchiveId = 9.4-1, strChecksum = [undef] -P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = true, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = , bPathSync = true, bSourceCompressed = false, lModificationTime = [undef], strDestinationFile = 9.4-1/000000010000000100000003.gz, strDestinationPathType = backup:archive, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db-master/spool/archive/db/out/000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7, strSourcePathType = db:absolute, strUser = [undef] P00 DEBUG: Archive->xfer=>: lFileTotal = 2 P00 DEBUG: Archive->pushProcess: transferred 2 WAL segments, calling Archive->xfer() again P00 DEBUG: Archive->xfer(): strArchivePath = [TEST_PATH]/db-master/spool/archive/db/out, strStopFile = [TEST_PATH]/db-master/spool/stop/db-archive.stop diff --git a/test/expect/backup-synthetic-001.log b/test/expect/backup-synthetic-001.log index 9ceab25b29..da1619c740 100644 --- a/test/expect/backup-synthetic-001.log +++ b/test/expect/backup-synthetic-001.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -93,22 +93,22 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_dynshmem, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_notify, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_replslot, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_serial, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_snapshots, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_subtrans, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_dynshmem, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_notify, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_replslot, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_serial, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_snapshots, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_subtrans, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -175,11 +175,11 @@ P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -596,22 +596,22 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_dynshmem, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_notify, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_replslot, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_serial, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_snapshots, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_subtrans, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_dynshmem, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_notify, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_replslot, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_serial, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_snapshots, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_subtrans, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -667,14 +667,51 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 8243 P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_dynshmem, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_notify, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_replslot, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_serial, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_snapshots, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat_tmp, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_subtrans, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_dynshmem, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_notify, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_replslot, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_serial, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_snapshots, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_subtrans, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -845,21 +882,21 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] P00 WARN: backup group for pg_data/base/16384/PG_VERSION was not mapped to a name, set to [USER-2] P00 WARN: backup user for pg_data/base/1/PG_VERSION was not mapped to a name, set to [USER-1] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -1047,12 +1084,44 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_dynshmem, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_notify, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_replslot, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_serial, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_snapshots, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_stat_tmp, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_subtrans, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_dynshmem, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_notify, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_replslot, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_serial, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_snapshots, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_stat_tmp, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_subtrans, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1481,14 +1550,29 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 18 P00 INFO: incr backup size = 18B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1781,14 +1865,35 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 25 P00 INFO: incr backup size = 25B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-002.log b/test/expect/backup-synthetic-002.log index c052166eef..5fcf16b5b9 100644 --- a/test/expect/backup-synthetic-002.log +++ b/test/expect/backup-synthetic-002.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -85,15 +85,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -160,11 +160,11 @@ P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -383,15 +383,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -447,14 +447,37 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 8243 P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -610,19 +633,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -767,12 +790,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1005,19 +1046,19 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/global/pg_control, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/global/pg_control, strSourcePathType = backup:cluster @@ -1062,14 +1103,45 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 18 P00 INFO: incr backup size = 18B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1324,22 +1396,22 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/2, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] @@ -1390,14 +1462,51 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 25 P00 INFO: incr backup size = 25B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-003.log b/test/expect/backup-synthetic-003.log index e4ff8b0fa6..9137e5f3a7 100644 --- a/test/expect/backup-synthetic-003.log +++ b/test/expect/backup-synthetic-003.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -85,15 +85,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -160,11 +160,11 @@ P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -381,15 +381,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -445,14 +445,37 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 8243 P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -606,19 +629,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -763,12 +786,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1034,14 +1075,29 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 18 P00 INFO: incr backup size = 18B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1313,14 +1369,35 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 25 P00 INFO: incr backup size = 25B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-004.log b/test/expect/backup-synthetic-004.log index 4c379e04ee..7f27d985d6 100644 --- a/test/expect/backup-synthetic-004.log +++ b/test/expect/backup-synthetic-004.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 +> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --no-online --manifest-save-threshold=3 --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --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-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/db-master/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -85,15 +85,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -160,11 +160,11 @@ P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -382,15 +382,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -446,14 +446,37 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 8243 P00 INFO: full backup size = 8KB P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -608,19 +631,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -765,12 +788,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1003,19 +1044,19 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/global/pg_control, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/global/pg_control, strSourcePathType = backup:cluster @@ -1060,14 +1101,45 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 18 P00 INFO: incr backup size = 18B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1321,22 +1393,22 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/2, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] @@ -1387,14 +1459,51 @@ P00 DEBUG: Backup->processManifest=>: lSizeTotal = 25 P00 INFO: incr backup size = 25B P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/db-master/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/db-master/repo/temp/db.tmp to [TEST_PATH]/db-master/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/db-master/pgbackrest.conf --lock-path=[TEST_PATH]/db-master/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/db-master/repo/log --repo-path=[TEST_PATH]/db-master/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-005.log b/test/expect/backup-synthetic-005.log index adc2c43bb4..598cc26885 100644 --- a/test/expect/backup-synthetic-005.log +++ b/test/expect/backup-synthetic-005.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 --cmd-ssh=/usr/bin/ssh --type=full --stanza=db backup +> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --protocol-timeout=2 --db-timeout=1 --cmd-ssh=/usr/bin/ssh --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-timeout=1 --db-user=[USER-1] --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-timeout=1 --db-user=[USER-1] --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --protocol-timeout=2 --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -76,15 +76,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <1>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -153,11 +153,11 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -746,15 +746,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -812,14 +812,37 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1007,19 +1030,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -1164,12 +1187,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1428,14 +1469,29 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1721,14 +1777,35 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-006.log b/test/expect/backup-synthetic-006.log index b594c58213..cd6340ff70 100644 --- a/test/expect/backup-synthetic-006.log +++ b/test/expect/backup-synthetic-006.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 --cmd-ssh=/usr/bin/ssh --type=full --stanza=db backup +> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --cmd-ssh=/usr/bin/ssh --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -76,15 +76,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -153,11 +153,11 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -389,15 +389,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 0, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -455,14 +455,37 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -642,19 +665,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -799,12 +822,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1028,19 +1069,19 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/global/pg_control, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/global/pg_control, strSourcePathType = backup:cluster @@ -1087,14 +1128,45 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1357,22 +1429,22 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/2, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] @@ -1425,14 +1497,51 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --no-compress --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-007.log b/test/expect/backup-synthetic-007.log index 4b5c9964cf..c2e3621376 100644 --- a/test/expect/backup-synthetic-007.log +++ b/test/expect/backup-synthetic-007.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 --cmd-ssh=/usr/bin/ssh --type=full --stanza=db backup +> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --cmd-ssh=/usr/bin/ssh --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -76,15 +76,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -153,11 +153,11 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -386,15 +386,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -452,14 +452,37 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -636,19 +659,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -793,12 +816,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1057,14 +1098,29 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1345,14 +1401,35 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/expect/backup-synthetic-008.log b/test/expect/backup-synthetic-008.log index a61fca5c8c..3d0a023e42 100644 --- a/test/expect/backup-synthetic-008.log +++ b/test/expect/backup-synthetic-008.log @@ -30,9 +30,9 @@ P00 ERROR: [145]: link '[TEST_PATH]/db-master/db/base/postgresql.conf.bad' -> ' P00 INFO: backup command end: aborted with exception [145] 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 --cmd-ssh=/usr/bin/ssh --type=full --stanza=db backup +> [CONTAINER-EXEC] backup [BACKREST-BIN] --config=[TEST_PATH]/backup/pgbackrest.conf --no-online --manifest-save-threshold=3 --cmd-ssh=/usr/bin/ssh --no-repo-sync --type=full --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --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 +P00 INFO: backup command begin [BACKREST-VERSION]: --cmd-ssh=/usr/bin/ssh --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-path=[TEST_PATH]/db-master/db/base --db-user=[USER-1] --hardlink --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --manifest-save-threshold=3 --no-online --repo-path=[TEST_PATH]/backup/repo --no-repo-sync --stanza=db --start-fast --type=full P00 WARN: option retention-full is not set, the repository may run out of space HINT: to retain full backups indefinitely (without warning), set option 'retention-full' to the maximum. P00 DEBUG: Common::Lock::lockAcquire(): bFailOnNoLock = , bRemote = , iProcessIdx = [undef], strLockType = backup @@ -76,15 +76,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, [undef], 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, [undef], 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -153,11 +153,11 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRem P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 P00 INFO: new backup label = [BACKUP-FULL-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = false, strDestinationFile = backup.history/2016/[BACKUP-FULL-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-1], strSourcePathType = backup:cluster P00 INFO: backup command end: completed successfully @@ -387,15 +387,15 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control, pg_data/global/pg_control, 8192, 89373d9f2973502940de06bc5212489df3f8a912, 1, [MODIFICATION-TIME-1], 0), strKey = pg_data/global/pg_control, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, pg_data/postgresql.conf, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/postgresql.conf, strOp = backupFile, strQueue = pg_data P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, pg_data/pg_stat/global.stat, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 1, [MODIFICATION-TIME-1], 1), strKey = pg_data/pg_stat/global.stat, strOp = backupFile, strQueue = pg_data @@ -453,14 +453,37 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-FULL-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-FULL-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-FULL-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-FULL-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-FULL-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -638,19 +661,19 @@ P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmast P00 DEBUG: File->exists=>: bExists = false P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/PG_VERSION, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.info, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = backup.info, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: BackupInfo->new(): bValidate = false, strBackupClusterPath = [TEST_PATH]/db-master/db/base -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.info, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: BackupInfo->current(): strBackup = [BACKUP-FULL-2] P00 DEBUG: BackupInfo->current=>: bTest = true P00 INFO: restore backup set [BACKUP-FULL-2] P00 DEBUG: File->exists(): strPath = [BACKUP-FULL-2], strPathType = backup:cluster P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = , bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = [TEST_PATH]/db-master/db/base/backup.manifest, strDestinationPathType = db:absolute, strGroup = [undef], strMode = <0640>, strSourceFile = [BACKUP-FULL-2]/backup.manifest, strSourcePathType = backup:cluster, strUser = [undef] P00 DEBUG: Restore->manifestOwnershipCheck(): oManifest = [object] -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute -P00 DEBUG: File->remove=>: bRemoved = true +P00 DEBUG: File->remove(): bIgnoreMissing = true, bPathSync = , bTemp = true, strPath = [TEST_PATH]/db-master/db/base/global/pg_control, strPathType = db:absolute +P00 DEBUG: File->remove=>: bRemoved = false P00 DEBUG: Restore->clean(): oManifest = [object] P00 DETAIL: check [TEST_PATH]/db-master/db/base exists P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute @@ -795,12 +818,30 @@ P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/PG_VERSION - exists and m P00 DEBUG: Protocol::LocalProcess->process: all jobs complete P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->exists=>: bExists = true -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/recovery.conf, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 INFO: write [TEST_PATH]/db-master/db/base/recovery.conf +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifest(): strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = base, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/1, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/16384, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = base/32768, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = global, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_clog, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/1, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/16384, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/base/32768, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/global, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_clog, strPathType = db:absolute +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [TEST_PATH]/db-master/db/base/pg_tblspc, strPathType = db:absolute P00 INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started) -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute -P00 DEBUG: File->remove(): bIgnoreMissing = false, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = true, strDestinationFile = [TEST_PATH]/db-master/db/base/global/pg_control, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strSourcePathType = db:absolute +P00 DEBUG: File->remove(): bIgnoreMissing = false, bPathSync = true, bTemp = [undef], strPath = [TEST_PATH]/db-master/db/base/backup.manifest, strPathType = db:absolute P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: Common::Exit::exitSafe(): iExitCode = 0, oException = [undef], strSignal = [undef] P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemoteIdx = [undef], strRemoteType = [undef] @@ -1024,19 +1065,19 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/global/pg_control, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/global/pg_control, strSourcePathType = backup:cluster @@ -1083,14 +1124,45 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-1] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-1] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-1], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-1].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-1], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none @@ -1351,22 +1423,22 @@ P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = 1, oParam = [und P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = db P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1 -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp -P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = , strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathCreate(): bCreateParents = , bIgnoreExists = true, strMode = <0750>, strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/1, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/1, strSourcePathType = backup:tmp P00 DEBUG: File->linkCreate(): bHard = false, bPathCreate = , bRelative = true, strDestinationFile = pg_data/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = pg_tblspc/2, strSourcePathType = backup:tmp P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [BACKUP-FULL-2] @@ -1419,14 +1491,51 @@ P00 DEBUG: Protocol::Protocol::protocolDestroy(): bComplete = true, iRemote P00 DEBUG: Protocol::Protocol::protocolDestroy: found cached protocol: iRemoteIdx = 1, strRemoteType = db P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0 P00 DEBUG: Protocol::Protocol::protocolDestroy=>: iExitStatus = 0 +P00 DEBUG: File->pathSync(): bRecursive = true, strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifest(): strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_data, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/base, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_data/base/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/global, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_clog, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_stat, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_data/pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/1/[TS_PATH-1]/16384, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 2, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 3, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1], strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->manifestRecurse(): iDepth = 4, oManifestHashRef = [hash], strPathFileOp = pg_tblspc/2/[TS_PATH-1]/32768, strPathOp = [TEST_PATH]/backup/repo/temp/db.tmp, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/base/32768, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/global, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_clog, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_stat, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_data/pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/1/[TS_PATH-1]/16384, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2, strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1], strPathType = backup:tmp +P00 DEBUG: File->pathSync(): bRecursive = , strPath = pg_tblspc/2/[TS_PATH-1]/32768, strPathType = backup:tmp P00 INFO: new backup label = [BACKUP-INCR-2] -P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] +P00 DEBUG: File->copy(): bAppendChecksum = , bDestinationCompress = true, bDestinationPathCreate = , bIgnoreMissingSource = , bPathSync = , bSourceCompressed = , lModificationTime = [undef], strDestinationFile = backup.manifest.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = backup.manifest, strSourcePathType = backup:tmp, strUser = [undef] P00 DEBUG: Backup->process: move [TEST_PATH]/backup/repo/temp/db.tmp to [TEST_PATH]/backup/repo/backup/db/[BACKUP-INCR-2] -P00 DEBUG: File->move(): bDestinationPathCreate = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp -P00 DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster -P00 DEBUG: File->remove(): bIgnoreMissing = , bTemp = [undef], strPath = latest, strPathType = backup:cluster +P00 DEBUG: File->move(): bDestinationPathCreate = , bPathSync = , strDestinationFile = [BACKUP-INCR-2], strDestinationPathType = backup:cluster, strSourceFile = [undef], strSourcePathType = backup:tmp +P00 DEBUG: File->move(): bDestinationPathCreate = true, bPathSync = true, strDestinationFile = backup.history/2016/[BACKUP-INCR-2].manifest.gz, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2]/backup.manifest.gz, strSourcePathType = backup:cluster +P00 DEBUG: File->remove(): bIgnoreMissing = , bPathSync = , bTemp = [undef], strPath = latest, strPathType = backup:cluster P00 DEBUG: File->remove=>: bRemoved = true P00 DEBUG: File->linkCreate(): bHard = , bPathCreate = , bRelative = true, strDestinationFile = latest, strDestinationPathType = backup:cluster, strSourceFile = [BACKUP-INCR-2], strSourcePathType = backup:cluster +P00 DEBUG: File->pathSync(): bRecursive = , strPath = [undef], strPathType = backup:cluster P00 INFO: backup command end: completed successfully P00 INFO: expire command begin [BACKREST-VERSION]: --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --lock-path=[TEST_PATH]/backup/repo/lock --log-level-console=debug --log-level-file=trace --log-level-stderr=off --log-path=[TEST_PATH]/backup/repo/log --repo-path=[TEST_PATH]/backup/repo --stanza=db P00 DEBUG: Protocol::Protocol::protocolGet(): iRemoteIdx = <1>, oParam = [undef], strRemoteType = none diff --git a/test/lib/pgBackRestTest/Backup/BackupTest.pm b/test/lib/pgBackRestTest/Backup/BackupTest.pm index c81cc9218c..a3c5016b91 100755 --- a/test/lib/pgBackRestTest/Backup/BackupTest.pm +++ b/test/lib/pgBackRestTest/Backup/BackupTest.pm @@ -340,7 +340,8 @@ sub backupTestRun &log(INFO, ' test .partial archive'); ($strArchiveFile, $strSourceFile) = archiveGenerate($oFile, $strXlogPath, 2, $iArchiveNo, WAL_VERSION_94, true); - $oHostDbMaster->executeSimple($strCommand . " ${strSourceFile}", {oLogTest => $oLogTest}); + $oHostDbMaster->executeSimple( + $strCommand . " --no-" . OPTION_REPO_SYNC . " ${strSourceFile}", {oLogTest => $oLogTest}); archiveCheck($oFile, $strArchiveFile, $strArchiveChecksum, $bCompress); # Test .partial archive duplicate @@ -963,7 +964,7 @@ sub backupTestRun $strFullBackup = $oHostBackup->backup( $strType, 'create pg_stat link, pg_clog dir', {oExpectedManifest => \%oManifest, - strOptionalParam => $strOptionalParam . ($bRemote ? ' --cmd-ssh=/usr/bin/ssh' : ''), + strOptionalParam => $strOptionalParam . ($bRemote ? ' --cmd-ssh=/usr/bin/ssh' : '') . ' --no-' . OPTION_REPO_SYNC, strTest => $strTestPoint, fTestDelay => 0}); diff --git a/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm b/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm index 2e263a8dd6..14f79d8994 100644 --- a/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm +++ b/test/lib/pgBackRestTest/Backup/Common/ExpireCommonTest.pm @@ -306,7 +306,7 @@ sub archiveCreate do { my $strPath = "$$oStanza{strArchiveClusterPath}/" . substr($strArchive, 0, 16); - filePathCreate($strPath); + filePathCreate($strPath, undef, true); my $strFile = "${strPath}/${strArchive}-0000000000000000000000000000000000000000" . ($iArchiveIdx % 2 == 0 ? '.gz' : ''); testFileCreate($strFile, 'ARCHIVE'); diff --git a/test/lib/pgBackRestTest/Common/ExecuteTest.pm b/test/lib/pgBackRestTest/Common/ExecuteTest.pm index 3aab83bffb..67afb053c5 100644 --- a/test/lib/pgBackRestTest/Common/ExecuteTest.pm +++ b/test/lib/pgBackRestTest/Common/ExecuteTest.pm @@ -227,8 +227,8 @@ sub endRetry { confess &log(ERROR, "command '$self->{strCommand}' returned " . $iExitStatus . ($self->{iExpectedExitStatus} != 0 ? ", but $self->{iExpectedExitStatus} was expected" : '') . "\n" . - ($self->{strOutLog} ne '' ? "STDOUT (last 10,000 characters):\n" . substr($self->{strOutLog}, - length($self->{strOutLog}) - 10000) : '') . + ($self->{strOutLog} ne '' ? "STDOUT (last 20,000 characters):\n" . substr($self->{strOutLog}, + length($self->{strOutLog}) - 20000) : '') . ($self->{strErrorLog} ne '' ? "STDERR:\n$self->{strErrorLog}" : '')); } } diff --git a/test/test.pl b/test/test.pl index 2e3ae2382b..3331d35369 100755 --- a/test/test.pl +++ b/test/test.pl @@ -301,7 +301,7 @@ =head1 SYNOPSIS } executeTest("sudo rm -rf ${strTestPath}/*"); - filePathCreate($strTestPath); + filePathCreate($strTestPath, undef, true); } if ($bDryRun) @@ -445,8 +445,6 @@ =head1 SYNOPSIS { my $fTestStartTime = gettimeofday(); - filePathCreate($strVmTestPath, '0777', undef, true); - # Set permissions on the Docker test directory. This can be removed once users/groups are sync'd between # Docker and the host VM. if ($$oTest{&TEST_CONTAINER})