pgbackrest.git / summary / log / commit / refs
commit f83f0fa54d1a3b13524fa0ded8a6dffe88276bbc
Author: David Steele <david@pgmasters.net>
Date: Mon Jun 01 13:24:38 2015 +0000
v0.70: Stability improvements for archiving, improved logging and help
* Fixed an issue where archive-copy would fail on an incr/diff backup when hardlink=n. In this case the pg_xlog path does not already exist and must be created. Reported by Michael Renner
* Allow duplicate WAL segments to be archived when the checksum matches. This is necessary for some recovery scenarios.
* Allow comments/disabling in pg_backrest.conf using #. Suggested by Michael Renner.
* Better logging before pg_start_backup() to make it clear when the backup is waiting on a checkpoint. Suggested by Michael Renner.
* Various command behavior, help and logging fixes. Reported by Michael Renner.
* Fixed an issue in async archiving where archive-push was not properly returning 0 when archive-max-mb was reached and moved the async check after transfer to avoid having to remove the stop file twice. Also added unit tests for this case and improved error messages to make it clearer to the user what went wrong. Reported by Michael Renner.
* Fixed a locking issue that could allow multiple operations of the same type against a single stanza. This appeared to be benign in terms of data integrity but caused spurious errors while archiving and could lead to errors in backup/restore. Reported by Michael Renner.
* Replaced JSON module with JSON::PP which ships with core Perl.
README.md | 42 +-
VERSION | 2 +-
bin/pg_backrest.pl | 34 +-
bin/pg_backrest_remote.pl | 11 +-
doc/doc.xml | 59 +-
lib/BackRest/Archive.pm | 224 +++--
lib/BackRest/Backup.pm | 22 +-
lib/BackRest/BackupFile.pm | 2 +-
lib/BackRest/Config.pm | 13 +-
lib/BackRest/Db.pm | 13 +-
lib/BackRest/Exception.pm | 10 +-
lib/BackRest/File.pm | 10 +-
lib/BackRest/Lock.pm | 9 +-
lib/BackRest/Manifest.pm | 2 +-
lib/BackRest/Remote.pm | 8 +-
lib/BackRest/Utility.pm | 54 +-
test/data/test.archive1.bin | Bin 16777216 -> 16777216 bytes
test/lib/BackRestTest/BackupTest.pm | 208 ++++-
test/lib/BackRestTest/CommonTest.pm | 176 +++-
test/lib/BackRestTest/ConfigTest.pm | 12 +-
test/lib/BackRestTest/FileTest.pm | 2 +-
test/log/backup-archive-get-001.log | 10 +
test/log/backup-archive-get-002.log | 29 +
test/log/backup-archive-get-003.log | 10 +
test/log/backup-archive-get-004.log | 29 +
test/log/backup-archive-get-005.log | 9 +
test/log/backup-archive-get-006.log | 29 +
test/log/backup-archive-get-007.log | 9 +
test/log/backup-archive-get-008.log | 29 +
test/log/backup-archive-push-001.log | 240 +++++
test/log/backup-archive-push-002.log | 436 +++++++++
test/log/backup-archive-push-003.log | 240 +++++
test/log/backup-archive-push-004.log | 436 +++++++++
test/log/backup-archive-push-005.log | 167 ++++
test/log/backup-archive-push-006.log | 364 ++++++++
test/log/backup-archive-push-007.log | 167 ++++
test/log/backup-archive-push-008.log | 364 ++++++++
test/log/backup-archive-stop-001.log | 127 +++
test/log/backup-archive-stop-002.log | 127 +++
test/log/backup-archive-stop-003.log | 100 +++
test/log/backup-archive-stop-004.log | 92 ++
test/log/backup-archive-stop-005.log | 100 +++
test/log/backup-archive-stop-006.log | 92 ++
test/log/backup-synthetic-001.log | 1348 ++++++++++++++--------------
test/log/backup-synthetic-002.log | 1626 ++++++++++++++++-----------------
test/log/backup-synthetic-003.log | 1354 ++++++++++++++--------------
test/log/backup-synthetic-004.log | 1632 +++++++++++++++++-----------------
test/log/backup-synthetic-005.log | 1348 ++++++++++++++--------------
test/log/backup-synthetic-006.log | 1626 ++++++++++++++++-----------------
test/log/backup-synthetic-007.log | 1354 ++++++++++++++--------------
test/log/backup-synthetic-008.log | 1632 +++++++++++++++++-----------------
51 files changed, 9965 insertions(+), 6074 deletions(-)
diff --git a/README.md b/README.md
index 0df356d35..b2ba41797 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,8 @@ Primary PgBackRest features:
Instead of relying on traditional backup tools like tar and rsync, PgBackRest implements all backup features internally and uses a custom protocol for communicating with remote systems. Removing reliance on tar and rsync allows for better solutions to database-specific backup issues. The custom remote protocol limits the types of connections that are required to perform a backup which increases security.
+PgBackRest uses the gitflow model of development. This means that the master branch contains only the release history, i.e. each commit represents a single release and release tags are always from the master branch. The dev branch contains a single commit for each feature or fix and more accurately depicts the development history. Actual development is done on feature (dev_*) branches and squashed into dev after regression tests have passed. In this model dev is considered stable and can be released at any time. As such, the dev branch does not have any special version modifiers.
+
## Install
PgBackRest is written entirely in Perl and uses some non-standard modules that must be installed from CPAN.
@@ -50,17 +52,13 @@ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-
sudo apt-get update
apt-get install postgresql-9.3
-apt-get install postgresql-server-dev-9.3
```
* Install required Perl modules:
```
-cpanm JSON
cpanm Net::OpenSSH
cpanm IPC::System::Simple
-cpanm Digest::SHA
-cpanm Compress::Zlib
-cpanm threads (update this package)
-cpanm Thread::Queue (update this package)
+cpanm threads (update this package when thread-max > 1)
+cpanm Thread::Queue (update this package when thread-max > 1)
```
* Install PgBackRest
@@ -70,6 +68,13 @@ https://github.com/pgmasters/backrest/releases
PgBackRest can be installed anywhere but it's best (though not required) to install it in the same location on all systems.
+* Install PostgreSQL development libraries and additional Perl modules for regression tests:
+```
+apt-get install postgresql-server-dev-9.4
+cpanm DBI
+cpanm DBD:Pg
+```
+
## Operation
### General Options
@@ -227,6 +232,7 @@ The following recovery types are supported:
- `xid` - recover to the transaction id specified in `--target`.
- `time` - recover to the time specified in `--target`.
- `preserve` - preserve the existing `recovery.conf` file.
+- `none` - no `recovery.conf` file is written so PostgreSQL will attempt to achieve consistency using WAL segments present in `pg_xlog`. Provide the required WAL segments or use the `archive-copy` setting to include them with the backup.
```
required: n
@@ -547,7 +553,7 @@ example: backup-user=backrest
##### `start-fast` key
-Forces a checkpoint (by passing `true` to the `fast` parameter of `pg_start_backup()`) so the backup begins immediately.
+Forces a checkpoint (by passing `true` to the `fast` parameter of `pg_start_backup()`) so the backup begins immediately. Otherwise the backup will start after the next regular checkpoint.
```
required: n
default: n
@@ -610,6 +616,8 @@ example: archive-check=n
##### `archive-copy` key
Store WAL segments required to make the backup consistent in the backup's pg_xlog path. This slightly paranoid option protects against corruption or premature expiration in the WAL segment archive. PITR won't be possible without the WAL segment archive and this option also consumes more space.
+
+Even though WAL segments will be restored with the backup, PostgreSQL will ignore them if a `recovery.conf` file exists and instead use `archive_command` to fetch WAL segments. Specifying `type=none` when restoring will not create `recovery.conf` and force PostgreSQL to use the WAL segments in pg_xlog. This will get the database to a consistent state.
```
required: n
default: n
@@ -682,7 +690,7 @@ example: retention-diff=3
##### `retention-archive-type` key
-Type of backup to use for archive retention (full or differential). If set to full, then PgBackRest will keep archive logs for the number of full backups defined by `archive-retention`. If set to differential, then PgBackRest will keep archive logs for the number of differential backups defined by `archive-retention`.
+Type of backup to use for archive retention (full or differential). If set to full, then PgBackRest will keep archive logs for the number of full backups defined by `retention-archive`. If set to differential, then PgBackRest will keep archive logs for the number of differential backups defined by `retention-archive`.
If not defined then archive logs will be kept indefinitely. In general it is not useful to keep archive logs that are older than the oldest backup, but there may be reasons for doing so.
```
@@ -729,6 +737,24 @@ example: db-path=/data/db
## Release Notes
+### v0.70: Stability improvements for archiving, improved logging and help
+
+* Fixed an issue where archive-copy would fail on an incr/diff backup when hardlink=n. In this case the pg_xlog path does not already exist and must be created. Reported by Michael Renner
+
+* Allow duplicate WAL segments to be archived when the checksum matches. This is necessary for some recovery scenarios.
+
+* Allow comments/disabling in pg_backrest.conf using #. Suggested by Michael Renner.
+
+* Better logging before pg_start_backup() to make it clear when the backup is waiting on a checkpoint. Suggested by Michael Renner.
+
+* Various command behavior, help and logging fixes. Reported by Michael Renner.
+
+* Fixed an issue in async archiving where archive-push was not properly returning 0 when archive-max-mb was reached and moved the async check after transfer to avoid having to remove the stop file twice. Also added unit tests for this case and improved error messages to make it clearer to the user what went wrong. Reported by Michael Renner.
+
+* Fixed a locking issue that could allow multiple operations of the same type against a single stanza. This appeared to be benign in terms of data integrity but caused spurious errors while archiving and could lead to errors in backup/restore. Reported by Michael Renner.
+
+* Replaced JSON module with JSON::PP which ships with core Perl.
+
### v0.65: Improved resume and restore logging, compact restores
* Better resume support. Resumed files are checked to be sure they have not been modified and the manifest is saved more often to preserve checksums as the backup progresses. More unit tests to verify each resume case.
diff --git a/VERSION b/VERSION
index f429be050..39c64a9f2 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.65
+0.75
diff --git a/bin/pg_backrest.pl b/bin/pg_backrest.pl
index d766b72fe..5cd85330b 100755
--- a/bin/pg_backrest.pl
+++ b/bin/pg_backrest.pl
@@ -45,16 +45,20 @@ pg_backrest.pl [options] [operation]
expire expire old backups (automatically run after backup)
General Options:
- --stanza stanza (cluster) to operate on (currently required for all operations)
- --config alternate path for pg_backrest.conf (defaults to /etc/pg_backrest.conf)
+ --stanza stanza (cluster) to operate on
+ (currently required for all operations)
+ --config alternate path for pg_backrest.conf
+ (defaults to /etc/pg_backrest.conf)
--version display version and exit
--help display usage and exit
Backup Options:
--type type of backup to perform (full, diff, incr)
- --no-start-stop do not call pg_start/stop_backup(). Postmaster should not be running.
- --force force backup when --no-start-stop passed and postmaster.pid exists.
- Use with extreme caution as this will probably produce an inconsistent backup!
+ --no-start-stop do not call pg_start/stop_backup(). Postmaster should not
+ be running.
+ --force force backup when --no-start-stop passed and
+ postmaster.pid exists. Use with extreme caution as this
+ will probably produce an inconsistent backup!
Restore Options:
--set backup set to restore (defaults to latest set).
@@ -71,9 +75,23 @@ pg_backrest.pl [options] [operation]
preserve - preserve the existing recovery.conf
none - no recovery.conf generated
--target recovery target if type is name, time, or xid.
- --target-exclusive stop just before the recovery target (default is inclusive).
+ --target-exclusive stop just before the recovery target
+ (default is inclusive).
--target-resume do not pause after recovery (default is to pause).
- --target-timeline recover into specified timeline (default is current timeline).
+ --target-timeline recover into specified timeline
+ (default is current timeline).
+
+ Output Options:
+ --log-level-console console log level (defaults to warn):
+ off - No logging at all (not recommended)
+ error - Log only errors
+ warn - Log warnings and errors
+ info - Log info, warnings, and errors
+ debug - Log debug, info, warnings, and errors
+ trace - Log trace (very verbose debugging), debug,
+ info, warnings, and errors
+ --log-level-file file log level (defaults to info). Same options as
+ --log-level-console.
=cut
@@ -282,5 +300,5 @@ if ($@)
}
safe_exit();
- confess $@;
+ confess $oMessage;
}
diff --git a/bin/pg_backrest_remote.pl b/bin/pg_backrest_remote.pl
index f8264f35f..d873cdc69 100755
--- a/bin/pg_backrest_remote.pl
+++ b/bin/pg_backrest_remote.pl
@@ -205,12 +205,13 @@ while ($strCommand ne OP_EXIT)
# Archive push checks
elsif ($strCommand eq OP_ARCHIVE_PUSH_CHECK)
{
- $oArchive->pushCheck($oFile,
- param_get(\%oParamHash, 'wal-segment'),
- param_get(\%oParamHash, 'db-version'),
- param_get(\%oParamHash, 'db-sys-id'));
+ my $strChecksum = $oArchive->pushCheck($oFile,
+ param_get(\%oParamHash, 'wal-segment'),
+ undef,
+ param_get(\%oParamHash, 'db-version'),
+ param_get(\%oParamHash, 'db-sys-id'));
- $oRemote->output_write('Y');
+ $oRemote->output_write(defined($strChecksum) ? $strChecksum : 'Y');
}
# Continue if noop or exit
elsif ($strCommand ne OP_NOOP && $strCommand ne OP_EXIT)
diff --git a/doc/doc.xml b/doc/doc.xml
index 62f376a48..287ecffa4 100644
--- a/doc/doc.xml
+++ b/doc/doc.xml
@@ -21,7 +21,9 @@
<li>Restore using timestamp/size or checksum</li>
<li>Restore remapping base/tablespaces</li>
</ul>
- Instead of relying on traditional backup tools like tar and rsync, <backrest/> implements all backup features internally and uses a custom protocol for communicating with remote systems. Removing reliance on tar and rsync allows for better solutions to database-specific backup issues. The custom remote protocol limits the types of connections that are required to perform a backup which increases security.</text>
+ Instead of relying on traditional backup tools like tar and rsync, <backrest/> implements all backup features internally and uses a custom protocol for communicating with remote systems. Removing reliance on tar and rsync allows for better solutions to database-specific backup issues. The custom remote protocol limits the types of connections that are required to perform a backup which increases security.
+
+ <backrest/> uses the gitflow model of development. This means that the master branch contains only the release history, i.e. each commit represents a single release and release tags are always from the master branch. The dev branch contains a single commit for each feature or fix and more accurately depicts the development history. Actual development is done on feature (dev_*) branches and squashed into dev after regression tests have passed. In this model dev is considered stable and can be released at any time. As such, the dev branch does not have any special version modifiers.</text>
</intro>
<install title="Install">
@@ -52,17 +54,13 @@
sudo apt-get update
apt-get install postgresql-9.3
- apt-get install postgresql-server-dev-9.3
</code-block>
* Install required Perl modules:
<code-block>
- cpanm JSON
cpanm Net::OpenSSH
cpanm IPC::System::Simple
- cpanm Digest::SHA
- cpanm Compress::Zlib
- cpanm threads (update this package)
- cpanm Thread::Queue (update this package)
+ cpanm threads (update this package when thread-max > 1)
+ cpanm Thread::Queue (update this package when thread-max > 1)
</code-block>
* Install PgBackRest
@@ -70,7 +68,14 @@
https://github.com/pgmasters/backrest/releases
- <backrest/> can be installed anywhere but it's best (though not required) to install it in the same location on all systems.</text>
+ <backrest/> can be installed anywhere but it's best (though not required) to install it in the same location on all systems.
+
+ * Install <postgres/> development libraries and additional Perl modules for regression tests:
+ <code-block>
+ apt-get install postgresql-server-dev-9.4
+ cpanm DBI
+ cpanm DBD:Pg
+ </code-block></text>
</install-system>
</install-system-list>
</install>
@@ -219,6 +224,7 @@ Run a <id>full</id> backup on the <id>db</id> stanza. <param>--type</param> can
<li><id>xid</id> - recover to the transaction id specified in <param>--target</param>.</li>
<li><id>time</id> - recover to the time specified in <param>--target</param>.</li>
<li><id>preserve</id> - preserve the existing <file>recovery.conf</file> file.</li>
+ <li><id>none</id> - no <file>recovery.conf</file> file is written so <postgres/> will attempt to achieve consistency using WAL segments present in <path>pg_xlog</path>. Provide the required WAL segments or use the <setting>archive-copy</setting> setting to include them with the backup.</li>
</ul></text>
<example>xid</example>
</option>
@@ -515,7 +521,7 @@ Run a <id>full</id> backup on the <id>db</id> stanza. <param>--type</param> can
<!-- CONFIG - BACKUP SECTION - START-FAST -->
<config-key id="start-fast">
- <text>Forces a checkpoint (by passing <id>true</id> to the <id>fast</id> parameter of <code>pg_start_backup()</code>) so the backup begins immediately.</text>
+ <text>Forces a checkpoint (by passing <id>true</id> to the <id>fast</id> parameter of <code>pg_start_backup()</code>) so the backup begins immediately. Otherwise the backup will start after the next regular checkpoint.</text>
<example>y</example>
</config-key>
@@ -562,7 +568,9 @@ Run a <id>full</id> backup on the <id>db</id> stanza. <param>--type</param> can
<!-- CONFIG - BACKUP SECTION - ARCHIVE-COPY -->
<config-key id="archive-copy">
- <text>Store WAL segments required to make the backup consistent in the backup's pg_xlog path. This slightly paranoid option protects against corruption or premature expiration in the WAL segment archive. PITR won't be possible without the WAL segment archive and this option also consumes more space.</text>
+ <text>Store WAL segments required to make the backup consistent in the backup's pg_xlog path. This slightly paranoid option protects against corruption or premature expiration in the WAL segment archive. PITR won't be possible without the WAL segment archive and this option also consumes more space.
+
+ Even though WAL segments will be restored with the backup, <postgres/> will ignore them if a <file>recovery.conf</file> file exists and instead use <setting>archive_command</setting> to fetch WAL segments. Specifying <setting>type=none</setting> when restoring will not create <file>recovery.conf</file> and force <postgres/> to use the WAL segments in pg_xlog. This will get the database to a consistent state.</text>
<example>y</example>
</config-key>
@@ -633,7 +641,7 @@ Run a <id>full</id> backup on the <id>db</id> stanza. <param>--type</param> can
<!-- CONFIG - RETENTION SECTION - ARCHIVE-RETENTION-TYPE KEY -->
<config-key id="retention-archive-type">
- <text>Type of backup to use for archive retention (full or differential). If set to full, then PgBackRest will keep archive logs for the number of full backups defined by <setting>archive-retention</setting>. If set to differential, then PgBackRest will keep archive logs for the number of differential backups defined by <setting>archive-retention</setting>.
+ <text>Type of backup to use for archive retention (full or differential). If set to full, then PgBackRest will keep archive logs for the number of full backups defined by <setting>retention-archive</setting>. If set to differential, then PgBackRest will keep archive logs for the number of differential backups defined by <setting>retention-archive</setting>.
If not defined then archive logs will be kept indefinitely. In general it is not useful to keep archive logs that are older than the oldest backup, but there may be reasons for doing so.</text>
@@ -681,6 +689,35 @@ Run a <id>full</id> backup on the <id>db</id> stanza. <param>--type</param> can
<release title="Release Notes">
<release-version-list>
+ <release-version version="0.70" title="Stability improvements for archiving, improved logging and help">
+ <release-feature-bullet-list>
+ <release-feature>
+ <text>Fixed an issue where archive-copy would fail on an incr/diff backup when hardlink=n. In this case the pg_xlog path does not already exist and must be created. Reported by Michael Renner</text>
+ </release-feature>
+ <release-feature>
+ <text>Allow duplicate WAL segments to be archived when the checksum matches. This is necessary for some recovery scenarios.</text>
+ </release-feature>
+ <release-feature>
+ <text>Allow comments/disabling in pg_backrest.conf using #. Suggested by Michael Renner.</text>
+ </release-feature>
+ <release-feature>
+ <text>Better logging before pg_start_backup() to make it clear when the backup is waiting on a checkpoint. Suggested by Michael Renner.</text>
+ </release-feature>
+ <release-feature>
+ <text>Various command behavior, help and logging fixes. Reported by Michael Renner.</text>
+ </release-feature>
+ <release-feature>
+ <text>Fixed an issue in async archiving where archive-push was not properly returning 0 when archive-max-mb was reached and moved the async check after transfer to avoid having to remove the stop file twice. Also added unit tests for this case and improved error messages to make it clearer to the user what went wrong. Reported by Michael Renner.</text>
+ </release-feature>
+ <release-feature>
+ <text>Fixed a locking issue that could allow multiple operations of the same type against a single stanza. This appeared to be benign in terms of data integrity but caused spurious errors while archiving and could lead to errors in backup/restore. Reported by Michael Renner.</text>
+ </release-feature>
+ <release-feature>
+ <text>Replaced JSON module with JSON::PP which ships with core Perl.</text>
+ </release-feature>
+ </release-feature-bullet-list>
+ </release-version>
+
<release-version version="0.65" title="Improved resume and restore logging, compact restores">
<release-feature-bullet-list>
<release-feature>
diff --git a/lib/BackRest/Archive.pm b/lib/BackRest/Archive.pm
index 0dbffd4cb..f7dc4e4b9 100644
--- a/lib/BackRest/Archive.pm
+++ b/lib/BackRest/Archive.pm
@@ -356,8 +356,11 @@ sub pushProcess
{
if (-e $strStopFile)
{
- &log(ERROR, "archive stop file (${strStopFile}) exists , discarding " . basename($ARGV[1]));
- remote_exit(0);
+ &log(ERROR, "discarding " . basename($ARGV[1]) .
+ " due to the archive store max size exceeded" .
+ " - remove the archive stop file (${strStopFile}) to resume archiving" .
+ " and be sure to take a new backup as soon as possible");
+ return 0;
}
}
@@ -382,15 +385,19 @@ sub pushProcess
# Else the no-fork flag has been specified for testing
else
{
- &log(INFO, 'No fork on archive local for TESTING');
+ &log(DEBUG, 'No fork on archive local for TESTING');
}
# Start the async archive push
- &log(INFO, 'starting async archive-push');
+ &log(DEBUG, 'starting async archive-push');
}
# Create a lock file to make sure async archive-push does not run more than once
- lockAcquire(operationGet());
+ if (!lockAcquire(operationGet(), false))
+ {
+ &log(DEBUG, 'another async archive-push process is already running - exiting');
+ return 0;
+ }
# Open the log file
log_file_set(optionGet(OPTION_REPO_PATH) . '/log/' . optionGet(OPTION_STANZA) . '-archive-async');
@@ -407,11 +414,11 @@ sub pushProcess
if ($iLogTotal > 0)
{
- &log(DEBUG, "${iLogTotal} WAL segments were transferred, calling Archive->xfer() again");
+ &log(DEBUG, "transferred ${iLogTotal} WAL segment(s), calling Archive->xfer() again");
}
else
{
- &log(DEBUG, 'no more WAL segments to transfer - exiting');
+ &log(DEBUG, 'transfer found 0 WAL segments - exiting');
}
}
@@ -458,10 +465,10 @@ sub push
my $bArchiveFile = basename($strSourceFile) =~ /^[0-F]{24}$/ ? true : false;
# Check that there are no issues with pushing this WAL segment
- if ($bArchiveFile)
+ if ($bArchiveFile && !$bAsync)
{
my ($strDbVersion, $ullDbSysId) = $self->walInfo($strSourceFile);
- $self->pushCheck($oFile, substr(basename($strSourceFile), 0, 24), $strDbVersion, $ullDbSysId);
+ $self->pushCheck($oFile, substr(basename($strSourceFile), 0, 24), $strSourceFile, $strDbVersion, $ullDbSysId);
}
# Append compression extension
@@ -490,12 +497,14 @@ sub pushCheck
my $self = shift;
my $oFile = shift;
my $strWalSegment = shift;
+ my $strWalFile = shift;
my $strDbVersion = shift;
my $ullDbSysId = shift;
# Set operation and debug strings
my $strOperation = OP_ARCHIVE_PUSH_CHECK;
&log(DEBUG, "${strOperation}: " . PATH_BACKUP_ARCHIVE . ":${strWalSegment}");
+ my $strChecksum;
if ($oFile->is_remote(PATH_BACKUP_ARCHIVE))
{
@@ -510,7 +519,12 @@ sub pushCheck
&log(TRACE, "${strOperation}: remote (" . $oFile->{oRemote}->command_param_string(\%oParamHash) . ')');
# Execute the command
- $oFile->{oRemote}->command_execute($strOperation, \%oParamHash);
+ $strChecksum = $oFile->{oRemote}->command_execute($strOperation, \%oParamHash, true);
+
+ if ($strChecksum eq 'Y')
+ {
+ undef($strChecksum);
+ }
}
else
{
@@ -527,16 +541,22 @@ sub pushCheck
{
ini_load($oFile->path_get(PATH_BACKUP_ARCHIVE, ARCHIVE_INFO_FILE), \%oDbConfig);
+ my $strError = undef;
+
if ($oDbConfig{database}{'version'} ne $strDbVersion)
{
- confess &log(ERROR, "WAL segment version ${strDbVersion} " .
- "does not match archive version $oDbConfig{database}{'version'}", ERROR_ARCHIVE_MISMATCH);
+ $strError = "WAL segment version ${strDbVersion} does not match archive version $oDbConfig{database}{'version'}";
}
if ($oDbConfig{database}{'system-id'} ne $ullDbSysId)
{
- confess &log(ERROR, "WAL segment system-id ${ullDbSysId} " .
- "does not match archive system-id $oDbConfig{database}{'system-id'}", ERROR_ARCHIVE_MISMATCH);
+ $strError = "WAL segment system-id ${ullDbSysId} does not match" .
+ " archive system-id $oDbConfig{database}{'system-id'}";
+ }
+
+ if (defined($strError))
+ {
+ confess &log(ERROR, "${strError}\nHINT: are you archiving to the correct stanza?", ERROR_ARCHIVE_MISMATCH);
}
}
# Else create the info file from the current WAL segment
@@ -548,11 +568,30 @@ sub pushCheck
}
# Check if the WAL segment already exists in the archive
- if (defined($self->walFileName($oFile, $strWalSegment)))
+ $strChecksum = $self->walFileName($oFile, $strWalSegment);
+
+ if (defined($strChecksum))
+ {
+ $strChecksum = substr($strChecksum, 25, 40);
+ }
+ }
+
+ if (defined($strChecksum) && defined($strWalFile))
+ {
+ my $strChecksumNew = $oFile->hash(PATH_DB_ABSOLUTE, $strWalFile);
+
+ if ($strChecksumNew ne $strChecksum)
{
confess &log(ERROR, "WAL segment ${strWalSegment} already exists in the archive", ERROR_ARCHIVE_DUPLICATE);
}
+
+ &log(WARN, "WAL segment ${strWalSegment} already exists in the archive with the same checksum\n" .
+ "HINT: this is valid in some recovery scenarios but may also indicate a problem");
+
+ return undef;
}
+
+ return $strChecksum;
}
####################################################################################################################################
@@ -564,13 +603,13 @@ sub xfer
my $strArchivePath = shift;
my $strStopFile = shift;
- # Create the file object
+ # Create a local file object to read archive logs in the local store
my $oFile = new BackRest::File
(
optionGet(OPTION_STANZA),
- optionRemoteTypeTest(NONE) ? optionGet(OPTION_REPO_PATH) : optionGet(OPTION_REPO_REMOTE_PATH),
- optionRemoteType(),
- optionRemote()
+ optionGet(OPTION_REPO_PATH),
+ NONE,
+ optionRemote(true)
);
# Load the archive manifest - all the files that need to be pushed
@@ -589,25 +628,11 @@ sub xfer
{
CORE::push(@stryFile, $strFile);
- $lFileSize += $oManifestHash{name}{"${strFile}"}{size};
+ $lFileSize += $oManifestHash{name}{$strFile}{size};
$lFileTotal++;
}
}
- if (optionTest(OPTION_ARCHIVE_MAX_MB))
- {
- my $iArchiveMaxMB = optionGet(OPTION_ARCHIVE_MAX_MB);
-
- if ($iArchiveMaxMB < int($lFileSize / 1024 / 1024))
- {
- &log(ERROR, "local archive store has exceeded limit of ${iArchiveMaxMB}MB, archive logs will be discarded");
-
- my $hStopFile;
- open($hStopFile, '>', $strStopFile) or confess &log(ERROR, "unable to create stop file file ${strStopFile}");
- close($hStopFile);
- }
- }
-
if ($lFileTotal == 0)
{
&log(DEBUG, 'no archive logs to be copied to backup');
@@ -615,62 +640,105 @@ sub xfer
return 0;
}
- # Modify process name to indicate async archiving
- $0 = $^X . ' ' . $0 . " --stanza=" . optionGet(OPTION_STANZA) .
- "archive-push-async " . $stryFile[0] . '-' . $stryFile[scalar @stryFile - 1];
+ eval
+ {
+ # If the archive repo is remote create a new file object to do the copies
+ if (!optionRemoteTypeTest(NONE))
+ {
+ $oFile = new BackRest::File
+ (
+ optionGet(OPTION_STANZA),
+ optionGet(OPTION_REPO_REMOTE_PATH),
+ optionRemoteType(),
+ optionRemote()
+ );
+ }
- # Output files to be moved to backup
- &log(INFO, "archive to be copied to backup total ${lFileTotal}, size " . file_size_format($lFileSize));
+ # Modify process name to indicate async archiving
+ $0 = $^X . ' ' . $0 . " --stanza=" . optionGet(OPTION_STANZA) .
+ "archive-push-async " . $stryFile[0] . '-' . $stryFile[scalar @stryFile - 1];
- # Transfer each file
- foreach my $strFile (sort @stryFile)
- {
- # Construct the archive filename to backup
- my $strArchiveFile = "${strArchivePath}/${strFile}";
+ # Output files to be moved to backup
+ &log(INFO, "archive to be copied to backup total ${lFileTotal}, size " . file_size_format($lFileSize));
- # Determine if the source file is already compressed
- my $bSourceCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$" ? true : false;
+ # Transfer each file
+ foreach my $strFile (sort @stryFile)
+ {
+ # Construct the archive filename to backup
+ my $strArchiveFile = "${strArchivePath}/${strFile}";
- # Determine if this is an archive file (don't want to do compression or checksum on .backup files)
- my $bArchiveFile = basename($strFile) =~
- "^[0-F]{24}(-[0-f]+){0,1}(\\.$oFile->{strCompressExtension}){0,1}\$" ? true : false;
+ # Determine if the source file is already compressed
+ my $bSourceCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$" ? true : false;
- # Figure out whether the compression extension needs to be added or removed
- my $bDestinationCompress = $bArchiveFile && optionGet(OPTION_COMPRESS);
- my $strDestinationFile = basename($strFile);
+ # Determine if this is an archive file (don't want to do compression or checksum on .backup files)
+ my $bArchiveFile = basename($strFile) =~
+ "^[0-F]{24}(-[0-f]+){0,1}(\\.$oFile->{strCompressExtension}){0,1}\$" ? true : false;
- if (!$bSourceCompressed && $bDestinationCompress)
- {
- $strDestinationFile .= ".$oFile->{strCompressExtension}";
- }
- elsif ($bSourceCompressed && !$bDestinationCompress)
- {
- $strDestinationFile = substr($strDestinationFile, 0, length($strDestinationFile) - 3);
+ # Figure out whether the compression extension needs to be added or removed
+ my $bDestinationCompress = $bArchiveFile && optionGet(OPTION_COMPRESS);
+ my $strDestinationFile = basename($strFile);
+
+ if (!$bSourceCompressed && $bDestinationCompress)
+ {
+ $strDestinationFile .= ".$oFile->{strCompressExtension}";
+ }
+ elsif ($bSourceCompressed && !$bDestinationCompress)
+ {
+ $strDestinationFile = substr($strDestinationFile, 0, length($strDestinationFile) - 3);
+ }
+
+ &log(DEBUG, "archive ${strFile}, is WAL ${bArchiveFile}, source_compressed = ${bSourceCompressed}, " .
+ "destination_compress ${bDestinationCompress}, default_compress = " . optionGet(OPTION_COMPRESS));
+
+ # Check that there are no issues with pushing this WAL segment
+ if ($bArchiveFile)
+ {
+ my ($strDbVersion, $ullDbSysId) = $self->walInfo($strArchiveFile);
+ $self->pushCheck($oFile, substr(basename($strArchiveFile), 0, 24), $strArchiveFile, $strDbVersion, $ullDbSysId);
+ }
+
+ # Copy the archive file
+ $oFile->copy(PATH_DB_ABSOLUTE, $strArchiveFile, # Source file
+ PATH_BACKUP_ARCHIVE, $strDestinationFile, # Destination file
+ $bSourceCompressed, # Source is not compressed
+ $bDestinationCompress, # Destination compress is configurable
+ undef, undef, undef, # Unused params
+ true); # Create path if it does not exist
+
+ # Remove the source archive file
+ unlink($strArchiveFile)
+ or confess &log(ERROR, "copied ${strArchiveFile} to archive successfully but unable to remove it locally. " .
+ 'This file will need to be cleaned up manually. If the problem persists, check if ' .
+ OP_ARCHIVE_PUSH . ' is being run with different permissions in different contexts.');
+
+ # Remove the copied segment from the total size
+ $lFileSize -= $oManifestHash{name}{$strFile}{size};
}
+ };
- &log(DEBUG, "archive ${strFile}, is WAL ${bArchiveFile}, source_compressed = ${bSourceCompressed}, " .
- "destination_compress ${bDestinationCompress}, default_compress = " . optionGet(OPTION_COMPRESS));
+ my $oException = $@;
+
+ # Create a stop file if the archive store exceeds the max even after xfer
+ if (optionTest(OPTION_ARCHIVE_MAX_MB))
+ {
+ my $iArchiveMaxMB = optionGet(OPTION_ARCHIVE_MAX_MB);
- # Check that there are no issues with pushing this WAL segment
- if ($bArchiveFile)
+ if ($iArchiveMaxMB < int($lFileSize / 1024 / 1024))
{
- my ($strDbVersion, $ullDbSysId) = $self->walInfo($strArchiveFile);
- $self->pushCheck($oFile, substr(basename($strArchiveFile), 0, 24), $strDbVersion, $ullDbSysId);
+ &log(ERROR, "local archive store max size has exceeded limit of ${iArchiveMaxMB}MB" .
+ " - WAL segments will be discarded until the stop file (${strStopFile}) is removed");
+
+ my $hStopFile;
+ open($hStopFile, '>', $strStopFile)
+ or confess &log(ERROR, "unable to create stop file file ${strStopFile}");
+ close($hStopFile);
}
+ }
- # Copy the archive file
- $oFile->copy(PATH_DB_ABSOLUTE, $strArchiveFile, # Source file
- PATH_BACKUP_ARCHIVE, $strDestinationFile, # Destination file
- $bSourceCompressed, # Source is not compressed
- $bDestinationCompress, # Destination compress is configurable
- undef, undef, undef, # Unused params
- true); # Create path if it does not exist
-
- # Remove the source archive file
- unlink($strArchiveFile)
- or confess &log(ERROR, "copied ${strArchiveFile} to archive successfully but unable to remove it locally. " .
- 'This file will need to be cleaned up manually. If the problem persists, check if ' .
- OP_ARCHIVE_PUSH . ' is being run with different permissions in different contexts.');
+ # If there was an exception before throw it now
+ if ($oException)
+ {
+ confess $oException;
}
# Return number of files indicating that processing should continue
diff --git a/lib/BackRest/Backup.pm b/lib/BackRest/Backup.pm
index 54fa8d7db..36f257624 100644
--- a/lib/BackRest/Backup.pm
+++ b/lib/BackRest/Backup.pm
@@ -540,7 +540,7 @@ sub backup_file
while (!$bDone);
}
- &log(INFO, file_size_format($lSizeTotal) . ' total backup');
+ &log(INFO, 'total backup size: ' . file_size_format($lSizeTotal));
}
####################################################################################################################################
@@ -553,6 +553,9 @@ sub backup
my $strDbClusterPath = shift;
my $bStartFast = shift;
+ # Backup start
+ &log(INFO, "backup start: type = ${strType}");
+
# Record timestamp start
my $strTimestampStart = timestamp_string_get();
@@ -646,14 +649,9 @@ sub backup
$oBackupManifest->set(MANIFEST_SECTION_BACKUP, MANIFEST_KEY_VERSION, undef, version_get());
# Build the backup manifest
- my %oTablespaceMap;
-
- if (!$bNoStartStop)
- {
- $oDb->tablespace_map_get(\%oTablespaceMap);
- }
+ my $oTablespaceMap = $bNoStartStop ? undef : $oDb->tablespace_map_get();
- $oBackupManifest->build($oFile, $strDbClusterPath, $oLastManifest, $bNoStartStop, \%oTablespaceMap);
+ $oBackupManifest->build($oFile, $strDbClusterPath, $oLastManifest, $bNoStartStop, $oTablespaceMap);
&log(TEST, TEST_MANIFEST_BUILD);
# Check if an aborted backup exists for this stanza
@@ -794,12 +792,13 @@ sub backup
# Copy the log file from the archive repo to the backup
my $strDestinationFile = "base/pg_xlog/${strArchive}" . ($bCompress ? ".$oFile->{strCompressExtension}" : '');
+ my $bArchiveCompressed = $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$";
my ($bCopyResult, $strCopyChecksum, $lCopySize) =
$oFile->copy(PATH_BACKUP_ARCHIVE, $strArchiveFile,
PATH_BACKUP_TMP, $strDestinationFile,
- $strArchiveFile =~ "^.*\.$oFile->{strCompressExtension}\$",
- $bCompress, undef, $lModificationTime);
+ $bArchiveCompressed, $bCompress,
+ undef, $lModificationTime, undef, true);
# Add the archive file to the manifest so it can be part of the restore and checked in validation
my $strPathSection = 'base:path';
@@ -867,6 +866,9 @@ sub backup
# Create a link to the most recent backup
$oFile->remove(PATH_BACKUP_CLUSTER, "latest");
$oFile->link_create(PATH_BACKUP_CLUSTER, $strBackupPath, PATH_BACKUP_CLUSTER, "latest", undef, true);
+
+ # Backup stop
+ &log(INFO, 'backup stop');
}
####################################################################################################################################
diff --git a/lib/BackRest/BackupFile.pm b/lib/BackRest/BackupFile.pm
index 0b32f55f2..da317d266 100644
--- a/lib/BackRest/BackupFile.pm
+++ b/lib/BackRest/BackupFile.pm
@@ -74,7 +74,7 @@ sub backupFile
if (!$bCopyResult)
{
# If file is missing assume the database removed it (else corruption and nothing we can do!)
- &log(INFO, "skipped file removed by database: " . $strSourceFile);
+ &log(INFO, "skip file removed by database: " . $strSourceFile);
return false, $lSizeCurrent, undef, undef;
}
diff --git a/lib/BackRest/Config.pm b/lib/BackRest/Config.pm
index 8656babe4..9a33bfb70 100644
--- a/lib/BackRest/Config.pm
+++ b/lib/BackRest/Config.pm
@@ -285,6 +285,7 @@ use constant
OPTION_RULE_DEPEND_OPTION => 'depend-option',
OPTION_RULE_DEPEND_LIST => 'depend-list',
OPTION_RULE_DEPEND_VALUE => 'depend-value',
+ OPTION_RULE_HINT => 'hint',
OPTION_RULE_NEGATE => 'negate',
OPTION_RULE_OPERATION => 'operation',
OPTION_RULE_REQUIRED => 'required',
@@ -648,6 +649,7 @@ my %oOptionRule =
{
&OPTION_RULE_TYPE => OPTION_TYPE_STRING,
&OPTION_RULE_SECTION => CONFIG_SECTION_STANZA,
+ &OPTION_RULE_HINT => "Does this stanza exist?",
&OPTION_RULE_OPERATION =>
{
&OP_ARCHIVE_GET =>
@@ -1048,6 +1050,10 @@ sub configLoad
}
}
+ # Add help and version options
+ $oOptionAllow{'help'} = 'help';
+ $oOptionAllow{'version'} = 'version';
+
# Get command-line options
use Getopt::Long qw(GetOptions);
my %oOptionTest;
@@ -1140,7 +1146,7 @@ sub optionValid
$strOperation ne OP_RESTORE &&
$strOperation ne OP_EXPIRE)
{
- confess &log(ERROR, "invalid operation ${strOperation}");
+ confess &log(ERROR, "invalid operation ${strOperation}", ERROR_OPERATION_INVALID);
}
# Set the operation section - because of the various archive commands this is not always the operation
@@ -1497,7 +1503,10 @@ sub optionValid
# Else check required
elsif (optionRequired($strOption, $strOperation))
{
- confess &log(ERROR, "${strOperation} operation requires option: ${strOption}", ERROR_OPTION_REQUIRED);
+ confess &log(ERROR, "${strOperation} operation requires option: ${strOption}" .
+ (defined($oOptionRule{$strOption}{&OPTION_RULE_HINT}) ?
+ "\nHINT: " . $oOptionRule{$strOption}{&OPTION_RULE_HINT} : ''),
+ ERROR_OPTION_REQUIRED);
}
}
diff --git a/lib/BackRest/Db.pm b/lib/BackRest/Db.pm
index 88b1a0e66..39b27c0a0 100644
--- a/lib/BackRest/Db.pm
+++ b/lib/BackRest/Db.pm
@@ -124,10 +124,13 @@ sub psql_execute
sub tablespace_map_get
{
my $self = shift;
- my $oHashRef = shift;
+
+ my $oHashRef = {};
data_hash_build($oHashRef, "oid\tname\n" . $self->psql_execute(
'copy (select oid, spcname from pg_tablespace) to stdout'), "\t");
+
+ return $oHashRef;
}
####################################################################################################################################
@@ -174,8 +177,12 @@ sub backup_start
$bStartFast = false;
}
+ &log(INFO, "executing pg_start_backup() with label \"${strLabel}\": backup will begin after " .
+ ($bStartFast ? "the requested immediate checkpoint" : "the next regular checkpoint") . " completes");
+
my @stryField = split("\t", trim($self->psql_execute("set client_min_messages = 'warning';" .
- "copy (select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(xlog) from pg_start_backup('${strLabel}'" .
+ "copy (select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.US TZ'), " .
+ "pg_xlogfile_name(xlog) from pg_start_backup('${strLabel}'" .
($bStartFast ? ', true' : '') . ') as xlog) to stdout')));
return $stryField[1], $stryField[0];
@@ -188,6 +195,8 @@ sub backup_stop
{
my $self = shift;
+ &log(INFO, 'executing pg_stop_backup() and waiting for all WAL segments to be archived');
+
my @stryField = split("\t", trim($self->psql_execute("set client_min_messages = 'warning';" .
"copy (select to_char(clock_timestamp(), 'YYYY-MM-DD HH24:MI:SS.US TZ'), pg_xlogfile_name(xlog) from pg_stop_backup() as xlog) to stdout")));
diff --git a/lib/BackRest/Exception.pm b/lib/BackRest/Exception.pm
index 611acc381..1aeef6240 100644
--- a/lib/BackRest/Exception.pm
+++ b/lib/BackRest/Exception.pm
@@ -35,14 +35,20 @@ use constant
ERROR_ARCHIVE_MISMATCH => 119,
ERROR_ARCHIVE_DUPLICATE => 120,
ERROR_VERSION_NOT_SUPPORTED => 121,
- ERROR_PATH_CREATE => 122
+ ERROR_PATH_CREATE => 122,
+ ERROR_OPERATION_INVALID => 123,
+ ERROR_HOST_CONNECT => 124,
+ ERROR_LOCK_ACQUIRE => 125,
+
+ ERROR_UNKNOWN => 199
};
our @EXPORT = qw(ERROR_ASSERT ERROR_CHECKSUM ERROR_CONFIG ERROR_FILE_INVALID ERROR_FORMAT ERROR_OPERATION_REQUIRED
ERROR_OPTION_INVALID ERROR_OPTION_INVALID_VALUE ERROR_OPTION_INVALID_RANGE ERROR_OPTION_INVALID_PAIR
ERROR_OPTION_DUPLICATE_KEY ERROR_OPTION_NEGATE ERROR_OPTION_REQUIRED ERROR_POSTMASTER_RUNNING ERROR_PROTOCOL
ERROR_RESTORE_PATH_NOT_EMPTY ERROR_FILE_OPEN ERROR_FILE_READ ERROR_PARAM_REQUIRED ERROR_ARCHIVE_MISMATCH
- ERROR_ARCHIVE_DUPLICATE ERROR_VERSION_NOT_SUPPORTED ERROR_PATH_CREATE);
+ ERROR_ARCHIVE_DUPLICATE ERROR_VERSION_NOT_SUPPORTED ERROR_PATH_CREATE ERROR_OPERATION_INVALID ERROR_HOST_CONNECT
+ ERROR_UNKNOWN ERROR_LOCK_ACQUIRE);
####################################################################################################################################
# CONSTRUCTOR
diff --git a/lib/BackRest/File.pm b/lib/BackRest/File.pm
index e77fadbfd..d588bb470 100644
--- a/lib/BackRest/File.pm
+++ b/lib/BackRest/File.pm
@@ -504,7 +504,7 @@ sub move
if (!$self->exists(PATH_ABSOLUTE, dirname($strPathOpDestination)))
{
- $strError = "${strPathOpDestination} does not exist";
+ $strError = dirname($strPathOpDestination) . " destination path does not exist";
$iErrorCode = COMMAND_ERR_FILE_MISSING;
}
@@ -575,7 +575,7 @@ sub path_create
# Set operation and debug strings
my $strOperation = OP_FILE_PATH_CREATE;
- my $strDebug = " ${strPathType}:${strPathOp}, mode " . (defined($strMode) ? $strMode : '[undef]');
+ my $strDebug = "${strPathType}:${strPathOp}, mode " . (defined($strMode) ? $strMode : '[undef]');
&log(DEBUG, "${strOperation}: ${strDebug}");
if ($self->is_remote($strPathType))
@@ -879,7 +879,7 @@ sub owner
my $strOperation = OP_FILE_OWNER;
my $strDebug = "${strPathType}:${strFileOp}, " .
'user = ' . (defined($strUser) ? $strUser : '[undef]') .
- 'group = ' . (defined($strGroup) ? $strGroup : '[undef]');
+ ', group = ' . (defined($strGroup) ? $strGroup : '[undef]');
&log(DEBUG, "${strOperation}: ${strDebug}");
if ($self->is_remote($strPathType))
@@ -1339,7 +1339,7 @@ sub copy
my $bResult = true;
# Set debug string and log
- my $strDebug = ($bSourceRemote ? ' remote' : ' local') . " ${strSourcePathType}" .
+ my $strDebug = ($bSourceRemote ? 'remote' : 'local') . " ${strSourcePathType}" .
(defined($strSourceFile) ? ":${strSourceOp}" : '') .
' to' . ($bDestinationRemote ? ' remote' : ' local') . " ${strDestinationPathType}" .
(defined($strDestinationFile) ? ":${strDestinationOp}" : '') .
@@ -1408,7 +1408,7 @@ sub copy
if (!$self->exists(PATH_ABSOLUTE, dirname($strDestinationTmpOp)))
{
- $strError = dirname($strDestinationTmpOp) . ' does not exist';
+ $strError = dirname($strDestinationTmpOp) . ' destination path does not exist';
$iErrorCode = COMMAND_ERR_FILE_MISSING;
}
diff --git a/lib/BackRest/Lock.pm b/lib/BackRest/Lock.pm
index 3f37fefa4..f9e747c50 100644
--- a/lib/BackRest/Lock.pm
+++ b/lib/BackRest/Lock.pm
@@ -62,6 +62,7 @@ sub lockFileName
sub lockAcquire
{
my $strLockType = shift;
+ my $bFailOnNoLock = shift;
# Cannot proceed if a lock is currently held
if (defined($strCurrentLockType))
@@ -80,12 +81,18 @@ sub lockAcquire
$strCurrentLockFile = lockFileName($strLockType, optionGet(OPTION_STANZA), optionGet(OPTION_REPO_PATH));
sysopen($hCurrentLockHandle, $strCurrentLockFile, O_WRONLY | O_CREAT)
- or confess &log(ERROR, "unable to open lock file ${strCurrentLockFile}");
+ or confess &log(ERROR, "unable to open lock file ${strCurrentLockFile}", ERROR_FILE_OPEN);
# Attempt to lock the lock file
if (!flock($hCurrentLockHandle, LOCK_EX | LOCK_NB))
{
close($hCurrentLockHandle);
+
+ if (!defined($bFailOnNoLock) || $bFailOnNoLock)
+ {
+ confess &log(ERROR, "unable to acquire ${strLockType} lock", ERROR_LOCK_ACQUIRE);
+ }
+
return false;
}
diff --git a/lib/BackRest/Manifest.pm b/lib/BackRest/Manifest.pm
index fc9b68463..df3568315 100644
--- a/lib/BackRest/Manifest.pm
+++ b/lib/BackRest/Manifest.pm
@@ -551,7 +551,7 @@ sub build
}
# If bNoStartStop then build the tablespace map from pg_tblspc path
- if ($bNoStartStop)
+ if ($bNoStartStop && !defined($oTablespaceMapRef))
{
$oTablespaceMapRef = {};
diff --git a/lib/BackRest/Remote.pm b/lib/BackRest/Remote.pm
index a42394f58..30a73309e 100644
--- a/lib/BackRest/Remote.pm
+++ b/lib/BackRest/Remote.pm
@@ -15,7 +15,7 @@ use Compress::Raw::Zlib qw(WANT_GZIP Z_OK Z_BUF_ERROR Z_STREAM_END);
use IO::String qw();
use lib dirname($0) . '/../lib';
-use BackRest::Exception qw(ERROR_PROTOCOL);
+use BackRest::Exception qw(ERROR_PROTOCOL ERROR_HOST_CONNECT);
use BackRest::Utility qw(log version_get trim TRACE ERROR ASSERT true false waitInit waitMore);
use BackRest::Config qw(optionGet OPTION_STANZA OPTION_REPO_REMOTE_PATH);
@@ -81,7 +81,7 @@ sub new
$self->{oSSH} = Net::OpenSSH->new($self->{strHost}, timeout => 600, user => $self->{strUser},
master_opts => [-o => $strOptionSSHCompression, -o => $strOptionSSHRequestTTY]);
- $self->{oSSH}->error and confess &log(ERROR, "unable to connect to $self->{strHost}: " . $self->{oSSH}->error);
+ $self->{oSSH}->error and confess &log(ERROR, "unable to connect to $self->{strHost}: " . $self->{oSSH}->error, ERROR_HOST_CONNECT);
&log(TRACE, 'connected to remote ssh host ' . $self->{strHost});
# Execute remote command
@@ -1083,8 +1083,8 @@ sub output_read
# Raise any errors
if ($bError)
{
- confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}" : '') .
- (defined($strOutput) ? ": ${strOutput}" : ''), $iErrorCode, $bSuppressLog);
+ confess &log(ERROR, (defined($strErrorPrefix) ? "${strErrorPrefix}: " : '') .
+ (defined($strOutput) ? "${strOutput}" : ''), $iErrorCode, $bSuppressLog);
}
# If output is required and there is no output, raise exception
diff --git a/lib/BackRest/Utility.pm b/lib/BackRest/Utility.pm
index 3f436a525..ca070ebe1 100644
--- a/lib/BackRest/Utility.pm
+++ b/lib/BackRest/Utility.pm
@@ -14,7 +14,7 @@ use Time::HiRes qw(gettimeofday usleep);
use POSIX qw(ceil);
use File::Basename;
use Cwd qw(abs_path);
-use JSON;
+use JSON::PP;
use lib dirname($0) . '/../lib';
use BackRest::Exception;
@@ -453,22 +453,29 @@ sub log
$strMessageFormat = '(undefined)';
}
- $strMessageFormat = (defined($iCode) ? "[${iCode}] " : '') . $strMessageFormat;
+ $strMessageFormat = (defined($iCode) ? "[${iCode}]: " : '') . $strMessageFormat;
# Indent subsequent lines of the message if it has more than one line - makes the log more readable
+ $strMessageFormat =~ s/\n/\n /g;
+
if ($strLevel eq TRACE || $strLevel eq TEST)
{
- $strMessageFormat =~ s/\n/\n /g;
+ $strMessageFormat =~ s/\n/\n /g;
$strMessageFormat = ' ' . $strMessageFormat;
}
elsif ($strLevel eq DEBUG)
{
- $strMessageFormat =~ s/\n/\n /g;
+ $strMessageFormat =~ s/\n/\n /g;
$strMessageFormat = ' ' . $strMessageFormat;
}
- else
+ elsif ($strLevel eq ERROR)
{
- $strMessageFormat =~ s/\n/\n /g;
+ if (!defined($iCode))
+ {
+ $iCode = ERROR_UNKNOWN;
+ }
+
+ $strMessageFormat =~ s/\n/\n /g;
}
# Format the message text
@@ -507,7 +514,8 @@ sub log
{
print $hLogFile $strMessageFormat;
- if ($strLevel eq ERROR || $strLevel eq ASSERT)
+ if ($strLevel eq ASSERT ||
+ ($strLevel eq ERROR && ($strLogLevelFile eq DEBUG || $strLogLevelFile eq TRACE)))
{
my $strStackTrace = longmess() . "\n";
$strStackTrace =~ s/\n/\n /g;
@@ -545,11 +553,16 @@ sub ini_load
open($hFile, '<', $strFile)
or confess &log(ERROR, "unable to open ${strFile}");
+ # Create the JSON object
+ my $oJSON = JSON::PP->new();
+
+ # Read the INI file
while (my $strLine = readline($hFile))
{
$strLine = trim($strLine);
- if ($strLine ne '')
+ # Skip lines that are blank or comments
+ if ($strLine ne '' && $strLine !~ '^#.*')
{
# Get the section
if (index($strLine, '[') == 0)
@@ -572,7 +585,7 @@ sub ini_load
# Try to store value as JSON
eval
{
- ${$oConfig}{"${strSection}"}{"${strKey}"} = decode_json($strValue);
+ ${$oConfig}{"${strSection}"}{"${strKey}"} = $oJSON->decode($strValue);
};
# On error store value as a scalar
@@ -606,26 +619,47 @@ sub ini_save
open($hFile, '>', $strFile)
or confess &log(ERROR, "unable to open ${strFile}");
+ # Create the JSON object canonical so that fields are alpha ordered to pass unit tests
+ my $oJSON = JSON::PP->new()->canonical();
+
+ # Write the INI file
foreach my $strSection (sort(keys $oConfig))
{
+ # Add a linefeed between sections
if (!$bFirst)
{
syswrite($hFile, "\n")
or confess "unable to write lf: $!";
}
+ # Write the section comment if present
+ if (defined(${$oConfig}{$strSection}{'[comment]'}))
+ {
+ syswrite($hFile, "# " . ${$oConfig}{$strSection}{'[comment]'} . "\n")
+ or confess "unable to comment for section ${strSection}: $!";
+ }
+
+ # Write the section
syswrite($hFile, "[${strSection}]\n")
or confess "unable to write section ${strSection}: $!";
+ # Iterate through all keys in the section
foreach my $strKey (sort(keys ${$oConfig}{"${strSection}"}))
{
+ # Skip comments
+ if ($strKey eq '[comment]')
+ {
+ next;
+ }
+
+ # If the value is a hash then convert it to JSON, otherwise store as is
my $strValue = ${$oConfig}{"${strSection}"}{"${strKey}"};
if (defined($strValue))
{
if (ref($strValue) eq "HASH")
{
- syswrite($hFile, "${strKey}=" . to_json($strValue, {canonical => true}) . "\n")
+ syswrite($hFile, "${strKey}=" . $oJSON->encode($strValue) . "\n")
or confess "unable to write key ${strKey}: $!";
}
else
diff --git a/test/data/test.archive1.bin b/test/data/test.archive1.bin
index 7b9db308f..5e48f9a78 100644
Binary files a/test/data/test.archive1.bin and b/test/data/test.archive1.bin differ
diff --git a/test/lib/BackRestTest/BackupTest.pm b/test/lib/BackRestTest/BackupTest.pm
index ce2ca02a7..e0f075db0 100755
--- a/test/lib/BackRestTest/BackupTest.pm
+++ b/test/lib/BackRestTest/BackupTest.pm
@@ -243,6 +243,7 @@ sub BackRestTestBackup_ClusterStop
{
my $strPath = shift;
my $bImmediate = shift;
+ my $bNoError = shift;
# Set default
$strPath = defined($strPath) ? $strPath : BackRestTestCommon_DbCommonPathGet();
@@ -251,8 +252,16 @@ sub BackRestTestBackup_ClusterStop
# Disconnect user session
BackRestTestBackup_PgDisconnect();
- # Drop the cluster
+ # Stop the cluster
BackRestTestCommon_ClusterStop($strPath, $bImmediate);
+
+ # Grep for errors in postgresql.log
+ if ((!defined($bNoError) || !$bNoError) &&
+ -e BackRestTestCommon_DbCommonPathGet() . '/postgresql.log')
+ {
+ BackRestTestCommon_Execute('grep ERROR ' . BackRestTestCommon_DbCommonPathGet() . '/postgresql.log',
+ undef, undef, undef, 1);
+ }
}
####################################################################################################################################
@@ -365,9 +374,10 @@ sub BackRestTestBackup_ClusterCreate
sub BackRestTestBackup_Drop
{
my $bImmediate = shift;
+ my $bNoError = shift;
# Stop the cluster if one is running
- BackRestTestBackup_ClusterStop(BackRestTestCommon_DbCommonPathGet(), $bImmediate);
+ BackRestTestBackup_ClusterStop(BackRestTestCommon_DbCommonPathGet(), $bImmediate, $bNoError);
# Drop the test path
BackRestTestCommon_Drop();
@@ -1319,7 +1329,7 @@ sub BackRestTestBackup_RestoreCompare
}
# Generate the tablespace map for real backups
- my %oTablespaceMap;
+ my $oTablespaceMap = undef;
# ${$oTablespaceMapRef}{oid}{$strName}{name} = $strName;
if (!$bSynthetic && defined(${$oExpectedManifestRef}{'backup:tablespace'}))
@@ -1327,10 +1337,8 @@ sub BackRestTestBackup_RestoreCompare
foreach my $strTablespaceName (keys(${$oExpectedManifestRef}{'backup:tablespace'}))
{
my $strTablespaceOid = ${$oExpectedManifestRef}{'backup:tablespace'}{$strTablespaceName}{link};
- #
- # confess "GOT HERE - $strTablespaceOid, $strTablespaceName";
- $oTablespaceMap{oid}{$strTablespaceOid}{name} = $strTablespaceName;
+ $$oTablespaceMap{oid}{$strTablespaceOid}{name} = $strTablespaceName;
}
}
@@ -1338,7 +1346,7 @@ sub BackRestTestBackup_RestoreCompare
my $oActualManifest = new BackRest::Manifest("${strTestPath}/actual.manifest", false);
my $oTablespaceMapRef = undef;
- $oActualManifest->build($oFile, ${$oExpectedManifestRef}{'backup:path'}{'base'}, $oLastManifest, $bSynthetic, \%oTablespaceMap);
+ $oActualManifest->build($oFile, ${$oExpectedManifestRef}{'backup:path'}{'base'}, $oLastManifest, true, $oTablespaceMap);
# Generate checksums for all files if required
# Also fudge size if this is a synthetic test - sizes may change during backup.
@@ -1491,10 +1499,14 @@ sub BackRestTestBackup_Test
my $iArchiveMax = 3;
my $strXlogPath = BackRestTestCommon_DbCommonPathGet() . '/pg_xlog';
my $strArchiveTestFile = BackRestTestCommon_DataPathGet() . '/test.archive2.bin';
+ my $strArchiveTestFile2 = BackRestTestCommon_DataPathGet() . '/test.archive1.bin';
# Print test banner
&log(INFO, 'BACKUP MODULE ******************************************************************');
+ # Drop any existing cluster
+ BackRestTestBackup_Drop(true, true);
+
#-------------------------------------------------------------------------------------------------------------------------------
# Create remotes
#-------------------------------------------------------------------------------------------------------------------------------
@@ -1525,13 +1537,15 @@ sub BackRestTestBackup_Test
#-------------------------------------------------------------------------------------------------------------------------------
# Test archive-push
#-------------------------------------------------------------------------------------------------------------------------------
- if ($strTest eq 'all' || $strTest eq 'archive-push')
+ $strThisTest = 'archive-push';
+
+ if ($strTest eq 'all' || $strTest eq $strThisTest)
{
$iRun = 0;
$bCreate = true;
my $oFile;
- &log(INFO, "Test archive-push\n");
+ &log(INFO, "Test ${strThisTest}\n");
for (my $bRemote = false; $bRemote <= true; $bRemote++)
{
@@ -1542,7 +1556,9 @@ sub BackRestTestBackup_Test
# Increment the run, log, and decide whether this unit test should be run
if (!BackRestTestCommon_Run(++$iRun,
"rmt ${bRemote}, cmp ${bCompress}, " .
- "arc_async ${bArchiveAsync}")) {next}
+ "arc_async ${bArchiveAsync}",
+ $iThreadMax == 1 ? $strModule : undef,
+ $iThreadMax == 1 ? $strThisTest: undef)) {next}
# Create the file object
if ($bCreate)
@@ -1638,16 +1654,29 @@ sub BackRestTestBackup_Test
$oInfo{database}{'system-id'} = $ullDbSysId;
BackRestTestCommon_iniSave($strInfoFile, \%oInfo, $bRemote);
- # Now it should break on archive duplication
+ # Should succeed because checksum is the same
+ &log(INFO, ' test archive duplicate ok');
+
+ BackRestTestCommon_Execute($strCommand . " ${strSourceFile}");
+
+ # Now it should break on archive duplication (because checksum is different
&log(INFO, ' test archive duplicate error');
+ $oFile->copy(PATH_DB_ABSOLUTE, $strArchiveTestFile2, # Source file
+ PATH_DB_ABSOLUTE, $strSourceFile, # Destination file
+ false, # Source is not compressed
+ false, # Destination is not compressed
+ undef, undef, undef, # Unused params
+ true); # Create path if it does not exist
+
BackRestTestCommon_Execute($strCommand . " ${strSourceFile}", undef, undef, undef,
ERROR_ARCHIVE_DUPLICATE);
- if ($bArchiveAsync && $bRemote)
+ if ($bArchiveAsync)
{
- my $strDuplicateWal = BackRestTestCommon_LocalPathGet() . "/archive/${strStanza}/out/" .
- "${strArchiveFile}-1c7e00fd09b9dd11fc2966590b3e3274645dd031";
+ my $strDuplicateWal =
+ ($bRemote ? BackRestTestCommon_LocalPathGet() : BackRestTestCommon_RepoPathGet()) .
+ "/archive/${strStanza}/out/${strArchiveFile}-4518a0fdf41d796760b384a358270d4682589820";
unlink ($strDuplicateWal)
or confess "unable to remove duplicate WAL segment created for testing: ${strDuplicateWal}";
@@ -1688,16 +1717,155 @@ sub BackRestTestBackup_Test
}
}
+
+ #-------------------------------------------------------------------------------------------------------------------------------
+ # Test archive-stop
+ #-------------------------------------------------------------------------------------------------------------------------------
+ $strThisTest = 'archive-stop';
+
+ if ($strTest eq 'all' || $strTest eq $strThisTest)
+ {
+ $iRun = 0;
+ $bCreate = true;
+ my $oFile;
+
+ &log(INFO, "Test ${strThisTest}\n");
+
+ for (my $bRemote = false; $bRemote <= true; $bRemote++)
+ {
+ for (my $bCompress = false; $bCompress <= true; $bCompress++)
+ {
+ for (my $iError = 0; $iError <= $bRemote; $iError++)
+ {
+ # Increment the run, log, and decide whether this unit test should be run
+ if (!BackRestTestCommon_Run(++$iRun,
+ "rmt ${bRemote}, cmp ${bCompress}" .
+ ', error ' . ($iError ? 'connect' : 'version'),
+ $iThreadMax == 1 ? $strModule : undef,
+ $iThreadMax == 1 ? $strThisTest: undef)) {next}
+
+ # Create the file object
+ if ($bCreate)
+ {
+ $oFile = (new BackRest::File
+ (
+ $strStanza,
+ BackRestTestCommon_RepoPathGet(),
+ $bRemote ? 'backup' : undef,
+ $bRemote ? $oRemote : $oLocal
+ ))->clone();
+
+ $bCreate = false;
+ }
+
+ # Create the test directory
+ BackRestTestBackup_Create($bRemote, false);
+
+ BackRestTestCommon_ConfigCreate('db',
+ ($bRemote ? BACKUP : undef),
+ $bCompress,
+ undef, # checksum
+ undef, # hardlink
+ undef, # thread-max
+ true, # archive-async
+ undef);
+
+ # Helper function to push archive logs
+ sub archivePush
+ {
+ my $oFile = shift;
+ my $strXlogPath = shift;
+ my $strArchiveTestFile = shift;
+ my $iArchiveNo = shift;
+ my $iExpectedError = shift;
+
+ my $strSourceFile = "${strXlogPath}/" . uc(sprintf('0000000100000001%08x', $iArchiveNo));
+
+ $oFile->copy(PATH_DB_ABSOLUTE, $strArchiveTestFile, # Source file
+ PATH_DB_ABSOLUTE, $strSourceFile, # Destination file
+ false, # Source is not compressed
+ false, # Destination is not compressed
+ undef, undef, undef, # Unused params
+ true); # Create path if it does not exist
+
+ my $strCommand = BackRestTestCommon_CommandMainGet() . ' --config=' . BackRestTestCommon_DbPathGet() .
+ '/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push' .
+ (defined($iExpectedError) && $iExpectedError == ERROR_HOST_CONNECT ?
+ " --backup-host=bogus" : '');
+
+ BackRestTestCommon_Execute($strCommand . " ${strSourceFile}", undef, undef, undef,
+ $iExpectedError);
+ }
+
+ # Push a WAL segment
+ archivePush($oFile, $strXlogPath, $strArchiveTestFile, 1);
+
+ # load the archive info file so it can be munged for testing
+ my $strInfoFile = $oFile->path_get(PATH_BACKUP_ARCHIVE, ARCHIVE_INFO_FILE);
+ my %oInfo;
+ BackRestTestCommon_iniLoad($strInfoFile, \%oInfo, $bRemote);
+ my $strDbVersion = $oInfo{database}{version};
+ my $ullDbSysId = $oInfo{database}{'system-id'};
+
+ # Break the database version
+ if ($iError == 0)
+ {
+ $oInfo{database}{version} = '8.0';
+ BackRestTestCommon_iniSave($strInfoFile, \%oInfo, $bRemote);
+ }
+
+ # Push two more segments with errors to exceed archive-max-mb
+ archivePush($oFile, $strXlogPath, $strArchiveTestFile, 2,
+ $iError ? ERROR_HOST_CONNECT : ERROR_ARCHIVE_MISMATCH);
+
+ archivePush($oFile, $strXlogPath, $strArchiveTestFile, 3,
+ $iError ? ERROR_HOST_CONNECT : ERROR_ARCHIVE_MISMATCH);
+
+ # Now this segment will get dropped
+ archivePush($oFile, $strXlogPath, $strArchiveTestFile, 4);
+
+ # Fix the database version
+ if ($iError == 0)
+ {
+ $oInfo{database}{version} = '9.3';
+ BackRestTestCommon_iniSave($strInfoFile, \%oInfo, $bRemote);
+ }
+
+ # Remove the stop file
+ my $strStopFile = ($bRemote ? BackRestTestCommon_LocalPathGet() : BackRestTestCommon_RepoPathGet()) .
+ '/lock/db-archive.stop';
+
+ unlink($strStopFile)
+ or die "unable to remove stop file ${strStopFile}";
+
+ # Push two more segments - only #4 should be missing from the archive at the end
+ archivePush($oFile, $strXlogPath, $strArchiveTestFile, 5);
+ archivePush($oFile, $strXlogPath, $strArchiveTestFile, 6);
+ }
+ }
+
+ $bCreate = true;
+ }
+
+ if (BackRestTestCommon_Cleanup())
+ {
+ &log(INFO, 'cleanup');
+ BackRestTestBackup_Drop(true);
+ }
+ }
+
#-------------------------------------------------------------------------------------------------------------------------------
# Test archive-get
#-------------------------------------------------------------------------------------------------------------------------------
- if ($strTest eq 'all' || $strTest eq 'archive-get')
+ $strThisTest = 'archive-get';
+
+ if ($strTest eq 'all' || $strTest eq $strThisTest)
{
$iRun = 0;
$bCreate = true;
my $oFile;
- &log(INFO, "Test archive-get\n");
+ &log(INFO, "Test ${strThisTest}\n");
for (my $bRemote = false; $bRemote <= true; $bRemote++)
{
@@ -1707,7 +1875,9 @@ sub BackRestTestBackup_Test
{
# Increment the run, log, and decide whether this unit test should be run
if (!BackRestTestCommon_Run(++$iRun,
- "rmt ${bRemote}, cmp ${bCompress}, exists ${bExists}")) {next}
+ "rmt ${bRemote}, cmp ${bCompress}, exists ${bExists}",
+ $iThreadMax == 1 ? $strModule : undef,
+ $iThreadMax == 1 ? $strThisTest: undef)) {next}
# Create the test directory
if ($bCreate)
@@ -2306,7 +2476,7 @@ sub BackRestTestBackup_Test
$bRemote ? BACKUP : undef, # remote
$bCompress, # compress
undef, # checksum
- $bRemote ? undef : true, # hardlink
+ $bRemote ? undef : false, # hardlink
$iThreadMax, # thread-max
$bArchiveAsync, # archive-async
undef); # compress-async
@@ -2318,7 +2488,7 @@ sub BackRestTestBackup_Test
$bRemote ? DB : undef, # remote
$bCompress, # compress
undef, # checksum
- true, # hardlink
+ false, # hardlink
$iThreadMax, # thread-max
undef, # archive-async
undef); # compress-async
diff --git a/test/lib/BackRestTest/CommonTest.pm b/test/lib/BackRestTest/CommonTest.pm
index 1f241a19d..79d76e10c 100755
--- a/test/lib/BackRestTest/CommonTest.pm
+++ b/test/lib/BackRestTest/CommonTest.pm
@@ -76,6 +76,7 @@ my $bFullLog = false;
my $hOut;
my $pId;
my $strCommand;
+my $oReplaceHash = {};
# Test globals
my $strTestLog;
@@ -190,6 +191,7 @@ sub BackRestTestCommon_Run
}
$strFullLog = "${strTestLog}\n" . ('=' x length($strTestLog)) . "\n";
+ $oReplaceHash = {};
$strModule = $strModuleParam;
$strModuleTest = $strModuleTestParam;
@@ -273,24 +275,15 @@ sub BackRestTestCommon_ExecuteBegin
$strOutLog = '';
$hOut = undef;
- my $strBinPath = dirname(dirname(abs_path($0))) . '/bin';
$bFullLog = false;
- if ($strCommandParam =~ /\/bin\/pg_backrest\.pl/)
+ if (defined($strModule) && $strCommandParam =~ /\/bin\/pg_backrest\.pl/)
{
- my $strTestPath = BackRestTestCommon_TestPathGet();
-
- $strCommandParam =~ s/$strBinPath/[BACKREST_BIN_PATH]/g;
- $strCommandParam =~ s/[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}/[BACKUP_LABEL]/;
-
- if (defined($strTestPath))
- {
- $strCommandParam =~ s/$strTestPath/[TEST_PATH]/g;
- }
+ $strCommandParam = BackRestTestCommon_ExecuteRegAll($strCommandParam);
if (defined($strComment))
{
- $strComment =~ s/[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}/[BACKUP_LABEL]/;
+ $strComment = BackRestTestCommon_ExecuteRegAll($strComment);
$strFullLog .= "\n${strComment}";
}
@@ -304,6 +297,106 @@ sub BackRestTestCommon_ExecuteBegin
$pId = open3(undef, $hOut, $hError, $strCommand);
}
+####################################################################################################################################
+# BackRestTestCommon_ExecuteRegExp
+####################################################################################################################################
+sub BackRestTestCommon_ExecuteRegExp
+{
+ my $strLine = shift;
+ my $strType = shift;
+ my $strExpression = shift;
+ my $strToken = shift;
+ my $bIndex = shift;
+
+ my @stryReplace = ($strLine =~ /$strExpression/g);
+
+ foreach my $strReplace (@stryReplace)
+ {
+ my $iIndex;
+ my $strTypeReplacement;
+
+ if (!defined($bIndex) || $bIndex)
+ {
+ if (defined($$oReplaceHash{$strType}{$strReplace}))
+ {
+ $iIndex = $$oReplaceHash{$strType}{$strReplace}{index};
+ }
+ else
+ {
+ if (!defined($$oReplaceHash{$strType}{index}))
+ {
+ $$oReplaceHash{$strType}{index} = 1;
+ }
+
+ $iIndex = $$oReplaceHash{$strType}{index}++;
+ $$oReplaceHash{$strType}{$strReplace}{index} = $iIndex;
+ }
+ }
+
+ $strTypeReplacement = "[${strType}" . (defined($iIndex) ? "-${iIndex}" : '') . ']';
+
+ my $strReplacement;
+
+ if (defined($strToken))
+ {
+ $strReplacement = $strReplace;
+ $strReplacement =~ s/$strToken/$strTypeReplacement/;
+ }
+ else
+ {
+ $strReplacement = $strTypeReplacement;
+ }
+
+ $strLine =~ s/$strReplace/$strReplacement/g;
+ }
+
+ return $strLine;
+}
+
+####################################################################################################################################
+# BackRestTestCommon_ExecuteRegExpAll
+####################################################################################################################################
+sub BackRestTestCommon_ExecuteRegAll
+{
+ my $strLine = shift;
+
+ my $strBinPath = dirname(dirname(abs_path($0))) . '/bin';
+
+ $strLine =~ s/$strBinPath/[BACKREST_BIN_PATH]/g;
+
+ my $strTestPath = BackRestTestCommon_TestPathGet();
+
+ if (defined($strTestPath))
+ {
+ $strLine =~ s/$strTestPath/[TEST_PATH]/g;
+ }
+
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'MODIFICATION-TIME', 'modification_time = [0-9]+', '[0-9]+$');
+
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'BACKUP-INCR', '[0-9]{8}\-[0-9]{6}F\_[0-9]{8}\-[0-9]{6}I');
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'BACKUP-DIFF', '[0-9]{8}\-[0-9]{6}F\_[0-9]{8}\-[0-9]{6}D');
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'BACKUP-FULL', '[0-9]{8}\-[0-9]{6}F');
+
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'GROUP', 'group = [^ \n,\[\]]+', '[^ \n,\[\]]+$');
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'USER', 'user = [^ \n,\[\]]+', '[^ \n,\[\]]+$');
+
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'VERSION', 'version = ' . version_get(), version_get . '$');
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'VERSION', '"version" : ' . version_get(), version_get . '$');
+
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'FORMAT', '"format" : ' . FORMAT, FORMAT . '$');
+
+ my $strTimestampRegExp = "[0-9]{4}-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]";
+
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'TIMESTAMP', "\"timestamp-copy-start\" : \"$strTimestampRegExp\"",
+ $strTimestampRegExp, false);
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'TIMESTAMP', "\"timestamp-start\" : \"$strTimestampRegExp\"",
+ $strTimestampRegExp, false);
+ $strLine = BackRestTestCommon_ExecuteRegExp($strLine, 'TIMESTAMP', "\"timestamp-stop\" : \"$strTimestampRegExp\"",
+ $strTimestampRegExp, false);
+
+ return $strLine;
+}
+
####################################################################################################################################
# BackRestTestCommon_ExecuteEnd
####################################################################################################################################
@@ -318,10 +411,6 @@ sub BackRestTestCommon_ExecuteEnd
$bSuppressError = defined($bSuppressError) ? $bSuppressError : false;
$bShowOutput = defined($bShowOutput) ? $bShowOutput : false;
- # Get test path
- my $strTestPath = BackRestTestCommon_TestPathGet();
- my $strVersion = version_get();
-
# Create select objects
my $oErrorSelect = IO::Select->new();
$oErrorSelect->add($hError);
@@ -355,20 +444,14 @@ sub BackRestTestCommon_ExecuteEnd
if ($bFullLog)
{
- $strLine =~ s/^[^ ]* [^ ]* [^ ]* //;
- $strLine =~ s/[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}/[BACKUP_LABEL]/g;
- $strLine =~ s/version = $strVersion/version = [VERSION]/g;
- $strLine =~ s/modification_time = [0-9]+/modification_time = [MODIFICATION_TIME]/g;
- $strLine =~ s/user = [^ \n,\[\]]+/user = [USER]/g;
- $strLine =~ s/group = [^ \n,\[\]]+/group = [GROUP]/g;
-
- if (defined($strTestPath))
- {
- $strLine =~ s/$strTestPath/[TEST_PATH]/g;
- }
+ $strLine =~ s/^[0-9]{4}-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]\.[0-9]{3} T[0-9]{2} //;
- if ($strLine !~ /^ TEST/)
+ if ($strLine !~ /^ TEST/ && $strLine =~ /^ /)
{
+ $strLine =~ s/^ //;
+ $strLine =~ s/^ //;
+
+ $strLine = BackRestTestCommon_ExecuteRegAll($strLine);
$strFullLog .= $strLine;
}
}
@@ -872,6 +955,7 @@ sub BackRestTestCommon_ConfigCreate
$oParamHash{'global:command'}{'cmd-remote'} = $strCommonCommandRemote;
}
+ $oParamHash{'global:command'}{'[comment]'} = 'psql command and options';
$oParamHash{'global:command'}{'cmd-psql'} = $strCommonCommandPsql;
if (defined($strRemote) && $strRemote eq BACKUP)
@@ -885,9 +969,12 @@ sub BackRestTestCommon_ConfigCreate
$oParamHash{$strCommonStanza}{'db-user'} = $strCommonUser;
}
+ $oParamHash{'global:log'}{'[comment]'} = 'file and console log settings';
$oParamHash{'global:log'}{'log-level-console'} = 'debug';
$oParamHash{'global:log'}{'log-level-file'} = 'trace';
+ $oParamHash{'global:general'}{'[comment]'} = 'general settings for all operations';
+
if ($strLocal eq BACKUP)
{
$oParamHash{'global:general'}{'repo-path'} = $strCommonRepoPath;
@@ -898,13 +985,6 @@ sub BackRestTestCommon_ConfigCreate
if (defined($strRemote))
{
-# $oParamHash{'global:log'}{'log-level-console'} = 'trace';
-
- # if ($bArchiveAsync)
- # {
- # $oParamHash{'global:archive'}{path} = BackRestTestCommon_LocalPathGet();
- # }
-
$oParamHash{'global:general'}{'repo-remote-path'} = $strCommonRepoPath;
}
else
@@ -914,12 +994,8 @@ sub BackRestTestCommon_ConfigCreate
if ($bArchiveAsync)
{
+ $oParamHash{'global:archive'}{'[comment]'} = 'WAL archive settings';
$oParamHash{'global:archive'}{'archive-async'} = 'y';
- #
- # if (!$bCompressAsync)
- # {
- # $oParamHash{'global:archive'}{'compress_async'} = 'n';
- # }
}
}
else
@@ -934,13 +1010,16 @@ sub BackRestTestCommon_ConfigCreate
if (($strLocal eq BACKUP) || ($strLocal eq DB && !defined($strRemote)))
{
- $oParamHash{'db:command'}{'cmd-psql-option'} = "--port=${iCommonDbPort}";
- $oParamHash{'global:backup'}{'thread-max'} = $iThreadMax;
+ $oParamHash{"${strCommonStanza}:command"}{'[comment]'} = 'cluster-specific command options';
+ $oParamHash{"${strCommonStanza}:command"}{'cmd-psql-option'} = "--port=${iCommonDbPort}";
if (defined($bHardlink) && $bHardlink)
{
$oParamHash{'global:backup'}{'hardlink'} = 'y';
}
+
+ $oParamHash{'global:backup'}{'archive-copy'} = 'y';
+ $oParamHash{'global:backup'}{'start-fast'} = 'y';
}
if (defined($bCompress) && !$bCompress)
@@ -948,13 +1027,16 @@ sub BackRestTestCommon_ConfigCreate
$oParamHash{'global:general'}{'compress'} = 'n';
}
- # if (defined($bChecksum) && $bChecksum)
- # {
- # $oParamHash{'global:backup'}{'checksum'} = 'y';
- # }
-
+ # Stanza settings
+ $oParamHash{$strCommonStanza}{'[comment]'} = "cluster-specific settings";
$oParamHash{$strCommonStanza}{'db-path'} = $strCommonDbCommonPath;
+ # Comments
+ if (defined($oParamHash{'global:backup'}))
+ {
+ $oParamHash{'global:backup'}{'[comment]'} = "backup settings";
+ }
+
# Write out the configuration file
my $strFile = BackRestTestCommon_TestPathGet() . '/pg_backrest.conf';
ini_save($strFile, \%oParamHash);
diff --git a/test/lib/BackRestTest/ConfigTest.pm b/test/lib/BackRestTest/ConfigTest.pm
index 55a5feaa7..91e6c3dd5 100755
--- a/test/lib/BackRestTest/ConfigTest.pm
+++ b/test/lib/BackRestTest/ConfigTest.pm
@@ -140,7 +140,8 @@ sub configLoadExpect
if ($iExpectedError == ERROR_OPTION_REQUIRED)
{
- $strError = "backup operation requires option: ${strErrorParam1}";
+ $strError = "${strOperation} operation requires option: ${strErrorParam1}" .
+ (defined($strErrorParam2) ? "\nHINT: ${strErrorParam2}" : '');
}
elsif ($iExpectedError == ERROR_OPERATION_REQUIRED)
{
@@ -443,7 +444,7 @@ sub BackRestTestConfig_Test
configLoadExpect($oOption, OP_RESTORE, ERROR_OPTION_INVALID_RANGE, '512', OPTION_BUFFER_SIZE);
}
- if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' invalid option' . OPTION_RETENTION_ARCHIVE_TYPE))
+ if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' invalid option ' . OPTION_RETENTION_ARCHIVE_TYPE))
{
optionSetTest($oOption, OPTION_STANZA, $strStanza);
optionSetTest($oOption, OPTION_DB_PATH, '/db');
@@ -547,6 +548,13 @@ sub BackRestTestConfig_Test
configLoadExpect($oOption, OP_BACKUP);
optionTestExpect(OPTION_COMMAND_REMOTE, dirname(abs_path($0)) . '/pg_backrest_remote.pl');
}
+
+ if (BackRestTestCommon_Run(++$iRun, OP_BACKUP . ' missing option ' . OPTION_DB_PATH))
+ {
+ optionSetTest($oOption, OPTION_STANZA, $strStanza);
+
+ configLoadExpect($oOption, OP_BACKUP, ERROR_OPTION_REQUIRED, OPTION_DB_PATH, 'Does this stanza exist?');
+ }
}
#-------------------------------------------------------------------------------------------------------------------------------
diff --git a/test/lib/BackRestTest/FileTest.pm b/test/lib/BackRestTest/FileTest.pm
index 676435dc0..4d0a29162 100755
--- a/test/lib/BackRestTest/FileTest.pm
+++ b/test/lib/BackRestTest/FileTest.pm
@@ -1153,7 +1153,7 @@ sub BackRestTestFile_Test
if ($iLarge == 1)
{
- $strSourceHash = 'c2e63b6a49d53a53d6df1aa6b70c7c16747ca099';
+ $strSourceHash = '4518a0fdf41d796760b384a358270d4682589820';
$iSourceSize = 16777216;
}
elsif ($iLarge == 2)
diff --git a/test/log/backup-archive-get-001.log b/test/log/backup-archive-get-001.log
new file mode 100644
index 000000000..646745e17
--- /dev/null
+++ b/test/log/backup-archive-get-001.log
@@ -0,0 +1,10 @@
+run 001 - rmt 0, cmp 0, exists 0
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000900000009
+ INFO: 000000090000000900000009 was not found in the archive repository
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-002.log b/test/log/backup-archive-get-002.log
new file mode 100644
index 000000000..5222a59c6
--- /dev/null
+++ b/test/log/backup-archive-get-002.log
@@ -0,0 +1,29 @@
+run 002 - rmt 0, cmp 0, exists 1
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, destination_path_create = false
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-003.log b/test/log/backup-archive-get-003.log
new file mode 100644
index 000000000..ad690e4be
--- /dev/null
+++ b/test/log/backup-archive-get-003.log
@@ -0,0 +1,10 @@
+run 003 - rmt 0, cmp 1, exists 0
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000900000009
+ INFO: 000000090000000900000009 was not found in the archive repository
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-004.log b/test/log/backup-archive-get-004.log
new file mode 100644
index 000000000..ab6bc580c
--- /dev/null
+++ b/test/log/backup-archive-get-004.log
@@ -0,0 +1,29 @@
+run 004 - rmt 0, cmp 1, exists 1
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, destination_path_create = false
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-005.log b/test/log/backup-archive-get-005.log
new file mode 100644
index 000000000..069a41f58
--- /dev/null
+++ b/test/log/backup-archive-get-005.log
@@ -0,0 +1,9 @@
+run 005 - rmt 1, cmp 0, exists 0
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+ INFO: 000000090000000900000009 was not found in the archive repository
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-006.log b/test/log/backup-archive-get-006.log
new file mode 100644
index 000000000..59cf427e6
--- /dev/null
+++ b/test/log/backup-archive-get-006.log
@@ -0,0 +1,29 @@
+run 006 - rmt 1, cmp 0, exists 1
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, destination_path_create = false
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-007.log b/test/log/backup-archive-get-007.log
new file mode 100644
index 000000000..a7beb13cf
--- /dev/null
+++ b/test/log/backup-archive-get-007.log
@@ -0,0 +1,9 @@
+run 007 - rmt 1, cmp 1, exists 0
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000900000009, expression ^000000090000000900000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+ INFO: 000000090000000900000009 was not found in the archive repository
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-get-008.log b/test/log/backup-archive-get-008.log
new file mode 100644
index 000000000..1b432efc0
--- /dev/null
+++ b/test/log/backup-archive-get-008.log
@@ -0,0 +1,29 @@
+run 008 - rmt 1, cmp 1, exists 1
+================================
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002, destination_path_create = false
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/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
+DEBUG: File->copy: remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz to local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003.backrest.tmp to absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003, destination_path_create = false
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-001.log b/test/log/backup-archive-push-001.log
new file mode 100644
index 000000000..268f0c381
--- /dev/null
+++ b/test/log/backup-archive-push-001.log
@@ -0,0 +1,240 @@
+run 001 - rmt 0, cmp 0, arc_async 0
+===================================
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->path_create: backup:archive:[TEST_PATH]/backrest/archive/db, mode [undef]
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000002
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000004
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000006
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000007
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000008
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-002.log b/test/log/backup-archive-push-002.log
new file mode 100644
index 000000000..7f87ac465
--- /dev/null
+++ b/test/log/backup-archive-push-002.log
@@ -0,0 +1,436 @@
+run 002 - rmt 0, cmp 0, arc_async 1
+===================================
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-003.log b/test/log/backup-archive-push-003.log
new file mode 100644
index 000000000..38a7983be
--- /dev/null
+++ b/test/log/backup-archive-push-003.log
@@ -0,0 +1,240 @@
+run 003 - rmt 0, cmp 1, arc_async 0
+===================================
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->path_create: backup:archive:[TEST_PATH]/backrest/archive/db, mode [undef]
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000001
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000002
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000004
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000006
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000007
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000008
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: Archive->pushCheck: backup:archive:000000010000000100000009
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+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
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-004.log b/test/log/backup-archive-push-004.log
new file mode 100644
index 000000000..94a47c1c0
--- /dev/null
+++ b/test/log/backup-archive-push-004.log
@@ -0,0 +1,436 @@
+run 004 - rmt 0, cmp 1, arc_async 1
+===================================
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000004(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000007(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000008(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000009(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->hash: db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-005.log b/test/log/backup-archive-push-005.log
new file mode 100644
index 000000000..943e5936c
--- /dev/null
+++ b/test/log/backup-archive-push-005.log
@@ -0,0 +1,167 @@
+run 005 - rmt 1, cmp 0, arc_async 0
+===================================
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-006.log b/test/log/backup-archive-push-006.log
new file mode 100644
index 000000000..96d96e5ec
--- /dev/null
+++ b/test/log/backup-archive-push-006.log
@@ -0,0 +1,364 @@
+run 006 - rmt 1, cmp 0, arc_async 1
+===================================
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000004.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000007.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000008.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-007.log b/test/log/backup-archive-push-007.log
new file mode 100644
index 000000000..1cad439d0
--- /dev/null
+++ b/test/log/backup-archive-push-007.log
@@ -0,0 +1,167 @@
+run 007 - rmt 1, cmp 1, arc_async 0
+===================================
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000001.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000002.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000003.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000004.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000005.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000006.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000007.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000008.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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/0000000100000001/000000010000000100000009.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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: 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
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-push-008.log b/test/log/backup-archive-push-008.log
new file mode 100644
index 000000000..255c680f7
--- /dev/null
+++ b/test/log/backup-archive-push-008.log
@@ -0,0 +1,364 @@
+run 008 - rmt 1, cmp 1, arc_async 1
+===================================
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000001 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000001 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000004 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000004, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000004.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000004-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000005 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000005 already exists in the archive
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000007 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000007, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000007.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000007-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000008 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000008, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000008.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000008-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment system-id 5947969990501855219 does not match archive system-id 5000900090001855000
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031, compressed = false, hash_type = sha1
+ WARN: WAL segment 000000010000000100000009 already exists in the archive with the same checksum
+ HINT: this is valid in some recovery scenarios but may also indicate a problem
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000009-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000009 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000009, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->hash: db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000009-4518a0fdf41d796760b384a358270d4682589820, compressed = false, hash_type = sha1
+ERROR: [120]: WAL segment 000000010000000100000009 already exists in the archive
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-stop-001.log b/test/log/backup-archive-stop-001.log
new file mode 100644
index 000000000..f3af09437
--- /dev/null
+++ b/test/log/backup-archive-stop-001.log
@@ -0,0 +1,127 @@
+run 001 - rmt 0, cmp 0, error version
+=====================================
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/backrest/lock/db-archive.stop) is removed
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
+------------------------------------------------------------------------------------------------------------------------------------
+ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/backrest/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-stop-002.log b/test/log/backup-archive-stop-002.log
new file mode 100644
index 000000000..c1176252e
--- /dev/null
+++ b/test/log/backup-archive-stop-002.log
@@ -0,0 +1,127 @@
+run 002 - rmt 0, cmp 1, error version
+=====================================
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000001(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->exists: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/backrest/lock/db-archive.stop) is removed
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
+------------------------------------------------------------------------------------------------------------------------------------
+ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/backrest/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000002(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000003(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000005(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+ 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
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db
+DEBUG: File->exists: backup:archive:[TEST_PATH]/backrest/archive/db/archive.info
+DEBUG: File->list: backup:absolute:[TEST_PATH]/backrest/archive/db/0000000100000001, expression ^000000010000000100000006(-[0-f]+){0,1}(\.gz){0,1}$, sort forward
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/backrest/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to local backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz.tmp to absolute:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, destination_path_create = true
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/backrest/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-stop-003.log b/test/log/backup-archive-stop-003.log
new file mode 100644
index 000000000..e3fa632e9
--- /dev/null
+++ b/test/log/backup-archive-stop-003.log
@@ -0,0 +1,100 @@
+run 003 - rmt 1, cmp 0, error version
+=====================================
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+ERROR: local archive 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
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
+------------------------------------------------------------------------------------------------------------------------------------
+ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/local/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-stop-004.log b/test/log/backup-archive-stop-004.log
new file mode 100644
index 000000000..16a6f3696
--- /dev/null
+++ b/test/log/backup-archive-stop-004.log
@@ -0,0 +1,92 @@
+run 004 - rmt 1, cmp 0, error connect
+=====================================
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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/000000010000000100000002
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
+ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/local/lock/db-archive.stop) is removed
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
+------------------------------------------------------------------------------------------------------------------------------------
+ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/local/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 0, default_compress = 0
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-stop-005.log b/test/log/backup-archive-stop-005.log
new file mode 100644
index 000000000..54b3e5cfc
--- /dev/null
+++ b/test/log/backup-archive-stop-005.log
@@ -0,0 +1,100 @@
+run 005 - rmt 1, cmp 1, error version
+=====================================
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000002
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000003
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+ERROR: [119]: WAL segment version 9.3 does not match archive version 8.0
+ HINT: are you archiving to the correct stanza?
+ERROR: local archive 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
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
+------------------------------------------------------------------------------------------------------------------------------------
+ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/local/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-archive-stop-006.log b/test/log/backup-archive-stop-006.log
new file mode 100644
index 000000000..aa6ecb4a4
--- /dev/null
+++ b/test/log/backup-archive-stop-006.log
@@ -0,0 +1,92 @@
+run 006 - rmt 1, cmp 1, error connect
+=====================================
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000001
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000001 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000001 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000001, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->path_create: absolute:[TEST_PATH]/local/archive/db/out, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000001-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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/000000010000000100000002
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000002 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000002 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000002, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --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
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000003 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000003 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000003, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ERROR: [124]: unable to connect to bogus: unable to establish master SSH connection: master process exited unexpectedly
+ERROR: local archive store max size has exceeded limit of 24MB - WAL segments will be discarded until the stop file ([TEST_PATH]/local/lock/db-archive.stop) is removed
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000004
+------------------------------------------------------------------------------------------------------------------------------------
+ERROR: discarding 000000010000000100000004 due to the archive store max size exceeded - remove the archive stop file ([TEST_PATH]/local/lock/db-archive.stop) to resume archiving and be sure to take a new backup as soon as possible
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000005
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000005 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000005 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000005, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000002-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000003
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000003-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: archive 000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031, is WAL 1, source_compressed = 0, destination_compress 1, default_compress = 1
+DEBUG: Archive->pushCheck: backup:archive:000000010000000100000005
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000005-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 3 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
+
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --archive-max-mb=24 --no-fork --stanza=db archive-push [TEST_PATH]/db/common/pg_xlog/000000010000000100000006
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: pushing WAL segment [TEST_PATH]/db/common/pg_xlog/000000010000000100000006 asynchronously
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/pg_xlog/000000010000000100000006 to local backup:archive:out:[TEST_PATH]/local/archive/db/out/000000010000000100000006, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006.tmp to absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031, destination_path_create = true
+DEBUG: No fork on archive local for TESTING
+DEBUG: starting async archive-push
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+ 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
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/local/archive/db/out/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031 to remote backup:archive:[TEST_PATH]/backrest/archive/db/0000000100000001/000000010000000100000006-1c7e00fd09b9dd11fc2966590b3e3274645dd031.gz, source_compressed = false, destination_compress = true, ignore_missing_source = false, destination_path_create = true, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: transferred 1 WAL segment(s), calling Archive->xfer() again
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/local/archive/db/out
+DEBUG: no archive logs to be copied to backup
+DEBUG: transfer found 0 WAL segments - exiting
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-001.log b/test/log/backup-synthetic-001.log
index 108f87575..b1735cb4c 100644
--- a/test/log/backup-synthetic-001.log
+++ b/test/log/backup-synthetic-001.log
@@ -4,724 +4,750 @@ run 001 - rmt 0, cmp 0, hardlink 0
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
- WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
+ WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-002.log b/test/log/backup-synthetic-002.log
index 996273043..1ec591863 100644
--- a/test/log/backup-synthetic-002.log
+++ b/test/log/backup-synthetic-002.log
@@ -4,863 +4,889 @@ run 002 - rmt 0, cmp 0, hardlink 1
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
- WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
+ WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-003.log b/test/log/backup-synthetic-003.log
index e752b5de4..a2b8639a6 100644
--- a/test/log/backup-synthetic-003.log
+++ b/test/log/backup-synthetic-003.log
@@ -4,727 +4,753 @@ run 003 - rmt 0, cmp 1, hardlink 0
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-004.log b/test/log/backup-synthetic-004.log
index 1c33bede0..08b38ad46 100644
--- a/test/log/backup-synthetic-004.log
+++ b/test/log/backup-synthetic-004.log
@@ -4,866 +4,892 @@ run 004 - rmt 0, cmp 1, hardlink 1
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: local db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> ../bin/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: local backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-005.log b/test/log/backup-synthetic-005.log
index 275e30fc8..985f57e5e 100644
--- a/test/log/backup-synthetic-005.log
+++ b/test/log/backup-synthetic-005.log
@@ -4,724 +4,750 @@ run 005 - rmt 1, cmp 0, hardlink 0
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
- WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
+ WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-006.log b/test/log/backup-synthetic-006.log
index 181e9ff00..aaf59b701 100644
--- a/test/log/backup-synthetic-006.log
+++ b/test/log/backup-synthetic-006.log
@@ -4,863 +4,889 @@ run 006 - rmt 1, cmp 0, hardlink 1
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
- WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, compressed = false, hash_type = sha1
+ WARN: resumed backup file base/badchecksum.txt should have checksum bogus but actually has checksum f927212cd08d11a42a666b2f04235398e9ceeb51. The file will be recopied and backup will continue but this may be an issue unless the backup temp path is known to be corrupted.
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->hash: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, compressed = false, hash_type = sha1
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/base/base1.txt to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/PG_VERSION to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2.txt to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-007.log b/test/log/backup-synthetic-007.log
index 00e92192f..914b2bce8 100644
--- a/test/log/backup-synthetic-007.log
+++ b/test/log/backup-synthetic-007.log
@@ -4,727 +4,753 @@ run 007 - rmt 1, cmp 1, hardlink 0
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
diff --git a/test/log/backup-synthetic-008.log b/test/log/backup-synthetic-008.log
index 1921d82b0..1cee4a009 100644
--- a/test/log/backup-synthetic-008.log
+++ b/test/log/backup-synthetic-008.log
@@ -4,866 +4,892 @@ run 008 - rmt 1, cmp 1, hardlink 1
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --manifest-save-threshold=3 --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: manifest saved
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: manifest saved
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: manifest saved
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: manifest saved
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup (resume)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- INFO: 7B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/PG_VERSION (3B, 42%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/base/base1.txt (4B, 100%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: total backup size: 7B
+ INFO: new backup label: [BACKUP-FULL-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (add and delete files)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --stanza=db restore
+restore delta, backup '[BACKUP-FULL-2]' (add and delete files)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-FULL-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
- INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
- INFO: removing path [TEST_PATH]/db/common/deleteme
- INFO: setting [TEST_PATH]/db/common/base mode to 0700
- INFO: 1 file(s) removed during cleanup
- INFO: 1 path(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
- INFO: wrote [TEST_PATH]/db/common/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-FULL-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ INFO: removing link [TEST_PATH]/db/common/link-test - destination changed
+ INFO: removing file/link [TEST_PATH]/db/common/deleteme/deleteme.txt
+ INFO: removing path [TEST_PATH]/db/common/deleteme
+ INFO: setting [TEST_PATH]/db/common/base mode to 0700
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 path(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common/base/base1.txt exists and matches backup (4B, 57%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common/PG_VERSION restore (3B, 100%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add tablespace 1)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: 18B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: total backup size: 18B
+ INFO: new backup label: [BACKUP-INCR-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (resume and add tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
- INFO: cleaning backup tmp path
- DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
- DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
+ INFO: cleaning backup tmp path
+DEBUG: File->manifest: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/link-test
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz
+DEBUG: remove file [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-INCR-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - new diff)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (new type 'diff' does not match aborted type 'incr') - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-1]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-1], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-1] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (cannot resume - disabled)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
- DEBUG: Found tablespace 1
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
- DEBUG: File->wait: db:absolute
- WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- INFO: 25B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common/pg_tblspc
+DEBUG: Found tablespace 1
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2
+DEBUG: File->wait: db:absolute
+ WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/1, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts1/tablespace1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/1
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: total backup size: 25B
+ INFO: new backup label: [BACKUP-DIFF-2]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-2], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 115 (fail on used path)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 115 (fail on used path)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
- INFO: checking/cleaning db path [TEST_PATH]/db/common
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
- ERROR: [115] cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common/backup.manifest
+ INFO: checking/cleaning db path [TEST_PATH]/db/common
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common
+ERROR: [115]: cannot restore to path '[TEST_PATH]/db/common' that contains files - try using --delta if this is what you intended
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on undef format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on undef format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', expect exit 104 (fail on mismatch format)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', expect exit 104 (fail on mismatch format)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
- ERROR: [104] backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common/backup.manifest, destination_path_create = false
+ERROR: [104]: backup format of [TEST_PATH]/db/common/backup.manifest is 0 but 3 is required by this version of PgBackRest. If you are attempting an incr/diff backup you will need to take a new full backup. If you are trying to restore, you''ll need to use a version that supports format 0.
+DEBUG: safe exit called, terminating threads
-restore, backup '[BACKUP_LABEL]', remap (remap all paths)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP_LABEL] --stanza=db restore
+restore, backup '[BACKUP-DIFF-2]', remap (remap all paths)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --set=[BACKUP-DIFF-2] --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: base path remapped to [TEST_PATH]/db/common-2
- INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
- INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-2]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: base path remapped to [TEST_PATH]/db/common-2
+ INFO: remapping tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+ INFO: checking/cleaning db path [TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/base, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/path-test, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->link_create: db:absolute:/test to db:absolute:[TEST_PATH]/db/common-2/link-test, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts1-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/1, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->link_create: db:absolute:[TEST_PATH]/db/tablespace/ts2-2 to db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, hard = false, relative = false, destination_path_create = true
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/badchecksum.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/badchecksum.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt restore (11B, 34%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/base/base1.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/base/base1.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/base/base1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt restore (4B, 46%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/PG_VERSION.gz to local db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp to absolute:[TEST_PATH]/db/common-2/PG_VERSION, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION restore (3B, 56%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt restore (7B, 78%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 13B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 13B
+ INFO: new backup label: [BACKUP-INCR-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (update files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- INFO: 8B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-INCR-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-2]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-INCR-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 100%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+ INFO: total backup size: 8B
+ INFO: new backup label: [BACKUP-INCR-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (no updates)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
- INFO: 39B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 28%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (8B, 48%) checksum 9a53d532e27785e681766c98516a5e93f096a501
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 79%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: total backup size: 39B
+ INFO: new backup label: [BACKUP-DIFF-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
incr backup (remove files - but won't affect manifest)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = incr
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 1, 1): ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F(\_[0-9]{8}\-[0-9]{6}(D|I)){0,1}$, sort reverse
+ INFO: last backup label = [BACKUP-DIFF-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/base/base/base2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt from [BACKUP-DIFF-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+ INFO: new backup label: [BACKUP-INCR-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-INCR-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-INCR-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (remove files during backup)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=1
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- INFO: skipped file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 31B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-2], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-2]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-2]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+ INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 74%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 31B
+ INFO: new backup label: [BACKUP-DIFF-4]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-4], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-4] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
full backup
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
- DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- INFO: 42B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = full
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/PG_VERSION to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 7%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 33%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base1.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base1.txt (9B, 54%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, destination_path_create = true
+DEBUG: File->path_create: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->exists: absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 71%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 100%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+ INFO: total backup size: 42B
+ INFO: new backup label: [BACKUP-FULL-3]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-FULL-3], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
diff backup (add files)
> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: cluster path is [TEST_PATH]/db/common-2
- DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
- DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
- DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
- INFO: last backup label = [BACKUP_LABEL], version = [VERSION]
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: Found tablespace 2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: Manifest->build
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
- DEBUG: File->wait: db:absolute
- DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
- DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
- DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
- DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP_LABEL]
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
- DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION_TIME], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
- INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- INFO: 9B total backup
- INFO: new backup label: [BACKUP_LABEL]
- DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP_LABEL], destination_path_create = false
- DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
- DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
- DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
- INFO: archive rentention type not set - archive logs will not be expired
- DEBUG: safe exit called, terminating threads
+ INFO: backup start: type = diff
+DEBUG: cluster path is [TEST_PATH]/db/common-2
+DEBUG: File->path_create: backup:cluster:[TEST_PATH]/backrest/backup/db, mode [undef]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db
+DEBUG: backup_regexp_get(1, 0, 0): ^[0-9]{8}\-[0-9]{6}F$
+DEBUG: File->list: backup:cluster:[TEST_PATH]/backrest/backup/db, expression ^[0-9]{8}\-[0-9]{6}F$, sort reverse
+ INFO: last backup label = [BACKUP-FULL-3], version = [VERSION-1]
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: Found tablespace 2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: Manifest->build
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/tablespace/ts2-2
+DEBUG: File->wait: db:absolute
+DEBUG: creating backup path [TEST_PATH]/backrest/temp/db.tmp
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/path-test, mode [undef]
+DEBUG: File->path_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: File->link_create: backup:absolute:/test to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/link-test, hard = false, relative = false, destination_path_create = false
+DEBUG: hard-linking [TEST_PATH]/db/common-2/PG_VERSION from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/PG_VERSION to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/badchecksum.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/badchecksum.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/common-2/base/base1.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/base/base/base1.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base, mode [undef]
+DEBUG: File->link_create: backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2 to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc/2, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: hard-linking [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt from [BACKUP-FULL-3]
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-FULL-3]/tablespace/2/tablespace2c.txt to backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, hard = true, relative = false, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/temp/db.tmp/tablespace/2, mode [undef]
+DEBUG: File->copy: remote db:absolute:[TEST_PATH]/db/common-2/base/base2.txt to local backup:tmp:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, source_compressed = false, destination_compress = true, ignore_missing_source = true, destination_path_create = true, modification_time = [MODIFICATION-TIME-1], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/backrest/temp/db.tmp/file.tmp to absolute:[TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, destination_path_create = true
+ INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (9B, 100%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+ INFO: total backup size: 9B
+ INFO: new backup label: [BACKUP-DIFF-5]
+DEBUG: moving [TEST_PATH]/backrest/temp/db.tmp to [TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->move: backup:tmp to backup:cluster:[BACKUP-DIFF-5], destination_path_create = false
+DEBUG: File->remove: backup:cluster:[TEST_PATH]/backrest/backup/db/latest
+DEBUG: File->link_create: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5] to backup:cluster:[TEST_PATH]/backrest/backup/db/latest, hard = false, relative = true, destination_path_create = true
+DEBUG: File->path_create: backup:absolute:[TEST_PATH]/backrest/backup/db, mode [undef]
+ INFO: backup stop
+ INFO: archive rentention type not set - archive logs will not be expired
+DEBUG: safe exit called, terminating threads
-restore delta, backup '[BACKUP_LABEL]' (no tablespace remap)
-> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP_LABEL] --no-tablespace --stanza=db restore
+restore delta, backup '[BACKUP-DIFF-5]' (no tablespace remap)
+> [BACKREST_BIN_PATH]/pg_backrest.pl --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-5] --no-tablespace --stanza=db restore
------------------------------------------------------------------------------------------------------------------------------------
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
- INFO: Restoring backup set [BACKUP_LABEL]
- DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
- INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
- INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: 1 file(s) removed during cleanup
- INFO: 1 link(s) removed during cleanup
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
- DEBUG: starting restore in main process
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
- DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
- INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
- DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP_LABEL]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION_TIME], mode = 0600, user = [USER], group = [GROUP]
- DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER] = staff
- DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
- INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
- DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
- INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
- INFO: restore complete
- DEBUG: safe exit called, terminating threads
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/postmaster.pid
+ INFO: Restoring backup set [BACKUP-DIFF-5]
+DEBUG: File->exists: backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/backup.manifest to local db:absolute:[TEST_PATH]/db/common-2/backup.manifest, source_compressed = false, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [undef], mode = [undef], user = [undef], group = [undef]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/backup.manifest.backrest.tmp to absolute:[TEST_PATH]/db/common-2/backup.manifest, destination_path_create = false
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/backup.manifest
+ INFO: remapping tablespace 2 to [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->manifest: db:absolute:[TEST_PATH]/db/common-2
+ INFO: removing file/link [TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: checking/cleaning db path [TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+ INFO: 1 file(s) removed during cleanup
+ INFO: 1 link(s) removed during cleanup
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/path-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: File->path_create: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2, mode 0700
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/link-test
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2
+DEBUG: starting restore in main process
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/badchecksum.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/badchecksum.txt exists and matches backup (11B, 21%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base2.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base2.txt exists and matches backup (9B, 39%) checksum cafac3c59553f2cfde41ce2e62e7662295f108c0
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/base/base1.txt, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/base/base1.txt exists and matches backup (9B, 56%) checksum 7579ada0808d7f98087a0a586d0df9de009cdc33
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION
+DEBUG: File->hash: db:absolute:[TEST_PATH]/db/common-2/PG_VERSION, compressed = false, hash_type = sha1
+ INFO: [TEST_PATH]/db/common-2/PG_VERSION exists and matches backup (3B, 62%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt restore (12B, 86%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt
+DEBUG: File->copy: remote backup:cluster:[TEST_PATH]/backrest/backup/db/[BACKUP-DIFF-5]/tablespace/2/tablespace2.txt.gz to local db:absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, source_compressed = true, destination_compress = false, ignore_missing_source = false, destination_path_create = false, modification_time = [MODIFICATION-TIME-1], mode = 0600, user = [USER-1], group = [GROUP-1]
+DEBUG: File->owner: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, user = [USER-1], group = [GROUP-1]
+DEBUG: File->move: absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp to absolute:[TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, destination_path_create = false
+ INFO: [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt restore (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+DEBUG: File->remove: db:absolute:[TEST_PATH]/db/common-2/recovery.conf
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore complete
+DEBUG: safe exit called, terminating threads
[parent: 49fe40850fad]