diff --git a/README.md b/README.md index ee05b2995..9c20ec8f3 100644 --- a/README.md +++ b/README.md @@ -842,6 +842,10 @@ Get information about backups in the `db` stanza. * The repository is now created and updated with consistent directory and file modes. By default umask is set to 0000 but this can be disabled with the `neutral-umask` setting +* Major refactoring of the protocol layer to support future development. + +* Fixed protocol issue that was preventing ssh errors (especially connect) from being logged. + ### v0.78: Remove CPAN dependencies, stability improvements * Removed dependency on CPAN packages for multi-threaded operation. While it might not be a bad idea to update the threads and Thread::Queue packages, it is no longer necessary. diff --git a/bin/pg_backrest b/bin/pg_backrest index 9d56c3b7e..99bcbf60c 100755 --- a/bin/pg_backrest +++ b/bin/pg_backrest @@ -24,8 +24,7 @@ use BackRest::Exception; use BackRest::File; use BackRest::Info; use BackRest::Lock; -use BackRest::Protocol qw(DB BACKUP NONE); -use BackRest::Remote; +use BackRest::Protocol::RemoteMinion; use BackRest::Restore; use BackRest::ThreadGroup; use BackRest::Utility; @@ -73,11 +72,8 @@ eval log_level_set(OFF, OFF); # Create the remote object - my $oRemote = new BackRest::Remote + my $oRemote = new BackRest::Protocol::RemoteMinion ( - undef, # Host - undef, # User - 'remote', # Command optionGet(OPTION_BUFFER_SIZE), optionGet(OPTION_COMPRESS_LEVEL), optionGet(OPTION_COMPRESS_LEVEL_NETWORK) diff --git a/doc/doc.xml b/doc/doc.xml index b224bb664..dd9cadaf9 100644 --- a/doc/doc.xml +++ b/doc/doc.xml @@ -797,6 +797,12 @@ Run a full backup on the db stanza. --type can The repository is now created and updated with consistent directory and file modes. By default umask is set to 0000 but this can be disabled with the neutral-umask setting + + Major refactoring of the protocol layer to support future development. + + + Fixed protocol issue that was preventing ssh errors (especially connect) from being logged. + diff --git a/lib/BackRest/Archive.pm b/lib/BackRest/Archive.pm index 27805c377..02b7ccf64 100644 --- a/lib/BackRest/Archive.pm +++ b/lib/BackRest/Archive.pm @@ -18,7 +18,7 @@ use BackRest::Exception; use BackRest::File; use BackRest::Ini; use BackRest::Lock; -use BackRest::Protocol; +#use BackRest::Protocol::Protocol; use BackRest::Utility; #################################################################################################################################### @@ -331,7 +331,7 @@ sub getCheck if ($oFile->is_remote(PATH_BACKUP_ARCHIVE)) { - $strArchiveId = $oFile->{oProtocol}->command_execute(OP_ARCHIVE_GET_CHECK, undef, true); + $strArchiveId = $oFile->{oProtocol}->cmdExecute(OP_ARCHIVE_GET_CHECK, undef, true); } else { @@ -554,10 +554,10 @@ sub pushCheck $oParamHash{'db-sys-id'} = $ullDbSysId; # Output remote trace info - &log(TRACE, "${strOperation}: remote (" . $oFile->{oProtocol}->command_param_string(\%oParamHash) . ')'); + &log(TRACE, "${strOperation}: remote (" . $oFile->{oProtocol}->commandParamString(\%oParamHash) . ')'); # Execute the command - my $strResult = $oFile->{oProtocol}->command_execute($strOperation, \%oParamHash, true); + my $strResult = $oFile->{oProtocol}->cmdExecute($strOperation, \%oParamHash, true); $strArchiveId = (split("\t", $strResult))[0]; $strChecksum = (split("\t", $strResult))[1]; diff --git a/lib/BackRest/ArchiveInfo.pm b/lib/BackRest/ArchiveInfo.pm index c6b41b13b..8b8dc060d 100644 --- a/lib/BackRest/ArchiveInfo.pm +++ b/lib/BackRest/ArchiveInfo.pm @@ -58,7 +58,7 @@ sub new my $strArchiveClusterPath = shift; # Backup cluster path my $bRequired = shift; # Is archive info required? - logDebug(OP_ARCHIVE_INFO_NEW, DEBUG_CALL, undef, {archiveClusterPath => $strArchiveClusterPath}); + logDebug(OP_ARCHIVE_INFO_NEW, DEBUG_CALL, undef, {archiveClusterPath => \$strArchiveClusterPath}); # Build the archive info path/file name my $strArchiveInfoFile = "${strArchiveClusterPath}/" . ARCHIVE_INFO_FILE; diff --git a/lib/BackRest/Config.pm b/lib/BackRest/Config.pm index 8fe83b1bf..fd9b1fbd7 100644 --- a/lib/BackRest/Config.pm +++ b/lib/BackRest/Config.pm @@ -15,6 +15,8 @@ use Getopt::Long qw(GetOptions); use lib dirname($0) . '/../lib'; use BackRest::Exception; use BackRest::Ini; +use BackRest::Protocol::Common; +use BackRest::Protocol::RemoteMaster; use BackRest::Utility; #################################################################################################################################### @@ -1930,9 +1932,8 @@ sub protocolGet # If force local or remote = NONE then create a local remote and return it if ((defined($bForceLocal) && $bForceLocal) || optionRemoteTypeTest(NONE)) { - return new BackRest::Protocol + return new BackRest::Protocol::Common ( - undef, false, undef, optionGet(OPTION_BUFFER_SIZE), commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL), commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK) @@ -1946,14 +1947,14 @@ sub protocolGet } # Return the remote when required - my $oProtocolTemp = new BackRest::Remote + my $oProtocolTemp = new BackRest::Protocol::RemoteMaster ( - optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_HOST) : optionGet(OPTION_BACKUP_HOST), - optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_USER) : optionGet(OPTION_BACKUP_USER), commandWrite(CMD_REMOTE, true, optionGet(OPTION_COMMAND_REMOTE)), optionGet(OPTION_BUFFER_SIZE), commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL : optionGet(OPTION_COMPRESS_LEVEL), - commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK) + commandTest(CMD_EXPIRE) ? OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK : optionGet(OPTION_COMPRESS_LEVEL_NETWORK), + optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_HOST) : optionGet(OPTION_BACKUP_HOST), + optionRemoteTypeTest(DB) ? optionGet(OPTION_DB_USER) : optionGet(OPTION_BACKUP_USER) ); if (!defined($bStore) || $bStore) diff --git a/lib/BackRest/Db.pm b/lib/BackRest/Db.pm index aa47beaf6..544907359 100644 --- a/lib/BackRest/Db.pm +++ b/lib/BackRest/Db.pm @@ -71,7 +71,7 @@ sub executeSql my $self = shift; my $strScript = shift; # psql script to execute (must be on a single line) - logDebug(OP_DB_EXECUTE_SQL, DEBUG_CALL, undef, {isRemote => optionRemoteTypeTest(DB), script => $strScript}); + logDebug(OP_DB_EXECUTE_SQL, DEBUG_CALL, undef, {isRemote => optionRemoteTypeTest(DB), script => \$strScript}); # Get the user-defined command for psql my $strCommand = optionGet(OPTION_COMMAND_PSQL) . " -c \"${strScript}\" postgres"; @@ -86,7 +86,7 @@ sub executeSql $oParamHash{'script'} = $strScript; # Execute the command - $strResult = protocolGet()->command_execute(OP_DB_EXECUTE_SQL, \%oParamHash, true); + $strResult = protocolGet()->cmdExecute(OP_DB_EXECUTE_SQL, \%oParamHash, true); } # Else run locally else @@ -137,10 +137,10 @@ sub info $oParamHash{'db-path'} = ${strDbPath}; # Output remote trace info - &log(TRACE, OP_DB_INFO . ": remote (" . $oFile->{oProtocol}->command_param_string(\%oParamHash) . ')'); + &log(TRACE, OP_DB_INFO . ": remote (" . $oFile->{oProtocol}->commandParamString(\%oParamHash) . ')'); # Execute the command - my $strResult = $oFile->{oProtocol}->command_execute(OP_DB_INFO, \%oParamHash, true); + my $strResult = $oFile->{oProtocol}->cmdExecute(OP_DB_INFO, \%oParamHash, true); # Split the result into return values my @stryToken = split(/\t/, $strResult); @@ -279,6 +279,7 @@ sub backup_start $self->versionGet(); + # Only allow start-fast option for version >= 8.4 if ($self->{fVersion} < 8.4 && $bStartFast) { &log(WARN, 'start-fast option is only available in PostgreSQL >= 8.4'); diff --git a/lib/BackRest/File.pm b/lib/BackRest/File.pm index 6ee992dc5..359928bca 100644 --- a/lib/BackRest/File.pm +++ b/lib/BackRest/File.pm @@ -21,7 +21,6 @@ use lib dirname($0) . '/../lib'; use BackRest::Config; use BackRest::Exception; use BackRest::FileCommon; -use BackRest::Protocol; use BackRest::Utility; #################################################################################################################################### @@ -177,7 +176,7 @@ sub clone $self->{strStanza}, $self->{strBackupPath}, $self->{strRemote}, - defined($self->{oProtocol}) ? $self->{oProtocol}->clone() : undef, + $self->{oProtocol}, $self->{strDefaultPathMode}, $self->{strDefaultFileMode}, $iThreadIdx @@ -469,7 +468,7 @@ sub pathSync my $strPathType = shift; my $strPath = shift; - logTrace(OP_FILE_PATH_SYNC, DEBUG_CALL, undef, {pathType => $strPathType, path => $strPath}); + logTrace(OP_FILE_PATH_SYNC, DEBUG_CALL, undef, {pathType => \$strPathType, path => \$strPath}); filePathSync($self->path_get($strPathType, $strPath eq '.' ? undef : $strPath)); } @@ -621,12 +620,12 @@ sub path_create } # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->commandParamString(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - $self->{oProtocol}->command_execute($strOperation, \%oParamHash, false, $strDebug); + $self->{oProtocol}->cmdExecute($strOperation, \%oParamHash, false, $strDebug); } else { @@ -690,12 +689,12 @@ sub exists $oParamHash{path} = $strPathOp; # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->commandParamString(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - return $self->{oProtocol}->command_execute($strOperation, \%oParamHash, true, $strDebug) eq 'Y'; + return $self->{oProtocol}->cmdExecute($strOperation, \%oParamHash, true, $strDebug) eq 'Y'; } # Run locally else @@ -860,7 +859,7 @@ sub hash_size if ($bCompressed) { ($strHash, $iSize) = - $self->{oProtocol}->binary_xfer($hFile, undef, 'in', true, false, false); + $self->{oProtocol}->binaryXfer($hFile, 'none', 'in', true, false, false); } else { @@ -998,12 +997,12 @@ sub list } # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->commandParamString(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - my $strOutput = $self->{oProtocol}->command_execute($strOperation, \%oParamHash, false, $strDebug); + my $strOutput = $self->{oProtocol}->cmdExecute($strOperation, \%oParamHash, false, $strDebug); if (defined($strOutput)) { @@ -1094,7 +1093,7 @@ sub wait &log(TRACE, "${strOperation}: remote"); # Execute the command - $lTimeBegin = $self->{oProtocol}->command_execute($strOperation, undef, true, $strDebug); + $lTimeBegin = $self->{oProtocol}->cmdExecute($strOperation, undef, true, $strDebug); } # Run locally else @@ -1136,12 +1135,12 @@ sub manifest $oParamHash{path} = $strPathOp; # Add remote info to debug string - my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->commandParamString(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); # Execute the command - data_hash_build($oManifestHashRef, $self->{oProtocol}->command_execute($strOperation, \%oParamHash, true, $strDebug), "\t"); + data_hash_build($oManifestHashRef, $self->{oProtocol}->cmdExecute($strOperation, \%oParamHash, true, $strDebug), "\t"); } # Run locally else @@ -1412,7 +1411,7 @@ sub copy { if ($strDestinationPathType eq PIPE_STDOUT) { - $self->{oProtocol}->write_line(*STDOUT, 'block -1'); + $self->{oProtocol}->binaryXferAbort(); } confess &log(ERROR, $strError, $iErrorCode); @@ -1483,8 +1482,6 @@ sub copy $oParamHash{source_file} = $strSourceOp; $oParamHash{source_compressed} = $bSourceCompressed; $oParamHash{destination_compress} = $bDestinationCompress; - - $hIn = $self->{oProtocol}->{hOut}; } } # Else if source is local and destination is remote @@ -1524,8 +1521,6 @@ sub copy { $oParamHash{append_checksum} = true; } - - $hOut = $self->{oProtocol}->{hIn}; } } # Else source and destination are remote @@ -1568,7 +1563,7 @@ sub copy # Build debug string if (%oParamHash) { - my $strRemote = 'remote (' . $self->{oProtocol}->command_param_string(\%oParamHash) . ')'; + my $strRemote = 'remote (' . $self->{oProtocol}->commandParamString(\%oParamHash) . ')'; $strDebug = "${strOperation}: ${strRemote}: ${strDebug}"; &log(TRACE, "${strOperation}: ${strRemote}"); @@ -1577,14 +1572,14 @@ sub copy # If an operation is defined then write it if (%oParamHash) { - $self->{oProtocol}->command_write($strOperation, \%oParamHash); + $self->{oProtocol}->cmdWrite($strOperation, \%oParamHash); } # Transfer the file (skip this for copies where both sides are remote) if ($strOperation ne OP_FILE_COPY) { ($strChecksum, $iFileSize) = - $self->{oProtocol}->binary_xfer($hIn, $hOut, $strRemote, $bSourceCompressed, $bDestinationCompress); + $self->{oProtocol}->binaryXfer($hIn, $hOut, $strRemote, $bSourceCompressed, $bDestinationCompress); } # If this is the controlling process then wait for OK from remote @@ -1595,7 +1590,7 @@ sub copy eval { - $strOutput = $self->{oProtocol}->output_read(true, $strDebug, true); + $strOutput = $self->{oProtocol}->outputRead(true, $strDebug, true); # Check the result of the remote call if (substr($strOutput, 0, 1) eq 'Y') @@ -1665,24 +1660,24 @@ sub copy if (!$bSourceCompressed && $bDestinationCompress) { ($strChecksum, $iFileSize) = - $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'out', false, true, false); + $self->{oProtocol}->binaryXfer($hSourceFile, $hDestinationFile, 'out', false, true, false); } # If the source is compressed and the destination is not then decompress elsif ($bSourceCompressed && !$bDestinationCompress) { ($strChecksum, $iFileSize) = - $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'in', true, false, false); + $self->{oProtocol}->binaryXfer($hSourceFile, $hDestinationFile, 'in', true, false, false); } # Else both side are compressed, so copy capturing checksum elsif ($bSourceCompressed) { ($strChecksum, $iFileSize) = - $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'out', true, true, false); + $self->{oProtocol}->binaryXfer($hSourceFile, $hDestinationFile, 'out', true, true, false); } else { ($strChecksum, $iFileSize) = - $self->{oProtocol}->binary_xfer($hSourceFile, $hDestinationFile, 'in', false, true, false); + $self->{oProtocol}->binaryXfer($hSourceFile, $hDestinationFile, 'in', false, true, false); } } diff --git a/lib/BackRest/FileCommon.pm b/lib/BackRest/FileCommon.pm index c0c4e8cc3..d445da4fb 100644 --- a/lib/BackRest/FileCommon.pm +++ b/lib/BackRest/FileCommon.pm @@ -18,9 +18,9 @@ use BackRest::Utility; #################################################################################################################################### # Operation constants #################################################################################################################################### -use constant OP_FILE_BASE => 'FileBase'; +use constant OP_FILE_COMMON => 'FileCommon'; -use constant OP_FILE_BASE_PATH_SYNC => OP_FILE_BASE . '::filePathSync'; +use constant OP_FILE_COMMON_PATH_SYNC => OP_FILE_COMMON . '::filePathSync'; #################################################################################################################################### # filePathSync @@ -31,7 +31,7 @@ sub filePathSync { my $strPath = shift; - logTrace(OP_FILE_BASE_PATH_SYNC, DEBUG_CALL, undef, {path => $strPath}); + logTrace(OP_FILE_COMMON_PATH_SYNC, DEBUG_CALL, undef, {path => \$strPath}); open(my $hPath, "<", $strPath) or confess &log(ERROR, "unable to open ${strPath}", ERROR_PATH_OPEN); diff --git a/lib/BackRest/Info.pm b/lib/BackRest/Info.pm index c2339d684..1909ef74e 100644 --- a/lib/BackRest/Info.pm +++ b/lib/BackRest/Info.pm @@ -180,10 +180,10 @@ sub listStanza } # Trace the remote parameters - &log(TRACE, "${strOperation}: remote (" . $oFile->{oProtocol}->command_param_string($oParamHash) . ')'); + &log(TRACE, "${strOperation}: remote (" . $oFile->{oProtocol}->commandParamString($oParamHash) . ')'); # Execute the command - my $strStanzaList = $oFile->{oProtocol}->command_execute($strOperation, $oParamHash, true); + my $strStanzaList = $oFile->{oProtocol}->cmdExecute($strOperation, $oParamHash, true); # Trace the remote response &log(TRACE, "${strOperation}: remote json response (${strStanzaList})"); diff --git a/lib/BackRest/Open3.pm b/lib/BackRest/Open3.pm index b3fa9cb77..ae17297db 100644 --- a/lib/BackRest/Open3.pm +++ b/lib/BackRest/Open3.pm @@ -32,7 +32,7 @@ sub new my $strCommand = shift; # Command to execute # Debug - logDebug(OP_OPEN3_NEW, DEBUG_CALL, undef, {command => $strCommand}); + logDebug(OP_OPEN3_NEW, DEBUG_CALL, undef, {command => \$strCommand}); # Create the class hash my $self = {}; @@ -72,6 +72,19 @@ sub run $self->{oOutSelect}->add($self->{hOut}); } +#################################################################################################################################### +# lineRead +#################################################################################################################################### +sub lineRead +{ + my $self = shift; + + if ($self->{oOutSelect}->can_read(.1)) + { + return readline($self->{hOut}); + } +} + #################################################################################################################################### # capture #################################################################################################################################### diff --git a/lib/BackRest/Protocol.pm b/lib/BackRest/Protocol.pm deleted file mode 100644 index b5e53c9a8..000000000 --- a/lib/BackRest/Protocol.pm +++ /dev/null @@ -1,1220 +0,0 @@ -#################################################################################################################################### -# PROTOCOL MODULE -#################################################################################################################################### -package BackRest::Protocol; - -use strict; -use warnings FATAL => qw(all); -use Carp qw(confess); - -use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); -use File::Basename qw(dirname); -use IO::String qw(); -use IPC::Open3; -use POSIX qw(:sys_wait_h); -use Scalar::Util qw(blessed); - -use lib dirname($0) . '/../lib'; -use BackRest::Config; -use BackRest::Exception; -use BackRest::Ini; -use BackRest::Utility; - -#################################################################################################################################### -# Operation constants -#################################################################################################################################### -use constant OP_PROTOCOL => 'Protocol'; - -use constant OP_PROTOCOL_NEW => OP_PROTOCOL . "->new"; -use constant OP_PROTOCOL_COMMAND_WRITE => OP_PROTOCOL . "->commandWrite"; - -#################################################################################################################################### -# CONSTRUCTOR -#################################################################################################################################### -sub new -{ - my $class = shift; # Class name - 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 $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, - {name => $strName, isBackend => $bBackend, command => $strCommand, host => $strHost, user => $strUser, - blockSize => $iBlockSize, compressLevel => $iCompressLevel, compressLevelNetwork => $iCompressLevelNetwork}, - defined($strHost) ? DEBUG : TRACE); - - # Create the class hash - my $self = {}; - bless $self, $class; - - # Create the greeting that will be used to check versions with the remote - if (defined($strName)) - { - $self->{strName} = $strName; - $self->{strGreeting} = 'PG_BACKREST_' . uc($strName) . ' ' . BACKREST_VERSION; - } - - $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)) - { - # User must be defined - if (!defined($strUser)) - { - confess &log(ASSERT, 'strUser must be defined'); - } - - # Command must be defined - if (!defined($strCommand)) - { - confess &log(ASSERT, 'strCommand must be defined'); - } - - $self->{strHost} = $strHost; - $self->{strUser} = $strUser; - $self->{strCommand} = $strCommand; - - # Generate remote command - my $strCommandSSH = "ssh -q -o Compression=no ${strUser}\@${strHost} '" . $self->{strCommand} . "'"; - - &log(TRACE, 'connecting to remote ssh host ' . $self->{strHost}); - - # Open the remote command and read the greeting to make sure it worked - $self->{pId} = open3($self->{hIn}, $self->{hOut}, $self->{hErr}, $strCommandSSH); - $self->greeting_read(); - - &log(TRACE, 'connected to remote ssh host ' . $self->{strHost}); - } - else - { - confess &log(ASSERT, 'local operation not yet supported'); - } - } - - return $self; -} - -#################################################################################################################################### -# DESTROY -#################################################################################################################################### -sub DESTROY -{ - my $self = shift; - - # Only send the exit command if the process is running - if (defined($self->{pId})) - { - &log(TRACE, "sending exit command to process"); - $self->command_write('exit'); - - # &log(TRACE, "waiting for remote process"); - # if (!$self->wait_pid(5, false)) - # { - # &log(TRACE, "killed remote process"); - # kill('KILL', $self->{pId}); - # } - } -} - -#################################################################################################################################### -# CLONE -#################################################################################################################################### -sub clone -{ - my $self = shift; - - return BackRest::Protocol->new - ( - $self->{strName}, - $self->{bBackend}, - $self->{strCommand}, - $self->{iBlockSize}, - $self->{iCompressLevel}, - $self->{iCompressLevelNetwork}, - $self->{strHost}, - $self->{strUser} - ); -} - -#################################################################################################################################### -# GREETING_READ -# -# Read the greeting and make sure it is as expected. -#################################################################################################################################### -sub greeting_read -{ - my $self = shift; - - # Get the first line of output from the remote if possible - my $strLine; - - eval - { - $strLine = $self->read_line($self->{hOut}); - }; - - # If the line could not be read or does equal the greeting then error and exit - if (!defined($strLine) || $strLine ne $self->{strGreeting}) - { - if (defined($self->{pId})) - { - kill 'KILL', $self->{pId}; - waitpid($self->{pId}, 0); - undef($self->{pId}); - } - - confess &log(ERROR, 'protocol version mismatch' . (defined($strLine) ? ": ${strLine}" : ''), ERROR_HOST_CONNECT); - } -} - -#################################################################################################################################### -# GREETING_WRITE -# -# Send a greeting to the master process. -#################################################################################################################################### -sub greeting_write -{ - my $self = shift; - - $self->write_line(*STDOUT, $self->{strGreeting}); -} - -#################################################################################################################################### -# STRING_WRITE -# -# Write a string. -#################################################################################################################################### -sub string_write -{ - my $self = shift; - my $hOut = shift; - my $strBuffer = shift; - - $strBuffer =~ s/\n/\n\./g; - - if (!syswrite($hOut, '.' . $strBuffer)) - { - confess 'unable to write string'; - } -} - -#################################################################################################################################### -# PIPE_TO_STRING Function -# -# Copies data from a file handle into a string. -#################################################################################################################################### -sub pipe_to_string -{ - my $self = shift; - my $hOut = shift; - - my $strBuffer; - my $hString = IO::String->new($strBuffer); - $self->binary_xfer($hOut, $hString); - - return $strBuffer; -} - -#################################################################################################################################### -# ERROR_WRITE -# -# Write errors with error codes in protocol format, otherwise write to stderr and exit with error. -#################################################################################################################################### -sub error_write -{ - my $self = shift; - my $oMessage = shift; - - my $iCode; - my $strMessage; - - if (blessed($oMessage)) - { - if ($oMessage->isa('BackRest::Exception')) - { - $iCode = $oMessage->code(); - $strMessage = $oMessage->message(); - } - else - { - syswrite(*STDERR, 'unknown error object: ' . $oMessage); - exit 1; - } - } - else - { - syswrite(*STDERR, $oMessage); - exit 1; - } - - if (defined($strMessage)) - { - $self->string_write(*STDOUT, trim($strMessage)); - } - - if (!syswrite(*STDOUT, "\nERROR" . (defined($iCode) ? " $iCode" : '') . "\n")) - { - confess 'unable to write error'; - } -} - -#################################################################################################################################### -# READ_LINE -# -# Read a line. -#################################################################################################################################### -sub read_line -{ - my $self = shift; - my $hIn = shift; - my $bError = shift; - - my $strLine; - my $strChar; - my $iByteIn; - - while (1) - { - $iByteIn = sysread($hIn, $strChar, 1); - - if (!defined($iByteIn) || $iByteIn != 1) - { - $self->wait_pid(); - - if (defined($bError) and !$bError) - { - return undef; - } - - confess &log(ERROR, 'unable to read 1 byte' . (defined($!) ? ': ' . $! : '')); - } - - if ($strChar eq "\n") - { - last; - } - - $strLine .= $strChar; - } - - return $strLine; -} - -#################################################################################################################################### -# WRITE_LINE -# -# Write a line data -#################################################################################################################################### -sub write_line -{ - my $self = shift; - my $hOut = shift; - my $strBuffer = shift; - - my $iLineOut = syswrite($hOut, (defined($strBuffer) ? $strBuffer : '') . "\n"); - - if (!defined($iLineOut) || $iLineOut != (defined($strBuffer) ? length($strBuffer) : 0) + 1) - { - confess &log(ERROR, "unable to write ${strBuffer}: $!", ERROR_PROTOCOL); - } -} - -#################################################################################################################################### -# WAIT_PID -# -# See if the remote process has terminated unexpectedly. -#################################################################################################################################### -sub wait_pid -{ - my $self = shift; - my $fWaitTime = shift; - my $bReportError = shift; - - # Record the start time and set initial sleep interval - my $oWait = waitInit($fWaitTime); - - if (defined($self->{pId})) - { - do - { - my $iResult = waitpid($self->{pId}, WNOHANG); - - if (defined($fWaitTime)) - { - confess &log(TRACE, "waitpid result = $iResult"); - } - - # If there is no such process - if ($iResult == -1) - { - return true; - } - - if ($iResult > 0) - { - if (!defined($bReportError) || $bReportError) - { - my $strError = 'no error on stderr'; - - if (!defined($self->{hErr})) - { - $strError = 'no error captured because stderr is already closed'; - } - else - { - $strError = $self->pipe_to_string($self->{hErr}); - } - - $self->{pId} = undef; - $self->{hIn} = undef; - $self->{hOut} = undef; - $self->{hErr} = undef; - - confess &log(ERROR, "remote process terminated: ${strError}", ERROR_HOST_CONNECT); - } - - return true; - } - - &log(TRACE, "waiting for pid"); - } - while (waitMore($oWait)); - } - - return false; -} - -#################################################################################################################################### -# BLOCK_READ -# -# Read a block from the protocol layer. -#################################################################################################################################### -sub block_read -{ - my $self = shift; - my $hIn = shift; - my $strBlockRef = shift; - my $bProtocol = shift; - - my $iBlockSize; - my $strMessage; - - if ($bProtocol) - { - # Read the block header and make sure it's valid - my $strBlockHeader = $self->read_line($hIn); - - if ($strBlockHeader !~ /^block -{0,1}[0-9]+( .*){0,1}$/) - { - $self->wait_pid(); - confess "unable to read block header ${strBlockHeader}"; - } - - # Get block size from the header - my @stryToken = split(/ /, $strBlockHeader); - $iBlockSize = $stryToken[1]; - $strMessage = $stryToken[2]; - - # If block size is 0 or an error code then undef the buffer - if ($iBlockSize <= 0) - { - undef($$strBlockRef); - } - # Else read the block - else - { - my $iBlockRead = 0; - my $iBlockIn = 0; - my $iOffset = defined($$strBlockRef) ? length($$strBlockRef) : 0; - - # !!! Would be nice to modify this with a non-blocking read - # http://docstore.mik.ua/orelly/perl/cookbook/ch07_15.htm - - # Read as many chunks as it takes to get the full block - while ($iBlockRead != $iBlockSize) - { - $iBlockIn = sysread($hIn, $$strBlockRef, $iBlockSize - $iBlockRead, $iBlockRead + $iOffset); - - if (!defined($iBlockIn)) - { - my $strError = $!; - - $self->wait_pid(); - confess "only read ${iBlockRead}/${iBlockSize} block bytes from remote" . - (defined($strError) ? ": ${strError}" : ''); - } - - $iBlockRead += $iBlockIn; - } - } - } - else - { - $iBlockSize = $self->stream_read($hIn, $strBlockRef, $self->{iBlockSize}, - defined($$strBlockRef) ? length($$strBlockRef) : 0); - } - - # Return the block size - return $iBlockSize, $strMessage; -} - -#################################################################################################################################### -# BLOCK_WRITE -# -# Write a block to the protocol layer. -#################################################################################################################################### -sub block_write -{ - my $self = shift; - my $hOut = shift; - my $tBlockRef = shift; - my $iBlockSize = shift; - my $bProtocol = shift; - my $strMessage = shift; - - # If block size is not defined, get it from buffer length - $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); - - # Write block header to the protocol stream - if ($bProtocol) - { - $self->write_line($hOut, "block ${iBlockSize}" . (defined($strMessage) ? " ${strMessage}" : '')); - } - - # Write block if size > 0 - if ($iBlockSize > 0) - { - $self->stream_write($hOut, $tBlockRef, $iBlockSize); - } -} - -#################################################################################################################################### -# STREAM_READ -# -# Read data from a stream. -#################################################################################################################################### -sub stream_read -{ - my $self = shift; - my $hIn = shift; - my $tBlockRef = shift; - my $iBlockSize = shift; - my $bOffset = shift; - - # Read a block from the stream - my $iBlockIn = sysread($hIn, $$tBlockRef, $iBlockSize, $bOffset ? length($$tBlockRef) : false); - - if (!defined($iBlockIn)) - { - $self->wait_pid(); - confess &log(ERROR, 'unable to read'); - } - - return $iBlockIn; -} - -#################################################################################################################################### -# STREAM_WRITE -# -# Write data to a stream. -#################################################################################################################################### -sub stream_write -{ - my $self = shift; - my $hOut = shift; - my $tBlockRef = shift; - my $iBlockSize = shift; - - # If block size is not defined, get it from buffer length - $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); - - # Write the block - my $iBlockOut = syswrite($hOut, $$tBlockRef, $iBlockSize); - - # Report any errors - if (!defined($iBlockOut) || $iBlockOut != $iBlockSize) - { - my $strError = $!; - - $self->wait_pid(); - confess "unable to write ${iBlockSize} bytes" . (defined($strError) ? ': ' . $strError : ''); - } -} - -#################################################################################################################################### -# BINARY_XFER -# -# Copies data from one file handle to another, optionally compressing or decompressing the data in stream. If $strRemote != none -# then one side is a protocol stream, though this can be controlled with the bProtocol param. -#################################################################################################################################### -sub binary_xfer -{ - my $self = shift; - my $hIn = shift; - my $hOut = shift; - my $strRemote = shift; - my $bSourceCompressed = shift; - my $bDestinationCompress = shift; - my $bProtocol = shift; - - # The input stream must be defined (output is optional) - if (!defined($hIn)) - { - confess &log(ASSERT, 'hIn is not defined'); - } - - # If no remote is defined then set to none - if (!defined($strRemote)) - { - $strRemote = 'none'; - } - # Only set compression defaults when remote is defined - else - { - $bSourceCompressed = defined($bSourceCompressed) ? $bSourceCompressed : false; - $bDestinationCompress = defined($bDestinationCompress) ? $bDestinationCompress : false; - } - - # Default protocol to true - $bProtocol = defined($bProtocol) ? $bProtocol : true; - my $strMessage = undef; - - # Checksum and size - my $strChecksum = undef; - my $iFileSize = undef; - - # Read from the protocol stream - if ($strRemote eq 'in') - { - # If the destination should not be compressed then decompress - if (!$bDestinationCompress) - { - my $iBlockSize; - my $tCompressedBuffer; - my $tUncompressedBuffer; - my $iUncompressedBufferSize; - - # Initialize SHA - my $oSHA; - - if (!$bProtocol) - { - $oSHA = Digest::SHA->new('sha1'); - } - - # Initialize inflate object and check for errors - my ($oZLib, $iZLibStatus) = - new Compress::Raw::Zlib::Inflate(WindowBits => 15 & $bSourceCompressed ? WANT_GZIP : 0, - Bufsize => $self->{iBlockSize}, LimitOutput => 1); - - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); - } - - # Read all input - do - { - # Read a block from the input stream - ($iBlockSize, $strMessage) = $self->block_read($hIn, \$tCompressedBuffer, $bProtocol); - - # Process protocol messages - if (defined($strMessage) && $strMessage eq 'nochecksum') - { - $oSHA = Digest::SHA->new('sha1'); - undef($strMessage); - } - - # If the block contains data, decompress it - if ($iBlockSize > 0) - { - # Keep looping while there is more to decompress - do - { - # Decompress data - $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); - $iUncompressedBufferSize = length($tUncompressedBuffer); - - # If status is ok, write the data - if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) - { - if ($iUncompressedBufferSize > 0) - { - # Add data to checksum - if (defined($oSHA)) - { - $oSHA->add($tUncompressedBuffer); - } - - # Write data if hOut is defined - if (defined($hOut)) - { - $self->stream_write($hOut, \$tUncompressedBuffer, $iUncompressedBufferSize); - } - } - } - # Else error, exit so it can be handled - else - { - $iBlockSize = 0; - last; - } - } - while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); - } - } - while ($iBlockSize > 0); - - # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) - if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) - { - confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); - } - - # Get checksum and total uncompressed bytes written - if (defined($oSHA)) - { - $strChecksum = $oSHA->hexdigest(); - $iFileSize = $oZLib->total_out(); - }; - } - # If the destination should be compressed then just write out the already compressed stream - else - { - my $iBlockSize; - my $tBuffer; - - # Initialize checksum and size - my $oSHA; - - if (!$bProtocol) - { - $oSHA = Digest::SHA->new('sha1'); - $iFileSize = 0; - } - - do - { - # Read a block from the protocol stream - ($iBlockSize, $strMessage) = $self->block_read($hIn, \$tBuffer, $bProtocol); - - # If the block contains data, write it - if ($iBlockSize > 0) - { - # Add data to checksum and size - if (!$bProtocol) - { - $oSHA->add($tBuffer); - $iFileSize += $iBlockSize; - } - - $self->stream_write($hOut, \$tBuffer, $iBlockSize); - undef($tBuffer); - } - } - while ($iBlockSize > 0); - - # Get checksum - if (!$bProtocol) - { - $strChecksum = $oSHA->hexdigest(); - }; - } - } - # Read from file input stream - else - { - # If source is not already compressed then compress it - if ($strRemote eq 'out' && !$bSourceCompressed) - { - my $iBlockSize; - my $tCompressedBuffer; - my $iCompressedBufferSize; - my $tUncompressedBuffer; - - # Initialize message to indicate that a checksum will be sent - if ($bProtocol && defined($hOut)) - { - $strMessage = 'checksum'; - } - - # Initialize checksum - my $oSHA = Digest::SHA->new('sha1'); - - # Initialize inflate object and check for errors - my ($oZLib, $iZLibStatus) = - new Compress::Raw::Zlib::Deflate(WindowBits => 15 & $bDestinationCompress ? WANT_GZIP : 0, - Level => $bDestinationCompress ? $self->{iCompressLevel} : - $self->{iCompressLevelNetwork}, - Bufsize => $self->{iBlockSize}, AppendOutput => 1); - - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable create a deflate object: ${iZLibStatus}"); - } - - do - { - # Read a block from the stream - $iBlockSize = $self->stream_read($hIn, \$tUncompressedBuffer, $self->{iBlockSize}); - - # If block size > 0 then compress - if ($iBlockSize > 0) - { - # Update checksum and filesize - $oSHA->add($tUncompressedBuffer); - - # Compress the data - $iZLibStatus = $oZLib->deflate($tUncompressedBuffer, $tCompressedBuffer); - $iCompressedBufferSize = length($tCompressedBuffer); - - # If compression was successful - if ($iZLibStatus == Z_OK) - { - # The compressed data is larger than block size, then write - if ($iCompressedBufferSize > $self->{iBlockSize}) - { - $self->block_write($hOut, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); - undef($tCompressedBuffer); - undef($strMessage); - } - } - # Else if error - else - { - $iBlockSize = 0; - } - } - } - while ($iBlockSize > 0); - - # If good so far flush out the last bytes - if ($iZLibStatus == Z_OK) - { - $iZLibStatus = $oZLib->flush($tCompressedBuffer); - } - - # Make sure the compression succeeded - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable to deflate stream: ${iZLibStatus}"); - } - - # Get checksum and total uncompressed bytes written - $strChecksum = $oSHA->hexdigest(); - $iFileSize = $oZLib->total_in(); - - # Write out the last block - if (defined($hOut)) - { - $iCompressedBufferSize = length($tCompressedBuffer); - - if ($iCompressedBufferSize > 0) - { - $self->block_write($hOut, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); - undef($strMessage); - } - - $self->block_write($hOut, undef, 0, $bProtocol, "${strChecksum}-${iFileSize}"); - } - } - # If source is already compressed or transfer is not compressed then just read the stream - else - { - my $iBlockSize; - my $tBuffer; - my $tCompressedBuffer; - my $tUncompressedBuffer; - my $iUncompressedBufferSize; - my $oSHA; - my $oZLib; - my $iZLibStatus; - - # If the destination will be compressed setup deflate - if ($bDestinationCompress) - { - if ($bProtocol) - { - $strMessage = 'checksum'; - } - - # Initialize checksum and size - $oSHA = Digest::SHA->new('sha1'); - $iFileSize = 0; - - # Initialize inflate object and check for errors - ($oZLib, $iZLibStatus) = - new Compress::Raw::Zlib::Inflate(WindowBits => WANT_GZIP, Bufsize => $self->{iBlockSize}, LimitOutput => 1); - - if ($iZLibStatus != Z_OK) - { - confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); - } - } - # Initialize message to indicate that a checksum will not be sent - elsif ($bProtocol) - { - $strMessage = 'nochecksum'; - } - - # Read input - do - { - $iBlockSize = $self->stream_read($hIn, \$tBuffer, $self->{iBlockSize}); - - # Write a block if size > 0 - if ($iBlockSize > 0) - { - $self->block_write($hOut, \$tBuffer, $iBlockSize, $bProtocol, $strMessage); - undef($strMessage); - } - - # Decompress the buffer to calculate checksum/size - if ($bDestinationCompress) - { - # If the block contains data, decompress it - if ($iBlockSize > 0) - { - # Copy file buffer to compressed buffer - if (defined($tCompressedBuffer)) - { - $tCompressedBuffer .= $tBuffer; - } - else - { - $tCompressedBuffer = $tBuffer; - } - - # Keep looping while there is more to decompress - do - { - # Decompress data - $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); - $iUncompressedBufferSize = length($tUncompressedBuffer); - - # If status is ok, write the data - if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) - { - if ($iUncompressedBufferSize > 0) - { - $oSHA->add($tUncompressedBuffer); - $iFileSize += $iUncompressedBufferSize; - } - } - # Else error, exit so it can be handled - else - { - $iBlockSize = 0; - } - } - while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); - } - } - } - while ($iBlockSize > 0); - - # Check decompression get checksum - if ($bDestinationCompress) - { - # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) - if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) - { - confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); - } - - # Get checksum - $strChecksum = $oSHA->hexdigest(); - - # Set protocol message - if ($bProtocol) - { - $strMessage = "${strChecksum}-${iFileSize}"; - } - } - - # If protocol write - if ($bProtocol) - { - # Write 0 block to indicate end of stream - $self->block_write($hOut, undef, 0, $bProtocol, $strMessage); - } - } - } - - # If message is defined the the checksum and size should be in it - if (defined($strMessage)) - { - my @stryToken = split(/-/, $strMessage); - $strChecksum = $stryToken[0]; - $iFileSize = $stryToken[1]; - } - - # Return the checksum and size if they are available - return $strChecksum, $iFileSize; -} - -#################################################################################################################################### -# OUTPUT_READ -# -# Read output from the remote process. -#################################################################################################################################### -sub output_read -{ - my $self = shift; - my $bOutputRequired = shift; - my $strErrorPrefix = shift; - my $bSuppressLog = shift; - - my $strLine; - my $strOutput; - my $bError = false; - my $iErrorCode; - my $strError; - - # Read output lines - while ($strLine = $self->read_line($self->{hOut}, false)) - { - if ($strLine =~ /^ERROR.*/) - { - $bError = true; - - $iErrorCode = (split(' ', $strLine))[1]; - - last; - } - - if ($strLine =~ /^OK$/) - { - last; - } - - $strOutput .= (defined($strOutput) ? "\n" : '') . substr($strLine, 1); - } - - # Check if the process has exited abnormally - $self->wait_pid(); - - # Raise any errors - if ($bError) - { - confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . - (defined($strOutput) ? "${strOutput}" : ''), $iErrorCode, $bSuppressLog); - } - - # If output is required and there is no output, raise exception - if (defined($bOutputRequired) && $bOutputRequired && !defined($strOutput)) - { - confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . 'output is not defined'); - } - - # Return output - return $strOutput; -} - -#################################################################################################################################### -# OUTPUT_WRITE -# -# Write output for the master process. -#################################################################################################################################### -sub output_write -{ - my $self = shift; - my $strOutput = shift; - - if (defined($strOutput)) - { - $self->string_write(*STDOUT, "${strOutput}"); - - if (!syswrite(*STDOUT, "\n")) - { - confess 'unable to write output'; - } - } - - if (!syswrite(*STDOUT, "OK\n")) - { - confess 'unable to write output'; - } -} - -#################################################################################################################################### -# COMMAND_PARAM_STRING -# -# Output command parameters in the hash as a string (used for debugging). -#################################################################################################################################### -sub command_param_string -{ - my $self = shift; - my $oParamHashRef = shift; - - my $strParamList = ''; - - if (defined($oParamHashRef)) - { - foreach my $strParam (sort(keys(%$oParamHashRef))) - { - $strParamList .= (defined($strParamList) ? ',' : '') . "${strParam}=" . - (defined(${$oParamHashRef}{"${strParam}"}) ? ${$oParamHashRef}{"${strParam}"} : '[undef]'); - } - } - - return $strParamList; -} - -#################################################################################################################################### -# COMMAND_READ -# -# Read command sent by the master process. -#################################################################################################################################### -sub command_read -{ - my $self = shift; - my $oParamHashRef = shift; - - my $strLine; - my $strCommand; - - while ($strLine = $self->read_line(*STDIN)) - { - if (!defined($strCommand)) - { - if ($strLine =~ /:$/) - { - $strCommand = substr($strLine, 0, length($strLine) - 1); - } - else - { - $strCommand = $strLine; - last; - } - } - else - { - if ($strLine eq 'end') - { - last; - } - - my $iPos = index($strLine, '='); - - if ($iPos == -1) - { - confess "param \"${strLine}\" is missing = character"; - } - - my $strParam = substr($strLine, 0, $iPos); - my $strValue = substr($strLine, $iPos + 1); - - ${$oParamHashRef}{"${strParam}"} = ${strValue}; - } - } - - return $strCommand; -} - -#################################################################################################################################### -# COMMAND_WRITE -# -# Send command to remote process. -#################################################################################################################################### -sub command_write -{ - my $self = shift; - my $strCommand = shift; - my $oParamRef = shift; - - logTrace(OP_PROTOCOL_COMMAND_WRITE, DEBUG_CALL, $strCommand, $oParamRef); - - my $strOutput = $strCommand; - - if (defined($oParamRef)) - { - $strOutput = "${strCommand}:\n"; - - foreach my $strParam (sort(keys(%$oParamRef))) - { - if ($strParam =~ /=/) - { - confess &log(ASSERT, "param \"${strParam}\" cannot contain = character"); - } - - my $strValue = ${$oParamRef}{"${strParam}"}; - - if ($strParam =~ /\n\$/) - { - confess &log(ASSERT, "param \"${strParam}\" value cannot end with LF"); - } - - if (defined(${strValue})) - { - $strOutput .= "${strParam}=${strValue}\n"; - } - } - - $strOutput .= 'end'; - } - - if (!syswrite($self->{hIn}, "${strOutput}\n")) - { - confess 'unable to write command'; - } - - logTrace(OP_PROTOCOL_COMMAND_WRITE, DEBUG_RESULT, $strOutput); -} - -#################################################################################################################################### -# COMMAND_EXECUTE -# -# Send command to remote process and wait for output. -#################################################################################################################################### -sub command_execute -{ - my $self = shift; - my $strCommand = shift; - my $oParamRef = shift; - my $bOutputRequired = shift; - my $strErrorPrefix = shift; - - $self->command_write($strCommand, $oParamRef); - - return $self->output_read($bOutputRequired, $strErrorPrefix); -} - -1; diff --git a/lib/BackRest/Protocol/Common.pm b/lib/BackRest/Protocol/Common.pm new file mode 100644 index 000000000..b763eb793 --- /dev/null +++ b/lib/BackRest/Protocol/Common.pm @@ -0,0 +1,630 @@ +#################################################################################################################################### +# PROTOCOL COMMON MODULE +#################################################################################################################################### +package BackRest::Protocol::Common; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); +use File::Basename qw(dirname); +use IO::String qw(); +#use Scalar::Util qw(blessed); + +use lib dirname($0) . '/../lib'; +use BackRest::Config; +use BackRest::Exception; +use BackRest::Ini; +use BackRest::Protocol::IO; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_PROTOCOL_COMMON => 'Protocol::Common'; + +use constant OP_PROTOCOL_COMMON_NEW => OP_PROTOCOL_COMMON . "->new"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $iBlockSize = shift; # Buffer size + my $iCompressLevel = shift; # Set compression level + my $iCompressLevelNetwork = shift; # Set compression level for network only compression + my $strName = shift; # Name to be used for gretting + + # Debug + logTrace(OP_PROTOCOL_COMMON_NEW, DEBUG_CALL, undef, + {iBlockSize => $iBlockSize, iCompressLevel => $iCompressLevel, iCompressNetworkLevel => $iCompressLevelNetwork}); + + # Create the class hash + my $self = {}; + bless $self, $class; + + # 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'); + } + + # Create the greeting that will be used to check versions with the remote + if (defined($strName)) + { + $self->{strName} = $strName; + $self->{strGreeting} = 'PG_BACKREST_' . uc($strName) . ' ' . BACKREST_VERSION; + } + + return $self; +} + +#################################################################################################################################### +# pipeToString +# +# Copies data from a file handle into a string. +#################################################################################################################################### +sub pipeToString +{ + my $self = shift; + my $hOut = shift; + + my $strBuffer; + my $hString = IO::String->new($strBuffer); + $self->binaryXfer($hOut, $hString); + + return $strBuffer; +} + +#################################################################################################################################### +# blockRead +# +# Read a block from the protocol layer. +#################################################################################################################################### +sub blockRead +{ + my $self = shift; + my $io = shift; + my $strBlockRef = shift; + my $bProtocol = shift; + + my $iBlockSize; + my $strMessage; + + if ($bProtocol) + { + # Read the block header and make sure it's valid + my $strBlockHeader = $self->{io}->lineRead(); + + if ($strBlockHeader !~ /^block -{0,1}[0-9]+( .*){0,1}$/) + { + $self->{io}->waitPid(); + confess "unable to read block header ${strBlockHeader}"; + } + + # Get block size from the header + my @stryToken = split(/ /, $strBlockHeader); + $iBlockSize = $stryToken[1]; + $strMessage = $stryToken[2]; + + # If block size is 0 or an error code then undef the buffer + if ($iBlockSize <= 0) + { + undef($$strBlockRef); + } + # Else read the block + else + { + my $iBlockRead = 0; + my $iBlockIn = 0; + my $iOffset = defined($$strBlockRef) ? length($$strBlockRef) : 0; + + # !!! Would be nice to modify this with a non-blocking read + # http://docstore.mik.ua/orelly/perl/cookbook/ch07_15.htm + + # Read as many chunks as it takes to get the full block + while ($iBlockRead != $iBlockSize) + { + $iBlockIn = $io->bufferRead($strBlockRef, $iBlockSize - $iBlockRead, $iBlockRead + $iOffset); + $iBlockRead += $iBlockIn; + } + } + } + else + { + $iBlockSize = $io->bufferRead($strBlockRef, $self->{iBlockSize}, defined($$strBlockRef) ? length($$strBlockRef) : undef); + } + + # Return the block size + return $iBlockSize, $strMessage; +} + +#################################################################################################################################### +# blockWrite +# +# Write a block to the protocol layer. +#################################################################################################################################### +sub blockWrite +{ + my $self = shift; + my $io = shift; + my $tBlockRef = shift; + my $iBlockSize = shift; + my $bProtocol = shift; + my $strMessage = shift; + + # If block size is not defined, get it from buffer length + $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); + + # Write block header to the protocol stream + if ($bProtocol) + { + $io->lineWrite("block ${iBlockSize}" . (defined($strMessage) ? " ${strMessage}" : '')); + } + + # Write block if size > 0 + if ($iBlockSize > 0) + { + $io->bufferWrite($tBlockRef, $iBlockSize); + } +} + +#################################################################################################################################### +# binaryXfer +# +# Copies data from one file handle to another, optionally compressing or decompressing the data in stream. If $strRemote != none +# then one side is a protocol stream, though this can be controlled with the bProtocol param. +#################################################################################################################################### +sub binaryXfer +{ + my $self = shift; + my $hIn = shift; + my $hOut = shift; + my $strRemote = shift; + my $bSourceCompressed = shift; + my $bDestinationCompress = shift; + my $bProtocol = shift; + + # The input stream must be defined + if (!defined($hIn)) + { + if (defined($self->{io})) + { + $hIn = $self->{io}->hInGet(); + } + else + { + confess &log(ASSERT, 'hIn is not defined'); + } + } + + # The output stream must be defined unless 'none' is passed + if (!defined($hOut)) + { + if (defined($self->{io})) + { + $hOut = $self->{io}->hOutGet(); + } + else + { + confess &log(ASSERT, 'hOut is not defined'); + } + } + elsif ($hOut eq 'none') + { + undef($hOut); + } + + # If no remote is defined then set to none + if (!defined($strRemote)) + { + $strRemote = 'none'; + } + # Only set compression defaults when remote is defined + else + { + $bSourceCompressed = defined($bSourceCompressed) ? $bSourceCompressed : false; + $bDestinationCompress = defined($bDestinationCompress) ? $bDestinationCompress : false; + } + + # Default protocol to true + $bProtocol = defined($bProtocol) ? $bProtocol : true; + my $strMessage = undef; + + # Create IO object for this transfer + my $io = new BackRest::Protocol::IO($hIn, $hOut, $self->{io}->{hErr}, $self->{io}->{pid}); + + # Checksum and size + my $strChecksum = undef; + my $iFileSize = undef; + + # Read from the protocol stream + if ($strRemote eq 'in') + { + # If the destination should not be compressed then decompress + if (!$bDestinationCompress) + { + my $iBlockSize; + my $tCompressedBuffer; + my $tUncompressedBuffer; + my $iUncompressedBufferSize; + + # Initialize SHA + my $oSHA; + + if (!$bProtocol) + { + $oSHA = Digest::SHA->new('sha1'); + } + + # Initialize inflate object and check for errors + my ($oZLib, $iZLibStatus) = + new Compress::Raw::Zlib::Inflate(WindowBits => 15 & $bSourceCompressed ? WANT_GZIP : 0, + Bufsize => $self->{iBlockSize}, LimitOutput => 1); + + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); + } + + # Read all input + do + { + # Read a block from the input stream + ($iBlockSize, $strMessage) = $self->blockRead($io, \$tCompressedBuffer, $bProtocol); + + # Process protocol messages + if (defined($strMessage) && $strMessage eq 'nochecksum') + { + $oSHA = Digest::SHA->new('sha1'); + undef($strMessage); + } + + # If the block contains data, decompress it + if ($iBlockSize > 0) + { + # Keep looping while there is more to decompress + do + { + # Decompress data + $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); + $iUncompressedBufferSize = length($tUncompressedBuffer); + + # If status is ok, write the data + if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) + { + if ($iUncompressedBufferSize > 0) + { + # Add data to checksum + if (defined($oSHA)) + { + $oSHA->add($tUncompressedBuffer); + } + + # Write data if hOut is defined + if (defined($hOut)) + { + $io->bufferWrite(\$tUncompressedBuffer, $iUncompressedBufferSize); + } + } + } + # Else error, exit so it can be handled + else + { + $iBlockSize = 0; + last; + } + } + while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); + } + } + while ($iBlockSize > 0); + + # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) + if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) + { + confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); + } + + # Get checksum and total uncompressed bytes written + if (defined($oSHA)) + { + $strChecksum = $oSHA->hexdigest(); + $iFileSize = $oZLib->total_out(); + }; + } + # If the destination should be compressed then just write out the already compressed stream + else + { + my $iBlockSize; + my $tBuffer; + + # Initialize checksum and size + my $oSHA; + + if (!$bProtocol) + { + $oSHA = Digest::SHA->new('sha1'); + $iFileSize = 0; + } + + do + { + # Read a block from the protocol stream + ($iBlockSize, $strMessage) = $self->blockRead($io, \$tBuffer, $bProtocol); + + # If the block contains data, write it + if ($iBlockSize > 0) + { + # Add data to checksum and size + if (!$bProtocol) + { + $oSHA->add($tBuffer); + $iFileSize += $iBlockSize; + } + + $io->bufferWrite(\$tBuffer, $iBlockSize); + undef($tBuffer); + } + } + while ($iBlockSize > 0); + + # Get checksum + if (!$bProtocol) + { + $strChecksum = $oSHA->hexdigest(); + }; + } + } + # Read from file input stream + else + { + # If source is not already compressed then compress it + if ($strRemote eq 'out' && !$bSourceCompressed) + { + my $iBlockSize; + my $tCompressedBuffer; + my $iCompressedBufferSize; + my $tUncompressedBuffer; + + # Initialize message to indicate that a checksum will be sent + if ($bProtocol && defined($hOut)) + { + $strMessage = 'checksum'; + } + + # Initialize checksum + my $oSHA = Digest::SHA->new('sha1'); + + # Initialize inflate object and check for errors + my ($oZLib, $iZLibStatus) = + new Compress::Raw::Zlib::Deflate(WindowBits => 15 & $bDestinationCompress ? WANT_GZIP : 0, + Level => $bDestinationCompress ? $self->{iCompressLevel} : + $self->{iCompressLevelNetwork}, + Bufsize => $self->{iBlockSize}, AppendOutput => 1); + + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable create a deflate object: ${iZLibStatus}"); + } + + do + { + # Read a block from the stream + $iBlockSize = $io->bufferRead(\$tUncompressedBuffer, $self->{iBlockSize}); + + # If block size > 0 then compress + if ($iBlockSize > 0) + { + # Update checksum and filesize + $oSHA->add($tUncompressedBuffer); + + # Compress the data + $iZLibStatus = $oZLib->deflate($tUncompressedBuffer, $tCompressedBuffer); + $iCompressedBufferSize = length($tCompressedBuffer); + + # If compression was successful + if ($iZLibStatus == Z_OK) + { + # The compressed data is larger than block size, then write + if ($iCompressedBufferSize > $self->{iBlockSize}) + { + $self->blockWrite($io, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); + undef($tCompressedBuffer); + undef($strMessage); + } + } + # Else if error + else + { + $iBlockSize = 0; + } + } + } + while ($iBlockSize > 0); + + # If good so far flush out the last bytes + if ($iZLibStatus == Z_OK) + { + $iZLibStatus = $oZLib->flush($tCompressedBuffer); + } + + # Make sure the compression succeeded + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable to deflate stream: ${iZLibStatus}"); + } + + # Get checksum and total uncompressed bytes written + $strChecksum = $oSHA->hexdigest(); + $iFileSize = $oZLib->total_in(); + + # Write out the last block + if (defined($hOut)) + { + $iCompressedBufferSize = length($tCompressedBuffer); + + if ($iCompressedBufferSize > 0) + { + $self->blockWrite($io, \$tCompressedBuffer, $iCompressedBufferSize, $bProtocol, $strMessage); + undef($strMessage); + } + + $self->blockWrite($io, undef, 0, $bProtocol, "${strChecksum}-${iFileSize}"); + } + } + # If source is already compressed or transfer is not compressed then just read the stream + else + { + my $iBlockSize; + my $tBuffer; + my $tCompressedBuffer; + my $tUncompressedBuffer; + my $iUncompressedBufferSize; + my $oSHA; + my $oZLib; + my $iZLibStatus; + + # If the destination will be compressed setup deflate + if ($bDestinationCompress) + { + if ($bProtocol) + { + $strMessage = 'checksum'; + } + + # Initialize checksum and size + $oSHA = Digest::SHA->new('sha1'); + $iFileSize = 0; + + # Initialize inflate object and check for errors + ($oZLib, $iZLibStatus) = + new Compress::Raw::Zlib::Inflate(WindowBits => WANT_GZIP, Bufsize => $self->{iBlockSize}, LimitOutput => 1); + + if ($iZLibStatus != Z_OK) + { + confess &log(ERROR, "unable create a inflate object: ${iZLibStatus}"); + } + } + # Initialize message to indicate that a checksum will not be sent + elsif ($bProtocol) + { + $strMessage = 'nochecksum'; + } + + # Read input + do + { + $iBlockSize = $io->bufferRead(\$tBuffer, $self->{iBlockSize}); + + # Write a block if size > 0 + if ($iBlockSize > 0) + { + $self->blockWrite($io, \$tBuffer, $iBlockSize, $bProtocol, $strMessage); + undef($strMessage); + } + + # Decompress the buffer to calculate checksum/size + if ($bDestinationCompress) + { + # If the block contains data, decompress it + if ($iBlockSize > 0) + { + # Copy file buffer to compressed buffer + if (defined($tCompressedBuffer)) + { + $tCompressedBuffer .= $tBuffer; + } + else + { + $tCompressedBuffer = $tBuffer; + } + + # Keep looping while there is more to decompress + do + { + # Decompress data + $iZLibStatus = $oZLib->inflate($tCompressedBuffer, $tUncompressedBuffer); + $iUncompressedBufferSize = length($tUncompressedBuffer); + + # If status is ok, write the data + if ($iZLibStatus == Z_OK || $iZLibStatus == Z_BUF_ERROR || $iZLibStatus == Z_STREAM_END) + { + if ($iUncompressedBufferSize > 0) + { + $oSHA->add($tUncompressedBuffer); + $iFileSize += $iUncompressedBufferSize; + } + } + # Else error, exit so it can be handled + else + { + $iBlockSize = 0; + } + } + while ($iZLibStatus != Z_STREAM_END && $iUncompressedBufferSize > 0 && $iBlockSize > 0); + } + } + } + while ($iBlockSize > 0); + + # Check decompression get checksum + if ($bDestinationCompress) + { + # Make sure the decompression succeeded (iBlockSize < 0 indicates remote error, handled later) + if ($iBlockSize == 0 && $iZLibStatus != Z_STREAM_END) + { + confess &log(ERROR, "unable to inflate stream: ${iZLibStatus}"); + } + + # Get checksum + $strChecksum = $oSHA->hexdigest(); + + # Set protocol message + if ($bProtocol) + { + $strMessage = "${strChecksum}-${iFileSize}"; + } + } + + # If protocol write + if ($bProtocol) + { + # Write 0 block to indicate end of stream + $self->blockWrite($io, undef, 0, $bProtocol, $strMessage); + } + } + } + + # If message is defined the the checksum and size should be in it + if (defined($strMessage)) + { + my @stryToken = split(/-/, $strMessage); + $strChecksum = $stryToken[0]; + $iFileSize = $stryToken[1]; + } + + # Return the checksum and size if they are available + return $strChecksum, $iFileSize; +} + +1; diff --git a/lib/BackRest/Protocol/CommonMaster.pm b/lib/BackRest/Protocol/CommonMaster.pm new file mode 100644 index 000000000..c2b9dc866 --- /dev/null +++ b/lib/BackRest/Protocol/CommonMaster.pm @@ -0,0 +1,261 @@ +#################################################################################################################################### +# PROTOCOL COMMON MASTER MODULE +#################################################################################################################################### +package BackRest::Protocol::CommonMaster; +use parent 'BackRest::Protocol::Common'; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use File::Basename qw(dirname); + +use lib dirname($0) . '/../lib'; +use BackRest::Config; +use BackRest::Exception; +use BackRest::Ini; +use BackRest::Protocol::Common; +use BackRest::Protocol::IO; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_PROTOCOL_COMMON_MASTER => 'Protocol::CommonMaster'; + +use constant OP_PROTOCOL_COMMON_MASTER_NEW => OP_PROTOCOL_COMMON_MASTER . "->new"; +use constant OP_PROTOCOL_COMMON_MASTER_COMMAND_WRITE => OP_PROTOCOL_COMMON_MASTER . "->commandWrite"; +use constant OP_PROTOCOL_COMMON_MASTER_OUTPUT_READ => OP_PROTOCOL_COMMON_MASTER . "->outputRead"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $strName = shift; # Name of the protocol + my $strCommand = shift; # Command to execute on local/remote + my $iBlockSize = shift; # Buffer size + my $iCompressLevel = shift; # Set compression level + my $iCompressLevelNetwork = shift; # Set compression level for network only compression + + # Debug + logDebug(OP_PROTOCOL_COMMON_MASTER_NEW, DEBUG_CALL, undef, + {name => \$strName, command => \$strCommand, blockSize => $iBlockSize, + compressLevel => $iCompressLevel, compressLevelNetwork => $iCompressLevelNetwork}); + + # Create the class hash + my $self = $class->SUPER::new($iBlockSize, $iCompressLevel, $iCompressLevelNetwork, $strName); + bless $self, $class; + + # Set command + if (!defined($strCommand)) + { + confess &log(ASSERT, 'strCommand must be set'); + } + + # Execute the command + $self->{io} = BackRest::Protocol::IO->new3($strCommand); + + # Check greeting to be sure the protocol matches + $self->greetingRead(); + + return $self; +} + +#################################################################################################################################### +# DESTROY +#################################################################################################################################### +sub DESTROY +{ + my $self = shift; + + # Only send the exit command if the process is running + if (defined($self->{io}) && defined($self->{io}->pIdGet())) + { + &log(TRACE, "sending exit command to process"); + + $self->cmdWrite('exit'); + + # &log(TRACE, "waiting for remote process"); + # if (!$self->waitPid(5, false)) + # { + # &log(TRACE, "killed remote process"); + # kill('KILL', $self->{pId}); + # } + } +} + +#################################################################################################################################### +# greetingRead +# +# Read the greeting and make sure it is as expected. +#################################################################################################################################### +sub greetingRead +{ + my $self = shift; + + # Get the first line of output from the remote if possible + my $strLine = $self->{io}->lineRead(); + + # If the line could not be read or does equal the greeting then error and exit + if (!defined($strLine) || $strLine ne $self->{strGreeting}) + { + $self->{io}->kill(); + + confess &log(ERROR, 'protocol version mismatch' . (defined($strLine) ? ": ${strLine}" : ''), ERROR_HOST_CONNECT); + } +} + +#################################################################################################################################### +# outputRead +# +# Read output from the remote process. +#################################################################################################################################### +sub outputRead +{ + my $self = shift; + my $bOutputRequired = shift; + my $strErrorPrefix = shift; + my $bSuppressLog = shift; + + logTrace(OP_PROTOCOL_COMMON_MASTER_OUTPUT_READ, DEBUG_CALL, undef, + {isOutputRequired => $bOutputRequired, strErrorPrefix => \$strErrorPrefix, isSuppressLog => $bSuppressLog}); + + my $strLine; + my $strOutput; + my $bError = false; + my $iErrorCode; + my $strError; + + # Read output lines + while ($strLine = $self->{io}->lineRead(false)) + { + # Exit if an error is found + if ($strLine =~ /^ERROR.*/) + { + $bError = true; + $iErrorCode = (split(' ', $strLine))[1]; + last; + } + + # Exit if OK is found + if ($strLine =~ /^OK$/) + { + last; + } + + # Else append to output + $strOutput .= (defined($strOutput) ? "\n" : '') . substr($strLine, 1); + } + + # Check if the process has exited abnormally + $self->{io}->waitPid(); + + # Raise any errors + if ($bError) + { + confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . + (defined($strOutput) ? "${strOutput}" : ''), $iErrorCode, $bSuppressLog); + } + + # If output is required and there is no output, raise exception + if (defined($bOutputRequired) && $bOutputRequired && !defined($strOutput)) + { + confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') . 'output is not defined'); + } + + logTrace(OP_PROTOCOL_COMMON_MASTER_OUTPUT_READ, DEBUG_RESULT, undef, {strOutput => \$strOutput}); + + # Return output + return $strOutput; +} + +#################################################################################################################################### +# commandParamString +# +# Output command parameters in the hash as a string (used for debugging). +#################################################################################################################################### +sub commandParamString +{ + my $self = shift; + my $oParamHashRef = shift; + + my $strParamList = ''; + + if (defined($oParamHashRef)) + { + foreach my $strParam (sort(keys(%$oParamHashRef))) + { + $strParamList .= (defined($strParamList) ? ',' : '') . "${strParam}=" . + (defined(${$oParamHashRef}{"${strParam}"}) ? ${$oParamHashRef}{"${strParam}"} : '[undef]'); + } + } + + return $strParamList; +} + +#################################################################################################################################### +# cmdWrite +# +# Send command to remote process. +#################################################################################################################################### +sub cmdWrite +{ + my $self = shift; + my $strCommand = shift; + my $oParamRef = shift; + + logTrace(OP_PROTOCOL_COMMON_MASTER_COMMAND_WRITE, DEBUG_CALL, \$strCommand, $oParamRef); + + if (defined($oParamRef)) + { + $strCommand .= ":\n"; + + foreach my $strParam (sort(keys(%$oParamRef))) + { + if ($strParam =~ /=/) + { + confess &log(ASSERT, "param \"${strParam}\" cannot contain = character"); + } + + my $strValue = ${$oParamRef}{"${strParam}"}; + + if ($strParam =~ /\n\$/) + { + confess &log(ASSERT, "param \"${strParam}\" value cannot end with LF"); + } + + if (defined(${strValue})) + { + $strCommand .= "${strParam}=${strValue}\n"; + } + } + + $strCommand .= 'end'; + } + + $self->{io}->lineWrite($strCommand); + + logTrace(OP_PROTOCOL_COMMON_MASTER_COMMAND_WRITE, DEBUG_RESULT, undef, {strCommand => \$strCommand}); +} + +#################################################################################################################################### +# cmdExecute +# +# Send command to remote process and wait for output. +#################################################################################################################################### +sub cmdExecute +{ + my $self = shift; + my $strCommand = shift; + my $oParamRef = shift; + my $bOutputRequired = shift; + my $strErrorPrefix = shift; + + $self->cmdWrite($strCommand, $oParamRef); + + return $self->outputRead($bOutputRequired, $strErrorPrefix); +} + +1; diff --git a/lib/BackRest/Protocol/CommonMinion.pm b/lib/BackRest/Protocol/CommonMinion.pm new file mode 100644 index 000000000..1fd38a2ee --- /dev/null +++ b/lib/BackRest/Protocol/CommonMinion.pm @@ -0,0 +1,220 @@ +#################################################################################################################################### +# PROTOCOL COMMON MINION MODULE +#################################################################################################################################### +package BackRest::Protocol::CommonMinion; +use parent 'BackRest::Protocol::Common'; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use File::Basename qw(dirname); +use Scalar::Util qw(blessed); + +use lib dirname($0) . '/../lib'; +use BackRest::Config; +use BackRest::Exception; +use BackRest::Ini; +use BackRest::Protocol::Common; +use BackRest::Protocol::IO; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_PROTOCOL_COMMON_MINION => 'Protocol::CommonMinion'; + +use constant OP_PROTOCOL_COMMON_MINION_NEW => OP_PROTOCOL_COMMON_MINION . "->new"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $strName = shift; # Name of the protocol + my $iBlockSize = shift; # Buffer size + my $iCompressLevel = shift; # Set compression level + my $iCompressLevelNetwork = shift; # Set compression level for network only compression + + # Debug + logTrace(OP_PROTOCOL_COMMON_MINION_NEW, DEBUG_CALL, undef, + {name => \$strName, blockSize => $iBlockSize, compressLevel => $iCompressLevel, + compressLevelNetwork => $iCompressLevelNetwork}); + + # Create the class hash + my $self = $class->SUPER::new($iBlockSize, $iCompressLevel, $iCompressLevelNetwork, $strName); + bless $self, $class; + + # Create the greeting that will be used to check versions with the remote + if (defined($strName)) + { + $self->{strName} = $strName; + $self->{strGreeting} = 'PG_BACKREST_' . uc($strName) . ' ' . BACKREST_VERSION; + } + + # Create the IO object with std io + $self->{io} = new BackRest::Protocol::IO(*STDIN, *STDOUT, *STDERR); + + # Write the greeting so master process knows who we are + $self->greetingWrite(); + + return $self; +} + +#################################################################################################################################### +# greetingWrite +# +# Send a greeting to the master process. +#################################################################################################################################### +sub greetingWrite +{ + my $self = shift; + + $self->{io}->lineWrite($self->{strGreeting}); +} + +#################################################################################################################################### +# textWrite +# +# Write text out to the protocol layer prefixing each line with a period. +#################################################################################################################################### +sub textWrite +{ + my $self = shift; + my $strBuffer = shift; + + $strBuffer =~ s/\n/\n\./g; + + $self->{io}->lineWrite('.' . $strBuffer); +} + +#################################################################################################################################### +# binaryXferAbort +# +# Abort transfer when source file does not exist. +#################################################################################################################################### +sub binaryXferAbort +{ + my $self = shift; + + # Only allow in the backend process + $self->{io}->lineWrite('block -1'); +} + +#################################################################################################################################### +# errorWrite +# +# Write errors with error codes in protocol format, otherwise write to stderr and exit with error. +#################################################################################################################################### +sub errorWrite +{ + my $self = shift; + my $oMessage = shift; + + my $iCode; + my $strMessage; + + # If the message is blessed it may be a standard exception + if (blessed($oMessage)) + { + # Check if it is a standard exception + if ($oMessage->isa('BackRest::Exception')) + { + $iCode = $oMessage->code(); + $strMessage = $oMessage->message(); + } + # Else terminate the process with an error + else + { + $self->{io}->errorWrite('unknown error object'); + exit ERROR_UNKNOWN; + } + } + # Else terminate the process with an error + else + { + $self->{io}->errorWrite('unknown error: ' . $oMessage); + exit ERROR_UNKNOWN; + } + + # Write the message text into protocol + if (defined($strMessage)) + { + $self->textWrite(trim($strMessage)); + } + + # Indicate that an error ocurred and provide the code + $self->{io}->lineWrite("ERROR" . (defined($iCode) ? " $iCode" : '')); +} + +#################################################################################################################################### +# outputWrite +# +# Write output for the master process. +#################################################################################################################################### +sub outputWrite +{ + my $self = shift; + my $strOutput = shift; + + if (defined($strOutput)) + { + $self->textWrite($strOutput); + } + + $self->{io}->lineWrite('OK'); +} + +#################################################################################################################################### +# cmdRead +# +# Read command sent by the master process. +#################################################################################################################################### +sub cmdRead +{ + my $self = shift; + my $oParamHashRef = shift; + + my $strLine; + my $strCommand; + + while ($strLine = $self->{io}->lineRead()) + { + if (!defined($strCommand)) + { + if ($strLine =~ /:$/) + { + $strCommand = substr($strLine, 0, length($strLine) - 1); + } + else + { + $strCommand = $strLine; + last; + } + } + else + { + if ($strLine eq 'end') + { + last; + } + + my $iPos = index($strLine, '='); + + if ($iPos == -1) + { + confess "param \"${strLine}\" is missing = character"; + } + + my $strParam = substr($strLine, 0, $iPos); + my $strValue = substr($strLine, $iPos + 1); + + ${$oParamHashRef}{"${strParam}"} = ${strValue}; + } + } + + return $strCommand; +} + +1; diff --git a/lib/BackRest/Protocol/IO.pm b/lib/BackRest/Protocol/IO.pm new file mode 100644 index 000000000..aae291709 --- /dev/null +++ b/lib/BackRest/Protocol/IO.pm @@ -0,0 +1,319 @@ +#################################################################################################################################### +# PROTOCOL IO MODULE +#################################################################################################################################### +package BackRest::Protocol::IO; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use File::Basename qw(dirname); +use IPC::Open3; +use POSIX qw(:sys_wait_h); + +use lib dirname($0) . '/../lib'; +use BackRest::Exception; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_IO_PROTOCOL => 'IO'; + +use constant OP_IO_PROTOCOL_NEW => OP_IO_PROTOCOL . "->new"; +use constant OP_IO_PROTOCOL_NEW3 => OP_IO_PROTOCOL . "->new3"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $hIn = shift; # Input stream + my $hOut = shift; # Output stream + my $hErr = shift; # Error stream + my $pId = shift; # Process ID + + # Debug + logTrace(OP_IO_PROTOCOL_NEW3, DEBUG_CALL); + + # Create the class hash + my $self = {}; + bless $self, $class; + + $self->{hIn} = $hIn; + $self->{hOut} = $hOut; + $self->{hErr} = $hErr; + $self->{pId} = $pId; + + return $self; +} + +#################################################################################################################################### +# new3 +# +# Use open3 to run the command and get the io handles. +#################################################################################################################################### +sub new3 +{ + my $class = shift; + my $strCommand = shift; + + # Debug + logTrace(OP_IO_PROTOCOL_NEW3, DEBUG_CALL, undef, {command => \$strCommand}); + + # Use open3 to run the command + my ($pId, $hIn, $hOut, $hErr); + + $pId = IPC::Open3::open3($hIn, $hOut, $hErr, $strCommand); + + # Return the IO class + return $class->new($hOut, $hIn, $hErr, $pId); +} + +#################################################################################################################################### +# Get pid/input/output handles +#################################################################################################################################### +sub hInGet +{ + my $self = shift; + + return $self->{hIn}; +} + +sub hOutGet +{ + my $self = shift; + + return $self->{hOut}; +} + +sub pIdGet +{ + my $self = shift; + + return $self->{pId}; +} + +#################################################################################################################################### +# kill +#################################################################################################################################### +sub kill +{ + my $self = shift; + + if (defined($self->{pId})) + { + kill 'KILL', $self->{pId}; + waitpid($self->{pId}, 0); + undef($self->{pId}); + undef($self->{hIn}); + undef($self->{hOut}); + undef($self->{hErr}); + } +} + +#################################################################################################################################### +# lineRead +# +# Read a line. +#################################################################################################################################### +sub lineRead +{ + my $self = shift; + my $bError = shift; + + my $strLine; + my $strChar; + my $iByteIn; + + # my $oOutSelect = IO::Select->new(); + # $oOutSelect->add($self->{hOut}); + # + # if ($oOutSelect->can_read(2)) + # { + # $strLine = readline($self->{hOut}); + # $strLine = trim($strLine); + # } + + while (1) + { + $iByteIn = sysread($self->{hIn}, $strChar, 1); + + if (!defined($iByteIn) || $iByteIn != 1) + { + $self->waitPid(); + + if (defined($bError) and !$bError) + { + return undef; + } + + confess &log(ERROR, 'unable to read 1 byte' . (defined($!) ? ': ' . $! : '')); + } + + if ($strChar eq "\n") + { + last; + } + + $strLine .= $strChar; + } + + return $strLine; +} + +#################################################################################################################################### +# errorWrite +# +# Write error data to the stream. +#################################################################################################################################### +sub errorWrite +{ + my $self = shift; + my $strBuffer = shift; + + if (defined($self->{pId})) + { + confess &log(ASSERT, 'errorWrite() not valid got master process.'); + } + + $self->lineWrite($strBuffer, $self->{hError}); +} + +#################################################################################################################################### +# lineWrite +# +# Write line to the stream. +#################################################################################################################################### +sub lineWrite +{ + my $self = shift; + my $strBuffer = shift; + my $hOut = shift; + + my $iLineOut = syswrite(defined($hOut) ? $hOut : $self->{hOut}, (defined($strBuffer) ? $strBuffer : '') . "\n"); + + if (!defined($iLineOut) || $iLineOut != (defined($strBuffer) ? length($strBuffer) : 0) + 1) + { + confess &log(ERROR, "unable to write ${strBuffer}: $!", ERROR_PROTOCOL); + } +} + +#################################################################################################################################### +# bufferRead +# +# Read data from a stream. +#################################################################################################################################### +sub bufferRead +{ + my $self = shift; + my $tBlockRef = shift; + my $iBlockSize = shift; + my $iOffset = shift; + + # Read a block from the stream + my $iBlockIn = sysread($self->{hIn}, $$tBlockRef, $iBlockSize, defined($iOffset) ? $iOffset : 0); + + if (!defined($iBlockIn)) + { + $self->waitPid(); + confess &log(ERROR, 'unable to read'); + } + + return $iBlockIn; +} + +#################################################################################################################################### +# bufferWrite +# +# Write data to a stream. +#################################################################################################################################### +sub bufferWrite +{ + my $self = shift; + my $tBlockRef = shift; + my $iBlockSize = shift; + + # If block size is not defined, get it from buffer length + $iBlockSize = defined($iBlockSize) ? $iBlockSize : length($$tBlockRef); + + # Write the block + my $iBlockOut = syswrite($self->{hOut}, $$tBlockRef, $iBlockSize); + + # Report any errors + if (!defined($iBlockOut) || $iBlockOut != $iBlockSize) + { + my $strError = $!; + + $self->waitPid(); + confess "unable to write ${iBlockSize} bytes" . (defined($strError) ? ': ' . $strError : ''); + } +} + +#################################################################################################################################### +# waitPid +# +# See if the remote process has terminated unexpectedly. +#################################################################################################################################### +sub waitPid +{ + my $self = shift; + my $fWaitTime = shift; + my $bReportError = shift; + + # Record the start time and set initial sleep interval + my $oWait = waitInit($fWaitTime); + + if (defined($self->{pId})) + { + do + { + my $iResult = waitpid($self->{pId}, WNOHANG); + + if (defined($fWaitTime)) + { + confess &log(TRACE, "waitpid result = $iResult"); + } + + # If there is no such process + if ($iResult == -1) + { + return true; + } + + if ($iResult > 0) + { + if (!defined($bReportError) || $bReportError) + { + my $strError = 'no error on stderr'; + + if (!defined($self->{hErr})) + { + $strError = 'no error captured because stderr is already closed'; + } + else + { + $strError = $self->pipeToString($self->{hErr}); + } + + $self->{pId} = undef; + $self->{hIn} = undef; + $self->{hOut} = undef; + $self->{hErr} = undef; + + confess &log(ERROR, "remote process terminated: ${strError}", ERROR_HOST_CONNECT); + } + + return true; + } + + &log(TRACE, "waiting for pid"); + } + while (waitMore($oWait)); + } + + return false; +} + +1; diff --git a/lib/BackRest/Protocol/RemoteMaster.pm b/lib/BackRest/Protocol/RemoteMaster.pm new file mode 100644 index 000000000..bcfca4e33 --- /dev/null +++ b/lib/BackRest/Protocol/RemoteMaster.pm @@ -0,0 +1,89 @@ +#################################################################################################################################### +# PROTOCOL REMOTE MASTER MODULE +#################################################################################################################################### +package BackRest::Protocol::RemoteMaster; +use parent 'BackRest::Protocol::CommonMaster'; + +use strict; +use warnings FATAL => qw(all); +use Carp qw(confess); + +use File::Basename qw(dirname); + +use lib dirname($0) . '/../lib'; +use BackRest::Config; +use BackRest::Protocol::CommonMaster; +use BackRest::Utility; + +#################################################################################################################################### +# Operation constants +#################################################################################################################################### +use constant OP_PROTOCOL_REMOTE_MASTER => 'Protocol::RemoteMaster'; + +use constant OP_PROTOCOL_REMOTE_MASTER_NEW => OP_PROTOCOL_REMOTE_MASTER . "->new"; + +#################################################################################################################################### +# CONSTRUCTOR +#################################################################################################################################### +sub new +{ + my $class = shift; # Class name + my $strCommand = shift; # Command to execute on local/remote + 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 for local) + my $strUser = shift; # User to connect to for remote (must be set if strHost is set) + + # Debug + logDebug(OP_PROTOCOL_REMOTE_MASTER_NEW, DEBUG_CALL, undef, + {command => \$strCommand, host => \$strHost, user => \$strUser, blockSize => $iBlockSize, + compressLevel => $iCompressLevel, compressLevelNetwork => $iCompressLevelNetwork}); + + # Host must be defined + if (!defined($strHost)) + { + confess &log(ASSERT, 'strHost must be defined'); + } + + # User must be defined + if (!defined($strUser)) + { + confess &log(ASSERT, 'strUser must be defined'); + } + + # Command must be defined + if (!defined($strCommand)) + { + confess &log(ASSERT, 'strCommand must be defined'); + } + + # Create SSH command + $strCommand = "ssh -o Compression=no -o PasswordAuthentication=no ${strUser}\@${strHost} '${strCommand}'"; + + # Init object and store variables + my $self = $class->SUPER::new('remote', $strCommand, $iBlockSize, $iCompressLevel, $iCompressLevelNetwork); + bless $self, $class; + + return $self; +} + +#################################################################################################################################### +# CLONE +#################################################################################################################################### +sub clone +{ + my $self = shift; + + return BackRest::Protocol::RemoteMaster->new + ( + $self->{strCommand}, + $self->{iBlockSize}, + $self->{iCompressLevel}, + $self->{iCompressLevelNetwork}, + $self->{strHost}, + $self->{strUser} + ); +} + +1; diff --git a/lib/BackRest/Remote.pm b/lib/BackRest/Protocol/RemoteMinion.pm similarity index 83% rename from lib/BackRest/Remote.pm rename to lib/BackRest/Protocol/RemoteMinion.pm index dba579ede..c7f7c4f18 100644 --- a/lib/BackRest/Remote.pm +++ b/lib/BackRest/Protocol/RemoteMinion.pm @@ -1,20 +1,15 @@ #################################################################################################################################### -# REMOTE MODULE +# PROTOCOL REMOTE MINION MODULE #################################################################################################################################### -package BackRest::Remote; -use parent 'BackRest::Protocol'; +package BackRest::Protocol::RemoteMinion; +use parent 'BackRest::Protocol::CommonMinion'; use strict; use warnings FATAL => qw(all); use Carp qw(confess); -use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END); use File::Basename qw(dirname); -use IO::String qw(); -use POSIX qw(:sys_wait_h); -use Scalar::Util qw(blessed); - use lib dirname($0) . '/../lib'; use BackRest::Archive; use BackRest::Config; @@ -22,15 +17,15 @@ use BackRest::Db; use BackRest::Exception; use BackRest::File; use BackRest::Info; -use BackRest::Protocol; +use BackRest::Protocol::CommonMinion; use BackRest::Utility; #################################################################################################################################### # Operation constants #################################################################################################################################### -use constant OP_REMOTE => 'Remote'; +use constant OP_PROTOCOL_REMOVE_MINION => 'Protocol::RemoteMinion'; -use constant OP_REMOTE_NEW => OP_REMOTE . "->new"; +use constant OP_PROTOCOL_REMOVE_MINION_NEW => OP_PROTOCOL_REMOVE_MINION . "->new"; #################################################################################################################################### # Operation constants @@ -47,21 +42,17 @@ 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 # Debug - logDebug(OP_REMOTE_NEW, DEBUG_CALL, undef, - {host => $strHost, user => $strUser, command => $strCommand}, - defined($strHost) ? DEBUG : TRACE); + logTrace(OP_PROTOCOL_REMOVE_MINION_NEW, DEBUG_CALL, undef, + {iBlockSize => $iBlockSize, iCompressLevel => $iCompressLevel, iCompressNetworkLevel => $iCompressLevelNetwork}); # Init object and store variables - my $self = $class->SUPER::new(CMD_REMOTE, !defined($strHost), $strCommand, $iBlockSize, $iCompressLevel, $iCompressLevelNetwork, - $strHost, $strUser); + my $self = $class->SUPER::new(CMD_REMOTE, $iBlockSize, $iCompressLevel, $iCompressLevelNetwork); + bless $self, $class; return $self; } @@ -117,7 +108,7 @@ sub process { my %oParamHash; - $strCommand = $self->command_read(\%oParamHash); + $strCommand = $self->cmdRead(\%oParamHash); eval { @@ -171,7 +162,7 @@ sub process paramGet(\%oParamHash, 'destination_compress')); } - $self->output_write(($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " . + $self->outputWrite(($bResult ? 'Y' : 'N') . " " . (defined($strChecksum) ? $strChecksum : '?') . " " . (defined($iFileSize) ? $iFileSize : '?')); } # List files in a path @@ -192,23 +183,23 @@ sub process $strOutput .= $strFile; } - $self->output_write($strOutput); + $self->outputWrite($strOutput); } # Create a path elsif ($strCommand eq OP_FILE_PATH_CREATE) { $oFile->path_create(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path'), paramGet(\%oParamHash, 'mode', false)); - $self->output_write(); + $self->outputWrite(); } # Check if a file/path exists elsif ($strCommand eq OP_FILE_EXISTS) { - $self->output_write($oFile->exists(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path')) ? 'Y' : 'N'); + $self->outputWrite($oFile->exists(PATH_ABSOLUTE, paramGet(\%oParamHash, 'path')) ? 'Y' : 'N'); } # Wait elsif ($strCommand eq OP_FILE_WAIT) { - $self->output_write($oFile->wait(PATH_ABSOLUTE)); + $self->outputWrite($oFile->wait(PATH_ABSOLUTE)); } # Generate a manifest elsif ($strCommand eq OP_FILE_MANIFEST) @@ -234,7 +225,7 @@ sub process $oManifestHash{name}{"${strName}"}{link_destination} : ""); } - $self->output_write($strOutput); + $self->outputWrite($strOutput); } # Archive push checks elsif ($strCommand eq OP_ARCHIVE_PUSH_CHECK) @@ -245,16 +236,16 @@ sub process paramGet(\%oParamHash, 'db-version'), paramGet(\%oParamHash, 'db-sys-id')); - $self->output_write("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y')); + $self->outputWrite("${strArchiveId}\t" . (defined($strChecksum) ? $strChecksum : 'Y')); } elsif ($strCommand eq OP_ARCHIVE_GET_CHECK) { - $self->output_write($oArchive->getCheck($oFile)); + $self->outputWrite($oArchive->getCheck($oFile)); } # Info list stanza elsif ($strCommand eq OP_INFO_LIST_STANZA) { - $self->output_write( + $self->outputWrite( $oJSON->encode( $oInfo->listStanza($oFile, paramGet(\%oParamHash, 'stanza', false)))); @@ -264,11 +255,11 @@ sub process my ($strDbVersion, $iControlVersion, $iCatalogVersion, $ullDbSysId) = $oDb->info($oFile, paramGet(\%oParamHash, 'db-path')); - $self->output_write("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}"); + $self->outputWrite("${strDbVersion}\t${iControlVersion}\t${iCatalogVersion}\t${ullDbSysId}"); } elsif ($strCommand eq OP_DB_EXECUTE_SQL) { - $self->output_write($oDb->executeSql(paramGet(\%oParamHash, 'script'))); + $self->outputWrite($oDb->executeSql(paramGet(\%oParamHash, 'script'))); } # Continue if noop or exit elsif ($strCommand ne OP_NOOP && $strCommand ne OP_EXIT) @@ -280,7 +271,7 @@ sub process # Process errors if ($@) { - $self->error_write($@); + $self->errorWrite($@); } } } diff --git a/lib/BackRest/Utility.pm b/lib/BackRest/Utility.pm index 7b335e70a..5e2fe7a4d 100644 --- a/lib/BackRest/Utility.pm +++ b/lib/BackRest/Utility.pm @@ -384,6 +384,8 @@ use constant DEBUG_RESULT => '=>'; use constant DEBUG_MISC => ''; push @EXPORT, qw(DEBUG_MISC); +use constant DEBUG_STRING_MAX_LEN => 1024; + sub logDebug { my $strFunction = shift; @@ -408,10 +410,14 @@ sub logDebug $strParamSet .= ', '; } + my $strValueRef = ref($$oParamHash{$strParam}) ? $$oParamHash{$strParam} : \$$oParamHash{$strParam}; + $strParamSet .= "${strParam} = " . - (defined($$oParamHash{$strParam}) ? - ($strParam =~ /^is/ ? ($$oParamHash{$strParam} ? 'true' : 'false'): - $$oParamHash{$strParam}) : '[undef]'); + (defined($$strValueRef) ? + ($strParam =~ /^is/ ? ($$strValueRef ? 'true' : 'false'): + (length($$strValueRef) > DEBUG_STRING_MAX_LEN ? + substr($$strValueRef, 0, DEBUG_STRING_MAX_LEN) . ' ... [TRUNCATED]': + $$strValueRef)) : '[undef]'); } if (defined($strMessage)) @@ -437,7 +443,11 @@ sub logTrace my $strMessage = shift; my $oParamHash = shift; - logDebug($strFunction, $strType, $strMessage, $oParamHash, TRACE); + if ($oLogLevelRank{&TRACE}{rank} <= $oLogLevelRank{$strLogLevelConsole}{rank} || + $oLogLevelRank{&TRACE}{rank} <= $oLogLevelRank{$strLogLevelFile}{rank}) + { + logDebug($strFunction, $strType, $strMessage, $oParamHash, TRACE); + } } push @EXPORT, qw(logTrace); diff --git a/test/lib/BackRestTest/BackupTest.pm b/test/lib/BackRestTest/BackupTest.pm index 7a007bfb6..2bfe0deff 100755 --- a/test/lib/BackRestTest/BackupTest.pm +++ b/test/lib/BackRestTest/BackupTest.pm @@ -27,8 +27,8 @@ use BackRest::Exception; use BackRest::File; use BackRest::Ini; use BackRest::Manifest; -use BackRest::Protocol; -use BackRest::Remote; +use BackRest::Protocol::Common; +use BackRest::Protocol::RemoteMaster; use BackRest::Utility; use BackRestTest::CommonTest; @@ -1502,24 +1502,21 @@ sub BackRestTestBackup_Test #------------------------------------------------------------------------------------------------------------------------------- # Create remotes #------------------------------------------------------------------------------------------------------------------------------- - my $oRemote = new BackRest::Remote + my $oRemote = new BackRest::Protocol::RemoteMaster ( - $strHost, # Host - $strUserBackRest, # User BackRestTestCommon_CommandRemoteFullGet(), # Command OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + $strHost, # Host + $strUserBackRest # User ); - my $oLocal = new BackRest::Protocol + my $oLocal = new BackRest::Protocol::Common ( - undef, # Name - false, # Is backend? - undef, # Command OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level - OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK # Compress network level ); #------------------------------------------------------------------------------------------------------------------------------- diff --git a/test/lib/BackRestTest/CommonTest.pm b/test/lib/BackRestTest/CommonTest.pm index 5fe93f2d8..1737aa7ea 100755 --- a/test/lib/BackRestTest/CommonTest.pm +++ b/test/lib/BackRestTest/CommonTest.pm @@ -26,7 +26,6 @@ use BackRest::Db; use BackRest::File; use BackRest::Ini; use BackRest::Manifest; -use BackRest::Protocol; use BackRest::Utility; our @EXPORT = qw(BackRestTestCommon_Create BackRestTestCommon_Drop BackRestTestCommon_Setup BackRestTestCommon_ExecuteBegin diff --git a/test/lib/BackRestTest/ConfigTest.pm b/test/lib/BackRestTest/ConfigTest.pm index 6850c3c9d..83547d739 100755 --- a/test/lib/BackRestTest/ConfigTest.pm +++ b/test/lib/BackRestTest/ConfigTest.pm @@ -14,11 +14,7 @@ use Carp qw(confess); use Cwd qw(abs_path); use Exporter qw(import); use File::Basename qw(dirname); -use Scalar::Util 'blessed'; -#use Data::Dumper qw(Dumper); -#use Scalar::Util qw(blessed); -# use Test::More qw(no_plan); -# use Test::Deep; +use Scalar::Util qw(blessed); use lib dirname($0) . '/../lib'; use BackRest::Config; diff --git a/test/lib/BackRestTest/FileTest.pm b/test/lib/BackRestTest/FileTest.pm index 2f6adab5c..d22328d5f 100755 --- a/test/lib/BackRestTest/FileTest.pm +++ b/test/lib/BackRestTest/FileTest.pm @@ -23,7 +23,8 @@ use Time::HiRes qw(gettimeofday usleep); use lib dirname($0) . '/../lib'; use BackRest::Config; use BackRest::File; -use BackRest::Protocol; +use BackRest::Protocol::Common; +use BackRest::Protocol::RemoteMaster; use BackRest::Utility; use BackRestTest::CommonTest; @@ -57,7 +58,11 @@ sub BackRestTestFile_Setup # Create the backrest private directory if (defined($bPrivate) && $bPrivate) { - system("ssh backrest\@${strHost} 'mkdir -m 700 ${strTestPath}/private'") == 0 or die "unable to create ${strTestPath}/private path"; + system("ssh backrest\@${strHost} 'mkdir -m 700 ${strTestPath}/backrest_private'") == 0 + or die "unable to create ${strTestPath}/backrest_private path"; + + system("mkdir -m 700 ${strTestPath}/user_private") == 0 + or die "unable to create ${strTestPath}/user_private path"; } } } @@ -92,24 +97,21 @@ sub BackRestTestFile_Test #------------------------------------------------------------------------------------------------------------------------------- # Create remotes #------------------------------------------------------------------------------------------------------------------------------- - my $oRemote = new BackRest::Remote + my $oRemote = new BackRest::Protocol::RemoteMaster ( - $strHost, # Host - $strUser, # User BackRestTestCommon_CommandRemoteFullGet(), # Command OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + $strHost, # Host + $strUserBackRest # User ); - my $oLocal = new BackRest::Protocol + my $oLocal = new BackRest::Protocol::Common ( - undef, # Name - false, # Is backend? - undef, # Command OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level - OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK # Compress network level ); #------------------------------------------------------------------------------------------------------------------------------- @@ -163,7 +165,8 @@ sub BackRestTestFile_Test # If not exists then set the path to something bogus if ($bError) { - $strPath = "${strTestPath}/private/path"; + $strPath = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . "_private/path"; + $strPathType = PATH_BACKUP_ABSOLUTE; } @@ -270,7 +273,7 @@ sub BackRestTestFile_Test if ($bSourceError) { - $strSourceFile = "${strTestPath}/private/test.txt"; + $strSourceFile = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . "_private/test.txt"; } elsif ($bSourceExists) { @@ -279,7 +282,7 @@ sub BackRestTestFile_Test if ($bDestinationError) { - $strSourceFile = "${strTestPath}/private/test.txt"; + $strDestinationFile = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . "_private/test.txt"; } elsif (!$bDestinationExists) { @@ -357,7 +360,7 @@ sub BackRestTestFile_Test if ($bError) { - $strFile = "${strTestPath}/private/test.txt"; + $strFile = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . "_private/test.txt"; } elsif ($bExists) { @@ -542,7 +545,7 @@ sub BackRestTestFile_Test if ($bError) { - $strPath = $strTestPath . '/private'; + $strPath = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . '_private'; } elsif (!$bExists) { @@ -684,7 +687,7 @@ sub BackRestTestFile_Test if ($bError) { - $strPath = "${strTestPath}/private"; + $strPath = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . '_private'; } elsif (!$bExists) { @@ -792,7 +795,7 @@ sub BackRestTestFile_Test if ($bError) { - $strFile = "${strTestPath}/private/test.txt" + $strFile = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . '_private/test.txt'; } elsif (!$bExists) { @@ -891,7 +894,7 @@ sub BackRestTestFile_Test if ($bError) { - $strFile = "${strTestPath}/private/test.txt"; + $strFile = "${strTestPath}/" . ($bRemote ? 'user' : 'backrest') . '_private/test.txt'; } elsif (!$bExists) { @@ -1189,7 +1192,7 @@ sub BackRestTestFile_Test $oFile->copy($strSourcePathType, $strSourceFile, $strDestinationPathType, $strDestinationFile, $bSourceCompressed, $bDestinationCompress, - $bSourceIgnoreMissing, undef, '0700', false, undef, undef, + $bSourceIgnoreMissing, undef, '0770', false, undef, undef, $bChecksumAppend); }; diff --git a/test/lib/BackRestTest/UtilityTest.pm b/test/lib/BackRestTest/UtilityTest.pm index 7146f5fdf..782204393 100755 --- a/test/lib/BackRestTest/UtilityTest.pm +++ b/test/lib/BackRestTest/UtilityTest.pm @@ -42,14 +42,11 @@ sub BackRestTestUtility_Test #------------------------------------------------------------------------------------------------------------------------------- # Create remote #------------------------------------------------------------------------------------------------------------------------------- - my $oLocal = new BackRest::Protocol + my $oLocal = new BackRest::Protocol::Common ( - undef, # Name - false, # Is backend? - undef, # Command OPTION_DEFAULT_BUFFER_SIZE, # Buffer size OPTION_DEFAULT_COMPRESS_LEVEL, # Compress level - OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK, # Compress network level + OPTION_DEFAULT_COMPRESS_LEVEL_NETWORK # Compress network level ); #------------------------------------------------------------------------------------------------------------------------------- diff --git a/test/log/backup-archive-get-005.log b/test/log/backup-archive-get-005.log index c688915ad..4c8481d58 100644 --- a/test/log/backup-archive-get-005.log +++ b/test/log/backup-archive-get-005.log @@ -4,8 +4,8 @@ run 005 - rmt 1, cmp 0, exists 0 > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote ERROR: [130]: archive.info does not exist but is required to get WAL segments HINT: Is archive_command configured in postgresql.conf? HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. @@ -29,8 +29,8 @@ db-version="9.3" > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-get-006.log b/test/log/backup-archive-get-006.log index 23b925be2..9fb59ff55 100644 --- a/test/log/backup-archive-get-006.log +++ b/test/log/backup-archive-get-006.log @@ -4,8 +4,8 @@ run 006 - rmt 1, cmp 0, exists 1 > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote ERROR: [130]: archive.info does not exist but is required to get WAL segments HINT: Is archive_command configured in postgresql.conf? HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. @@ -29,8 +29,8 @@ db-version="9.3" > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -41,8 +41,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -53,8 +53,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-get-007.log b/test/log/backup-archive-get-007.log index e163ae6e2..01069a21a 100644 --- a/test/log/backup-archive-get-007.log +++ b/test/log/backup-archive-get-007.log @@ -4,8 +4,8 @@ run 007 - rmt 1, cmp 1, exists 0 > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote ERROR: [130]: archive.info does not exist but is required to get WAL segments HINT: Is archive_command configured in postgresql.conf? HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. @@ -29,8 +29,8 @@ db-version="9.3" > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-get-008.log b/test/log/backup-archive-get-008.log index 0ce25dd02..8eb04752f 100644 --- a/test/log/backup-archive-get-008.log +++ b/test/log/backup-archive-get-008.log @@ -4,8 +4,8 @@ run 008 - rmt 1, cmp 1, exists 1 > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote ERROR: [130]: archive.info does not exist but is required to get WAL segments HINT: Is archive_command configured in postgresql.conf? HINT: Use --no-archive-check to disable archive checks during backup if you have an alternate archiving scheme. @@ -29,8 +29,8 @@ db-version="9.3" > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -41,8 +41,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -53,8 +53,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-push-005.log b/test/log/backup-archive-push-005.log index 5243a6c43..3141b0dab 100644 --- a/test/log/backup-archive-push-005.log +++ b/test/log/backup-archive-push-005.log @@ -4,8 +4,8 @@ run 005 - rmt 1, cmp 0, arc_async 0 > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -13,8 +13,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -23,8 +23,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -33,8 +33,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -44,8 +44,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -54,8 +54,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -63,8 +63,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -72,8 +72,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -81,8 +81,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -90,8 +90,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -100,8 +100,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -110,8 +110,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -121,8 +121,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -131,8 +131,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -140,8 +140,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -149,8 +149,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -158,8 +158,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -167,8 +167,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -177,8 +177,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -187,8 +187,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -198,8 +198,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-push-006.log b/test/log/backup-archive-push-006.log index 7ebd29c75..0e37faeb9 100644 --- a/test/log/backup-archive-push-006.log +++ b/test/log/backup-archive-push-006.log @@ -11,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -31,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -48,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -65,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -87,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -104,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -124,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -144,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -164,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -184,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -201,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -218,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -240,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -257,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -277,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -297,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -317,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -337,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -354,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -371,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -393,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-push-007.log b/test/log/backup-archive-push-007.log index a0a8b944c..6961379d7 100644 --- a/test/log/backup-archive-push-007.log +++ b/test/log/backup-archive-push-007.log @@ -4,8 +4,8 @@ run 007 - rmt 1, cmp 1, arc_async 0 > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -13,8 +13,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -23,8 +23,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -33,8 +33,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -44,8 +44,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -54,8 +54,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -63,8 +63,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -72,8 +72,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -81,8 +81,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -90,8 +90,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -100,8 +100,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -110,8 +110,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -121,8 +121,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -131,8 +131,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -140,8 +140,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -149,8 +149,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -158,8 +158,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 = 0640, user = [undef], group = [undef] DEBUG: safe exit called, terminating threads @@ -167,8 +167,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -177,8 +177,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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? @@ -187,8 +187,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -198,8 +198,8 @@ DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-push-008.log b/test/log/backup-archive-push-008.log index 78eb83c15..1b54c46e4 100644 --- a/test/log/backup-archive-push-008.log +++ b/test/log/backup-archive-push-008.log @@ -11,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -31,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -48,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -65,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -87,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -104,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -124,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -144,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -164,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -184,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -201,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -218,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -240,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -257,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -277,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -297,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -317,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -337,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -354,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -371,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -393,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-stop-003.log b/test/log/backup-archive-stop-003.log index c038263f8..46c4e4c95 100644 --- a/test/log/backup-archive-stop-003.log +++ b/test/log/backup-archive-stop-003.log @@ -11,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -31,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -48,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -71,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -97,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-stop-004.log b/test/log/backup-archive-stop-004.log index 3eed6031a..5cf91cb65 100644 --- a/test/log/backup-archive-stop-004.log +++ b/test/log/backup-archive-stop-004.log @@ -11,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -31,10 +31,9 @@ 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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]: remote process terminated: no error captured because stderr is already closed -ERROR: [124]: protocol version mismatch +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@bogus '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: Name or service not known DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push --backup-host=bogus [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 @@ -45,10 +44,9 @@ 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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]: remote process terminated: no error captured because stderr is already closed -ERROR: [124]: protocol version mismatch +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@bogus '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: Name or service not known 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 @@ -65,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -91,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-stop-005.log b/test/log/backup-archive-stop-005.log index 269ae5ed2..a286efb3e 100644 --- a/test/log/backup-archive-stop-005.log +++ b/test/log/backup-archive-stop-005.log @@ -11,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -31,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -48,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -71,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -97,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-archive-stop-006.log b/test/log/backup-archive-stop-006.log index 66add9c2b..b94711da2 100644 --- a/test/log/backup-archive-stop-006.log +++ b/test/log/backup-archive-stop-006.log @@ -11,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -31,10 +31,9 @@ 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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]: remote process terminated: no error captured because stderr is already closed -ERROR: [124]: protocol version mismatch +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@bogus '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: Name or service not known DEBUG: safe exit called, terminating threads > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push --backup-host=bogus [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 @@ -45,10 +44,9 @@ 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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]: remote process terminated: no error captured because stderr is already closed -ERROR: [124]: protocol version mismatch +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = bogus, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@bogus '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote +ERROR: [124]: protocol version mismatch: ssh: Could not resolve hostname bogus: Name or service not known 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 @@ -65,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 @@ -91,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --no-fork --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 diff --git a/test/log/backup-synthetic-005.log b/test/log/backup-synthetic-005.log index dd1855da9..1047a2578 100644 --- a/test/log/backup-synthetic-005.log +++ b/test/log/backup-synthetic-005.log @@ -4,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -179,8 +179,8 @@ db-version="9.3" info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -193,8 +193,8 @@ DEBUG: safe exit called, terminating threads info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db [ { @@ -248,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -424,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -477,8 +477,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -496,8 +496,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -515,8 +515,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -534,8 +534,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -553,8 +553,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -744,8 +744,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -951,8 +951,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1161,8 +1161,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1372,8 +1372,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1390,8 +1390,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1403,8 +1403,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1416,8 +1416,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1499,8 +1499,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1692,8 +1692,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1883,8 +1883,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2088,8 +2088,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2278,8 +2278,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2479,8 +2479,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2689,8 +2689,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2890,8 +2890,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -2955,8 +2955,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza stanza db status: ok @@ -2972,8 +2972,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza [ { @@ -3286,8 +3286,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3296,8 +3296,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/log/backup-synthetic-006.log b/test/log/backup-synthetic-006.log index 14102fa71..a20f668d9 100644 --- a/test/log/backup-synthetic-006.log +++ b/test/log/backup-synthetic-006.log @@ -4,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -180,8 +180,8 @@ db-version="9.3" info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -194,8 +194,8 @@ DEBUG: safe exit called, terminating threads info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db [ { @@ -249,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -426,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -479,8 +479,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -498,8 +498,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -517,8 +517,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -536,8 +536,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -555,8 +555,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -758,8 +758,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -985,8 +985,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1209,8 +1209,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1434,8 +1434,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1452,8 +1452,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1465,8 +1465,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1478,8 +1478,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1561,8 +1561,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1768,8 +1768,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1977,8 +1977,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2190,8 +2190,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2402,8 +2402,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2613,8 +2613,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2824,8 +2824,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -3043,8 +3043,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -3108,8 +3108,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza stanza db status: ok @@ -3125,8 +3125,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza [ { @@ -3439,8 +3439,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3449,8 +3449,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/log/backup-synthetic-007.log b/test/log/backup-synthetic-007.log index 824258d26..936e983ea 100644 --- a/test/log/backup-synthetic-007.log +++ b/test/log/backup-synthetic-007.log @@ -4,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -177,8 +177,8 @@ db-version="9.3" info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -191,8 +191,8 @@ DEBUG: safe exit called, terminating threads info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db [ { @@ -246,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -424,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -477,8 +477,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -496,8 +496,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -515,8 +515,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -534,8 +534,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -553,8 +553,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -742,8 +742,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -948,8 +948,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1156,8 +1156,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1365,8 +1365,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1383,8 +1383,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1396,8 +1396,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1409,8 +1409,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1492,8 +1492,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1683,8 +1683,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1872,8 +1872,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2075,8 +2075,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2263,8 +2263,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2462,8 +2462,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2670,8 +2670,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2869,8 +2869,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -2934,8 +2934,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza stanza db status: ok @@ -2951,8 +2951,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza [ { @@ -3265,8 +3265,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3275,8 +3275,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/log/backup-synthetic-008.log b/test/log/backup-synthetic-008.log index 45d1dcace..41c48c181 100644 --- a/test/log/backup-synthetic-008.log +++ b/test/log/backup-synthetic-008.log @@ -4,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -178,8 +178,8 @@ db-version="9.3" info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db stanza db status: ok @@ -192,8 +192,8 @@ DEBUG: safe exit called, terminating threads info db > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = db [ { @@ -247,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -426,8 +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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-FULL-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] @@ -479,8 +479,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba incr backup (invalid database version) > [BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -498,8 +498,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -517,8 +517,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -536,8 +536,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -555,8 +555,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -756,8 +756,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -982,8 +982,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1204,8 +1204,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=0 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1427,8 +1427,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1445,8 +1445,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1458,8 +1458,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1471,8 +1471,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-2] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] @@ -1554,8 +1554,8 @@ restore_command = '[BACKREST_BIN_PATH]/pg_backrest --config=[TEST_PATH]/db/pg_ba 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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1759,8 +1759,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -1966,8 +1966,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2177,8 +2177,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2387,8 +2387,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db --test --test-delay=1 remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2596,8 +2596,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -2805,8 +2805,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-1] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no vagrant@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X --port=[PORT-1] -h [TEST_PATH]/db" --cmd-psql-option=--port=[PORT-1] --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote 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 0750 @@ -3022,8 +3022,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: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=db remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid INFO: restore backup set [BACKUP-DIFF-5] DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] @@ -3087,8 +3087,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza stanza db status: ok @@ -3104,8 +3104,8 @@ DEBUG: safe exit called, terminating threads info > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, isBackend = false, name = remote, user = [USER-2] +DEBUG: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza [ { @@ -3418,8 +3418,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus stanza bogus status: error (missing stanza path) @@ -3428,8 +3428,8 @@ DEBUG: safe exit called, terminating threads info bogus > [BACKREST_BIN_PATH]/../bin/pg_backrest --config=[TEST_PATH]/db/pg_backrest.conf --stanza=bogus info --output=json ------------------------------------------------------------------------------------------------------------------------------------ -DEBUG: Remote->new(): command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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 "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --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: Protocol::RemoteMaster->new(): blockSize = 4194304, command = [BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote, compressLevel = 6, compressLevelNetwork = 3, host = 127.0.0.1, user = [USER-2] +DEBUG: Protocol::CommonMaster->new(): blockSize = 4194304, command = ssh -o Compression=no -o PasswordAuthentication=no backrest@127.0.0.1 '[BACKREST_BIN_PATH]/pg_backrest --no-config "--cmd-psql=[PGSQL_BIN_PATH]/psql -X %option% -h [TEST_PATH]/db" --repo-remote-path=[TEST_PATH]/backrest --stanza=bogus remote', compressLevel = 6, compressLevelNetwork = 3, name = remote DEBUG: Info->listStanza: stanza = bogus [ { diff --git a/test/vm/Vagrantfile b/test/vm/Vagrantfile index aa4b86668..65ca38ecb 100644 --- a/test/vm/Vagrantfile +++ b/test/vm/Vagrantfile @@ -36,6 +36,40 @@ Vagrant.configure(2) do |config| SHELL end + config.vm.define "u14" do |u14| + u14.vm.box = "ubuntu/trusty64" + + # Provision the VM + u14.vm.provision "shell", inline: <<-SHELL + # Install db + echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list + wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - + sudo apt-get update + apt-get install -y postgresql-9.4 + pg_dropcluster --stop 9.4 main + apt-get install -y postgresql-9.3 + pg_dropcluster --stop 9.3 main + apt-get install -y postgresql-9.2 + pg_dropcluster --stop 9.2 main + apt-get install -y postgresql-9.1 + pg_dropcluster --stop 9.1 main + apt-get install -y postgresql-9.0 + pg_dropcluster --stop 9.0 main + apt-get install -y postgresql-8.4 + pg_dropcluster --stop 8.4 main + + # Setup SSH + adduser --ingroup=vagrant --disabled-password --gecos "" backrest + /backrest/test/vm/ssh/setup.sh + + # Install packages required for testing + apt-get install -y libdbd-pg-perl + + # Install packages required for building the docs + apt-get install -y libxml-checker-perl + SHELL + end + config.vm.define "co6" do |co6| co6.vm.box = "chef/centos-6.6"