mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Improved consistency and flexibility of the protocol layer by using JSON for all messages.
This commit is contained in:
parent
b7f1738200
commit
2e01e6b9e1
@ -156,6 +156,10 @@
|
||||
<p>Abstracted code to determine which database cluster is the master and which are standbys.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Improved consistency and flexibility of the protocol layer by using JSON for all messages.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Improved <code>IO->bufferRead</code> to always return requested number of bytes until EOF.</p>
|
||||
</release-item>
|
||||
|
@ -427,14 +427,7 @@ sub getCheck
|
||||
|
||||
if ($oFile->isRemote(PATH_BACKUP_ARCHIVE))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
# Pass the database information to the remote server
|
||||
$oParamHash{'db-version'} = $strDbVersion;
|
||||
$oParamHash{'db-sys-id'} = $ullDbSysId;
|
||||
|
||||
$strArchiveId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_CHECK, \%oParamHash, true);
|
||||
$strArchiveId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_CHECK, [$strDbVersion, $ullDbSysId], true);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -491,16 +484,8 @@ sub getBackupInfoCheck
|
||||
|
||||
if ($oFile->isRemote(PATH_BACKUP))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
# Pass the database information to the remote server
|
||||
$oParamHash{'db-version'} = $strDbVersion;
|
||||
$oParamHash{'db-control-version'} = $iControlVersion;
|
||||
$oParamHash{'db-catalog-version'} = $iCatalogVersion;
|
||||
$oParamHash{'db-sys-id'} = $ullDbSysId;
|
||||
|
||||
$iDbHistoryId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_BACKUP_INFO_CHECK, \%oParamHash, false);
|
||||
$iDbHistoryId = $oFile->{oProtocol}->cmdExecute(
|
||||
OP_ARCHIVE_GET_BACKUP_INFO_CHECK, [$strDbVersion, $iControlVersion, $iCatalogVersion, $ullDbSysId]);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -829,29 +814,14 @@ sub pushCheck
|
||||
);
|
||||
|
||||
# Set operation and debug strings
|
||||
my $strChecksum;
|
||||
my $strArchiveId;
|
||||
my $strChecksum;
|
||||
|
||||
if ($oFile->isRemote(PATH_BACKUP_ARCHIVE))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{'wal-segment'} = $strWalSegment;
|
||||
$oParamHash{'partial'} = $bPartial;
|
||||
$oParamHash{'db-version'} = $strDbVersion;
|
||||
$oParamHash{'db-sys-id'} = $ullDbSysId;
|
||||
|
||||
# Execute the command
|
||||
my $strResult = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_PUSH_CHECK, \%oParamHash, true);
|
||||
|
||||
$strArchiveId = (split("\t", $strResult))[0];
|
||||
$strChecksum = (split("\t", $strResult))[1];
|
||||
|
||||
if ($strChecksum eq 'Y')
|
||||
{
|
||||
undef($strChecksum);
|
||||
}
|
||||
($strArchiveId, $strChecksum) = $oFile->{oProtocol}->cmdExecute(
|
||||
OP_ARCHIVE_PUSH_CHECK, [$strWalSegment, $bPartial, undef, $strDbVersion, $ullDbSysId], true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -23,7 +23,6 @@ use pgBackRest::ArchiveCommon;
|
||||
use pgBackRest::BackupCommon;
|
||||
use pgBackRest::BackupFile;
|
||||
use pgBackRest::BackupInfo;
|
||||
use pgBackRest::BackupProcess;
|
||||
use pgBackRest::Common::String;
|
||||
use pgBackRest::Config::Config;
|
||||
use pgBackRest::Db;
|
||||
@ -32,6 +31,7 @@ use pgBackRest::File;
|
||||
use pgBackRest::FileCommon;
|
||||
use pgBackRest::Manifest;
|
||||
use pgBackRest::Protocol::Common;
|
||||
use pgBackRest::Protocol::LocalProcess;
|
||||
use pgBackRest::Protocol::Protocol;
|
||||
use pgBackRest::Version;
|
||||
|
||||
@ -254,7 +254,7 @@ sub processManifest
|
||||
$oProtocolMaster->noOp();
|
||||
|
||||
# Initialize the backup process
|
||||
my $oBackupProcess = new pgBackRest::BackupProcess();
|
||||
my $oBackupProcess = new pgBackRest::Protocol::LocalProcess(DB);
|
||||
|
||||
if ($self->{iCopyRemoteIdx} != $self->{iMasterRemoteIdx})
|
||||
{
|
||||
@ -353,11 +353,12 @@ sub processManifest
|
||||
$lSizeTotal += $lSize;
|
||||
|
||||
# Queue for parallel backup
|
||||
$oBackupProcess->queueBackup(
|
||||
$iHostConfigIdx, $strQueueKey, $strRepoFile, $strDbFile, $strRepoFile, $bCompress,
|
||||
$oBackupManifest->numericGet(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_TIMESTAMP, false), $lSize,
|
||||
$oBackupManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_CHECKSUM, false),
|
||||
$bIgnoreMissing);
|
||||
$oBackupProcess->queueJob(
|
||||
$iHostConfigIdx, $strQueueKey, $strRepoFile, OP_BACKUP_FILE,
|
||||
[$strDbFile, $strRepoFile, $lSize,
|
||||
$oBackupManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_CHECKSUM, false), $bCompress,
|
||||
$oBackupManifest->numericGet(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_TIMESTAMP, false),
|
||||
$bIgnoreMissing]);
|
||||
|
||||
# Size and checksum will be removed and then verified later as a sanity check
|
||||
$oBackupManifest->remove(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_SIZE);
|
||||
@ -392,17 +393,14 @@ sub processManifest
|
||||
}
|
||||
|
||||
# Run the backup jobs and process results
|
||||
while (my $hyResult = $oBackupProcess->process())
|
||||
while (my $hyJob = $oBackupProcess->process())
|
||||
{
|
||||
foreach my $hResult (@{$hyResult})
|
||||
foreach my $hJob (@{$hyJob})
|
||||
{
|
||||
my $hFile = $hResult->{hPayload};
|
||||
|
||||
($lSizeCurrent, $lManifestSaveCurrent) = backupManifestUpdate(
|
||||
$oBackupManifest, optionGet(optionIndex(OPTION_DB_HOST, $hResult->{iHostConfigIdx}), false),
|
||||
$hResult->{iProcessId}, $$hFile{strRepoFile}, $$hFile{strDbFile}, $$hResult{iCopyResult}, $$hFile{lSize},
|
||||
$$hResult{lCopySize}, $$hResult{lRepoSize}, $lSizeTotal, $lSizeCurrent, $$hFile{strChecksum},
|
||||
$$hResult{strCopyChecksum}, $lManifestSaveSize, $lManifestSaveCurrent);
|
||||
$oBackupManifest, optionGet(optionIndex(OPTION_DB_HOST, $hJob->{iHostConfigIdx}), false), $hJob->{iProcessId},
|
||||
@{$hJob->{rParam}}[0..3], @{$hJob->{rResult}},
|
||||
$lSizeTotal, $lSizeCurrent, $lManifestSaveSize, $lManifestSaveCurrent);
|
||||
}
|
||||
|
||||
# A keep-alive is required here because if there are a large number of resumed files that need to be checksummed
|
||||
|
@ -43,23 +43,23 @@ sub backupFile
|
||||
$oFile, # File object
|
||||
$strDbFile, # Database file to backup
|
||||
$strRepoFile, # Location in the repository to copy to
|
||||
$bDestinationCompress, # Compress destination file
|
||||
$strChecksum, # File checksum to be checked
|
||||
$lModificationTime, # File modification time
|
||||
$lSizeFile, # File size
|
||||
$strChecksum, # File checksum to be checked
|
||||
$bDestinationCompress, # Compress destination file
|
||||
$lModificationTime, # File modification time
|
||||
$bIgnoreMissing, # Is it OK if the file is missing?
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '::backupFile', \@_,
|
||||
{name => 'oFile', trace => true},
|
||||
{name => OP_PARAM_DB_FILE, trace => true},
|
||||
{name => OP_PARAM_REPO_FILE, trace => true},
|
||||
{name => OP_PARAM_DESTINATION_COMPRESS, trace => true},
|
||||
{name => OP_PARAM_CHECKSUM, required => false, trace => true},
|
||||
{name => OP_PARAM_MODIFICATION_TIME, trace => true},
|
||||
{name => OP_PARAM_SIZE, trace => true},
|
||||
{name => OP_PARAM_IGNORE_MISSING, default => true, trace => true},
|
||||
{name => 'strDbFile', trace => true},
|
||||
{name => 'strRepoFile', trace => true},
|
||||
{name => 'lSizeFile', trace => true},
|
||||
{name => 'strChecksum', required => false, trace => true},
|
||||
{name => 'bDestinationCompress', trace => true},
|
||||
{name => 'lModificationTime', trace => true},
|
||||
{name => 'bIgnoreMissing', default => true, trace => true},
|
||||
);
|
||||
|
||||
my $iCopyResult = BACKUP_FILE_COPY; # Copy result
|
||||
@ -142,16 +142,16 @@ sub backupManifestUpdate
|
||||
$oManifest,
|
||||
$strHost,
|
||||
$iLocalId,
|
||||
$strRepoFile,
|
||||
$strDbFile,
|
||||
$iCopyResult,
|
||||
$strRepoFile,
|
||||
$lSize,
|
||||
$strChecksum,
|
||||
$iCopyResult,
|
||||
$lSizeCopy,
|
||||
$lSizeRepo,
|
||||
$strChecksumCopy,
|
||||
$lSizeTotal,
|
||||
$lSizeCurrent,
|
||||
$strChecksum,
|
||||
$strChecksumCopy,
|
||||
$lManifestSaveSize,
|
||||
$lManifestSaveCurrent
|
||||
) =
|
||||
@ -161,16 +161,22 @@ sub backupManifestUpdate
|
||||
{name => 'oManifest', trace => true},
|
||||
{name => 'strHost', required => false, trace => true},
|
||||
{name => 'iLocalId', required => false, trace => true},
|
||||
{name => 'strRepoFile', trace => true},
|
||||
|
||||
# Parameters to backupFile()
|
||||
{name => 'strDbFile', trace => true},
|
||||
{name => 'iCopyResult', trace => true},
|
||||
{name => 'strRepoFile', trace => true},
|
||||
{name => 'lSize', required => false, trace => true},
|
||||
{name => 'strChecksum', required => false, trace => true},
|
||||
|
||||
# Results from backupFile()
|
||||
{name => 'iCopyResult', trace => true},
|
||||
{name => 'lSizeCopy', required => false, trace => true},
|
||||
{name => 'lSizeRepo', required => false, trace => true},
|
||||
{name => 'strChecksumCopy', required => false, trace => true},
|
||||
|
||||
# Accumulators
|
||||
{name => 'lSizeTotal', trace => true},
|
||||
{name => 'lSizeCurrent', trace => true},
|
||||
{name => 'strChecksum', required => false, trace => true},
|
||||
{name => 'strChecksumCopy', required => false, trace => true},
|
||||
{name => 'lManifestSaveSize', trace => true},
|
||||
{name => 'lManifestSaveCurrent', trace => true}
|
||||
);
|
||||
|
@ -1,161 +0,0 @@
|
||||
####################################################################################################################################
|
||||
# PROTOCOL LOCAL GROUP MODULE
|
||||
####################################################################################################################################
|
||||
package pgBackRest::BackupProcess;
|
||||
use parent 'pgBackRest::Protocol::LocalProcess';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => qw(all);
|
||||
use Carp qw(confess);
|
||||
|
||||
use pgBackRest::BackupFile;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Config::Config;
|
||||
use pgBackRest::Protocol::Common;
|
||||
use pgBackRest::Version;
|
||||
|
||||
####################################################################################################################################
|
||||
# CONSTRUCTOR
|
||||
####################################################################################################################################
|
||||
sub new
|
||||
{
|
||||
my $class = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
(my $strOperation) = logDebugParam(__PACKAGE__ . '->new');
|
||||
|
||||
my $self = $class->SUPER::new(DB);
|
||||
bless $self, $class;
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'self', value => $self}
|
||||
);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# cmdResult
|
||||
#
|
||||
# Get the backup file result.
|
||||
####################################################################################################################################
|
||||
sub cmdResult
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$oLocal,
|
||||
$hJob,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->cmdResult', \@_,
|
||||
{name => 'oLocal', trace => true},
|
||||
{name => 'hJob', trace => true},
|
||||
);
|
||||
|
||||
my $strResult = $oLocal->outputRead(true);
|
||||
$hJob->{iCopyResult} = (split("\t", $strResult))[0];
|
||||
|
||||
if ($hJob->{iCopyResult} != BACKUP_FILE_SKIP)
|
||||
{
|
||||
$hJob->{lCopySize} = (split("\t", $strResult))[1];
|
||||
$hJob->{lRepoSize} = (split("\t", $strResult))[2];
|
||||
$hJob->{strCopyChecksum} = (split("\t", $strResult))[3];
|
||||
}
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# cmdSend
|
||||
#
|
||||
# Send the backup file command.
|
||||
####################################################################################################################################
|
||||
sub cmdSend
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$oLocal,
|
||||
$hJob,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->cmdSend', \@_,
|
||||
{name => 'oLocal', trace => true},
|
||||
{name => 'hJob', trace => true},
|
||||
);
|
||||
|
||||
$oLocal->cmdWrite(OP_BACKUP_FILE, $hJob->{hPayload});
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# queueBackup
|
||||
#
|
||||
# Queue a file for backup.
|
||||
####################################################################################################################################
|
||||
sub queueBackup
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$iHostConfigIdx,
|
||||
$strQueue,
|
||||
$strKey,
|
||||
$strDbFile,
|
||||
$strRepoFile,
|
||||
$bDestinationCompress,
|
||||
$lModificationTime,
|
||||
$lSize,
|
||||
$strChecksum,
|
||||
$bIgnoreMissing,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->queueBackup', \@_,
|
||||
{name => 'iHostConfigIdx'},
|
||||
{name => 'strQueue'},
|
||||
{name => 'strKey'},
|
||||
{name => &OP_PARAM_DB_FILE},
|
||||
{name => &OP_PARAM_REPO_FILE},
|
||||
{name => &OP_PARAM_DESTINATION_COMPRESS},
|
||||
{name => &OP_PARAM_MODIFICATION_TIME},
|
||||
{name => &OP_PARAM_SIZE},
|
||||
{name => &OP_PARAM_CHECKSUM, required => false},
|
||||
{name => &OP_PARAM_IGNORE_MISSING, required => false},
|
||||
);
|
||||
|
||||
$self->queueJob(
|
||||
$iHostConfigIdx,
|
||||
$strQueue,
|
||||
$strKey,
|
||||
{
|
||||
&OP_PARAM_DB_FILE => $strDbFile,
|
||||
&OP_PARAM_REPO_FILE => $strRepoFile,
|
||||
&OP_PARAM_DESTINATION_COMPRESS => $bDestinationCompress,
|
||||
&OP_PARAM_CHECKSUM => $strChecksum,
|
||||
&OP_PARAM_MODIFICATION_TIME => $lModificationTime,
|
||||
&OP_PARAM_SIZE => $lSize,
|
||||
&OP_PARAM_IGNORE_MISSING => $bIgnoreMissing,
|
||||
});
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
1;
|
@ -366,7 +366,8 @@ sub logDebugOut
|
||||
$strLevel = defined($strLevel) ? $strLevel : DEBUG;
|
||||
|
||||
if ($oLogLevelRank{$strLevel}{rank} <= $oLogLevelRank{$strLogLevelConsole}{rank} ||
|
||||
$oLogLevelRank{$strLevel}{rank} <= $oLogLevelRank{$strLogLevelFile}{rank})
|
||||
$oLogLevelRank{$strLevel}{rank} <= $oLogLevelRank{$strLogLevelFile}{rank} ||
|
||||
$oLogLevelRank{$strLevel}{rank} <= $oLogLevelRank{$strLogLevelStdOut}{rank})
|
||||
{
|
||||
if (defined($oParamHash))
|
||||
{
|
||||
@ -392,7 +393,32 @@ sub logDebugOut
|
||||
{
|
||||
if (ref($$oParamHash{$strParam}{value}) eq 'ARRAY')
|
||||
{
|
||||
$strValueRef = \('(' . join(', ', @{$$oParamHash{$strParam}{value}}) . ')');
|
||||
my $strValueArray;
|
||||
|
||||
for my $strValue (@{$$oParamHash{$strParam}{value}})
|
||||
{
|
||||
if (ref($strValue) eq 'ARRAY')
|
||||
{
|
||||
my $strSubValueArray;
|
||||
|
||||
for my $strSubValue (@{$strValue})
|
||||
{
|
||||
$strSubValueArray .=
|
||||
(defined($strSubValueArray) ? ', ' : '(') .
|
||||
(defined($strSubValue) ? $strSubValue : '[undef]');
|
||||
}
|
||||
|
||||
$strValueArray .= (defined($strValueArray) ? ', ' : '(') .
|
||||
(defined($strSubValueArray) ? $strSubValueArray . ')' : '()');
|
||||
}
|
||||
else
|
||||
{
|
||||
$strValueArray .=
|
||||
(defined($strValueArray) ? ', ' : '(') . (defined($strValue) ? $strValue : '[undef]');
|
||||
}
|
||||
}
|
||||
|
||||
$strValueRef = \(defined($strValueArray) ? $strValueArray . ')' : '()');
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -407,7 +433,15 @@ sub logDebugOut
|
||||
# If this is an ARRAY ref then create a comma-separated list
|
||||
elsif (ref($$oParamHash{$strParam}) eq 'ARRAY')
|
||||
{
|
||||
$strValueRef = \(join(', ', @{$$oParamHash{$strParam}}));
|
||||
my $strValueArray;
|
||||
|
||||
for my $strValue (@{$$oParamHash{$strParam}{value}})
|
||||
{
|
||||
$strValueArray .=
|
||||
(defined($strValueArray) ? ', ' : '(') . (defined($strValue) ? $strValue : '[undef]');
|
||||
}
|
||||
|
||||
$strValueRef = \(defined($strValueArray) ? $strValueArray . ')' : '()');
|
||||
}
|
||||
# Else get a reference if a reference was not passed
|
||||
else
|
||||
|
@ -11,54 +11,6 @@ use Exporter qw(import);
|
||||
our @EXPORT = qw();
|
||||
use File::Basename qw(dirname);
|
||||
|
||||
####################################################################################################################################
|
||||
# dataHashBuild
|
||||
#
|
||||
# Hash a delimited multi-line string with a header.
|
||||
####################################################################################################################################
|
||||
sub dataHashBuild
|
||||
{
|
||||
my $oHashRef = shift;
|
||||
my $strData = shift;
|
||||
my $strDelimiter = shift;
|
||||
my $strUndefinedKey = shift;
|
||||
|
||||
my @stryFile = split("\n", $strData);
|
||||
my @stryHeader = split($strDelimiter, $stryFile[0]);
|
||||
|
||||
for (my $iLineIdx = 1; $iLineIdx < scalar @stryFile; $iLineIdx++)
|
||||
{
|
||||
my @stryLine = split($strDelimiter, $stryFile[$iLineIdx]);
|
||||
|
||||
if (!defined($stryLine[0]) || $stryLine[0] eq '')
|
||||
{
|
||||
$stryLine[0] = $strUndefinedKey;
|
||||
}
|
||||
|
||||
for (my $iColumnIdx = 1; $iColumnIdx < scalar @stryHeader; $iColumnIdx++)
|
||||
{
|
||||
if (defined(${$oHashRef}{"$stryLine[0]"}{"$stryHeader[$iColumnIdx]"}))
|
||||
{
|
||||
confess 'the first column must be unique to build the hash';
|
||||
}
|
||||
|
||||
if (defined($stryLine[$iColumnIdx]) && $stryLine[$iColumnIdx] ne '')
|
||||
{
|
||||
if (scalar @stryHeader > 2)
|
||||
{
|
||||
$oHashRef->{$stryLine[0]}{$stryHeader[$iColumnIdx]} = $stryLine[$iColumnIdx];
|
||||
}
|
||||
else
|
||||
{
|
||||
$oHashRef->{$stryLine[0]} = $stryLine[$iColumnIdx];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
push @EXPORT, qw(dataHashBuild);
|
||||
|
||||
####################################################################################################################################
|
||||
# trim
|
||||
#
|
||||
|
@ -1279,6 +1279,7 @@ my $oConfigHelpData =
|
||||
'db-socket-path' => 'section',
|
||||
'db-timeout' => 'section',
|
||||
'db-user' => 'section',
|
||||
'lock-path' => 'section',
|
||||
'log-level-console' => 'section',
|
||||
'log-level-file' => 'section',
|
||||
'log-path' => 'section',
|
||||
|
@ -147,18 +147,8 @@ sub connect
|
||||
# Run remotely
|
||||
if ($self->{oProtocol}->isRemote())
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{'warn-on-error'} = $bWarnOnError;
|
||||
|
||||
# Execute the command
|
||||
$bResult = $self->{oProtocol}->cmdExecute(OP_DB_CONNECT, \%oParamHash, false, $bWarnOnError);
|
||||
|
||||
if (!defined($bResult))
|
||||
{
|
||||
$bResult = false;
|
||||
}
|
||||
# Set bResult to false if undef is returned
|
||||
$bResult = $self->{oProtocol}->cmdExecute(OP_DB_CONNECT, undef, false, $bWarnOnError) ? true : false;
|
||||
}
|
||||
# Else run locally
|
||||
else
|
||||
@ -253,20 +243,13 @@ sub executeSql
|
||||
);
|
||||
|
||||
# Get the user-defined command for psql
|
||||
my $strResult;
|
||||
my @stryResult;
|
||||
|
||||
# Run remotely
|
||||
if ($self->{oProtocol}->isRemote())
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{'script'} = $strSql;
|
||||
$oParamHash{'ignore-error'} = $bIgnoreError;
|
||||
$oParamHash{'result'} = $bResult;
|
||||
|
||||
# Execute the command
|
||||
$strResult = $self->{oProtocol}->cmdExecute(OP_DB_EXECUTE_SQL, \%oParamHash, $bResult);
|
||||
@stryResult = @{$self->{oProtocol}->cmdExecute(OP_DB_EXECUTE_SQL, [$strSql, $bIgnoreError, $bResult], $bResult)};
|
||||
}
|
||||
# Else run locally
|
||||
else
|
||||
@ -293,7 +276,7 @@ sub executeSql
|
||||
# return now if there is no result expected
|
||||
if (!$bResult)
|
||||
{
|
||||
return;
|
||||
return \@stryResult;
|
||||
}
|
||||
|
||||
if (!$hStatement->pg_result())
|
||||
@ -301,7 +284,7 @@ sub executeSql
|
||||
# Return if the error should be ignored
|
||||
if ($bIgnoreError)
|
||||
{
|
||||
return '';
|
||||
return \@stryResult;
|
||||
}
|
||||
|
||||
# Else report it
|
||||
@ -319,18 +302,7 @@ sub executeSql
|
||||
# If the row has data then add it to the result
|
||||
if (@stryRow)
|
||||
{
|
||||
# Add an LF after the first row
|
||||
$strResult .= (defined($strResult) ? "\n" : '');
|
||||
|
||||
# Add row to result
|
||||
for (my $iColumnIdx = 0; $iColumnIdx < @stryRow; $iColumnIdx++)
|
||||
{
|
||||
# Add tab between columns
|
||||
$strResult .= $iColumnIdx == 0 ? '' : "\t";
|
||||
|
||||
# Add column data
|
||||
$strResult .= defined($stryRow[$iColumnIdx]) ? $stryRow[$iColumnIdx] : '';
|
||||
}
|
||||
push(@{$stryResult[@stryResult]}, @stryRow);
|
||||
}
|
||||
# Else check for error
|
||||
elsif ($hStatement->err)
|
||||
@ -357,7 +329,7 @@ sub executeSql
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'strResult', value => $strResult}
|
||||
{name => 'stryResult', value => \@stryResult, ref => true}
|
||||
);
|
||||
}
|
||||
|
||||
@ -377,17 +349,14 @@ sub executeSqlRow
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->executeSqlRow', \@_,
|
||||
{name => 'strSql', trace => true}
|
||||
{name => 'strSql'}
|
||||
);
|
||||
|
||||
# Return from function and log return values if any
|
||||
my @stryResult = split("\t", $self->executeSql($strSql));
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'strResult', value => \@stryResult}
|
||||
{name => 'stryResult', value => @{$self->executeSql($strSql)}[0]}
|
||||
);
|
||||
}
|
||||
|
||||
@ -407,14 +376,14 @@ sub executeSqlOne
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->executeSqlOne', \@_,
|
||||
{name => 'strSql', trace => true}
|
||||
{name => 'strSql'}
|
||||
);
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'strResult', value => ($self->executeSqlRow($strSql))[0], trace => true}
|
||||
{name => 'strResult', value => @{@{$self->executeSql($strSql)}[0]}[0]}
|
||||
);
|
||||
}
|
||||
|
||||
@ -430,8 +399,12 @@ sub tablespaceMapGet
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my ($strOperation) = logDebugParam(__PACKAGE__ . '->tablespaceMapGet');
|
||||
|
||||
dataHashBuild(my $hTablespaceMap = {}, "oid\tname\n" . $self->executeSql(
|
||||
'select oid, spcname from pg_tablespace'), "\t");
|
||||
my $hTablespaceMap = {};
|
||||
|
||||
for my $strRow (@{$self->executeSql('select oid, spcname from pg_tablespace')})
|
||||
{
|
||||
$hTablespaceMap->{@{$strRow}[0]} = @{$strRow}[1];
|
||||
}
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
@ -453,8 +426,13 @@ sub databaseMapGet
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my ($strOperation) = logDebugParam(__PACKAGE__ . '->databaseMapGet');
|
||||
|
||||
dataHashBuild(my $hDatabaseMap = {}, "name\t" . MANIFEST_KEY_DB_ID . "\t" . MANIFEST_KEY_DB_LAST_SYSTEM_ID . "\n" .
|
||||
$self->executeSql('select datname, oid, datlastsysoid from pg_database'), "\t");
|
||||
my $hDatabaseMap = {};
|
||||
|
||||
for my $strRow (@{$self->executeSql('select datname, oid, datlastsysoid from pg_database')})
|
||||
{
|
||||
$hDatabaseMap->{@{$strRow}[0]}{&MANIFEST_KEY_DB_ID} = @{$strRow}[1];
|
||||
$hDatabaseMap->{@{$strRow}[0]}{&MANIFEST_KEY_DB_LAST_SYSTEM_ID} = @{$strRow}[2];
|
||||
}
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
@ -499,25 +477,10 @@ sub info
|
||||
#---------------------------------------------------------------------------------------------------------------------------
|
||||
if ($oFile->isRemote(PATH_DB_ABSOLUTE))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{'db-path'} = $strDbPath;
|
||||
|
||||
# Output remote trace info
|
||||
&log(TRACE, OP_DB_INFO . ": remote (" . $oFile->{oProtocol}->commandParamString(\%oParamHash) . ')');
|
||||
|
||||
# Execute the command
|
||||
my $strResult = $oFile->{oProtocol}->cmdExecute(OP_DB_INFO, \%oParamHash, true);
|
||||
|
||||
# Split the result into return values
|
||||
my @stryToken = split(/\t/, $strResult);
|
||||
|
||||
# Cache info so it does not need to read again for the same database
|
||||
$self->{info}{$strDbPath}{strDbVersion} = $stryToken[0];
|
||||
$self->{info}{$strDbPath}{iControlVersion} = $stryToken[1];
|
||||
$self->{info}{$strDbPath}{iCatalogVersion} = $stryToken[2];
|
||||
$self->{info}{$strDbPath}{ullDbSysId} = $stryToken[3];
|
||||
($self->{info}{$strDbPath}{strDbVersion}, $self->{info}{$strDbPath}{iDbControlVersion},
|
||||
$self->{info}{$strDbPath}{iDbCatalogVersion}, $self->{info}{$strDbPath}{ullDbSysId}) =
|
||||
$oFile->{oProtocol}->cmdExecute(OP_DB_INFO, [$strDbPath], true);
|
||||
}
|
||||
# Get info locally
|
||||
#---------------------------------------------------------------------------------------------------------------------------
|
||||
@ -542,27 +505,28 @@ sub info
|
||||
sysread($hFile, $tBlock, 4) == 4
|
||||
or confess &log(ERROR, "unable to read control version");
|
||||
|
||||
$self->{info}{$strDbPath}{iControlVersion} = unpack('L', $tBlock);
|
||||
$self->{info}{$strDbPath}{iDbControlVersion} = unpack('L', $tBlock);
|
||||
|
||||
# Read catalog version
|
||||
sysread($hFile, $tBlock, 4) == 4
|
||||
or confess &log(ERROR, "unable to read catalog version");
|
||||
|
||||
$self->{info}{$strDbPath}{iCatalogVersion} = unpack('L', $tBlock);
|
||||
$self->{info}{$strDbPath}{iDbCatalogVersion} = unpack('L', $tBlock);
|
||||
|
||||
# Close the control file
|
||||
close($hFile);
|
||||
|
||||
# Get PostgreSQL version
|
||||
$self->{info}{$strDbPath}{strDbVersion} =
|
||||
$$oPgControlVersionHash{$self->{info}{$strDbPath}{iControlVersion}}{$self->{info}{$strDbPath}{iCatalogVersion}};
|
||||
$oPgControlVersionHash->{$self->{info}{$strDbPath}{iDbControlVersion}}
|
||||
{$self->{info}{$strDbPath}{iDbCatalogVersion}};
|
||||
|
||||
if (!defined($self->{info}{$strDbPath}{strDbVersion}))
|
||||
{
|
||||
confess &log(
|
||||
ERROR,
|
||||
'unexpected control version = ' . $self->{info}{$strDbPath}{iControlVersion} .
|
||||
' and catalog version = ' . $self->{info}{$strDbPath}{iCatalogVersion} . "\n" .
|
||||
'unexpected control version = ' . $self->{info}{$strDbPath}{iDbControlVersion} .
|
||||
' and catalog version = ' . $self->{info}{$strDbPath}{iDbCatalogVersion} . "\n" .
|
||||
'HINT: is this version of PostgreSQL supported?',
|
||||
ERROR_VERSION_NOT_SUPPORTED);
|
||||
}
|
||||
@ -574,8 +538,8 @@ sub info
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'strDbVersion', value => $self->{info}{$strDbPath}{strDbVersion}},
|
||||
{name => 'iControlVersion', value => $self->{info}{$strDbPath}{iControlVersion}},
|
||||
{name => 'iCatalogVersion', value => $self->{info}{$strDbPath}{iCatalogVersion}},
|
||||
{name => 'iDbControlVersion', value => $self->{info}{$strDbPath}{iDbControlVersion}},
|
||||
{name => 'iDbCatalogVersion', value => $self->{info}{$strDbPath}{iDbCatalogVersion}},
|
||||
{name => 'ullDbSysId', value => $self->{info}{$strDbPath}{ullDbSysId}}
|
||||
);
|
||||
}
|
||||
@ -717,7 +681,10 @@ sub backupStop
|
||||
my ($strTimestampDbStop, $strArchiveStop, $strLsnStop, $strLabel, $strTablespaceMap) =
|
||||
$self->executeSqlRow(
|
||||
"select to_char(clock_timestamp(), 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(lsn), lsn::text, " .
|
||||
($self->{strDbVersion} >= PG_VERSION_96 ? 'labelfile, spcmapfile' : "null as labelfile, null as spcmapfile") .
|
||||
($self->{strDbVersion} >= PG_VERSION_96 ?
|
||||
'labelfile, ' .
|
||||
'case when length(trim(both \'\t\n \' from spcmapfile)) = 0 then null else spcmapfile end as spcmapfile' :
|
||||
'null as labelfile, null as spcmapfile') .
|
||||
' from pg_stop_backup(' .
|
||||
($self->{strDbVersion} >= PG_VERSION_96 ? 'false)' : ') as lsn'));
|
||||
|
||||
@ -777,20 +744,22 @@ sub configValidate
|
||||
# If cluster is not a standby and archive checking is enabled, then perform various validations
|
||||
if (!$self->isStandby() && optionValid(OPTION_BACKUP_ARCHIVE_CHECK) && optionGet(OPTION_BACKUP_ARCHIVE_CHECK))
|
||||
{
|
||||
my $strArchiveMode = $self->executeSqlOne('show archive_mode');
|
||||
|
||||
# Error if archive_mode = off since pg_start_backup () will fail
|
||||
if ($self->executeSql('show archive_mode') eq 'off')
|
||||
if ($strArchiveMode eq 'off')
|
||||
{
|
||||
confess &log(ERROR, 'archive_mode must be enabled', ERROR_ARCHIVE_DISABLED);
|
||||
}
|
||||
|
||||
# Error if archive_mode = always (support has not been added yet)
|
||||
if ($self->executeSql('show archive_mode') eq 'always')
|
||||
if ($strArchiveMode eq 'always')
|
||||
{
|
||||
confess &log(ERROR, "archive_mode=always not supported", ERROR_FEATURE_NOT_SUPPORTED);
|
||||
}
|
||||
|
||||
# Check if archive_command is set
|
||||
my $strArchiveCommand = $self->executeSql('show archive_command');
|
||||
my $strArchiveCommand = $self->executeSqlOne('show archive_command');
|
||||
|
||||
if (index($strArchiveCommand, BACKREST_EXE) == -1)
|
||||
{
|
||||
@ -825,7 +794,7 @@ sub xlogSwitch
|
||||
$self->executeSql("select pg_create_restore_point('" . BACKREST_NAME . " Archive Check');");
|
||||
}
|
||||
|
||||
my $strWalFileName = $self->executeSqlRow('select pg_xlogfile_name from pg_xlogfile_name(pg_switch_xlog());');
|
||||
my $strWalFileName = $self->executeSqlOne('select pg_xlogfile_name from pg_xlogfile_name(pg_switch_xlog());');
|
||||
|
||||
&log(INFO, "switch xlog ${strWalFileName}");
|
||||
|
||||
|
@ -631,21 +631,12 @@ sub pathCreate
|
||||
# Set operation variables
|
||||
my $strPathOp = $self->pathGet($strPathType, $strPath);
|
||||
|
||||
# Run remotely
|
||||
if ($self->isRemote($strPathType))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{path} = ${strPathOp};
|
||||
|
||||
if (defined($strMode))
|
||||
{
|
||||
$oParamHash{mode} = ${strMode};
|
||||
}
|
||||
|
||||
# Execute the command
|
||||
$self->{oProtocol}->cmdExecute(OP_FILE_PATH_CREATE, \%oParamHash);
|
||||
$self->{oProtocol}->cmdExecute(OP_FILE_PATH_CREATE, [$strPathOp, $strMode, $bIgnoreExists, $bCreateParents]);
|
||||
}
|
||||
# Run locally
|
||||
else
|
||||
{
|
||||
filePathCreate($strPathOp, $strMode, $bIgnoreExists, $bCreateParents);
|
||||
@ -685,18 +676,12 @@ sub exists
|
||||
|
||||
# Set operation variables
|
||||
my $strPathOp = $self->pathGet($strPathType, $strPath);
|
||||
my $bExists = true;
|
||||
my $bExists;
|
||||
|
||||
# Run remotely
|
||||
if ($self->isRemote($strPathType))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{path} = $strPathOp;
|
||||
|
||||
# Execute the command
|
||||
$bExists = $self->{oProtocol}->cmdExecute(OP_FILE_EXISTS, \%oParamHash, true) eq 'Y' ? true : false;
|
||||
$bExists = $self->{oProtocol}->cmdExecute(OP_FILE_EXISTS, [$strPathOp], true);
|
||||
}
|
||||
# Run locally
|
||||
else
|
||||
@ -954,25 +939,8 @@ sub list
|
||||
# Run remotely
|
||||
if ($self->isRemote($strPathType))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{path} = $strPathOp;
|
||||
$oParamHash{sort_order} = $strSortOrder;
|
||||
$oParamHash{ignore_missing} = ${bIgnoreMissing};
|
||||
|
||||
if (defined($strExpression))
|
||||
{
|
||||
$oParamHash{expression} = $strExpression;
|
||||
}
|
||||
|
||||
# Execute the command
|
||||
my $strOutput = $self->{oProtocol}->cmdExecute(OP_FILE_LIST, \%oParamHash);
|
||||
|
||||
if (defined($strOutput))
|
||||
{
|
||||
@stryFileList = split(/\n/, $strOutput);
|
||||
}
|
||||
@stryFileList = $self->{oProtocol}->cmdExecute(
|
||||
OP_FILE_LIST, [$strPathOp, $strExpression, $strSortOrder, $bIgnoreMissing]);
|
||||
}
|
||||
# Run locally
|
||||
else
|
||||
@ -1020,12 +988,7 @@ sub wait
|
||||
# Run remotely
|
||||
if ($self->isRemote($strPathType))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
$oParamHash{wait} = $bWait;
|
||||
|
||||
# Execute the command
|
||||
$lTimeBegin = $self->{oProtocol}->cmdExecute(OP_FILE_WAIT, \%oParamHash, true);
|
||||
$lTimeBegin = $self->{oProtocol}->cmdExecute(OP_FILE_WAIT, [$bWait], true);
|
||||
}
|
||||
# Run locally
|
||||
else
|
||||
@ -1073,13 +1036,7 @@ sub manifest
|
||||
# Run remotely
|
||||
if ($self->isRemote($strPathType))
|
||||
{
|
||||
# Build param hash
|
||||
my %oParamHash;
|
||||
|
||||
$oParamHash{path} = $strPathOp;
|
||||
|
||||
# Execute the command
|
||||
dataHashBuild($hManifest, $self->{oProtocol}->cmdExecute(OP_FILE_MANIFEST, \%oParamHash, true), "\t");
|
||||
$hManifest = $self->{oProtocol}->cmdExecute(OP_FILE_MANIFEST, [$strPathOp], true);
|
||||
}
|
||||
# Run locally
|
||||
else
|
||||
@ -1427,11 +1384,11 @@ sub copy
|
||||
{
|
||||
# Build the command and open the local file
|
||||
my $hFile;
|
||||
my %oParamHash;
|
||||
my $hIn,
|
||||
my $hOut;
|
||||
my $strRemote;
|
||||
my $strRemoteOp;
|
||||
my $bController = false;
|
||||
|
||||
# If source is remote and destination is local
|
||||
if ($bSourceRemote && !$bDestinationRemote)
|
||||
@ -1442,9 +1399,9 @@ sub copy
|
||||
|
||||
if ($strSourcePathType ne PIPE_STDIN)
|
||||
{
|
||||
$oParamHash{source_file} = $strSourceOp;
|
||||
$oParamHash{source_compressed} = $bSourceCompressed;
|
||||
$oParamHash{destination_compress} = $bDestinationCompress;
|
||||
$self->{oProtocol}->cmdWrite($strRemoteOp, [$strSourceOp, undef, $bSourceCompressed, $bDestinationCompress]);
|
||||
|
||||
$bController = true;
|
||||
}
|
||||
}
|
||||
# Else if source is local and destination is remote
|
||||
@ -1456,30 +1413,12 @@ sub copy
|
||||
|
||||
if ($strDestinationPathType ne PIPE_STDOUT)
|
||||
{
|
||||
$oParamHash{destination_file} = $strDestinationOp;
|
||||
$oParamHash{source_compressed} = $bSourceCompressed;
|
||||
$oParamHash{destination_compress} = $bDestinationCompress;
|
||||
$oParamHash{destination_path_create} = $bDestinationPathCreate;
|
||||
$self->{oProtocol}->cmdWrite(
|
||||
$strRemoteOp,
|
||||
[undef, $strDestinationOp, $bSourceCompressed, $bDestinationCompress, undef, undef, $strMode,
|
||||
$bDestinationPathCreate, $strUser, $strGroup, $bAppendChecksum]);
|
||||
|
||||
if (defined($strMode))
|
||||
{
|
||||
$oParamHash{mode} = $strMode;
|
||||
}
|
||||
|
||||
if (defined($strUser))
|
||||
{
|
||||
$oParamHash{user} = $strUser;
|
||||
}
|
||||
|
||||
if (defined($strGroup))
|
||||
{
|
||||
$oParamHash{group} = $strGroup;
|
||||
}
|
||||
|
||||
if ($bAppendChecksum)
|
||||
{
|
||||
$oParamHash{append_checksum} = true;
|
||||
}
|
||||
$bController = true;
|
||||
}
|
||||
}
|
||||
# Else source and destination are remote
|
||||
@ -1487,42 +1426,12 @@ sub copy
|
||||
{
|
||||
$strRemoteOp = OP_FILE_COPY;
|
||||
|
||||
$oParamHash{source_file} = $strSourceOp;
|
||||
$oParamHash{source_compressed} = $bSourceCompressed;
|
||||
$oParamHash{destination_file} = $strDestinationOp;
|
||||
$oParamHash{destination_compress} = $bDestinationCompress;
|
||||
$oParamHash{destination_path_create} = $bDestinationPathCreate;
|
||||
$self->{oProtocol}->cmdWrite(
|
||||
$strRemoteOp,
|
||||
[$strSourceOp, $strDestinationOp, $bSourceCompressed, $bDestinationCompress, $bIgnoreMissingSource, undef,
|
||||
$strMode, $bDestinationPathCreate, $strUser, $strGroup, $bAppendChecksum]);
|
||||
|
||||
if (defined($strMode))
|
||||
{
|
||||
$oParamHash{mode} = $strMode;
|
||||
}
|
||||
|
||||
if (defined($strUser))
|
||||
{
|
||||
$oParamHash{user} = $strUser;
|
||||
}
|
||||
|
||||
if (defined($strGroup))
|
||||
{
|
||||
$oParamHash{group} = $strGroup;
|
||||
}
|
||||
|
||||
if ($bIgnoreMissingSource)
|
||||
{
|
||||
$oParamHash{ignore_missing_source} = $bIgnoreMissingSource;
|
||||
}
|
||||
|
||||
if ($bAppendChecksum)
|
||||
{
|
||||
$oParamHash{append_checksum} = true;
|
||||
}
|
||||
}
|
||||
|
||||
# If an operation is defined then write it
|
||||
if (%oParamHash)
|
||||
{
|
||||
$self->{oProtocol}->cmdWrite($strRemoteOp, \%oParamHash);
|
||||
$bController = true;
|
||||
}
|
||||
|
||||
# Transfer the file (skip this for copies where both sides are remote)
|
||||
@ -1533,17 +1442,18 @@ sub copy
|
||||
}
|
||||
|
||||
# If this is the controlling process then wait for OK from remote
|
||||
if (%oParamHash)
|
||||
if ($bController)
|
||||
{
|
||||
# Test for an error when reading output
|
||||
my $strOutput;
|
||||
|
||||
eval
|
||||
{
|
||||
$strOutput = $self->{oProtocol}->outputRead(true, $bIgnoreMissingSource);
|
||||
($bResult, my $strResultChecksum, my $iResultFileSize) =
|
||||
$self->{oProtocol}->outputRead(true, $bIgnoreMissingSource);
|
||||
|
||||
# Check the result of the remote call
|
||||
if (substr($strOutput, 0, 1) eq 'Y')
|
||||
if ($bResult)
|
||||
{
|
||||
# If the operation was purely remote, get checksum/size
|
||||
if ($strRemoteOp eq OP_FILE_COPY ||
|
||||
@ -1555,31 +1465,9 @@ sub copy
|
||||
confess &log(ASSERT, "checksum and size are already defined, but shouldn't be");
|
||||
}
|
||||
|
||||
# Parse output and check to make sure tokens are defined
|
||||
my @stryToken = split(/ /, $strOutput);
|
||||
|
||||
if (!defined($stryToken[1]) || !defined($stryToken[2]) ||
|
||||
$stryToken[1] eq '?' && $stryToken[2] eq '?')
|
||||
{
|
||||
confess &log(ERROR, "invalid return from copy" . (defined($strOutput) ? ": ${strOutput}" : ''));
|
||||
$strChecksum = $strResultChecksum;
|
||||
$iFileSize = $iResultFileSize;
|
||||
}
|
||||
|
||||
# Read the checksum and size
|
||||
if ($stryToken[1] ne '?')
|
||||
{
|
||||
$strChecksum = $stryToken[1];
|
||||
}
|
||||
|
||||
if ($stryToken[2] ne '?')
|
||||
{
|
||||
$iFileSize = $stryToken[2];
|
||||
}
|
||||
}
|
||||
}
|
||||
# Remote called returned false
|
||||
else
|
||||
{
|
||||
$bResult = false;
|
||||
}
|
||||
|
||||
return true;
|
||||
@ -1597,10 +1485,12 @@ sub copy
|
||||
or confess &log(ERROR, "cannot close file ${strDestinationTmpOp}");
|
||||
fileRemove($strDestinationTmpOp);
|
||||
|
||||
return false, undef, undef;
|
||||
$bResult = false;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
confess $oException;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@ -1632,6 +1522,8 @@ sub copy
|
||||
}
|
||||
}
|
||||
|
||||
if ($bResult)
|
||||
{
|
||||
# Close the source file (if local)
|
||||
if (defined($hSourceFile))
|
||||
{
|
||||
@ -1649,15 +1541,14 @@ sub copy
|
||||
}
|
||||
|
||||
# Checksum and file size should be set if the destination is not remote
|
||||
if ($bResult &&
|
||||
!(!$bSourceRemote && $bDestinationRemote && $bSourceCompressed) &&
|
||||
if (!(!$bSourceRemote && $bDestinationRemote && $bSourceCompressed) &&
|
||||
(!defined($strChecksum) || !defined($iFileSize)))
|
||||
{
|
||||
confess &log(ASSERT, 'checksum or file size not set');
|
||||
}
|
||||
|
||||
# Where the destination is local, set mode, modification time, and perform move to final location
|
||||
if ($bResult && !$bDestinationRemote)
|
||||
if (!$bDestinationRemote)
|
||||
{
|
||||
# Set the file Mode if required
|
||||
if (defined($strMode))
|
||||
@ -1698,6 +1589,7 @@ sub copy
|
||||
# Move the file from tmp to final destination
|
||||
fileMove($strDestinationTmpOp, $strDestinationOp, $bDestinationPathCreate);
|
||||
}
|
||||
}
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
|
@ -150,7 +150,7 @@ sub process
|
||||
# List the backup reference chain, if any, for this backup
|
||||
if (defined($$oBackupInfo{&INFO_KEY_REFERENCE}))
|
||||
{
|
||||
$strOutput .= ' backup reference list: ' . (join(', ' ,@{$$oBackupInfo{&INFO_KEY_REFERENCE}})) . "\n";
|
||||
$strOutput .= ' backup reference list: ' . (join(', ', @{$$oBackupInfo{&INFO_KEY_REFERENCE}})) . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -214,28 +214,12 @@ sub stanzaList
|
||||
|
||||
my @oyStanzaList;
|
||||
|
||||
# Run remotely
|
||||
if ($oFile->isRemote(PATH_BACKUP))
|
||||
{
|
||||
# Build param hash
|
||||
my $oParamHash = undef;
|
||||
|
||||
if (defined($strStanza))
|
||||
{
|
||||
$$oParamHash{'stanza'} = $strStanza;
|
||||
}
|
||||
|
||||
# Trace the remote parameters
|
||||
&log(TRACE, OP_INFO_STANZA_LIST . ": remote (" . $oFile->{oProtocol}->commandParamString($oParamHash) . ')');
|
||||
|
||||
# Execute the command
|
||||
my $strStanzaList = $oFile->{oProtocol}->cmdExecute(OP_INFO_STANZA_LIST, $oParamHash, true);
|
||||
|
||||
# Trace the remote response
|
||||
&log(TRACE, OP_INFO_STANZA_LIST . ": remote json response (${strStanzaList})");
|
||||
|
||||
my $oJSON = JSON::PP->new();
|
||||
return $oJSON->decode($strStanzaList);
|
||||
@oyStanzaList = @{$oFile->{oProtocol}->cmdExecute(OP_INFO_STANZA_LIST, [$strStanza], true)};
|
||||
}
|
||||
# Run locally
|
||||
else
|
||||
{
|
||||
my @stryStanza = $oFile->list(PATH_BACKUP, CMD_BACKUP, undef, undef, true);
|
||||
|
@ -11,12 +11,12 @@ use Exporter qw(import);
|
||||
our @EXPORT = qw();
|
||||
use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END);
|
||||
use File::Basename qw(dirname);
|
||||
use JSON::PP;
|
||||
|
||||
use pgBackRest::Common::Exception;
|
||||
use pgBackRest::Common::Ini;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Protocol::IO;
|
||||
use pgBackRest::Version;
|
||||
|
||||
####################################################################################################################################
|
||||
# DB/BACKUP Constants
|
||||
@ -84,43 +84,9 @@ use constant OP_INFO_STANZA_LIST => 'infoStan
|
||||
use constant OP_RESTORE_FILE => 'restoreFile';
|
||||
push @EXPORT, qw(OP_RESTORE_FILE);
|
||||
|
||||
####################################################################################################################################
|
||||
# Parameter constants
|
||||
####################################################################################################################################
|
||||
use constant OP_PARAM_BACKUP_PATH => 'strBackupPath';
|
||||
push @EXPORT, qw(OP_PARAM_BACKUP_PATH);
|
||||
use constant OP_PARAM_CHECKSUM => 'strChecksum';
|
||||
push @EXPORT, qw(OP_PARAM_CHECKSUM);
|
||||
use constant OP_PARAM_COPY_TIME_START => 'lCopyTimeStart';
|
||||
push @EXPORT, qw(OP_PARAM_COPY_TIME_START);
|
||||
use constant OP_PARAM_DB_FILE => 'strDbFile';
|
||||
push @EXPORT, qw(OP_PARAM_DB_FILE);
|
||||
use constant OP_PARAM_DELTA => 'bDelta';
|
||||
push @EXPORT, qw(OP_PARAM_DELTA);
|
||||
use constant OP_PARAM_DESTINATION_COMPRESS => 'bDestinationCompress';
|
||||
push @EXPORT, qw(OP_PARAM_DESTINATION_COMPRESS);
|
||||
use constant OP_PARAM_FORCE => 'bForce';
|
||||
push @EXPORT, qw(OP_PARAM_FORCE);
|
||||
use constant OP_PARAM_GROUP => 'strGroup';
|
||||
push @EXPORT, qw(OP_PARAM_GROUP);
|
||||
use constant OP_PARAM_IGNORE_MISSING => 'bIgnoreMissing';
|
||||
push @EXPORT, qw(OP_PARAM_IGNORE_MISSING);
|
||||
use constant OP_PARAM_MODE => 'strMode';
|
||||
push @EXPORT, qw(OP_PARAM_MODE);
|
||||
use constant OP_PARAM_MODIFICATION_TIME => 'lModificationTime';
|
||||
push @EXPORT, qw(OP_PARAM_MODIFICATION_TIME);
|
||||
use constant OP_PARAM_REFERENCE => 'strReference';
|
||||
push @EXPORT, qw(OP_PARAM_REFERENCE);
|
||||
use constant OP_PARAM_REPO_FILE => 'strRepoFile';
|
||||
push @EXPORT, qw(OP_PARAM_REPO_FILE);
|
||||
use constant OP_PARAM_SIZE => 'lSize';
|
||||
push @EXPORT, qw(OP_PARAM_SIZE);
|
||||
use constant OP_PARAM_SOURCE_COMPRESSION => 'bSourceCompression';
|
||||
push @EXPORT, qw(OP_PARAM_SOURCE_COMPRESSION);
|
||||
use constant OP_PARAM_USER => 'strUser';
|
||||
push @EXPORT, qw(OP_PARAM_USER);
|
||||
use constant OP_PARAM_ZERO => 'bZero';
|
||||
push @EXPORT, qw(OP_PARAM_ZERO);
|
||||
# To be run after each command
|
||||
use constant OP_POST => 'post';
|
||||
push @EXPORT, qw(OP_POST);
|
||||
|
||||
####################################################################################################################################
|
||||
# CONSTRUCTOR
|
||||
@ -155,11 +121,8 @@ sub new
|
||||
# By default remote type is NONE
|
||||
$self->{strRemoteType} = NONE;
|
||||
|
||||
# Create the greeting that will be used to check versions with the remote
|
||||
if (defined($self->{strName}))
|
||||
{
|
||||
$self->{strGreeting} = uc(BACKREST_NAME) . uc($self->{strName}) . ' ' . BACKREST_VERSION;
|
||||
}
|
||||
# Create JSON object
|
||||
$self->{oJSON} = JSON::PP->new()->allow_nonref();
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
@ -327,9 +290,8 @@ sub binaryXfer
|
||||
$bProtocol = defined($bProtocol) ? $bProtocol : true;
|
||||
my $strMessage = undef;
|
||||
|
||||
# Checksum and size
|
||||
my $strChecksum = undef;
|
||||
my $iFileSize = undef;
|
||||
# Data that will be passed back (sha1 checksum, size, extra data)
|
||||
my $hMessage = {};
|
||||
|
||||
# Read from the protocol stream
|
||||
if ($strRemote eq 'in')
|
||||
@ -421,8 +383,8 @@ sub binaryXfer
|
||||
# Get checksum and total uncompressed bytes written
|
||||
if (defined($oSHA))
|
||||
{
|
||||
$strChecksum = $oSHA->hexdigest();
|
||||
$iFileSize = $oZLib->total_out();
|
||||
$hMessage->{strChecksum} = $oSHA->hexdigest();
|
||||
$hMessage->{iFileSize} = $oZLib->total_out();
|
||||
};
|
||||
}
|
||||
# If the destination should be compressed then just write out the already compressed stream
|
||||
@ -437,7 +399,7 @@ sub binaryXfer
|
||||
if (!$bProtocol)
|
||||
{
|
||||
$oSHA = Digest::SHA->new('sha1');
|
||||
$iFileSize = 0;
|
||||
$hMessage->{iFileSize} = 0;
|
||||
}
|
||||
|
||||
do
|
||||
@ -452,7 +414,7 @@ sub binaryXfer
|
||||
if (!$bProtocol)
|
||||
{
|
||||
$oSHA->add($tBuffer);
|
||||
$iFileSize += $iBlockSize;
|
||||
$hMessage->{iFileSize} += $iBlockSize;
|
||||
}
|
||||
|
||||
$oOut->bufferWrite(\$tBuffer, $iBlockSize);
|
||||
@ -464,7 +426,7 @@ sub binaryXfer
|
||||
# Get checksum
|
||||
if (!$bProtocol)
|
||||
{
|
||||
$strChecksum = $oSHA->hexdigest();
|
||||
$hMessage->{strChecksum} = $oSHA->hexdigest();
|
||||
};
|
||||
}
|
||||
}
|
||||
@ -548,8 +510,8 @@ sub binaryXfer
|
||||
}
|
||||
|
||||
# Get checksum and total uncompressed bytes written
|
||||
$strChecksum = $oSHA->hexdigest();
|
||||
$iFileSize = $oZLib->total_in();
|
||||
$hMessage->{strChecksum} = $oSHA->hexdigest();
|
||||
$hMessage->{iFileSize} = $oZLib->total_in();
|
||||
|
||||
# Write out the last block
|
||||
if (defined($oOut))
|
||||
@ -562,7 +524,7 @@ sub binaryXfer
|
||||
undef($strMessage);
|
||||
}
|
||||
|
||||
$self->blockWrite($oOut, undef, 0, $bProtocol, "${strChecksum}-${iFileSize}");
|
||||
$self->blockWrite($oOut, undef, 0, $bProtocol, $self->{oJSON}->encode($hMessage));
|
||||
}
|
||||
}
|
||||
# If source is already compressed or transfer is not compressed then just read the stream
|
||||
@ -587,7 +549,7 @@ sub binaryXfer
|
||||
|
||||
# Initialize checksum and size
|
||||
$oSHA = Digest::SHA->new('sha1');
|
||||
$iFileSize = 0;
|
||||
$hMessage->{iFileSize} = 0;
|
||||
|
||||
# Initialize inflate object and check for errors
|
||||
($oZLib, $iZLibStatus) =
|
||||
@ -645,7 +607,7 @@ sub binaryXfer
|
||||
if ($iUncompressedBufferSize > 0)
|
||||
{
|
||||
$oSHA->add($tUncompressedBuffer);
|
||||
$iFileSize += $iUncompressedBufferSize;
|
||||
$hMessage->{iFileSize} += $iUncompressedBufferSize;
|
||||
}
|
||||
}
|
||||
# Else error, exit so it can be handled
|
||||
@ -660,7 +622,7 @@ sub binaryXfer
|
||||
}
|
||||
while ($iBlockSize > 0);
|
||||
|
||||
# Check decompression get checksum
|
||||
# Check decompression, get checksum
|
||||
if ($bDestinationCompress)
|
||||
{
|
||||
# Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later)
|
||||
@ -670,12 +632,12 @@ sub binaryXfer
|
||||
}
|
||||
|
||||
# Get checksum
|
||||
$strChecksum = $oSHA->hexdigest();
|
||||
$hMessage->{strChecksum} = $oSHA->hexdigest();
|
||||
|
||||
# Set protocol message
|
||||
if ($bProtocol)
|
||||
{
|
||||
$strMessage = "${strChecksum}-${iFileSize}";
|
||||
$strMessage = $self->{oJSON}->encode($hMessage);
|
||||
}
|
||||
}
|
||||
|
||||
@ -688,16 +650,14 @@ sub binaryXfer
|
||||
}
|
||||
}
|
||||
|
||||
# If message is defined then the checksum and size should be in it
|
||||
# If message is defined then the checksum, size, and extra should be in it
|
||||
if (defined($strMessage))
|
||||
{
|
||||
my @stryToken = split(/-/, $strMessage);
|
||||
$strChecksum = $stryToken[0];
|
||||
$iFileSize = $stryToken[1];
|
||||
$hMessage = $self->{oJSON}->decode($strMessage);
|
||||
}
|
||||
|
||||
# Return the checksum and size if they are available
|
||||
return $strChecksum, $iFileSize;
|
||||
return $hMessage->{strChecksum}, $hMessage->{iFileSize};
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
|
@ -17,6 +17,7 @@ use pgBackRest::Common::Ini;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Protocol::Common;
|
||||
use pgBackRest::Protocol::IO;
|
||||
use pgBackRest::Version;
|
||||
|
||||
####################################################################################################################################
|
||||
# CONSTRUCTOR
|
||||
@ -179,16 +180,24 @@ sub greetingRead
|
||||
my $self = shift;
|
||||
|
||||
# Get the first line of output from the remote if possible
|
||||
my $strLine = $self->{io}->lineRead(undef, undef, undef, true);
|
||||
my $hGreeting = $self->{oJSON}->decode($self->{io}->lineRead(undef, undef, undef, true));
|
||||
|
||||
# If the line could not be read or does equal the greeting then error and exit
|
||||
if (!defined($strLine) || $strLine ne $self->{strGreeting})
|
||||
# Error if greeting parameters do not match
|
||||
for my $hParam ({strName => 'name', strExpected => BACKREST_NAME},
|
||||
{strName => 'version', strExpected => BACKREST_VERSION},
|
||||
{strName => 'service', strExpected => $self->{strName}})
|
||||
{
|
||||
$self->{io}->kill();
|
||||
if (!defined($hGreeting->{$hParam->{strName}}) || $hGreeting->{$hParam->{strName}} ne $hParam->{strExpected})
|
||||
{
|
||||
$self->{io}->kill();
|
||||
|
||||
confess &log(ERROR, 'protocol version mismatch' . (defined($strLine) ? ": ${strLine}" : ''), ERROR_HOST_CONNECT);
|
||||
confess &log(ERROR,
|
||||
'found name \'' . (defined($hGreeting->{$hParam->{strName}}) ? $hGreeting->{$hParam->{strName}} : '[undef]') .
|
||||
"' in protocol greeting instead of expected '$hParam->{strName}'", ERROR_HOST_CONNECT);
|
||||
}
|
||||
}
|
||||
|
||||
# Exchange one protocol message to catch errors early
|
||||
$self->outputRead();
|
||||
}
|
||||
|
||||
@ -208,6 +217,7 @@ sub outputRead
|
||||
$bOutputRequired,
|
||||
$bSuppressLog,
|
||||
$bWarnOnError,
|
||||
$bRef,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
@ -215,55 +225,39 @@ sub outputRead
|
||||
{name => 'bOutputRequired', default => false, trace => true},
|
||||
{name => 'bSuppressLog', required => false, trace => true},
|
||||
{name => 'bWarnOnError', default => false, trace => true},
|
||||
{name => 'bRef', default => false, trace => true},
|
||||
);
|
||||
|
||||
my $strLine;
|
||||
my $strOutput;
|
||||
my $bError = false;
|
||||
my $iErrorCode;
|
||||
my $strError;
|
||||
my $strProtocolResult = $self->{io}->lineRead();
|
||||
|
||||
# Read output lines
|
||||
while ($strLine = $self->{io}->lineRead())
|
||||
{
|
||||
# Exit if an error is found
|
||||
if ($strLine =~ /^ERROR.*/)
|
||||
{
|
||||
$bError = true;
|
||||
$iErrorCode = (split(' ', $strLine))[1];
|
||||
last;
|
||||
}
|
||||
logDebugMisc
|
||||
(
|
||||
$strOperation, undef,
|
||||
{name => 'strProtocolResult', value => $strProtocolResult, trace => true}
|
||||
);
|
||||
|
||||
# Exit if OK is found
|
||||
if ($strLine =~ /^OK$/)
|
||||
{
|
||||
last;
|
||||
}
|
||||
|
||||
# Else append to output
|
||||
$strOutput .= (defined($strOutput) ? "\n" : '') . substr($strLine, 1);
|
||||
}
|
||||
my $hResult = $self->{oJSON}->decode($strProtocolResult);
|
||||
|
||||
# Raise any errors
|
||||
if ($bError)
|
||||
if (defined($hResult->{err}))
|
||||
{
|
||||
my $strError = $self->{strErrorPrefix} . (defined($strOutput) ? ": ${strOutput}" : '');
|
||||
my $strError = $self->{strErrorPrefix} . (defined($hResult->{out}) ? ": $hResult->{out}" : '');
|
||||
|
||||
# Raise the error if a warning is not requested
|
||||
if (!$bWarnOnError)
|
||||
{
|
||||
confess &log(ERROR, $strError, $iErrorCode, $bSuppressLog);
|
||||
confess &log(ERROR, $strError, $hResult->{err}, $bSuppressLog);
|
||||
}
|
||||
|
||||
&log(WARN, $strError, $iErrorCode);
|
||||
undef($strOutput);
|
||||
&log(WARN, $strError, $hResult->{err});
|
||||
undef($hResult->{out});
|
||||
}
|
||||
|
||||
# Reset the keep alive time
|
||||
$self->{fKeepAliveTime} = gettimeofday();
|
||||
|
||||
# If output is required and there is no output, raise exception
|
||||
if ($bOutputRequired && !defined($strOutput))
|
||||
if ($bOutputRequired && !defined($hResult->{out}))
|
||||
{
|
||||
$self->{io}->waitPid();
|
||||
confess &log(ERROR, "$self->{strErrorPrefix}: output is not defined", ERROR_PROTOCOL_OUTPUT_REQUIRED);
|
||||
@ -273,34 +267,10 @@ sub outputRead
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'strOutput', value => $strOutput, trace => true}
|
||||
{name => 'hOutput', value => $hResult->{out}, ref => $bRef, trace => true}
|
||||
);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# commandParamString
|
||||
#
|
||||
# Output command parameters in the hash as a string (used for debugging).
|
||||
####################################################################################################################################
|
||||
sub commandParamString
|
||||
{
|
||||
my $self = shift;
|
||||
my $oParamHashRef = shift;
|
||||
|
||||
my $strParamList = '';
|
||||
|
||||
if (defined($oParamHashRef))
|
||||
{
|
||||
foreach my $strParam (sort(keys(%$oParamHashRef)))
|
||||
{
|
||||
$strParamList .= (defined($strParamList) ? ',' : '') . "${strParam}=" .
|
||||
(defined(${$oParamHashRef}{"${strParam}"}) ? ${$oParamHashRef}{"${strParam}"} : '[undef]');
|
||||
}
|
||||
}
|
||||
|
||||
return $strParamList;
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# cmdWrite
|
||||
#
|
||||
@ -315,50 +285,25 @@ sub cmdWrite
|
||||
(
|
||||
$strOperation,
|
||||
$strCommand,
|
||||
$oParamRef,
|
||||
$hParam,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->cmdWrite', \@_,
|
||||
{name => 'strCommand', trace => true},
|
||||
{name => 'oParamRef', required => false, trace => true}
|
||||
{name => 'hParam', required => false, trace => true},
|
||||
);
|
||||
|
||||
if (defined($oParamRef))
|
||||
{
|
||||
$strCommand .= ":\n";
|
||||
|
||||
foreach my $strParam (sort(keys(%$oParamRef)))
|
||||
{
|
||||
if ($strParam =~ /=/)
|
||||
{
|
||||
confess &log(ASSERT, "param \"${strParam}\" cannot contain = character");
|
||||
}
|
||||
|
||||
my $strValue = ${$oParamRef}{"${strParam}"};
|
||||
|
||||
if ($strParam =~ /\n\$/)
|
||||
{
|
||||
confess &log(ASSERT, "param \"${strParam}\" value cannot end with LF");
|
||||
}
|
||||
|
||||
if (defined(${strValue}))
|
||||
{
|
||||
$strCommand .= "${strParam}=${strValue}\n";
|
||||
}
|
||||
}
|
||||
|
||||
$strCommand .= 'end';
|
||||
}
|
||||
my $strProtocolCommand = $self->{oJSON}->encode({cmd => $strCommand, param => $hParam});
|
||||
|
||||
logDebugMisc
|
||||
(
|
||||
$strOperation, undef,
|
||||
{name => 'strCommand', value => $strCommand, trace => true}
|
||||
{name => 'strProtocolCommand', value => $strProtocolCommand, trace => true}
|
||||
);
|
||||
|
||||
# Write out the command
|
||||
$self->{io}->lineWrite($strCommand);
|
||||
$self->{io}->lineWrite($strProtocolCommand);
|
||||
|
||||
# Reset the keep alive time
|
||||
$self->{fKeepAliveTime} = gettimeofday();
|
||||
|
@ -9,12 +9,15 @@ use warnings FATAL => qw(all);
|
||||
use Carp qw(confess);
|
||||
use English '-no_match_vars';
|
||||
|
||||
use JSON::PP;
|
||||
|
||||
use pgBackRest::Common::Exception;
|
||||
use pgBackRest::Common::Ini;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Common::String;
|
||||
use pgBackRest::Protocol::Common;
|
||||
use pgBackRest::Protocol::IO;
|
||||
use pgBackRest::Version;
|
||||
|
||||
####################################################################################################################################
|
||||
# CONSTRUCTOR
|
||||
@ -58,7 +61,7 @@ sub new
|
||||
$self->greetingWrite();
|
||||
|
||||
# Initialize module variables
|
||||
$self->init();
|
||||
$self->{hCommandMap} = $self->init();
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
@ -77,23 +80,12 @@ sub greetingWrite
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
$self->{io}->lineWrite($self->{strGreeting});
|
||||
$self->{io}->lineWrite('OK');
|
||||
}
|
||||
# Write the greeting
|
||||
$self->{io}->lineWrite((JSON::PP->new()->canonical()->allow_nonref())->encode(
|
||||
{name => BACKREST_NAME, service => $self->{strName}, version => BACKREST_VERSION}));
|
||||
|
||||
####################################################################################################################################
|
||||
# textWrite
|
||||
#
|
||||
# Write text out to the protocol layer prefixing each line with a period.
|
||||
####################################################################################################################################
|
||||
sub textWrite
|
||||
{
|
||||
my $self = shift;
|
||||
my $strBuffer = shift;
|
||||
|
||||
$strBuffer =~ s/\n/\n\./g;
|
||||
|
||||
$self->{io}->lineWrite('.' . $strBuffer);
|
||||
# Exchange one protocol message to catch errors early
|
||||
$self->outputWrite();
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
@ -119,29 +111,14 @@ sub errorWrite
|
||||
my $self = shift;
|
||||
my $oException = shift;
|
||||
|
||||
my $iCode;
|
||||
my $strMessage;
|
||||
|
||||
# If the message is blessed it may be a standard exception
|
||||
if (isException($oException))
|
||||
{
|
||||
$iCode = $oException->code();
|
||||
$strMessage = $oException->message();
|
||||
}
|
||||
# Else terminate the process with an error
|
||||
else
|
||||
# Throw hard error if this is not a standard exception
|
||||
if (!isException($oException))
|
||||
{
|
||||
confess &log(ERROR, 'unknown error: ' . $oException, ERROR_UNKNOWN);
|
||||
}
|
||||
|
||||
# Write the message text into protocol
|
||||
if (defined($strMessage))
|
||||
{
|
||||
$self->textWrite(trim($strMessage));
|
||||
}
|
||||
|
||||
# Indicate that an error ocurred and provide the code
|
||||
$self->{io}->lineWrite("ERROR" . (defined($iCode) ? " $iCode" : ''));
|
||||
# Write error code and message
|
||||
$self->{io}->lineWrite($self->{oJSON}->encode({err => $oException->code(), out => $oException->message()}));
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
@ -152,14 +129,8 @@ sub errorWrite
|
||||
sub outputWrite
|
||||
{
|
||||
my $self = shift;
|
||||
my $strOutput = shift;
|
||||
|
||||
if (defined($strOutput))
|
||||
{
|
||||
$self->textWrite($strOutput);
|
||||
}
|
||||
|
||||
$self->{io}->lineWrite('OK');
|
||||
$self->{io}->lineWrite($self->{oJSON}->encode({out => \@_}));
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
@ -171,67 +142,9 @@ sub cmdRead
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
my $strLine;
|
||||
my $strCommand;
|
||||
my $hParam = {};
|
||||
my $hCommand = $self->{oJSON}->decode($self->{io}->lineRead());
|
||||
|
||||
while ($strLine = $self->{io}->lineRead())
|
||||
{
|
||||
if (!defined($strCommand))
|
||||
{
|
||||
if ($strLine =~ /:$/)
|
||||
{
|
||||
$strCommand = substr($strLine, 0, length($strLine) - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
$strCommand = $strLine;
|
||||
last;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($strLine eq 'end')
|
||||
{
|
||||
last;
|
||||
}
|
||||
|
||||
my $iPos = index($strLine, '=');
|
||||
|
||||
if ($iPos == -1)
|
||||
{
|
||||
confess "param \"${strLine}\" is missing = character";
|
||||
}
|
||||
|
||||
my $strParam = substr($strLine, 0, $iPos);
|
||||
my $strValue = substr($strLine, $iPos + 1);
|
||||
|
||||
$hParam->{$strParam} = ${strValue};
|
||||
}
|
||||
}
|
||||
|
||||
return $strCommand, $hParam;
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# paramGet
|
||||
#
|
||||
# Helper function that returns the param or an error if required and it does not exist.
|
||||
####################################################################################################################################
|
||||
sub paramGet
|
||||
{
|
||||
my $self = shift;
|
||||
my $strParam = shift;
|
||||
my $bRequired = shift;
|
||||
|
||||
my $strValue = $self->{hParam}{$strParam};
|
||||
|
||||
if (!defined($strValue) && (!defined($bRequired) || $bRequired))
|
||||
{
|
||||
confess "${strParam} must be defined";
|
||||
}
|
||||
|
||||
return $strValue;
|
||||
return $hCommand->{cmd}, $hCommand->{param};
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
@ -241,28 +154,36 @@ sub process
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Command string
|
||||
my $strCommand = OP_NOOP;
|
||||
|
||||
# Loop until the exit command is received
|
||||
eval
|
||||
{
|
||||
while ($strCommand ne OP_EXIT)
|
||||
while (true)
|
||||
{
|
||||
($strCommand, $self->{hParam}) = $self->cmdRead();
|
||||
my ($strCommand, $rParam) = $self->cmdRead();
|
||||
|
||||
last if ($strCommand eq OP_EXIT);
|
||||
|
||||
eval
|
||||
{
|
||||
if (!$self->commandProcess($strCommand))
|
||||
# Check for the command in the map and run it if found
|
||||
if (defined($self->{hCommandMap}{$strCommand}))
|
||||
{
|
||||
if ($strCommand eq OP_NOOP)
|
||||
{
|
||||
$self->outputWrite();
|
||||
}
|
||||
elsif ($strCommand ne OP_EXIT)
|
||||
{
|
||||
confess "invalid command: ${strCommand}";
|
||||
}
|
||||
$self->outputWrite($self->{hCommandMap}{$strCommand}->($rParam));
|
||||
}
|
||||
# Run the standard NOOP command. This this can be overridden in hCommandMap to implement a custom NOOP.
|
||||
elsif ($strCommand eq OP_NOOP)
|
||||
{
|
||||
$self->outputWrite();
|
||||
}
|
||||
else
|
||||
{
|
||||
confess "invalid command: ${strCommand}";
|
||||
}
|
||||
|
||||
# Run the post command if defined
|
||||
if (defined($self->{hCommandMap}{&OP_POST}))
|
||||
{
|
||||
$self->{hCommandMap}{&OP_POST}->($strCommand, $rParam);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -9,7 +9,6 @@ use warnings FATAL => qw(all);
|
||||
use Carp qw(confess);
|
||||
|
||||
use pgBackRest::BackupFile;
|
||||
use pgBackRest::Common::Exception;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Config::Config;
|
||||
use pgBackRest::File;
|
||||
@ -62,86 +61,29 @@ sub init
|
||||
my ($strOperation) = logDebugParam(__PACKAGE__ . '->init');
|
||||
|
||||
# Create the file object
|
||||
$self->{oFile} = new pgBackRest::File
|
||||
my $oFile = new pgBackRest::File
|
||||
(
|
||||
optionGet(OPTION_STANZA),
|
||||
optionGet(OPTION_REPO_PATH),
|
||||
protocolGet(optionGet(OPTION_TYPE), optionGet(OPTION_HOST_ID), {iProcessIdx => optionGet(OPTION_PROCESS)})
|
||||
);
|
||||
|
||||
# Create anonymous subs for each command
|
||||
my $hCommandMap =
|
||||
{
|
||||
&OP_BACKUP_FILE => sub {backupFile($oFile, @{shift()})},
|
||||
&OP_RESTORE_FILE => sub {restoreFile($oFile, @{shift()})},
|
||||
|
||||
# To be run after each command to keep the remote alive
|
||||
&OP_POST => sub {$oFile->{oProtocol}->keepAlive()},
|
||||
};
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# commandProcess
|
||||
####################################################################################################################################
|
||||
sub commandProcess
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
$strCommand,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->commandProcess', \@_,
|
||||
{name => 'strCommand', trace => true},
|
||||
);
|
||||
|
||||
# Backup a file
|
||||
my $bProcess = true;
|
||||
|
||||
if ($strCommand eq OP_BACKUP_FILE)
|
||||
{
|
||||
my ($iCopyResult, $lCopySize, $lRepoSize, $strCopyChecksum) = backupFile(
|
||||
$self->{oFile},
|
||||
$self->paramGet(OP_PARAM_DB_FILE),
|
||||
$self->paramGet(OP_PARAM_REPO_FILE),
|
||||
$self->paramGet(OP_PARAM_DESTINATION_COMPRESS),
|
||||
$self->paramGet(OP_PARAM_CHECKSUM, false),
|
||||
$self->paramGet(OP_PARAM_MODIFICATION_TIME),
|
||||
$self->paramGet(OP_PARAM_SIZE),
|
||||
$self->paramGet(OP_PARAM_IGNORE_MISSING, false));
|
||||
|
||||
$self->outputWrite(
|
||||
$iCopyResult . ($iCopyResult != BACKUP_FILE_SKIP ? "\t${lCopySize}\t${lRepoSize}\t${strCopyChecksum}" : ''));
|
||||
}
|
||||
elsif ($strCommand eq OP_RESTORE_FILE)
|
||||
{
|
||||
$self->outputWrite(
|
||||
restoreFile(
|
||||
$self->{oFile},
|
||||
$self->paramGet(&OP_PARAM_REPO_FILE),
|
||||
$self->paramGet(&OP_PARAM_DB_FILE),
|
||||
$self->paramGet(&OP_PARAM_REFERENCE, false),
|
||||
$self->paramGet(&OP_PARAM_SIZE),
|
||||
$self->paramGet(&OP_PARAM_MODIFICATION_TIME),
|
||||
$self->paramGet(&OP_PARAM_MODE),
|
||||
$self->paramGet(&OP_PARAM_USER),
|
||||
$self->paramGet(&OP_PARAM_GROUP),
|
||||
$self->paramGet(&OP_PARAM_CHECKSUM, false),
|
||||
$self->paramGet(&OP_PARAM_ZERO, false),
|
||||
$self->paramGet(&OP_PARAM_COPY_TIME_START),
|
||||
$self->paramGet(&OP_PARAM_DELTA),
|
||||
$self->paramGet(&OP_PARAM_FORCE),
|
||||
$self->paramGet(&OP_PARAM_BACKUP_PATH),
|
||||
$self->paramGet(&OP_PARAM_SOURCE_COMPRESSION)));
|
||||
}
|
||||
# Command not processed
|
||||
else
|
||||
{
|
||||
$bProcess = false;
|
||||
}
|
||||
|
||||
# Send keep alive to remote
|
||||
$self->{oFile}->{oProtocol}->keepAlive();
|
||||
|
||||
# Command processed
|
||||
return $bProcess;
|
||||
{name => 'hCommandMap', value => $hCommandMap}
|
||||
);
|
||||
}
|
||||
|
||||
1;
|
||||
|
@ -315,14 +315,15 @@ sub process
|
||||
|
||||
# Get the job result
|
||||
my $hJob = $hLocal->{hJob};
|
||||
$self->cmdResult($hLocal->{oLocal}, $hJob);
|
||||
$hJob->{rResult} = $hLocal->{oLocal}->outputRead(true, undef, undef, true);
|
||||
$hJob->{iProcessId} = $hLocal->{iProcessId};
|
||||
push(@hyResult, $hJob);
|
||||
|
||||
logDebugMisc(
|
||||
$strOperation, 'job complete',
|
||||
{name => 'iProcessId', value => $hJob->{iProcessId}},
|
||||
{name => 'strKey', value => $hJob->{strKey}});
|
||||
{name => 'strKey', value => $hJob->{strKey}},
|
||||
{name => 'rResult', value => $hJob->{rResult}});
|
||||
|
||||
# Free the local process to receive another job
|
||||
$hLocal->{hJob} = undef;
|
||||
@ -424,7 +425,7 @@ sub process
|
||||
{name => 'strKey', value => $hLocal->{hJob}{strKey}});
|
||||
|
||||
# Send job to local process
|
||||
$self->cmdSend($hLocal->{oLocal}, $hLocal->{hJob});
|
||||
$hLocal->{oLocal}->cmdWrite($hLocal->{hJob}{strOp}, $hLocal->{hJob}->{rParam});
|
||||
}
|
||||
}
|
||||
|
||||
@ -457,15 +458,17 @@ sub queueJob
|
||||
$iHostConfigIdx,
|
||||
$strQueue,
|
||||
$strKey,
|
||||
$hPayload,
|
||||
$strOp,
|
||||
$rParam,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->queueJob', \@_,
|
||||
{name => 'iHostConfigIdx', trace => true},
|
||||
{name => 'strQueue', trace => true},
|
||||
{name => 'strKey', trace => true},
|
||||
{name => 'hPayload', trace => true},
|
||||
{name => 'iHostConfigIdx'},
|
||||
{name => 'strQueue'},
|
||||
{name => 'strKey'},
|
||||
{name => 'strOp'},
|
||||
{name => 'rParam'},
|
||||
);
|
||||
|
||||
# Don't add jobs while in the middle of processing the current queue
|
||||
@ -480,7 +483,8 @@ sub queueJob
|
||||
iHostConfigIdx => $iHostConfigIdx,
|
||||
strQueue => $strQueue,
|
||||
strKey => $strKey,
|
||||
hPayload => $hPayload,
|
||||
strOp => $strOp,
|
||||
rParam => $rParam,
|
||||
};
|
||||
|
||||
# Get the host that will perform this job
|
||||
|
@ -10,7 +10,6 @@ use Carp qw(confess);
|
||||
|
||||
use File::Basename qw(dirname);
|
||||
|
||||
use pgBackRest::Common::Exception;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Archive;
|
||||
use pgBackRest::Config::Config;
|
||||
@ -71,213 +70,51 @@ sub init
|
||||
my ($strOperation) = logDebugParam(__PACKAGE__ . '->init');
|
||||
|
||||
# Create objects
|
||||
$self->{oFile} = new pgBackRest::File
|
||||
my $oFile = new pgBackRest::File
|
||||
(
|
||||
optionGet(OPTION_STANZA, false),
|
||||
optionGet(OPTION_REPO_PATH, false),
|
||||
$self
|
||||
);
|
||||
|
||||
$self->{oArchive} = new pgBackRest::Archive();
|
||||
$self->{oInfo} = new pgBackRest::Info();
|
||||
$self->{oJSON} = JSON::PP->new();
|
||||
$self->{oDb} = new pgBackRest::Db();
|
||||
my $oArchive = new pgBackRest::Archive();
|
||||
my $oInfo = new pgBackRest::Info();
|
||||
my $oDb = new pgBackRest::Db();
|
||||
|
||||
# Create anonymous subs for each command
|
||||
my $hCommandMap =
|
||||
{
|
||||
# Archive commands
|
||||
&OP_ARCHIVE_GET_ARCHIVE_ID => sub {$oArchive->getArchiveId($oFile)},
|
||||
&OP_ARCHIVE_GET_BACKUP_INFO_CHECK => sub {$oArchive->getBackupInfoCheck($oFile, @{shift()})},
|
||||
&OP_ARCHIVE_GET_CHECK => sub {$oArchive->getCheck($oFile, @{shift()})},
|
||||
&OP_ARCHIVE_PUSH_CHECK => sub {$oArchive->pushCheck($oFile, @{shift()})},
|
||||
|
||||
# Db commands
|
||||
&OP_DB_CONNECT => sub {$oDb->connect()},
|
||||
&OP_DB_EXECUTE_SQL => sub {$oDb->executeSql(@{shift()})},
|
||||
&OP_DB_INFO => sub {$oDb->info(@{shift()})},
|
||||
|
||||
# File commands
|
||||
&OP_FILE_COPY => sub {my $rParam = shift; $oFile->copy(PATH_ABSOLUTE, shift(@{$rParam}), PATH_ABSOLUTE, @{$rParam})},
|
||||
&OP_FILE_COPY_IN => sub {my $rParam = shift; $oFile->copy(PIPE_STDIN, shift(@{$rParam}), PATH_ABSOLUTE, @{$rParam})},
|
||||
&OP_FILE_COPY_OUT => sub {my $rParam = shift; $oFile->copy(PATH_ABSOLUTE, shift(@{$rParam}), PIPE_STDOUT, @{$rParam})},
|
||||
&OP_FILE_EXISTS => sub {$oFile->exists(PATH_ABSOLUTE, @{shift()})},
|
||||
&OP_FILE_LIST => sub {$oFile->list(PATH_ABSOLUTE, @{shift()})},
|
||||
&OP_FILE_MANIFEST => sub {$oFile->manifest(PATH_ABSOLUTE, @{shift()})},
|
||||
&OP_FILE_PATH_CREATE => sub {$oFile->pathCreate(PATH_ABSOLUTE, @{shift()})},
|
||||
&OP_FILE_WAIT => sub {$oFile->wait(PATH_ABSOLUTE, @{shift()})},
|
||||
|
||||
# Info commands
|
||||
&OP_INFO_STANZA_LIST => sub {$oInfo->stanzaList($oFile, @{shift()})},
|
||||
};
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# commandProcess
|
||||
####################################################################################################################################
|
||||
sub commandProcess
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
$strCommand,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->commandProcess', \@_,
|
||||
{name => 'strCommand', trace => true},
|
||||
);
|
||||
|
||||
# Copy file
|
||||
if ($strCommand eq OP_FILE_COPY || $strCommand eq OP_FILE_COPY_IN || $strCommand eq OP_FILE_COPY_OUT)
|
||||
{
|
||||
my $bResult;
|
||||
my $strChecksum;
|
||||
my $iFileSize;
|
||||
|
||||
# Copy a file locally
|
||||
if ($strCommand eq OP_FILE_COPY)
|
||||
{
|
||||
($bResult, $strChecksum, $iFileSize) = $self->{oFile}->copy(
|
||||
PATH_ABSOLUTE, $self->paramGet('source_file'),
|
||||
PATH_ABSOLUTE, $self->paramGet('destination_file'),
|
||||
$self->paramGet('source_compressed'),
|
||||
$self->paramGet('destination_compress'),
|
||||
$self->paramGet('ignore_missing_source', false),
|
||||
undef,
|
||||
$self->paramGet('mode', false),
|
||||
$self->paramGet('destination_path_create') ? 'Y' : 'N',
|
||||
$self->paramGet('user', false),
|
||||
$self->paramGet('group', false),
|
||||
$self->paramGet('append_checksum', false));
|
||||
}
|
||||
# Copy a file from STDIN
|
||||
elsif ($strCommand eq OP_FILE_COPY_IN)
|
||||
{
|
||||
($bResult, $strChecksum, $iFileSize) = $self->{oFile}->copy(
|
||||
PIPE_STDIN, undef,
|
||||
PATH_ABSOLUTE, $self->paramGet('destination_file'),
|
||||
$self->paramGet('source_compressed'),
|
||||
$self->paramGet('destination_compress'),
|
||||
undef, undef,
|
||||
$self->paramGet('mode', false),
|
||||
$self->paramGet('destination_path_create'),
|
||||
$self->paramGet('user', false),
|
||||
$self->paramGet('group', false),
|
||||
$self->paramGet('append_checksum', false));
|
||||
}
|
||||
# Copy a file to STDOUT
|
||||
elsif ($strCommand eq OP_FILE_COPY_OUT)
|
||||
{
|
||||
($bResult, $strChecksum, $iFileSize) = $self->{oFile}->copy(
|
||||
PATH_ABSOLUTE, $self->paramGet('source_file'),
|
||||
PIPE_STDOUT, undef,
|
||||
$self->paramGet('source_compressed'),
|
||||
$self->paramGet('destination_compress'));
|
||||
}
|
||||
|
||||
$self->outputWrite(
|
||||
($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " .
|
||||
(defined($iFileSize) ? $iFileSize : '?'));
|
||||
}
|
||||
# List files in a path
|
||||
elsif ($strCommand eq OP_FILE_LIST)
|
||||
{
|
||||
my $strOutput;
|
||||
|
||||
foreach my $strFile ($self->{oFile}->list(
|
||||
PATH_ABSOLUTE, $self->paramGet('path'), $self->paramGet('expression', false),
|
||||
$self->paramGet('sort_order'), $self->paramGet('ignore_missing')))
|
||||
{
|
||||
$strOutput .= (defined($strOutput) ? "\n" : '') . $strFile;
|
||||
}
|
||||
|
||||
$self->outputWrite($strOutput);
|
||||
}
|
||||
# Create a path
|
||||
elsif ($strCommand eq OP_FILE_PATH_CREATE)
|
||||
{
|
||||
$self->{oFile}->pathCreate(PATH_ABSOLUTE, $self->paramGet('path'), $self->paramGet('mode', false));
|
||||
$self->outputWrite();
|
||||
}
|
||||
# Check if a file/path exists
|
||||
elsif ($strCommand eq OP_FILE_EXISTS)
|
||||
{
|
||||
$self->outputWrite($self->{oFile}->exists(PATH_ABSOLUTE, $self->paramGet('path')) ? 'Y' : 'N');
|
||||
}
|
||||
# Wait
|
||||
elsif ($strCommand eq OP_FILE_WAIT)
|
||||
{
|
||||
$self->outputWrite($self->{oFile}->wait(PATH_ABSOLUTE, $self->paramGet('wait')));
|
||||
}
|
||||
# Generate a manifest
|
||||
elsif ($strCommand eq OP_FILE_MANIFEST)
|
||||
{
|
||||
my $hManifest = $self->{oFile}->manifest(PATH_ABSOLUTE, $self->paramGet('path'));
|
||||
my $strOutput = "name\ttype\tuser\tgroup\tmode\tmodification_time\tinode\tsize\tlink_destination";
|
||||
|
||||
foreach my $strName (sort(keys(%{$hManifest})))
|
||||
{
|
||||
$strOutput .=
|
||||
"\n${strName}\t" .
|
||||
$hManifest->{$strName}{type} . "\t" .
|
||||
(defined($hManifest->{$strName}{user}) ? $hManifest->{$strName}{user} : "") . "\t" .
|
||||
(defined($hManifest->{$strName}{group}) ? $hManifest->{$strName}{group} : "") . "\t" .
|
||||
(defined($hManifest->{$strName}{mode}) ? $hManifest->{$strName}{mode} : "") . "\t" .
|
||||
(defined($hManifest->{$strName}{modification_time}) ?
|
||||
$hManifest->{$strName}{modification_time} : "") . "\t" .
|
||||
(defined($hManifest->{$strName}{inode}) ? $hManifest->{$strName}{inode} : "") . "\t" .
|
||||
(defined($hManifest->{$strName}{size}) ? $hManifest->{$strName}{size} : "") . "\t" .
|
||||
(defined($hManifest->{$strName}{link_destination}) ?
|
||||
$hManifest->{$strName}{link_destination} : "");
|
||||
}
|
||||
|
||||
$self->outputWrite($strOutput);
|
||||
}
|
||||
# Archive push checks
|
||||
elsif ($strCommand eq OP_ARCHIVE_PUSH_CHECK)
|
||||
{
|
||||
my ($strArchiveId, $strChecksum) = $self->{oArchive}->pushCheck(
|
||||
$self->{oFile},
|
||||
$self->paramGet('wal-segment'),
|
||||
$self->paramGet('partial'),
|
||||
undef,
|
||||
$self->paramGet('db-version'),
|
||||
$self->paramGet('db-sys-id'));
|
||||
|
||||
$self->outputWrite("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y'));
|
||||
}
|
||||
elsif ($strCommand eq OP_ARCHIVE_GET_BACKUP_INFO_CHECK)
|
||||
{
|
||||
$self->outputWrite(
|
||||
$self->{oArchive}->getBackupInfoCheck(
|
||||
$self->{oFile},
|
||||
$self->paramGet('db-version'),
|
||||
$self->paramGet('db-control-version'),
|
||||
$self->paramGet('db-catalog-version'),
|
||||
$self->paramGet('db-sys-id')));
|
||||
}
|
||||
elsif ($strCommand eq OP_ARCHIVE_GET_CHECK)
|
||||
{
|
||||
$self->outputWrite(
|
||||
$self->{oArchive}->getCheck(
|
||||
$self->{oFile},
|
||||
$self->paramGet('db-version'),
|
||||
$self->paramGet('db-sys-id')));
|
||||
}
|
||||
elsif ($strCommand eq OP_ARCHIVE_GET_ARCHIVE_ID)
|
||||
{
|
||||
$self->outputWrite($self->{oArchive}->getArchiveId($self->{oFile}));
|
||||
}
|
||||
# Info list stanza
|
||||
elsif ($strCommand eq OP_INFO_STANZA_LIST)
|
||||
{
|
||||
$self->outputWrite($self->{oJSON}->encode($self->{oInfo}->stanzaList($self->{oFile}, $self->paramGet('stanza', false))));
|
||||
}
|
||||
elsif ($strCommand eq OP_DB_INFO)
|
||||
{
|
||||
my ($strDbVersion, $iControlVersion, $iCatalogVersion, $ullDbSysId) = $self->{oDb}->info($self->paramGet('db-path'));
|
||||
|
||||
$self->outputWrite("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}");
|
||||
}
|
||||
elsif ($strCommand eq OP_DB_CONNECT)
|
||||
{
|
||||
$self->outputWrite($self->{oDb}->connect());
|
||||
}
|
||||
elsif ($strCommand eq OP_DB_EXECUTE_SQL)
|
||||
{
|
||||
$self->outputWrite(
|
||||
$self->{oDb}->executeSql(
|
||||
$self->paramGet('script'),
|
||||
$self->paramGet('ignore-error', false),
|
||||
$self->paramGet('result', false)));
|
||||
}
|
||||
# Command not processed
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
# Command processed
|
||||
return true;
|
||||
{name => 'hCommandMap', value => $hCommandMap}
|
||||
);
|
||||
}
|
||||
|
||||
1;
|
||||
|
@ -20,8 +20,8 @@ use pgBackRest::File;
|
||||
use pgBackRest::FileCommon;
|
||||
use pgBackRest::Manifest;
|
||||
use pgBackRest::RestoreFile;
|
||||
use pgBackRest::RestoreProcess;
|
||||
use pgBackRest::Protocol::Common;
|
||||
use pgBackRest::Protocol::LocalProcess;
|
||||
use pgBackRest::Protocol::Protocol;
|
||||
use pgBackRest::Version;
|
||||
|
||||
@ -1190,7 +1190,8 @@ sub process
|
||||
}
|
||||
|
||||
# Initialize the restore process
|
||||
my $oRestoreProcess = new pgBackRest::RestoreProcess(optionGet(OPTION_PROCESS_MAX));
|
||||
my $oRestoreProcess = new pgBackRest::Protocol::LocalProcess(BACKUP);
|
||||
$oRestoreProcess->hostAdd(1, optionGet(OPTION_PROCESS_MAX));
|
||||
|
||||
# Variables used for parallel copy
|
||||
my $lSizeTotal = 0;
|
||||
@ -1232,32 +1233,29 @@ sub process
|
||||
$lSizeTotal += $lSize;
|
||||
|
||||
# Queue for parallel restore
|
||||
$oRestoreProcess->queueRestore(
|
||||
$strQueueKey, $strRepoFile, $strRepoFile, $strDbFile,
|
||||
$oManifest->boolTest(MANIFEST_SECTION_BACKUP_OPTION, MANIFEST_KEY_HARDLINK, undef, true) ? undef :
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_REFERENCE, false), $lSize,
|
||||
$oRestoreProcess->queueJob(
|
||||
1, $strQueueKey, $strRepoFile, OP_RESTORE_FILE,
|
||||
[$strDbFile, $lSize,
|
||||
$oManifest->numericGet(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_TIMESTAMP),
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_CHECKSUM, $lSize > 0),
|
||||
defined($strDbFilter) && $strRepoFile =~ $strDbFilter && $strRepoFile !~ /\/PG\_VERSION$/ ? true : false,
|
||||
optionGet(OPTION_FORCE), $strRepoFile,
|
||||
$oManifest->boolTest(MANIFEST_SECTION_BACKUP_OPTION, MANIFEST_KEY_HARDLINK, undef, true) ? undef :
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_REFERENCE, false),
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_MODE),
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_USER),
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_GROUP),
|
||||
$oManifest->get(MANIFEST_SECTION_TARGET_FILE, $strRepoFile, MANIFEST_SUBKEY_CHECKSUM, $lSize > 0),
|
||||
defined($strDbFilter) && $strRepoFile =~ $strDbFilter && $strRepoFile !~ /\/PG\_VERSION$/ ? true : false,
|
||||
$oManifest->numericGet(MANIFEST_SECTION_BACKUP, MANIFEST_KEY_TIMESTAMP_COPY_START), optionGet(OPTION_DELTA),
|
||||
optionGet(OPTION_FORCE), $self->{strBackupSet},
|
||||
$oManifest->boolGet(MANIFEST_SECTION_BACKUP_OPTION, MANIFEST_KEY_COMPRESS));
|
||||
$self->{strBackupSet}, $oManifest->boolGet(MANIFEST_SECTION_BACKUP_OPTION, MANIFEST_KEY_COMPRESS)]);
|
||||
}
|
||||
|
||||
# Run the restore jobs and process results
|
||||
while (my $hyResult = $oRestoreProcess->process())
|
||||
while (my $hyJob = $oRestoreProcess->process())
|
||||
{
|
||||
foreach my $hResult (@{$hyResult})
|
||||
foreach my $hJob (@{$hyJob})
|
||||
{
|
||||
my $hFile = $hResult->{hPayload};
|
||||
|
||||
($lSizeCurrent) = restoreLog(
|
||||
$hFile->{&OP_PARAM_DB_FILE}, $hResult->{bCopy}, $hFile->{&OP_PARAM_SIZE}, $hFile->{&OP_PARAM_MODIFICATION_TIME},
|
||||
$hFile->{&OP_PARAM_CHECKSUM}, $hFile->{&OP_PARAM_ZERO}, optionGet(OPTION_FORCE), $lSizeTotal, $lSizeCurrent,
|
||||
$hResult->{iProcessId});
|
||||
$hJob->{iProcessId}, @{$hJob->{rParam}}[0..5], @{$hJob->{rResult}}, $lSizeTotal, $lSizeCurrent);
|
||||
}
|
||||
|
||||
# A keep-alive is required here because if there are a large number of resumed files that need to be checksummed
|
||||
|
@ -34,41 +34,41 @@ sub restoreFile
|
||||
(
|
||||
$strOperation,
|
||||
$oFile, # File object
|
||||
$strRepoFile,
|
||||
$strDbFile,
|
||||
$strReference,
|
||||
$lSize,
|
||||
$lModificationTime,
|
||||
$strChecksum,
|
||||
$bZero,
|
||||
$bForce, # Force flag
|
||||
$strRepoFile,
|
||||
$strReference,
|
||||
$strMode,
|
||||
$strUser,
|
||||
$strGroup,
|
||||
$strChecksum,
|
||||
$bZero,
|
||||
$lCopyTimeStart, # Backup start time - used for size/timestamp deltas
|
||||
$bDelta, # Is restore a delta?
|
||||
$bForce, # Force flag
|
||||
$strBackupPath, # Backup path
|
||||
$bSourceCompression, # Is the source compressed?
|
||||
$bSourceCompressed, # Is the source compressed?
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '::restoreFile', \@_,
|
||||
{name => 'oFile', trace => true},
|
||||
{name => &OP_PARAM_REPO_FILE, trace => true},
|
||||
{name => &OP_PARAM_DB_FILE, trace => true},
|
||||
{name => &OP_PARAM_REFERENCE, required => false, trace => true},
|
||||
{name => &OP_PARAM_SIZE, trace => true},
|
||||
{name => &OP_PARAM_MODIFICATION_TIME, trace => true},
|
||||
{name => &OP_PARAM_MODE, trace => true},
|
||||
{name => &OP_PARAM_USER, trace => true},
|
||||
{name => &OP_PARAM_GROUP, trace => true},
|
||||
{name => &OP_PARAM_CHECKSUM, required => false, trace => true},
|
||||
{name => &OP_PARAM_ZERO, required => false, default => false, trace => true},
|
||||
{name => &OP_PARAM_COPY_TIME_START, trace => true},
|
||||
{name => &OP_PARAM_DELTA, trace => true},
|
||||
{name => &OP_PARAM_FORCE, trace => true},
|
||||
{name => &OP_PARAM_BACKUP_PATH, trace => true},
|
||||
{name => &OP_PARAM_SOURCE_COMPRESSION, trace => true},
|
||||
{name => 'strDbFile', trace => true},
|
||||
{name => 'lSize', trace => true},
|
||||
{name => 'lModificationTime', trace => true},
|
||||
{name => 'strChecksum', required => false, trace => true},
|
||||
{name => 'bZero', required => false, default => false, trace => true},
|
||||
{name => 'bForce', trace => true},
|
||||
{name => 'strRepoFile', trace => true},
|
||||
{name => 'strReference', required => false, trace => true},
|
||||
{name => 'strMode', trace => true},
|
||||
{name => 'strUser', trace => true},
|
||||
{name => 'strGroup', trace => true},
|
||||
{name => 'lCopyTimeStart', trace => true},
|
||||
{name => 'bDelta', trace => true},
|
||||
{name => 'strBackupPath', trace => true},
|
||||
{name => 'bSourceCompressed', trace => true},
|
||||
);
|
||||
|
||||
# Copy flag and log message
|
||||
@ -138,9 +138,9 @@ sub restoreFile
|
||||
{
|
||||
my ($bCopyResult, $strCopyChecksum, $lCopySize) = $oFile->copy(
|
||||
PATH_BACKUP_CLUSTER, (defined($strReference) ? $strReference : $strBackupPath) .
|
||||
"/${strRepoFile}" . ($bSourceCompression ? '.' . $oFile->{strCompressExtension} : ''),
|
||||
"/${strRepoFile}" . ($bSourceCompressed ? '.' . $oFile->{strCompressExtension} : ''),
|
||||
PATH_DB_ABSOLUTE, $strDbFile,
|
||||
$bSourceCompression,
|
||||
$bSourceCompressed,
|
||||
undef, undef,
|
||||
$lModificationTime, $strMode,
|
||||
undef,
|
||||
@ -174,30 +174,30 @@ sub restoreLog
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$iLocalId,
|
||||
$strDbFile,
|
||||
$bCopy,
|
||||
$lSize,
|
||||
$lModificationTime,
|
||||
$strChecksum,
|
||||
$bZero,
|
||||
$bForce,
|
||||
$bCopy,
|
||||
$lSizeTotal,
|
||||
$lSizeCurrent,
|
||||
$iLocalId,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '::restoreLog', \@_,
|
||||
{name => &OP_PARAM_DB_FILE},
|
||||
{name => 'iLocalId', required => false},
|
||||
{name => 'strDbFile'},
|
||||
{name => 'lSize'},
|
||||
{name => 'lModificationTime'},
|
||||
{name => 'strChecksum', required => false},
|
||||
{name => 'bZero', required => false, default => false},
|
||||
{name => 'bForce'},
|
||||
{name => 'bCopy'},
|
||||
{name => &OP_PARAM_SIZE},
|
||||
{name => &OP_PARAM_MODIFICATION_TIME},
|
||||
{name => &OP_PARAM_CHECKSUM, required => false},
|
||||
{name => &OP_PARAM_ZERO, required => false, default => false},
|
||||
{name => &OP_PARAM_FORCE},
|
||||
{name => 'lSizeTotal'},
|
||||
{name => 'lSizeCurrent'},
|
||||
{name => 'iLocalId', required => false},
|
||||
);
|
||||
|
||||
# If the file was not copied then create a log entry to explain why
|
||||
|
@ -1,186 +0,0 @@
|
||||
####################################################################################################################################
|
||||
# PROTOCOL LOCAL GROUP MODULE
|
||||
####################################################################################################################################
|
||||
package pgBackRest::RestoreProcess;
|
||||
use parent 'pgBackRest::Protocol::LocalProcess';
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => qw(all);
|
||||
use Carp qw(confess);
|
||||
|
||||
use pgBackRest::BackupFile;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Config::Config;
|
||||
use pgBackRest::Protocol::Common;
|
||||
use pgBackRest::Version;
|
||||
|
||||
####################################################################################################################################
|
||||
# CONSTRUCTOR
|
||||
####################################################################################################################################
|
||||
sub new
|
||||
{
|
||||
my $class = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$iProcessMax,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->new', \@_,
|
||||
{name => 'iProcessMax', trace => true},
|
||||
);
|
||||
|
||||
my $self = $class->SUPER::new(BACKUP);
|
||||
bless $self, $class;
|
||||
|
||||
$self->hostAdd(1, $iProcessMax);
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn
|
||||
(
|
||||
$strOperation,
|
||||
{name => 'self', value => $self}
|
||||
);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# cmdResult
|
||||
#
|
||||
# Get the backup file result.
|
||||
####################################################################################################################################
|
||||
sub cmdResult
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$oLocal,
|
||||
$hJob,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->cmdResult', \@_,
|
||||
{name => 'oLocal', trace => true},
|
||||
{name => 'hJob', trace => true},
|
||||
);
|
||||
|
||||
$hJob->{bCopy} = $oLocal->outputRead(true);
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# cmdSend
|
||||
#
|
||||
# Send the backup file command.
|
||||
####################################################################################################################################
|
||||
sub cmdSend
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$oLocal,
|
||||
$hJob,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->cmdSend', \@_,
|
||||
{name => 'oLocal', trace => true},
|
||||
{name => 'hJob', trace => true},
|
||||
);
|
||||
|
||||
$oLocal->cmdWrite(OP_RESTORE_FILE, $hJob->{hPayload});
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
# queueRestore
|
||||
#
|
||||
# Queue a file for restore.
|
||||
####################################################################################################################################
|
||||
sub queueRestore
|
||||
{
|
||||
my $self = shift;
|
||||
|
||||
# Assign function parameters, defaults, and log debug info
|
||||
my
|
||||
(
|
||||
$strOperation,
|
||||
$strQueue,
|
||||
$strKey,
|
||||
$strRepoFile,
|
||||
$strDbFile,
|
||||
$strReference,
|
||||
$lSize,
|
||||
$lModificationTime,
|
||||
$strMode,
|
||||
$strUser,
|
||||
$strGroup,
|
||||
$strChecksum,
|
||||
$bZero,
|
||||
$lCopyTimeStart,
|
||||
$bDelta,
|
||||
$bForce,
|
||||
$strBackupPath,
|
||||
$bSourceCompression,
|
||||
) =
|
||||
logDebugParam
|
||||
(
|
||||
__PACKAGE__ . '->queueBackup', \@_,
|
||||
{name => 'strQueue'},
|
||||
{name => 'strKey'},
|
||||
{name => &OP_PARAM_REPO_FILE},
|
||||
{name => &OP_PARAM_DB_FILE},
|
||||
{name => &OP_PARAM_REFERENCE, required => false},
|
||||
{name => &OP_PARAM_SIZE},
|
||||
{name => &OP_PARAM_MODIFICATION_TIME},
|
||||
{name => &OP_PARAM_MODE},
|
||||
{name => &OP_PARAM_USER},
|
||||
{name => &OP_PARAM_GROUP},
|
||||
{name => &OP_PARAM_CHECKSUM, required => false},
|
||||
{name => &OP_PARAM_ZERO, required => false, default => false},
|
||||
{name => &OP_PARAM_COPY_TIME_START},
|
||||
{name => &OP_PARAM_DELTA},
|
||||
{name => &OP_PARAM_FORCE},
|
||||
{name => &OP_PARAM_BACKUP_PATH},
|
||||
{name => &OP_PARAM_SOURCE_COMPRESSION},
|
||||
);
|
||||
|
||||
$self->queueJob(
|
||||
1,
|
||||
$strQueue,
|
||||
$strKey,
|
||||
{
|
||||
&OP_PARAM_REPO_FILE => $strRepoFile,
|
||||
&OP_PARAM_DB_FILE => $strDbFile,
|
||||
&OP_PARAM_REFERENCE => $strReference,
|
||||
&OP_PARAM_SIZE => $lSize,
|
||||
&OP_PARAM_MODIFICATION_TIME => $lModificationTime,
|
||||
&OP_PARAM_MODE => $strMode,
|
||||
&OP_PARAM_USER => $strUser,
|
||||
&OP_PARAM_GROUP => $strGroup,
|
||||
&OP_PARAM_CHECKSUM => $strChecksum,
|
||||
&OP_PARAM_ZERO => $bZero,
|
||||
&OP_PARAM_COPY_TIME_START => $lCopyTimeStart,
|
||||
&OP_PARAM_DELTA => $bDelta,
|
||||
&OP_PARAM_FORCE => $bForce,
|
||||
&OP_PARAM_BACKUP_PATH => $strBackupPath,
|
||||
&OP_PARAM_SOURCE_COMPRESSION => $bSourceCompression,
|
||||
});
|
||||
|
||||
# Return from function and log return values if any
|
||||
return logDebugReturn($strOperation);
|
||||
}
|
||||
|
||||
1;
|
@ -16,7 +16,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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 ERROR: [130]: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
@ -93,7 +93,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
|
@ -16,7 +16,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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 ERROR: [130]: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
@ -58,7 +58,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
@ -91,7 +91,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
@ -124,7 +124,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
|
@ -16,7 +16,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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 ERROR: [130]: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
@ -93,7 +93,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
|
@ -16,7 +16,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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 ERROR: [130]: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
@ -58,7 +58,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
@ -91,7 +91,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
@ -124,7 +124,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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->archiveId=>: strArchiveId = 9.4-1
|
||||
|
@ -18,7 +18,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
||||
@ -98,7 +98,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009
|
||||
P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000900000009, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = ()
|
||||
|
@ -18,7 +18,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
||||
@ -63,7 +63,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7)
|
||||
@ -96,7 +96,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7)
|
||||
@ -129,7 +129,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7)
|
||||
|
@ -18,7 +18,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
||||
@ -98,7 +98,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Archive->walFileName(): bPartial = false, iWaitSeconds = [undef], oFile = [object], strArchiveId = 9.4-1, strWalSegment = 000000090000000900000009
|
||||
P00 DEBUG: File->list(): bIgnoreMissing = true, strExpression = ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, strPath = [TEST_PATH]/backup/repo/archive/db/9.4-1/0000000900000009, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = ()
|
||||
|
@ -18,7 +18,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 ERROR: [130]: raised on backup host: archive.info does not exist but is required to get WAL segments
|
||||
HINT: is archive_command configured in postgresql.conf?
|
||||
HINT: use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme.
|
||||
@ -63,7 +63,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = (000000010000000100000001-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz)
|
||||
@ -96,7 +96,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = (000000010000000100000002-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz)
|
||||
@ -129,7 +129,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: create local protocol
|
||||
P00 DEBUG: Db::dbObjectGet=>: iDbMasterIdx = 1, iDbStandbyIdx = [undef], oDbMaster = [object], oDbStandby = [undef]
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
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]/backup/repo/archive/db/9.4-1/0000000100000001, strPathType = backup:absolute, strSortOrder = <forward>
|
||||
P00 DEBUG: File->list=>: stryFileList = (000000010000000100000003-72b9da071c13957fb4ca31f05dbd5c644297c2f7.gz)
|
||||
|
@ -55,7 +55,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -109,16 +109,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_subtrans, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -127,43 +127,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -370,7 +370,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -528,7 +528,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -605,16 +605,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat_tmp, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_subtrans, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -623,34 +623,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -977,16 +977,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=backup local
|
||||
@ -995,43 +995,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1402,7 +1402,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1443,8 +1443,8 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1461,10 +1461,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1677,7 +1677,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1738,9 +1738,9 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1757,14 +1757,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -55,7 +55,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -94,16 +94,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -112,43 +112,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -337,7 +337,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -392,16 +392,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -410,34 +410,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -704,16 +704,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=backup local
|
||||
@ -722,43 +722,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -974,7 +974,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1023,8 +1023,8 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1049,10 +1049,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1259,7 +1259,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1346,9 +1346,9 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1373,14 +1373,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -55,7 +55,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -94,16 +94,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -112,43 +112,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -335,7 +335,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -390,16 +390,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -408,34 +408,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -700,16 +700,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=backup local
|
||||
@ -718,43 +718,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -970,7 +970,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1003,8 +1003,8 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1021,10 +1021,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1229,7 +1229,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1277,9 +1277,9 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1296,14 +1296,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -55,7 +55,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -94,16 +94,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -112,43 +112,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -336,7 +336,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -391,16 +391,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=db local
|
||||
@ -409,34 +409,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -702,16 +702,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/repo/lock --log-path=[TEST_PATH]/db-master/repo/log --process=1 --repo-path=[TEST_PATH]/db-master/repo --stanza=db --type=backup local
|
||||
@ -720,43 +720,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -972,7 +972,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1021,8 +1021,8 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1047,10 +1047,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1256,7 +1256,7 @@ 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: 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=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1343,9 +1343,9 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1370,14 +1370,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -57,7 +57,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -85,16 +85,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --cmd-ssh=/usr/bin/ssh --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-timeout=1 --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --protocol-timeout=2 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -103,43 +103,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -353,7 +353,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -422,7 +422,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -626,7 +626,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -711,7 +711,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -755,16 +755,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -773,34 +773,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1101,16 +1101,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --cmd-ssh=/usr/bin/ssh --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/spool/lock --log-path=[TEST_PATH]/db-master/spool/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup local
|
||||
@ -1119,43 +1119,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1375,7 +1375,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1395,8 +1395,8 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1413,10 +1413,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1648,7 +1648,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1683,9 +1683,9 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1702,14 +1702,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -57,7 +57,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -85,16 +85,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --cmd-ssh=/usr/bin/ssh --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -103,43 +103,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -354,7 +354,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -398,16 +398,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -416,34 +416,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 8192, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 21, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 3, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -736,16 +736,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = false, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 0), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --cmd-ssh=/usr/bin/ssh --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/spool/lock --log-path=[TEST_PATH]/db-master/spool/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup local
|
||||
@ -754,43 +754,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1010,7 +1010,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1046,8 +1046,8 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1072,10 +1072,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1308,7 +1308,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1379,9 +1379,9 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = false, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 0, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 0, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1406,14 +1406,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 11, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 7, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 7, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -57,7 +57,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -85,16 +85,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --cmd-ssh=/usr/bin/ssh --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -103,43 +103,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -351,7 +351,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -395,16 +395,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -413,34 +413,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -730,16 +730,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --cmd-ssh=/usr/bin/ssh --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/spool/lock --log-path=[TEST_PATH]/db-master/spool/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup local
|
||||
@ -748,43 +748,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1004,7 +1004,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1024,8 +1024,8 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1042,10 +1042,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1275,7 +1275,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1307,9 +1307,9 @@ P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostTy
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/global/pg_control to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
P00 DEBUG: Backup->processManifest: reference pg_data/base/16384/17000 to [BACKUP-FULL-2]
|
||||
@ -1326,14 +1326,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -57,7 +57,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -85,16 +85,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --cmd-ssh=/usr/bin/ssh --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -103,43 +103,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 8192, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 21, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 5, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 4, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: BackupFile::backupManifestUpdate: save manifest: lManifestSaveCurrent = 3, lManifestSaveSize = 3
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -352,7 +352,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = true
|
||||
@ -396,16 +396,16 @@ P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <f
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_clog, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_stat, strPathType = backup:tmp
|
||||
P00 DEBUG: File->pathCreate(): bCreateParents = <false>, bIgnoreExists = <false>, strMode = <0750>, strPath = pg_data/pg_tblspc, strPathType = backup:tmp
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = false, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control, strKey = pg_data/global/pg_control, strQueue = pg_data, strRepoFile = pg_data/global/pg_control
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strKey = pg_data/postgresql.conf, strQueue = pg_data, strRepoFile = pg_data/postgresql.conf
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strKey = pg_data/pg_stat/global.stat, strQueue = pg_data, strRepoFile = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strKey = pg_data/base/32768/33000, strQueue = pg_data, strRepoFile = pg_data/base/32768/33000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strKey = pg_data/base/16384/17000, strQueue = pg_data, strRepoFile = pg_data/base/16384/17000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strKey = pg_data/base/1/12000, strQueue = pg_data, strRepoFile = pg_data/base/1/12000
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strKey = pg_data/base/32768/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strKey = pg_data/base/16384/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strKey = pg_data/base/1/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strKey = pg_data/PG_VERSION, strQueue = pg_data, strRepoFile = pg_data/PG_VERSION
|
||||
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
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, pg_data/base/32768/33000, 5, 7f4c74dc10f61eef43e6ae642606627df1999b34, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/33000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, pg_data/base/16384/17000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/17000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, pg_data/base/1/12000, 4, a3b357a3e395e43fcfb19bb13f3c1b5179279593, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/12000, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, pg_data/base/32768/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, pg_data/base/16384/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, pg_data/base/1/PG_VERSION, 3, 184473f470864e067ee3a22e64b47b0a1c356f29, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, pg_data/PG_VERSION, 3, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/PG_VERSION, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host db-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --command=backup --config=[TEST_PATH]/backup/pgbackrest.conf --db-cmd=[BACKREST-BIN] --db-config=[TEST_PATH]/db-master/pgbackrest.conf --db-host=db-master --db-user=[USER-1] --host-id=1 --lock-path=[TEST_PATH]/backup/repo/lock --log-path=[TEST_PATH]/backup/repo/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=db local
|
||||
@ -414,34 +414,34 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 8192, 165, 89373d9f2973502940de06bc5212489df3f8a912), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/global/pg_control (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 21, 41, 6721d92c9fcdf4248acff1f9a1377127d9064807), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/postgresql.conf (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, e350d5ce0153f3e22d5db21cf2a4eff00f3ee877), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/pg_stat/global.stat (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 5, 25, 7f4c74dc10f61eef43e6ae642606627df1999b34), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/33000 (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 4, 24, a3b357a3e395e43fcfb19bb13f3c1b5179279593), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/12000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P01 DETAIL: checksum resumed file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 3, 23, 184473f470864e067ee3a22e64b47b0a1c356f29), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -732,16 +732,16 @@ P00 DEBUG: File->exists=>: bExists = true
|
||||
P00 DEBUG: build level 3 paths/links
|
||||
P00 DEBUG: Protocol::LocalProcess->new(): iSelectTimeout = <915>, strHostType = backup
|
||||
P00 DEBUG: Protocol::LocalProcess->hostAdd(): iHostConfigIdx = 1, iProcessMax = 1
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, strBackupPath = [BACKUP-FULL-2], strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, strGroup = [GROUP-1], strKey = pg_data/global/pg_control, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/global/pg_control, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 21, strBackupPath = [BACKUP-FULL-2], strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf, strGroup = [GROUP-1], strKey = pg_data/postgresql.conf, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/postgresql.conf, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-1], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat, strGroup = [GROUP-1], strKey = pg_data/pg_stat/global.stat, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/pg_stat/global.stat, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 5, strBackupPath = [BACKUP-FULL-2], strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000, strGroup = [GROUP-1], strKey = pg_data/base/32768/33000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/33000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000, strGroup = [GROUP-1], strKey = pg_data/base/16384/17000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/17000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 4, strBackupPath = [BACKUP-FULL-2], strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000, strGroup = [GROUP-1], strKey = pg_data/base/1/12000, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/12000, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/32768/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/32768/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/16384/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/16384/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/base/1/PG_VERSION, strMode = 0660, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/base/1/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: RestoreProcess->queueBackup(): bDelta = true, bForce = false, bSourceCompression = true, bZero = false, lCopyTimeStart = [TIMESTAMP], lModificationTime = [MODIFICATION-TIME-2], lSize = 3, strBackupPath = [BACKUP-FULL-2], strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/PG_VERSION, strGroup = [GROUP-1], strKey = pg_data/PG_VERSION, strMode = 0600, strQueue = pg_data, strReference = [undef], strRepoFile = pg_data/PG_VERSION, strUser = [USER-1]
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest, 8192, [MODIFICATION-TIME-1], 89373d9f2973502940de06bc5212489df3f8a912, 0, 0, pg_data/global/pg_control, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/global/pg_control, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/postgresql.conf, 21, [MODIFICATION-TIME-1], 6721d92c9fcdf4248acff1f9a1377127d9064807, 0, 0, pg_data/postgresql.conf, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/postgresql.conf, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_stat/global.stat, 5, [MODIFICATION-TIME-1], e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, 0, 0, pg_data/pg_stat/global.stat, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/pg_stat/global.stat, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/33000, 5, [MODIFICATION-TIME-2], 7f4c74dc10f61eef43e6ae642606627df1999b34, 0, 0, pg_data/base/32768/33000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/33000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/17000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/16384/17000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/17000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/12000, 4, [MODIFICATION-TIME-2], a3b357a3e395e43fcfb19bb13f3c1b5179279593, 0, 0, pg_data/base/1/12000, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/12000, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/32768/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/32768/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/32768/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/16384/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/16384/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/16384/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/base/1/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/base/1/PG_VERSION, [undef], 0660, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/base/1/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/PG_VERSION, 3, [MODIFICATION-TIME-2], 184473f470864e067ee3a22e64b47b0a1c356f29, 0, 0, pg_data/PG_VERSION, [undef], 0600, [USER-1], postgres, [TIMESTAMP], 1, [BACKUP-FULL-2], 1), strKey = pg_data/PG_VERSION, strOp = restoreFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->hostConnect: start local process: iHostConfigIdx = 1, iHostIdx = 0, iHostProcessIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 start for host backup-1
|
||||
P00 DEBUG: Protocol::LocalMaster->new(): iProcessIdx = 1, strCommand = [BACKREST-BIN] --backup-cmd=[BACKREST-BIN] --backup-config=[TEST_PATH]/backup/pgbackrest.conf --backup-host=backup --backup-user=[USER-2] --cmd-ssh=/usr/bin/ssh --command=restore --config=[TEST_PATH]/db-master/pgbackrest.conf --host-id=1 --lock-path=[TEST_PATH]/db-master/spool/lock --log-path=[TEST_PATH]/db-master/spool/log --process=1 --repo-path=[TEST_PATH]/backup/repo --stanza=db --type=backup local
|
||||
@ -750,43 +750,43 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/global/pg_control, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/global/pg_control
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/postgresql.conf, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 8192, lSizeCurrent = 0, lSizeTotal = 8243, strChecksum = 89373d9f2973502940de06bc5212489df3f8a912, strDbFile = [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/global/pg_control.pgbackrest (8KB, 99%) checksum 89373d9f2973502940de06bc5212489df3f8a912
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/postgresql.conf
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/pg_stat/global.stat, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 21, lSizeCurrent = 8192, lSizeTotal = 8243, strChecksum = 6721d92c9fcdf4248acff1f9a1377127d9064807, strDbFile = [TEST_PATH]/db-master/db/base/postgresql.conf
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/postgresql.conf - exists and matches backup (21B, 99%) checksum 6721d92c9fcdf4248acff1f9a1377127d9064807
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/pg_stat/global.stat
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/33000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-1], lSize = 5, lSizeCurrent = 8213, lSizeTotal = 8243, strChecksum = e350d5ce0153f3e22d5db21cf2a4eff00f3ee877, strDbFile = [TEST_PATH]/db-master/db/base/pg_stat/global.stat
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/pg_stat/global.stat - exists and matches backup (5B, 99%) checksum e350d5ce0153f3e22d5db21cf2a4eff00f3ee877
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/33000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/17000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 5, lSizeCurrent = 8218, lSizeTotal = 8243, strChecksum = 7f4c74dc10f61eef43e6ae642606627df1999b34, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/33000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/33000 - exists and matches backup (5B, 99%) checksum 7f4c74dc10f61eef43e6ae642606627df1999b34
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1), strKey = pg_data/base/16384/17000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/12000, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = true, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8223, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/17000
|
||||
P01 INFO: restore file [TEST_PATH]/db-master/db/base/base/16384/17000 (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/12000
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 4, lSizeCurrent = 8227, lSizeTotal = 8243, strChecksum = a3b357a3e395e43fcfb19bb13f3c1b5179279593, strDbFile = [TEST_PATH]/db-master/db/base/base/1/12000
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/12000 - exists and matches backup (4B, 99%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/32768/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8231, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/32768/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/16384/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/base/1/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8234, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/16384/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/base/1/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/PG_VERSION, strQueueIdx = 0
|
||||
P00 DEBUG: RestoreFile::restoreLog(): bCopy = false, bForce = false, bZero = false, iLocalId = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 3, lSizeCurrent = 8237, lSizeTotal = 8243, strChecksum = 184473f470864e067ee3a22e64b47b0a1c356f29, strDbFile = [TEST_PATH]/db-master/db/base/base/1/PG_VERSION
|
||||
P01 DETAIL: restore file [TEST_PATH]/db-master/db/base/base/1/PG_VERSION - exists and matches backup (3B, 99%) checksum 184473f470864e067ee3a22e64b47b0a1c356f29
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0), strKey = pg_data/PG_VERSION
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for backup-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1006,7 +1006,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1042,8 +1042,8 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1068,10 +1068,10 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 1
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 1
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
@ -1302,7 +1302,7 @@ P00 DEBUG: Protocol::Protocol::protocolGet: found cached protocol
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info(): strDbPath = <[TEST_PATH]/db-master/db/base>
|
||||
P00 DEBUG: File->new(): oProtocol = [object], strBackupPath = [TEST_PATH]/backup/repo, strDefaultFileMode = <0640>, strDefaultPathMode = <0750>, strStanza = db
|
||||
P00 DEBUG: Db->info=>: iCatalogVersion = 201409291, iControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: Db->info=>: iDbCatalogVersion = 201409291, iDbControlVersion = 942, strDbVersion = 9.4, ullDbSysId = 6353949018581704918
|
||||
P00 DEBUG: BackupInfo->check=>: iDbHistoryId = 1
|
||||
P00 DEBUG: File->exists(): strPath = [TEST_PATH]/db-master/db/base/postmaster.pid, strPathType = db:absolute
|
||||
P00 DEBUG: File->exists=>: bExists = false
|
||||
@ -1373,9 +1373,9 @@ P00 DEBUG: Backup->processManifest: hardlink pg_data/global/pg_control to [
|
||||
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
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/postgresql.conf to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/postgresql.conf, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/postgresql.conf, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 11, strChecksum = bogus, strDbFile = [TEST_PATH]/db-master/db/base/badchecksum.txt, strKey = pg_data/badchecksum.txt, strQueue = pg_data, strRepoFile = pg_data/badchecksum.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = [undef], strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueue = pg_tblspc/2, strRepoFile = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: BackupProcess->queueBackup(): bDestinationCompress = true, bIgnoreMissing = true, iHostConfigIdx = 1, lModificationTime = [MODIFICATION-TIME-2], lSize = 7, strChecksum = d85de07d6421d90aa9191c11c889bfde43680f0f, strDbFile = [TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueue = pg_tblspc/1, strRepoFile = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/badchecksum.txt, pg_data/badchecksum.txt, 11, bogus, 1, [MODIFICATION-TIME-2], 1), strKey = pg_data/badchecksum.txt, strOp = backupFile, strQueue = pg_data
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, 7, [undef], 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strOp = backupFile, strQueue = pg_tblspc/2
|
||||
P00 DEBUG: Protocol::LocalProcess->queueJob(): iHostConfigIdx = 1, rParam = ([TEST_PATH]/db-master/db/base/pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, 7, d85de07d6421d90aa9191c11c889bfde43680f0f, 1, [MODIFICATION-TIME-2], 1), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strOp = backupFile, strQueue = pg_tblspc/1
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/pg_stat/global.stat to [BACKUP-FULL-2]
|
||||
P00 DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = pg_data/pg_stat/global.stat, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-2]/pg_data/pg_stat/global.stat, strSourcePathType = backup:cluster
|
||||
P00 DEBUG: Backup->processManifest: hardlink pg_data/base/32768/33000 to [BACKUP-FULL-2]
|
||||
@ -1400,14 +1400,14 @@ P00 DEBUG: Protocol::LocalProcess->hostConnect=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->init: init local process: iDirection = 1, iHostIdx = 0, iProcessId = 1, iQueueIdx = 0, iQueueLastIdx = 2
|
||||
P00 DEBUG: Protocol::LocalProcess->init=>: bResult = true
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_data/badchecksum.txt, strQueueIdx = 0
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (2, 11, 31, f927212cd08d11a42a666b2f04235398e9ceeb51), strKey = pg_data/badchecksum.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt, strQueueIdx = 1
|
||||
P00 WARN: resumed backup file pg_data/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (1, 7, 27, dc7f76e43c46101b47acc55ae4d593a9e6983578), strKey = pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: get job from queue: iHostIdx = 0, iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt, strQueueIdx = 2
|
||||
P01 INFO: backup file db-master:[TEST_PATH]/db-master/db/base/pg_tblspc/2/[TS_PATH-1]/32768/tablespace2.txt (7B, 72%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: job complete: iProcessId = 1, rResult = (0, 7, 27, d85de07d6421d90aa9191c11c889bfde43680f0f), strKey = pg_tblspc/1/[TS_PATH-1]/16384/tablespace1.txt
|
||||
P00 DEBUG: Protocol::LocalProcess->process: no jobs found, stop local: iHostIdx = 0, iProcessId = 1
|
||||
P01 INFO: local process 1 stop for db-1
|
||||
P00 DEBUG: Protocol::CommonMaster->close=>: iExitStatus = 0
|
||||
|
@ -772,7 +772,7 @@ sub backupTestRun
|
||||
my $bNeutralTest = !$bCompress && !$bHardLink;
|
||||
|
||||
# Get base time
|
||||
my $lTime = time() - 100000;
|
||||
my $lTime = time() - 10000;
|
||||
|
||||
# Build the manifest
|
||||
my %oManifest;
|
||||
|
@ -36,6 +36,7 @@ use constant POSTGRES_USER => POSTGRES_
|
||||
use constant POSTGRES_USER_ID => POSTGRES_GROUP_ID;
|
||||
|
||||
use constant TEST_GROUP => POSTGRES_GROUP;
|
||||
push @EXPORT, qw(TEST_GROUP);
|
||||
use constant TEST_GROUP_ID => POSTGRES_GROUP_ID;
|
||||
use constant TEST_USER => getpwuid($UID) . '';
|
||||
push @EXPORT, qw(TEST_USER);
|
||||
|
@ -19,6 +19,7 @@ use pgBackRest::Common::Ini;
|
||||
use pgBackRest::Common::Log;
|
||||
use pgBackRest::Version;
|
||||
|
||||
use pgBackRestTest::Common::ContainerTest;
|
||||
use pgBackRestTest::Common::ExecuteTest;
|
||||
|
||||
####################################################################################################################################
|
||||
@ -252,12 +253,12 @@ sub regExpReplace
|
||||
|
||||
if (@stryReplacement == 0)
|
||||
{
|
||||
confess &log(ASSERT, $strError . "is not a sub-regexp of '${strExpression}' or" .
|
||||
confess &log(ASSERT, $strError . " is not a sub-regexp of '${strExpression}' or" .
|
||||
" matches " . @stryReplacement . " times on {[${strReplace}]}");
|
||||
}
|
||||
|
||||
confess &log(
|
||||
ASSERT, $strError . " matches '${strExpression}'" . @stryReplacement . " times on '${strReplace}': " .
|
||||
ASSERT, $strError . " matches '${strExpression}' " . @stryReplacement . " times on '${strReplace}': " .
|
||||
join(',', @stryReplacement));
|
||||
}
|
||||
|
||||
@ -338,9 +339,6 @@ sub regExpReplaceAll
|
||||
$strLine = $self->regExpReplace($strLine, 'CONTAINER-EXEC', '^docker exec -u [a-z]*', '^docker exec -u [a-z]*', false);
|
||||
|
||||
$strLine = $self->regExpReplace($strLine, 'PROCESS-ID', 'sent term signal to process [0-9]+', '[0-9]+$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'MODIFICATION-TIME', 'lModificationTime = [0-9]+', '[0-9]+$');
|
||||
$strLine = $self->regExpReplace($strLine, 'MODIFICATION-TIME', 'and modification time [0-9]+', '[0-9]+$');
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP', 'timestamp"[ ]{0,1}:[ ]{0,1}[0-9]+','[0-9]+$');
|
||||
|
||||
$strLine = $self->regExpReplace($strLine, 'BACKUP-INCR', '[0-9]{8}\-[0-9]{6}F\_[0-9]{8}\-[0-9]{6}I');
|
||||
$strLine = $self->regExpReplace($strLine, 'BACKUP-DIFF', '[0-9]{8}\-[0-9]{6}F\_[0-9]{8}\-[0-9]{6}D');
|
||||
@ -358,6 +356,7 @@ sub regExpReplaceAll
|
||||
$strLine = $self->regExpReplace($strLine, 'USER', 'cannot be used for restore\, set to .+$', '[^ ]+$');
|
||||
$strLine = $self->regExpReplace($strLine, 'USER', '-user=[a-z0-9_]+', '[^=]+$');
|
||||
$strLine = $self->regExpReplace($strLine, 'USER', '[^ ]+\@db\-master', '^[^\@]+');
|
||||
$strLine = $self->regExpReplace($strLine, 'USER', '[\( ]{1}' . TEST_USER . '[\,\)]{1}', TEST_USER);
|
||||
|
||||
$strLine = $self->regExpReplace($strLine, 'PORT', 'db-port=[0-9]+', '[0-9]+$');
|
||||
|
||||
@ -372,20 +371,19 @@ sub regExpReplaceAll
|
||||
$strLine = $self->regExpReplace($strLine, 'TS_PATH', "PG\\_[0-9]\\.[0-9]\\_[0-9]{9}");
|
||||
$strLine = $self->regExpReplace($strLine, 'VERSION',
|
||||
"version[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}" . BACKREST_VERSION, BACKREST_VERSION . '$');
|
||||
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP', 'timestamp"[ ]{0,1}:[ ]{0,1}[0-9]+','[0-9]{10}$');
|
||||
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP',
|
||||
"timestamp-[a-z-]+[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}[0-9]+", '[0-9]+$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP',
|
||||
"start\" : [0-9]{10}", '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP',
|
||||
"stop\" : [0-9]{10}", '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP',
|
||||
"lCopyTimeStart = [0-9]{10}", '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'SIZE',
|
||||
"size\"[ ]{0,1}:[ ]{0,1}[0-9]+", '[0-9]+$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'DELTA',
|
||||
"delta\"[ ]{0,1}:[ ]{0,1}[0-9]+", '[0-9]+$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP-STR', " timestamp: $strTimestampRegExp / $strTimestampRegExp",
|
||||
"${strTimestampRegExp} / ${strTimestampRegExp}\$", false);
|
||||
"timestamp-[a-z-]+[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}[0-9]+", '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP', "start\" : [0-9]{10}", '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP', "stop\" : [0-9]{10}", '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP', TEST_GROUP . '\, [0-9]{10}', '[0-9]{10}$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'SIZE', "size\"[ ]{0,1}:[ ]{0,1}[0-9]+", '[0-9]+$', false);
|
||||
$strLine = $self->regExpReplace($strLine, 'DELTA', "delta\"[ ]{0,1}:[ ]{0,1}[0-9]+", '[0-9]+$', false);
|
||||
$strLine = $self->regExpReplace(
|
||||
$strLine, 'TIMESTAMP-STR', " timestamp: $strTimestampRegExp / $strTimestampRegExp",
|
||||
"${strTimestampRegExp} / ${strTimestampRegExp}\$", false);
|
||||
$strLine = $self->regExpReplace($strLine, 'CHECKSUM', 'checksum=[\"]{0,1}[0-f]{40}', '[0-f]{40}$', false);
|
||||
|
||||
$strLine = $self->regExpReplace($strLine, 'REMOTE-PROCESS-TERMINATED-MESSAGE',
|
||||
@ -402,6 +400,10 @@ sub regExpReplaceAll
|
||||
$strLine = $self->regExpReplace($strLine, 'XID-TARGET', " \\-\\-target\\=\\\"[0-9]+", "[0-9]+\$");
|
||||
$strLine = $self->regExpReplace($strLine, 'XID-TARGET', "^recovery_target_xid \\= \\'[0-9]+", "[0-9]+\$");
|
||||
|
||||
$strLine = $self->regExpReplace(
|
||||
$strLine, 'MODIFICATION-TIME', '(' . (substr(time(), 0, 5) - 1) . '[0-9]{5}|' . substr(time(), 0, 5) . '[0-9]{5})',
|
||||
'^[0-9]{10}$');
|
||||
|
||||
return $strLine;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user