1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-17 01:12:23 +02:00

Work on issue #48: Abandon threads and go to processes

More separation of the protocol and remote layers than was done in issue #106.
Settings are passed to the remote via command-line parameters rather than in the protocol.
This commit is contained in:
David Steele
2015-06-18 15:39:30 -04:00
parent 22e126eda7
commit 4e2c14623b
27 changed files with 678 additions and 471 deletions

View File

@ -138,7 +138,22 @@ eval
################################################################################################################################
if (operationTest(OP_REMOTE))
{
safe_exit((new BackRest::Remote())->process());
# Turn all logging off
log_level_set(OFF, OFF);
# Create the remote object
my $oRemote = new BackRest::Remote
(
undef, # Host
undef, # User
'remote', # Command
optionGet(OPTION_BUFFER_SIZE),
optionGet(OPTION_COMPRESS_LEVEL),
optionGet(OPTION_COMPRESS_LEVEL_NETWORK)
);
# Process remote requests
safe_exit($oRemote->process());
}
# Set the log levels

View File

@ -427,9 +427,6 @@ sub pushProcess
# Open the log file
log_file_set(optionGet(OPTION_REPO_PATH) . '/log/' . optionGet(OPTION_STANZA) . '-archive-async');
# Build the basic command string that will be used to modify the command during processing
my $strCommand = $^X . ' ' . $0 . " --stanza=" . optionGet(OPTION_STANZA);
# Call the archive_xfer function and continue to loop as long as there are files to process
my $iLogTotal;

View File

@ -423,6 +423,10 @@ my %oOptionRule =
{
&OPTION_RULE_REQUIRED => true
},
&OP_REMOTE =>
{
&OPTION_RULE_REQUIRED => false
},
&OP_RESTORE =>
{
&OPTION_RULE_REQUIRED => true
@ -704,6 +708,7 @@ my %oOptionRule =
&OP_ARCHIVE_GET => true,
&OP_ARCHIVE_PUSH => true,
&OP_INFO => true,
&OP_REMOTE => true,
&OP_RESTORE => true
},
},
@ -811,6 +816,7 @@ my %oOptionRule =
&OP_ARCHIVE_PUSH => true,
&OP_BACKUP => true,
&OP_INFO => true,
&OP_REMOTE => true,
&OP_RESTORE => true
}
},
@ -828,6 +834,7 @@ my %oOptionRule =
&OP_ARCHIVE_PUSH => true,
&OP_BACKUP => true,
&OP_INFO => true,
&OP_REMOTE => true,
&OP_RESTORE => true
}
},
@ -856,6 +863,15 @@ my %oOptionRule =
lc(INFO) => true,
lc(DEBUG) => true,
lc(TRACE) => true
},
&OPTION_RULE_OPERATION =>
{
&OP_ARCHIVE_GET => true,
&OP_ARCHIVE_PUSH => true,
&OP_BACKUP => true,
&OP_EXPIRE => true,
&OP_INFO => true,
&OP_RESTORE => true
}
},
@ -872,6 +888,15 @@ my %oOptionRule =
lc(INFO) => true,
lc(DEBUG) => true,
lc(TRACE) => true
},
&OPTION_RULE_OPERATION =>
{
&OP_ARCHIVE_GET => true,
&OP_ARCHIVE_PUSH => true,
&OP_BACKUP => true,
&OP_EXPIRE => true,
&OP_INFO => true,
&OP_RESTORE => true
}
},
@ -1166,6 +1191,7 @@ sub configLoad
# Set repo-remote-path to repo-path if it is not set
if (optionTest(OPTION_REPO_PATH) && !optionTest(OPTION_REPO_REMOTE_PATH))
{
$oOption{&OPTION_REPO_REMOTE_PATH}{source} = $oOption{&OPTION_REPO_PATH}{source};
$oOption{&OPTION_REPO_REMOTE_PATH}{value} = optionGet(OPTION_REPO_PATH);
}
@ -1718,16 +1744,41 @@ sub optionGet
sub operationWrite
{
my $strNewOperation = shift;
my $bIncludeConfig = shift;
my $strCommand = shift;
my $strCommand = abs_path($0);
$strCommand = defined($strCommand) ? $strCommand : abs_path($0);
# If config setting are included then also set --no-config
$bIncludeConfig = defined($bIncludeConfig) ? $bIncludeConfig : false;
if ($bIncludeConfig)
{
$strCommand .= ' --no-config';
}
foreach my $strOption (sort(keys(%oOption)))
{
next if ($bIncludeConfig && $strOption eq OPTION_CONFIG);
# &log(WARN, "option ${strOption} = " . (defined($oOption{$strOption}{source}) ? $oOption{$strOption}{source} : 'undef') .
# ", " . (defined($oOption{$strOption}{value}) ? $oOption{$strOption}{value} : 'undef'));
if ((!defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}) ||
defined($oOptionRule{$strOption}{&OPTION_RULE_OPERATION}{$strNewOperation})) &&
$oOption{$strOption}{source} eq SOURCE_PARAM)
defined($oOption{$strOption}{value}) &&
($bIncludeConfig ? $oOption{$strOption}{source} ne SOURCE_DEFAULT : $oOption{$strOption}{source} eq SOURCE_PARAM))
{
my $strParam = "--${strOption}=$oOption{$strOption}{value}";
my $strParam;
if ($oOptionRule{$strOption}{&OPTION_RULE_TYPE} eq OPTION_TYPE_BOOLEAN)
{
$strParam = '--' . ($oOption{$strOption}{value} ? '' : 'no-') . $strOption;
}
else
{
$strParam = "--${strOption}=$oOption{$strOption}{value}";
}
if (index($oOption{$strOption}{value}, " ") != -1)
{
@ -1800,7 +1851,7 @@ sub protocolGet
{
return new BackRest::Protocol
(
undef, undef, undef, undef, undef,
undef, false, undef,
optionGet(OPTION_BUFFER_SIZE),
operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL),
operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK)
@ -1814,13 +1865,11 @@ sub protocolGet
}
# Return the remote when required
my $oProtocolTemp = new BackRest::Protocol
my $oProtocolTemp = new BackRest::Remote
(
optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_HOST) : optionGet(OPTION_BACKUP_HOST),
optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_USER) : optionGet(OPTION_BACKUP_USER),
optionGet(OPTION_COMMAND_REMOTE),
optionGet(OPTION_STANZA, false),
optionGet(OPTION_REPO_REMOTE_PATH),
operationWrite(OP_REMOTE, true, optionGet(OPTION_COMMAND_REMOTE)),
optionGet(OPTION_BUFFER_SIZE),
operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL),
operationTest(OP_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK)

View File

@ -33,18 +33,19 @@ use constant OP_PROTOCOL_COMMAND_WRITE => OP_PROTOC
sub new
{
my $class = shift; # Class name
my $strHost = shift; # Host to connect to for remote (optional as this can also be used on the remote)
my $strUser = shift; # User to connect to for remote (must be set if strHost is set)
my $strName = shift; # Name of the protocol
my $bBackend = shift; # Is the the backend side of the protocol?
my $strCommand = shift; # Command to execute on remote ('remote' if this is the remote)
my $strStanza = shift; # Stanza
my $strRepoPath = shift; # Remote Repository Path
my $iBlockSize = shift; # Buffer size
my $iCompressLevel = shift; # Set compression level
my $iCompressLevelNetwork = shift; # Set compression level for network only compression
my $strHost = shift; # Host to connect to for remote (optional as this can also be used on the remote)
my $strUser = shift; # User to connect to for remote (must be set if strHost is set)
# Debug
logDebug(OP_PROTOCOL_NEW, DEBUG_CALL, undef,
{host => $strHost, user => $strUser, stanza => $strStanza, remoteRepoPath => $strRepoPath, command => $strCommand},
{name => $strName, isBackend => $bBackend, command => $strCommand, host => $strHost, user => $strUser,
blockSize => $iBlockSize, compressLevel => $iCompressLevel, compressLevelNetwork => $iCompressLevelNetwork},
defined($strHost) ? DEBUG : TRACE);
# Create the class hash
@ -52,19 +53,44 @@ sub new
bless $self, $class;
# Create the greeting that will be used to check versions with the remote
$self->{strGreeting} = 'PG_BACKREST_REMOTE ' . version_get();
if (defined($strName))
{
$self->{strName} = $strName;
$self->{strGreeting} = 'PG_BACKREST_' . uc($strName) . ' ' . version_get();
}
# Set stanza and repo path
$self->{strStanza} = $strStanza;
$self->{strRepoPath} = $strRepoPath;
$self->{bBackend} = $bBackend;
# Set default block size
$self->{iBlockSize} = $iBlockSize;
if (!defined($self->{iBlockSize}))
{
confess &log(ASSERT, 'iBlockSize must be set');
}
# Set compress levels
$self->{iCompressLevel} = $iCompressLevel;
if (!defined($self->{iCompressLevel}))
{
confess &log(ASSERT, 'iCompressLevel must be set');
}
$self->{iCompressLevelNetwork} = $iCompressLevelNetwork;
if (!defined($self->{iCompressLevelNetwork}))
{
confess &log(ASSERT, 'iCompressLevelNetwork must be set');
}
if ($bBackend)
{
# Write the greeting so master process knows who we are
$self->greeting_write();
}
elsif (defined($strCommand))
{
# If host is defined then make a connnection
if (defined($strHost))
{
@ -102,34 +128,11 @@ sub new
($self->{hIn}, $self->{hOut}, $self->{hErr}, $self->{pId}) = $self->{oSSH}->open3($self->{strCommand});
$self->greeting_read();
$self->setting_write($self->{strStanza}, $self->{strRepoPath},
$self->{iBlockSize}, $self->{iCompressLevel}, $self->{iCompressLevelNetwork});
}
elsif (defined($strCommand) && $strCommand eq 'remote')
else
{
# Write the greeting so master process knows who we are
$self->greeting_write();
# Read settings from master
($self->{strStanza}, $self->{strRepoPath}, $self->{iBlockSize}, $self->{iCompressLevel},
$self->{iCompressLevelNetwork}) = $self->setting_read();
confess &log(ASSERT, 'local operation not yet supported');
}
# Check block size
if (!defined($self->{iBlockSize}))
{
confess &log(ASSERT, 'iBlockSize must be set');
}
# Check compress levels
if (!defined($self->{iCompressLevel}))
{
confess &log(ASSERT, 'iCompressLevel must be set');
}
if (!defined($self->{iCompressLevelNetwork}))
{
confess &log(ASSERT, 'iCompressLevelNetwork must be set');
}
return $self;
@ -157,26 +160,6 @@ sub DESTROY
}
}
####################################################################################################################################
# repoPath
####################################################################################################################################
sub repoPath
{
my $self = shift;
return $self->{strRepoPath};
}
####################################################################################################################################
# stanza
####################################################################################################################################
sub stanza
{
my $self = shift;
return $self->{strStanza};
}
####################################################################################################################################
# CLONE
####################################################################################################################################
@ -186,14 +169,14 @@ sub clone
return BackRest::Protocol->new
(
$self->{strHost},
$self->{strUser},
$self->{strName},
$self->{bBackend},
$self->{strCommand},
$self->{strStanza},
$self->{strRepoPath},
$self->{iBlockSize},
$self->{iCompressLevel},
$self->{iCompressLevelNetwork}
$self->{iCompressLevelNetwork},
$self->{strHost},
$self->{strUser}
);
}
@ -207,9 +190,11 @@ sub greeting_read
my $self = shift;
# Make sure that the remote is running the right version
if ($self->read_line($self->{hOut}) ne $self->{strGreeting})
my $strLine = $self->read_line($self->{hOut});
if ($strLine ne $self->{strGreeting})
{
confess &log(ERROR, 'protocol version mismatch');
confess &log(ERROR, "protocol version mismatch: ${strLine}");
}
}
@ -225,59 +210,6 @@ sub greeting_write
$self->write_line(*STDOUT, $self->{strGreeting});
}
####################################################################################################################################
# SETTING_READ
#
# Read the settings from the master process.
####################################################################################################################################
sub setting_read
{
my $self = shift;
# Get Stanza
my $strStanza = $self->read_line(*STDIN);
# Get Repo Path
my $strRepoPath = $self->read_line(*STDIN);
# Tokenize the settings
my @stryToken = split(/ /, $self->read_line(*STDIN));
# Make sure there are the correct number of tokens
if (@stryToken != 4)
{
confess &log(ASSERT, 'settings token count is invalid', ERROR_PROTOCOL);
}
# Check for the setting token just to be sure
if ($stryToken[0] ne 'setting')
{
confess &log(ASSERT, 'settings token 0 must be \'setting\'');
}
# Return the settings
return $strStanza, $strRepoPath, $stryToken[1], $stryToken[2], $stryToken[3];
}
####################################################################################################################################
# SETTING_WRITE
#
# Send settings to the remote process.
####################################################################################################################################
sub setting_write
{
my $self = shift;
my $strStanza = shift; # Database stanza
my $strRepoPath = shift; # Path to the repository on the remote
my $iBlockSize = shift; # Optionally, set the block size (defaults to DEFAULT_BLOCK_SIZE)
my $iCompressLevel = shift; # Set compression level
my $iCompressLevelNetwork = shift; # Set compression level for network only compression
$self->write_line($self->{hIn}, $strStanza);
$self->write_line($self->{hIn}, $strRepoPath);
$self->write_line($self->{hIn}, "setting ${iBlockSize} ${iCompressLevel} ${iCompressLevelNetwork}");
}
####################################################################################################################################
# STRING_WRITE
#
@ -1279,25 +1211,4 @@ sub command_execute
return $self->output_read($bOutputRequired, $strErrorPrefix);
}
####################################################################################################################################
# paramGet
#
# Helper function that returns the param or an error if required and it does not exist.
####################################################################################################################################
sub paramGet
{
my $oParamHashRef = shift;
my $strParam = shift;
my $bRequired = shift;
my $strValue = ${$oParamHashRef}{$strParam};
if (!defined($strValue) && (!defined($bRequired) || $bRequired))
{
confess "${strParam} must be defined";
}
return $strValue;
}
1;

View File

@ -2,6 +2,7 @@
# REMOTE MODULE
####################################################################################################################################
package BackRest::Remote;
use parent 'BackRest::Protocol';
use strict;
use warnings FATAL => qw(all);
@ -25,6 +26,13 @@ use BackRest::Info;
use BackRest::Protocol;
use BackRest::Utility;
####################################################################################################################################
# Operation constants
####################################################################################################################################
use constant OP_REMOTE_BASE => 'Remote';
use constant OP_REMOTE_NEW => OP_REMOTE_BASE . "->new";
####################################################################################################################################
# Operation constants
####################################################################################################################################
@ -40,10 +48,21 @@ use constant
sub new
{
my $class = shift; # Class name
my $strHost = shift; # Host to connect to for remote (optional as this can also be used on the remote)
my $strUser = shift; # User to connect to for remote (must be set if strHost is set)
my $strCommand = shift; # Command to execute on remote ('remote' if this is the remote)
my $iBlockSize = shift; # Buffer size
my $iCompressLevel = shift; # Set compression level
my $iCompressLevelNetwork = shift; # Set compression level for network only compression
# Create the class hash
my $self = {};
bless $self, $class;
# Debug
logDebug(OP_REMOTE_NEW, DEBUG_CALL, undef,
{host => $strHost, user => $strUser, command => $strCommand},
defined($strHost) ? DEBUG : TRACE);
# Init object and store variables
my $self = $class->SUPER::new(OP_REMOTE, !defined($strHost), $strCommand, $iBlockSize, $iCompressLevel, $iCompressLevelNetwork,
$strHost, $strUser);
return $self;
}
@ -76,24 +95,13 @@ sub process
{
my $self = shift;
# Turn all logging off
log_level_set(OFF, OFF);
# Create the remote object
my $oProtocol = new BackRest::Protocol
(
undef, # Host
undef, # User
'remote' # Command
);
# Create the file object
my $oFile = new BackRest::File
(
$oProtocol->stanza(),
$oProtocol->repoPath(),
optionGet(OPTION_STANZA, false),
optionGet(OPTION_REPO_REMOTE_PATH, false),
undef,
$oProtocol,
$self,
);
# Create objects
@ -110,7 +118,7 @@ sub process
{
my %oParamHash;
$strCommand = $oProtocol->command_read(\%oParamHash);
$strCommand = $self->command_read(\%oParamHash);
eval
{
@ -164,7 +172,7 @@ sub process
paramGet(\%oParamHash, 'destination_compress'));
}
$oProtocol->output_write(($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " .
$self->output_write(($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " .
(defined($iFileSize) ? $iFileSize : '?'));
}
# List files in a path
@ -185,23 +193,23 @@ sub process
$strOutput .= $strFile;
}
$oProtocol->output_write($strOutput);
$self->output_write($strOutput);
}
# Create a path
elsif ($strCommand eq OP_FILE_PATH_CREATE)
{
$oFile->path_create(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path'), paramGet(\%oParamHash, 'mode', false));
$oProtocol->output_write();
$self->output_write();
}
# Check if a file/path exists
elsif ($strCommand eq OP_FILE_EXISTS)
{
$oProtocol->output_write($oFile->exists(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path')) ? 'Y' : 'N');
$self->output_write($oFile->exists(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path')) ? 'Y' : 'N');
}
# Wait
elsif ($strCommand eq OP_FILE_WAIT)
{
$oProtocol->output_write($oFile->wait(PATH_ABSOLUTE));
$self->output_write($oFile->wait(PATH_ABSOLUTE));
}
# Generate a manifest
elsif ($strCommand eq OP_FILE_MANIFEST)
@ -227,7 +235,7 @@ sub process
$oManifestHash{name}{"${strName}"}{link_destination} : "");
}
$oProtocol->output_write($strOutput);
$self->output_write($strOutput);
}
# Archive push checks
elsif ($strCommand eq OP_ARCHIVE_PUSH_CHECK)
@ -238,16 +246,16 @@ sub process
paramGet(\%oParamHash, 'db-version'),
paramGet(\%oParamHash, 'db-sys-id'));
$oProtocol->output_write("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y'));
$self->output_write("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y'));
}
elsif ($strCommand eq OP_ARCHIVE_GET_CHECK)
{
$oProtocol->output_write($oArchive->getCheck($oFile));
$self->output_write($oArchive->getCheck($oFile));
}
# Info list stanza
elsif ($strCommand eq OP_INFO_LIST_STANZA)
{
$oProtocol->output_write(
$self->output_write(
$oJSON->encode(
$oInfo->listStanza($oFile,
paramGet(\%oParamHash, 'stanza', false))));
@ -257,7 +265,7 @@ sub process
my ($strDbVersion, $iControlVersion, $iCatalogVersion, $ullDbSysId) =
$oDb->info($oFile, paramGet(\%oParamHash, 'db-path'));
$oProtocol->output_write("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}");
$self->output_write("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}");
}
# Continue if noop or exit
elsif ($strCommand ne OP_NOOP && $strCommand ne OP_EXIT)
@ -269,7 +277,7 @@ sub process
# Process errors
if ($@)
{
$oProtocol->error_write($@);
$self->error_write($@);
}
}
}

View File

@ -62,6 +62,9 @@ $oLogLevelRank{ERROR}{rank} = 2;
$oLogLevelRank{ASSERT}{rank} = 1;
$oLogLevelRank{OFF}{rank} = 0;
# Construct the version file name
my $strVersionFile = abs_path(dirname($0) . '/../VERSION');
####################################################################################################################################
# FORMAT Constant
#
@ -101,9 +104,6 @@ sub version_get
return $strVersion;
}
# Construct the version file name
my $strVersionFile = abs_path(dirname($0) . '/../VERSION');
# Open the file
if (!open($hVersion, '<', $strVersionFile))
{

View File

@ -28,6 +28,7 @@ use BackRest::File;
use BackRest::Ini;
use BackRest::Manifest;
use BackRest::Protocol;
use BackRest::Remote;
use BackRest::Utility;
use BackRestTest::CommonTest;
@ -1511,13 +1512,11 @@ sub BackRestTestBackup_Test
#-------------------------------------------------------------------------------------------------------------------------------
# Create remotes
#-------------------------------------------------------------------------------------------------------------------------------
my $oRemote = BackRest::Protocol->new
my $oRemote = new BackRest::Remote
(
$strHost, # Host
$strUserBackRest, # User
BackRestTestCommon_CommandRemoteGet(), # Command
$strStanza, # Stanza
'', # Repo Path
BackRestTestCommon_CommandRemoteFullGet(), # Command
OPTION_DEFAULT_BUFFER_SIZE, # Buffer size
OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level
OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level
@ -1525,11 +1524,9 @@ sub BackRestTestBackup_Test
my $oLocal = new BackRest::Protocol
(
undef, # Host
undef, # User
undef, # Name
false, # Is backend?
undef, # Command
undef, # Stanza
undef, # Repo Path
OPTION_DEFAULT_BUFFER_SIZE, # Buffer size
OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level
OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level

View File

@ -43,12 +43,13 @@ our @EXPORT = qw(BackRestTestCommon_Create BackRestTestCommon_Drop BackRestTestC
BackRestTestCommon_DbPortGet BackRestTestCommon_iniLoad BackRestTestCommon_iniSave BackRestTestCommon_DbVersion
BackRestTestCommon_CommandPsqlGet BackRestTestCommon_DropRepo BackRestTestCommon_CreateRepo
BackRestTestCommon_manifestLoad BackRestTestCommon_manifestSave BackRestTestCommon_CommandMainAbsGet
BackRestTestCommon_TestLogAppendFile);
BackRestTestCommon_TestLogAppendFile BackRestTestCommon_CommandRemoteFullGet);
my $strPgSqlBin;
my $strCommonStanza;
my $strCommonCommandMain;
my $strCommonCommandRemote;
my $strCommonCommandRemoteFull;
my $strCommonCommandPsql;
my $strCommonHost;
my $strCommonUser;
@ -776,6 +777,8 @@ sub BackRestTestCommon_Setup
$strCommonCommandMain = "../bin/pg_backrest";
$strCommonCommandRemote = "${strCommonBasePath}/bin/pg_backrest";
$strCommonCommandRemoteFull = "${strCommonCommandRemote} --stanza=${strCommonStanza}" .
" --repo-remote-path=${strCommonRepoPath} --no-config remote";
$strCommonCommandPsql = "${strPgSqlBin}/psql -X %option% -h ${strCommonDbPath}";
$iCommonDbPort = 6543;
@ -1198,6 +1201,11 @@ sub BackRestTestCommon_CommandRemoteGet
return $strCommonCommandRemote;
}
sub BackRestTestCommon_CommandRemoteFullGet
{
return $strCommonCommandRemoteFull;
}
sub BackRestTestCommon_HostGet
{
return $strCommonHost;

View File

@ -520,7 +520,7 @@ sub BackRestTestConfig_Test
my $strCommand = operationWrite(OP_ARCHIVE_GET);
my $strExpectedCommand = abs_path($0) . " --backup-host=db.mydomain.com \"--db-path=/db path/main\"" .
" --repo-path=/repo --stanza=main " . OP_ARCHIVE_GET;
" --repo-path=/repo --repo-remote-path=/repo --stanza=main " . OP_ARCHIVE_GET;
if ($strCommand ne $strExpectedCommand)
{

View File

@ -92,13 +92,11 @@ sub BackRestTestFile_Test
#-------------------------------------------------------------------------------------------------------------------------------
# Create remotes
#-------------------------------------------------------------------------------------------------------------------------------
my $oRemote = BackRest::Protocol->new
my $oRemote = new BackRest::Remote
(
$strHost, # Host
$strUser, # User
BackRestTestCommon_CommandRemoteGet(), # Command
$strStanza, # Stanza
'', # Repo Path
BackRestTestCommon_CommandRemoteFullGet(), # Command
OPTION_DEFAULT_BUFFER_SIZE, # Buffer size
OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level
OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level
@ -106,11 +104,9 @@ sub BackRestTestFile_Test
my $oLocal = new BackRest::Protocol
(
undef, # Host
undef, # User
undef, # Name
false, # Is backend?
undef, # Command
undef, # Stanza
undef, # Repo Path
OPTION_DEFAULT_BUFFER_SIZE, # Buffer size
OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level
OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level

View File

@ -44,11 +44,9 @@ sub BackRestTestUtility_Test
#-------------------------------------------------------------------------------------------------------------------------------
my $oLocal = new BackRest::Protocol
(
undef, # Host
undef, # User
undef, # Name
false, # Is backend?
undef, # Command
undef, # Stanza
undef, # Repo Path
OPTION_DEFAULT_BUFFER_SIZE, # Buffer size
OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level
OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level

View File

@ -19,7 +19,8 @@ db-version="9.3"
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000090000000900000009 [TEST_PATH]/db/common/pg_xlog/RECOVERYXLOG
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000090000000900000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
INFO: 000000090000000900000009 was not found in the archive repository

View File

@ -19,7 +19,8 @@ db-version="9.3"
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
DEBUG: archive_get: cp 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000010000000100000002
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
DEBUG: archive_get: cp 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
@ -41,7 +43,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000010000000100000003
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
DEBUG: archive_get: cp 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 [TEST_PATH]/db/common/pg_xlog/000000010000000100000003

View File

@ -19,7 +19,8 @@ db-version="9.3"
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000090000000900000009 [TEST_PATH]/db/common/pg_xlog/RECOVERYXLOG
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000090000000900000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
INFO: 000000090000000900000009 was not found in the archive repository

View File

@ -19,7 +19,8 @@ db-version="9.3"
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000001 [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
DEBUG: archive_get: cp 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000002 [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000010000000100000002
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
DEBUG: archive_get: cp 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
@ -41,7 +43,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get 000000010000000100000003 [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
------------------------------------------------------------------------------------------------------------------------------------
INFO: getting WAL segment 000000010000000100000003
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->getCheck=>: archiveId = 9.3-1
DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
DEBUG: archive_get: cp 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz [TEST_PATH]/db/common/pg_xlog/000000010000000100000003

View File

@ -4,7 +4,8 @@ run 005 - rmt 1, cmp 0, arc_async 0
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -12,7 +13,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
@ -21,7 +23,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
HINT: are you archiving to the correct stanza?
@ -30,7 +33,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1
WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum
@ -40,7 +44,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1
ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive
@ -49,7 +54,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -57,7 +63,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -65,7 +72,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -73,7 +81,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -81,7 +90,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
@ -90,7 +100,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
HINT: are you archiving to the correct stanza?
@ -99,7 +110,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1
WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum
@ -109,7 +121,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1
ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive
@ -118,7 +131,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -126,7 +140,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000007
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000007
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -134,7 +149,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000008
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000008
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -142,7 +158,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -150,7 +167,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
@ -159,7 +177,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
HINT: are you archiving to the correct stanza?
@ -168,7 +187,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1
WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum
@ -178,7 +198,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1
ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive

View File

@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -62,7 +65,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -83,7 +87,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -99,7 +104,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -118,7 +124,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
@ -137,7 +144,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004
@ -156,7 +164,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -175,7 +184,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -191,7 +201,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -207,7 +218,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -228,7 +240,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -244,7 +257,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006
@ -263,7 +277,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007
@ -282,7 +297,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008
@ -301,7 +317,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -320,7 +337,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -336,7 +354,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -352,7 +371,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -373,7 +393,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009

View File

@ -4,7 +4,8 @@ run 007 - rmt 1, cmp 1, arc_async 0
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000001.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -12,7 +13,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
@ -21,7 +23,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
HINT: are you archiving to the correct stanza?
@ -30,7 +33,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1
WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum
@ -40,7 +44,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, compressed = false, hash_type = sha1
ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive
@ -49,7 +54,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000002.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -57,7 +63,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000003.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -65,7 +72,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000004.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -73,7 +81,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000005.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -81,7 +90,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
@ -90,7 +100,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
HINT: are you archiving to the correct stanza?
@ -99,7 +110,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1
WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum
@ -109,7 +121,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005, compressed = false, hash_type = sha1
ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive
@ -118,7 +131,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000006.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -126,7 +140,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000007
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000007
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000007.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -134,7 +149,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000008
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000008
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000008.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -142,7 +158,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to remote backup:archive:[TEST_PATH]/backrest/archive/db/9.3-1/0000000100000001/000000010000000100000009.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
DEBUG: safe exit called, terminating threads
@ -150,7 +167,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
HINT: are you archiving to the correct stanza?
@ -159,7 +177,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
HINT: are you archiving to the correct stanza?
@ -168,7 +187,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1
WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum
@ -178,7 +198,8 @@ DEBUG: safe exit called, terminating threads
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
------------------------------------------------------------------------------------------------------------------------------------
INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000009
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009, compressed = false, hash_type = sha1
ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive

View File

@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -62,7 +65,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -83,7 +87,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -99,7 +104,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -118,7 +124,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
@ -137,7 +144,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000004
@ -156,7 +164,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -175,7 +184,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -191,7 +201,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -207,7 +218,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -228,7 +240,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
@ -244,7 +257,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006
@ -263,7 +277,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000007
@ -282,7 +297,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000008
@ -301,7 +317,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -320,7 +337,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -336,7 +354,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -352,7 +371,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009
@ -373,7 +393,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000009

View File

@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 2, size 32MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -68,7 +71,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 3, size 48MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -93,7 +97,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006

View File

@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = bogus, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1]
ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
DEBUG: safe exit called, terminating threads
@ -42,7 +44,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = bogus, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1]
ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/local/lock/db-archive.stop) is removed
DEBUG: safe exit called, terminating threads
@ -60,7 +63,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 3, size 48MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -85,7 +89,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006

View File

@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -46,7 +48,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 2, size 32MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -68,7 +71,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 3, size 48MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -93,7 +97,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006

View File

@ -11,7 +11,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000001
@ -30,7 +31,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = bogus, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1]
ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
DEBUG: safe exit called, terminating threads
@ -42,7 +44,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = bogus, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = bogus, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, isBackend = false, name = remote, user = [USER-1]
ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/local/lock/db-archive.stop) is removed
DEBUG: safe exit called, terminating threads
@ -60,7 +63,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 3, size 48MB
DEBUG: archive 000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000002
@ -85,7 +89,8 @@ DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000
DEBUG: No fork on archive local for TESTING
DEBUG: starting async archive-push
DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: archive to be copied to backup total 1, size 16MB
DEBUG: archive 000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
DEBUG: Archive->pushCheck: backup:archive:000000010000000100000006

View File

@ -4,7 +4,8 @@ run 005 - rmt 1, cmp 0, hardlink 0
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -178,7 +179,8 @@ db-version="9.3"
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
stanza db
status: ok
@ -191,7 +193,8 @@ DEBUG: safe exit called, terminating threads
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
[
{
@ -245,7 +248,8 @@ DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -420,7 +424,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-FULL-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
@ -464,7 +469,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid database version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -482,7 +488,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid system id)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -500,7 +507,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid control version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -518,7 +526,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid catalog version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -536,7 +545,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -726,7 +736,8 @@ db-version="9.3"
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -932,7 +943,8 @@ db-version="9.3"
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1141,7 +1153,8 @@ db-version="9.3"
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1351,7 +1364,8 @@ db-version="9.3"
restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1367,7 +1381,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1379,7 +1394,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1391,7 +1407,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1466,7 +1483,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1658,7 +1676,8 @@ db-version="9.3"
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1848,7 +1867,8 @@ db-version="9.3"
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2052,7 +2072,8 @@ db-version="9.3"
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2241,7 +2262,8 @@ db-version="9.3"
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2441,7 +2463,8 @@ db-version="9.3"
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2650,7 +2673,8 @@ db-version="9.3"
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2850,7 +2874,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-5]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
@ -2910,7 +2935,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
stanza db
status: ok
@ -2926,7 +2952,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
[
{
@ -3239,7 +3266,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
stanza bogus
status: error (missing stanza path)
@ -3248,7 +3276,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
[
{

View File

@ -4,7 +4,8 @@ run 006 - rmt 1, cmp 0, hardlink 1
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -179,7 +180,8 @@ db-version="9.3"
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
stanza db
status: ok
@ -192,7 +194,8 @@ DEBUG: safe exit called, terminating threads
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
[
{
@ -246,7 +249,8 @@ DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -422,7 +426,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-FULL-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
@ -466,7 +471,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid database version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -484,7 +490,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid system id)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -502,7 +509,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid control version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -520,7 +528,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid catalog version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -538,7 +547,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -740,7 +750,8 @@ db-version="9.3"
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -966,7 +977,8 @@ db-version="9.3"
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1189,7 +1201,8 @@ db-version="9.3"
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1413,7 +1426,8 @@ db-version="9.3"
restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1429,7 +1443,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1441,7 +1456,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1453,7 +1469,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1528,7 +1545,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1734,7 +1752,8 @@ db-version="9.3"
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1942,7 +1961,8 @@ db-version="9.3"
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2154,7 +2174,8 @@ db-version="9.3"
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2365,7 +2386,8 @@ db-version="9.3"
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2575,7 +2597,8 @@ db-version="9.3"
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2785,7 +2808,8 @@ db-version="9.3"
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -3003,7 +3027,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-5]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
@ -3063,7 +3088,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
stanza db
status: ok
@ -3079,7 +3105,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
[
{
@ -3392,7 +3419,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
stanza bogus
status: error (missing stanza path)
@ -3401,7 +3429,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
[
{

View File

@ -4,7 +4,8 @@ run 007 - rmt 1, cmp 1, hardlink 0
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -176,7 +177,8 @@ db-version="9.3"
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
stanza db
status: ok
@ -189,7 +191,8 @@ DEBUG: safe exit called, terminating threads
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
[
{
@ -243,7 +246,8 @@ DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -420,7 +424,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-FULL-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
@ -464,7 +469,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid database version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -482,7 +488,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid system id)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -500,7 +507,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid control version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -518,7 +526,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid catalog version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -536,7 +545,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -724,7 +734,8 @@ db-version="9.3"
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -929,7 +940,8 @@ db-version="9.3"
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1136,7 +1148,8 @@ db-version="9.3"
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1344,7 +1357,8 @@ db-version="9.3"
restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1360,7 +1374,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1372,7 +1387,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1384,7 +1400,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1459,7 +1476,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1649,7 +1667,8 @@ db-version="9.3"
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1837,7 +1856,8 @@ db-version="9.3"
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2039,7 +2059,8 @@ db-version="9.3"
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2226,7 +2247,8 @@ db-version="9.3"
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2424,7 +2446,8 @@ db-version="9.3"
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2631,7 +2654,8 @@ db-version="9.3"
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2829,7 +2853,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-5]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
@ -2889,7 +2914,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
stanza db
status: ok
@ -2905,7 +2931,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
[
{
@ -3218,7 +3245,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
stanza bogus
status: error (missing stanza path)
@ -3227,7 +3255,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
[
{

View File

@ -4,7 +4,8 @@ run 008 - rmt 1, cmp 1, hardlink 1
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -177,7 +178,8 @@ db-version="9.3"
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
stanza db
status: ok
@ -190,7 +192,8 @@ DEBUG: safe exit called, terminating threads
info db
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = db
[
{
@ -244,7 +247,8 @@ DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -422,7 +426,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-FULL-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
@ -466,7 +471,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid database version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -484,7 +490,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid system id)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -502,7 +509,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid control version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -520,7 +528,8 @@ DEBUG: safe exit called, terminating threads
incr backup (invalid catalog version)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -538,7 +547,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -738,7 +748,8 @@ db-version="9.3"
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -963,7 +974,8 @@ db-version="9.3"
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1184,7 +1196,8 @@ db-version="9.3"
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1406,7 +1419,8 @@ db-version="9.3"
restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1422,7 +1436,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1434,7 +1449,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1446,7 +1462,8 @@ DEBUG: safe exit called, terminating threads
restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-2]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
@ -1521,7 +1538,8 @@ DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1725,7 +1743,8 @@ db-version="9.3"
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -1931,7 +1950,8 @@ db-version="9.3"
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2141,7 +2161,8 @@ db-version="9.3"
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = incr
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2350,7 +2371,8 @@ db-version="9.3"
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2558,7 +2580,8 @@ db-version="9.3"
full backup
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = full
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2766,7 +2789,8 @@ db-version="9.3"
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-1]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-1]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-1]
INFO: backup start: type = diff
DEBUG: cluster path is [TEST_PATH]/db/common-2
DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
@ -2982,7 +3006,8 @@ db-version="9.3"
restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
> [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = db, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
INFO: Restoring backup set [BACKUP-DIFF-5]
DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
@ -3042,7 +3067,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
stanza db
status: ok
@ -3058,7 +3084,8 @@ DEBUG: safe exit called, terminating threads
info
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = [undef], user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza
[
{
@ -3371,7 +3398,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
stanza bogus
status: error (missing stanza path)
@ -3380,7 +3408,8 @@ DEBUG: safe exit called, terminating threads
info bogus
> ../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json
------------------------------------------------------------------------------------------------------------------------------------
DEBUG: Protocol->new(): command = [BACKREST_BIN_PATH]/pg_backrest, host = 127.0.0.1, remoteRepoPath = [TEST_PATH]/backrest, stanza = bogus, user = [USER-2]
DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, host = 127.0.0.1, user = [USER-2]
DEBUG: Protocol->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2]
DEBUG: Info->listStanza: stanza = bogus
[
{