pgbackrest.git / summary / log / commit / refs
commit 5c815e4fc0e2c8a9ea162963f32d5679d54fc852
Author: David Steele <david@pgmasters.net>
Date: Tue Feb 02 19:33:15 2016 +0000
Closed #58: Get catalog number for better tablespace copying
When backing up and restoring tablespaces pgBackRest only operates on the subdirectory created for the version of PostgreSQL being run against. Since multiple versions can live in a tablespace (especially during a binary upgrade) this prevents too many files from being copied during a backup and other versions possibly being wiped out during a `--delta` restore. This only applies to PostgreSQL >= 9.0 -- before that only one PostgreSQL version could use a tablespace.
CHANGELOG.md | 2 +
doc/xml/change-log.xml | 3 +
lib/BackRest/Backup.pm | 20 ++-
lib/BackRest/Manifest.pm | 22 ++-
lib/BackRest/Restore.pm | 35 ++++-
test/lib/BackRestTest/BackupCommonTest.pm | 58 ++++++-
test/lib/BackRestTest/BackupTest.pm | 22 +++
test/lib/BackRestTest/Common/LogTest.pm | 1 +
test/log/backup-synthetic-001.log | 243 +++++++++++++++++-------------
test/log/backup-synthetic-002.log | 235 ++++++++++++++++-------------
test/log/backup-synthetic-003.log | 243 +++++++++++++++++-------------
test/log/backup-synthetic-004.log | 235 ++++++++++++++++-------------
test/log/backup-synthetic-005.log | 207 ++++++++++++++-----------
test/log/backup-synthetic-006.log | 207 ++++++++++++++-----------
test/log/backup-synthetic-007.log | 215 +++++++++++++++-----------
test/log/backup-synthetic-008.log | 207 ++++++++++++++-----------
16 files changed, 1167 insertions(+), 788 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2b20cdc7b..4b40b9018 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,8 @@ __No Release Date Set__
* The `retention-archive` option can now be be safely set to less than backup retention (`retention-full` or `retention-diff`) without also specifying `archive-copy=n`. The WAL required to make the backups that fall outside of archive retention consistent will be preserved in the archive. However, in this case PITR will still not be possible for the backups that fall outside of archive retention.
+* When backing up and restoring tablespaces pgBackRest only operates on the subdirectory created for the version of PostgreSQL being run against. Since multiple versions can live in a tablespace (especially during a binary upgrade) this prevents too many files from being copied during a backup and other versions possibly being wiped out during a `--delta` restore. This only applies to PostgreSQL >= 9.0 -- before that only one PostgreSQL version could use a tablespace.
+
* Generate an error when `archive-check=y` but `archive_command` does not execute `pg_backrest`. _Contributed by Jason O'Donnell_.
* When restore `--set=latest` (the default) the actual backup restored will be output to the log.
diff --git a/doc/xml/change-log.xml b/doc/xml/change-log.xml
index d4302c6f1..3cf085765 100644
--- a/doc/xml/change-log.xml
+++ b/doc/xml/change-log.xml
@@ -20,6 +20,9 @@
<release-feature>
<text>The <setting>retention-archive</setting> option can now be be safely set to less than backup retention (<setting>retention-full</setting> or <setting>retention-diff</setting>) without also specifying <setting>archive-copy=n</setting>. The WAL required to make the backups that fall outside of archive retention consistent will be preserved in the archive. However, in this case PITR will still not be possible for the backups that fall outside of archive retention.</text>
</release-feature>
+ <release-feature>
+ <text>When backing up and restoring tablespaces <backrest/> only operates on the subdirectory created for the version of <postgres/> being run against. Since multiple versions can live in a tablespace (especially during a binary upgrade) this prevents too many files from being copied during a backup and other versions possibly being wiped out during a <setting>--delta</setting> restore. This only applies to <postgres/> >= 9.0 -- before that only one <postgres/> version could use a tablespace.</text>
+ </release-feature>
<release-feature>
<text>Generate an error when <setting>archive-check=y</setting> but <setting>archive_command</setting> does not execute <file>pg_backrest</file>. <i>Contributed by Jason O'Donnell</i>.</text>
</release-feature>
diff --git a/lib/BackRest/Backup.pm b/lib/BackRest/Backup.pm
index e1f5c09c0..6ffc52007 100644
--- a/lib/BackRest/Backup.pm
+++ b/lib/BackRest/Backup.pm
@@ -409,13 +409,21 @@ sub processManifest
$strBackupDestinationPath = $strPathKey;
# Create links for tablespaces
- if ($oBackupManifest->test(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_LINK) && $bFullCreate)
+ if ($oBackupManifest->test(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_LINK))
{
- $self->{oFile}->linkCreate(PATH_BACKUP_TMP, $strBackupDestinationPath,
- PATH_BACKUP_TMP,
- 'base/pg_tblspc/' . $oBackupManifest->get(MANIFEST_SECTION_BACKUP_PATH,
- $strPathKey, MANIFEST_SUBKEY_LINK),
- false, true, true);
+ if ($bFullCreate)
+ {
+ $self->{oFile}->linkCreate(PATH_BACKUP_TMP, $strBackupDestinationPath,
+ PATH_BACKUP_TMP,
+ 'base/pg_tblspc/' . $oBackupManifest->get(MANIFEST_SECTION_BACKUP_PATH,
+ $strPathKey, MANIFEST_SUBKEY_LINK),
+ false, true, true);
+ }
+
+ if ($oBackupManifest->numericGet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) >= 9.0)
+ {
+ $strBackupSourcePath .= '/' . $oBackupManifest->tablespacePathGet();
+ }
}
# If this is a full backup or hard-linked then create all paths and links
diff --git a/lib/BackRest/Manifest.pm b/lib/BackRest/Manifest.pm
index 8159dfe15..1792f2fc1 100644
--- a/lib/BackRest/Manifest.pm
+++ b/lib/BackRest/Manifest.pm
@@ -376,6 +376,19 @@ sub valid
(defined($strSubKey) ? ", subkey '$strSubKey'" : '') . ' is not valid');
}
+####################################################################################################################################
+# tablespacePathGet
+#
+# Get the unique path assigned by Postgres for the tablespace.
+####################################################################################################################################
+sub tablespacePathGet
+{
+ my $self = shift;
+
+ return('PG_' . $self->get(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) .
+ '_' . $self->get(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_CATALOG));
+}
+
####################################################################################################################################
# build
#
@@ -408,6 +421,8 @@ sub build
);
# If no level is defined then it must be base
+ my $strTablespacePath;
+
if (!defined($strLevel))
{
$strLevel = MANIFEST_KEY_BASE;
@@ -439,10 +454,15 @@ sub build
}
}
}
+ elsif ($self->numericGet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) >= 9.0)
+ {
+ $strTablespacePath = $self->tablespacePathGet();
+ }
# Get the manifest for this level
my %oManifestHash;
- $oFile->manifest(PATH_DB_ABSOLUTE, $strDbClusterPath, \%oManifestHash);
+ $oFile->manifest(PATH_DB_ABSOLUTE, $strDbClusterPath .
+ (defined($strTablespacePath) ? "/${strTablespacePath}" : ''), \%oManifestHash);
$self->set(MANIFEST_SECTION_BACKUP_PATH, $strLevel, MANIFEST_SUBKEY_PATH, $strDbClusterPath);
diff --git a/lib/BackRest/Restore.pm b/lib/BackRest/Restore.pm
index afbf4eb6a..a00cef7ff 100644
--- a/lib/BackRest/Restore.pm
+++ b/lib/BackRest/Restore.pm
@@ -360,6 +360,13 @@ sub clean
{
my $strPath = $oManifest->get(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_PATH);
+ # Update path if this is a tablespace
+ if ($oManifest->numericGet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) >= 9.0 &&
+ $oManifest->test(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_LINK))
+ {
+ $strPath .= '/' . $oManifest->tablespacePathGet();
+ }
+
&log(INFO, "check/clean db path ${strPath}");
if (!$self->{oFile}->exists(PATH_DB_ABSOLUTE, $strPath))
@@ -515,11 +522,24 @@ sub build
# Build paths/links in each restore path
foreach my $strSectionPathKey ($oManifest->keys(MANIFEST_SECTION_BACKUP_PATH))
{
+ my $strSection = "${strSectionPathKey}:path";
my $strSectionPath = $oManifest->get(MANIFEST_SECTION_BACKUP_PATH, $strSectionPathKey, MANIFEST_SUBKEY_PATH);
- # Create all paths in the manifest that do not already exist
- my $strSection = "${strSectionPathKey}:path";
+ # Update path if this is a tablespace
+ if ($oManifest->numericGet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) >= 9.0 &&
+ $oManifest->test(MANIFEST_SECTION_BACKUP_PATH, $strSectionPathKey, MANIFEST_SUBKEY_LINK))
+ {
+ $strSectionPath .= '/' . $oManifest->tablespacePathGet();
+ # Create the tablespace if it doesn't exist
+ if (!$self->{oFile}->exists(PATH_DB_ABSOLUTE, $strSectionPath))
+ {
+ $self->{oFile}->pathCreate(PATH_DB_ABSOLUTE, $strSectionPath,
+ $oManifest->get($strSection, '.', MANIFEST_SUBKEY_MODE));
+ }
+ }
+
+ # Create all paths in the manifest that do not already exist
foreach my $strName ($oManifest->keys($strSection))
{
# Skip the root path
@@ -751,6 +771,14 @@ sub process
foreach my $strPathKey ($oManifest->keys(MANIFEST_SECTION_BACKUP_PATH))
{
my $strSection = "${strPathKey}:file";
+ my $strDestinationPath = $oManifest->get(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_PATH);
+
+ # Update path if this is a tablespace
+ if ($oManifest->numericGet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) >= 9.0 &&
+ $oManifest->test(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_LINK))
+ {
+ $strDestinationPath .= '/' . $oManifest->tablespacePathGet();
+ }
if ($oManifest->test($strSection))
{
@@ -788,8 +816,7 @@ sub process
$oRestoreHash{$strPathKey}{$strFileKey}{file} = $strFile;
$oRestoreHash{$strPathKey}{$strFileKey}{size} = $lSize;
$oRestoreHash{$strPathKey}{$strFileKey}{source_path} = $strPathKey;
- $oRestoreHash{$strPathKey}{$strFileKey}{destination_path} =
- $oManifest->get(MANIFEST_SECTION_BACKUP_PATH, $strPathKey, MANIFEST_SUBKEY_PATH);
+ $oRestoreHash{$strPathKey}{$strFileKey}{destination_path} = $strDestinationPath;
$oRestoreHash{$strPathKey}{$strFileKey}{reference} =
$oManifest->boolTest(MANIFEST_SECTION_BACKUP_OPTION, MANIFEST_KEY_HARDLINK, undef, true) ? undef :
$oManifest->get($strSection, $strFile, MANIFEST_SUBKEY_REFERENCE, false);
diff --git a/test/lib/BackRestTest/BackupCommonTest.pm b/test/lib/BackRestTest/BackupCommonTest.pm
index c10967f45..89cbb6e68 100644
--- a/test/lib/BackRestTest/BackupCommonTest.pm
+++ b/test/lib/BackRestTest/BackupCommonTest.pm
@@ -605,6 +605,19 @@ sub BackRestTestBackup_ManifestTablespaceCreate
confess 'unable to stat path ${strPath}';
}
+ my $strPathCreate = $strPath;
+
+ if ($$oManifestRef{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION} >= 9.0)
+ {
+ my $iCatalog = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_CATALOG};
+ $strPathCreate .= '/PG_' . ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION} . "_${iCatalog}";
+ }
+
+ if (!-e $strPathCreate)
+ {
+ BackRestTestCommon_PathCreate($strPathCreate, $strMode);
+ }
+
# Load path into manifest
my $strSection = MANIFEST_TABLESPACE . "/${iOid}:" . MANIFEST_PATH;
@@ -683,8 +696,20 @@ sub BackRestTestBackup_FileCreate
my $lTime = shift;
my $strMode = shift;
+ # Get tablespace path if this is a tablespace
+ my $strPgPath;
+
+ if ($$oManifestRef{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION} >= 9.0 &&
+ defined(${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_LINK}))
+ {
+ my $iCatalog = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_CATALOG};
+
+ $strPgPath = 'PG_' . ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION} . "_${iCatalog}";
+ }
+
# Create actual file location
- my $strPathFile = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_PATH} . "/${strFile}";
+ my $strPathFile = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_PATH} .
+ (defined($strPgPath) ? "/${strPgPath}" : '') . "/${strFile}";
# Create the file
BackRestTestCommon_FileCreate($strPathFile, $strContent, $lTime, $strMode);
@@ -752,8 +777,20 @@ sub BackRestTestBackup_FileRemove
my $strFile = shift;
my $bIgnoreMissing = shift;
+ # Get tablespace path if this is a tablespace
+ my $strPgPath;
+
+ if ($$oManifestRef{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION} >= 9.0 &&
+ defined(${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_LINK}))
+ {
+ my $iCatalog = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_CATALOG};
+
+ $strPgPath = 'PG_' . ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION} . "_${iCatalog}";
+ }
+
# Create actual file location
- my $strPathFile = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_PATH} . "/${strFile}";
+ my $strPathFile = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_PATH} .
+ (defined($strPgPath) ? "/${strPgPath}" : '') . "/${strFile}";
# Remove the file
if (!(defined($bIgnoreMissing) && $bIgnoreMissing && !(-e $strPathFile)))
@@ -959,7 +996,7 @@ sub BackRestTestBackup_BackupBegin
# Set defaults
my $strTest = defined($$oParam{strTest}) ? $$oParam{strTest} : undef;
- my $fTestDelay = defined($$oParam{fTestDelay}) ? $$oParam{fTestDelay} : 0;
+ my $fTestDelay = defined($$oParam{fTestDelay}) ? $$oParam{fTestDelay} : .2;
if (!defined($$oParam{iExpectedExitStatus}) && $iBackupThreadMax > 1)
{
@@ -1456,6 +1493,11 @@ sub BackRestTestBackup_RestoreCompare
# Generate the actual manifest
my $oActualManifest = new BackRest::Manifest("${strTestPath}/" . FILE_MANIFEST, false);
+ $oActualManifest->set(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION, undef,
+ $$oExpectedManifestRef{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_DB_VERSION});
+ $oActualManifest->numericSet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_CATALOG, undef,
+ $$oExpectedManifestRef{&MANIFEST_SECTION_BACKUP_DB}{&MANIFEST_KEY_CATALOG});
+
my $oTablespaceMapRef = undef;
$oActualManifest->build($oFile,
${$oExpectedManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{&MANIFEST_KEY_BASE}{&MANIFEST_SUBKEY_PATH},
@@ -1465,11 +1507,17 @@ sub BackRestTestBackup_RestoreCompare
# Also fudge size if this is a synthetic test - sizes may change during backup.
foreach my $strSectionPathKey ($oActualManifest->keys(MANIFEST_SECTION_BACKUP_PATH))
{
+ my $strSection = "${strSectionPathKey}:" . MANIFEST_FILE;
my $strSectionPath = $oActualManifest->get(MANIFEST_SECTION_BACKUP_PATH, $strSectionPathKey, MANIFEST_SUBKEY_PATH);
- # Create all paths in the manifest that do not already exist
- my $strSection = "${strSectionPathKey}:" . MANIFEST_FILE;
+ # Update path if this is a tablespace
+ if ($oActualManifest->numericGet(MANIFEST_SECTION_BACKUP_DB, MANIFEST_KEY_DB_VERSION) >= 9.0 &&
+ $oActualManifest->test(MANIFEST_SECTION_BACKUP_PATH, $strSectionPathKey, MANIFEST_SUBKEY_LINK))
+ {
+ $strSectionPath .= '/' . $oActualManifest->tablespacePathGet();
+ }
+ # Create all paths in the manifest that do not already exist
if ($oActualManifest->test($strSection))
{
foreach my $strName ($oActualManifest->keys($strSection))
diff --git a/test/lib/BackRestTest/BackupTest.pm b/test/lib/BackRestTest/BackupTest.pm
index 9dbf53a7e..414cf5604 100755
--- a/test/lib/BackRestTest/BackupTest.pm
+++ b/test/lib/BackRestTest/BackupTest.pm
@@ -1019,6 +1019,15 @@ sub BackRestTestBackup_Test
#-----------------------------------------------------------------------------------------------------------------------
$strType = 'full';
+ # Create files in root tblspc paths that should not be copied or deleted.
+ # This will be checked later after a --force restore.
+ my $strDoNotDeleteFile = BackRestTestCommon_DbTablespacePathGet(1, 2) . '/donotdelete.txt';
+ BackRestTestCommon_FileCreate($strDoNotDeleteFile, 'DONOTDELETE-1-2');
+
+ BackRestTestCommon_FileCreate(BackRestTestCommon_DbTablespacePathGet(1) . '/donotdelete.txt', 'DONOTDELETE-1');
+ BackRestTestCommon_FileCreate(BackRestTestCommon_DbTablespacePathGet(2) . '/donotdelete.txt', 'DONOTDELETE-2');
+ BackRestTestCommon_FileCreate(BackRestTestCommon_DbTablespacePathGet(2, 2) . '/donotdelete.txt', 'DONOTDELETE-2-2');
+
my $strTmpPath = BackRestTestCommon_RepoPathGet() . "/temp/${strStanza}.tmp";
BackRestTestCommon_PathMove(BackRestTestCommon_RepoPathGet() . "/backup/${strStanza}/${strFullBackup}",
@@ -1241,6 +1250,19 @@ sub BackRestTestBackup_Test
undef, undef, undef, undef, undef, undef,
'remap all paths');
+ # Restore (make sure file in root tablespace path is not deleted by --delta)
+ #-----------------------------------------------------------------------------------------------------------------------
+ $bDelta = true;
+
+ BackRestTestBackup_Restore($oFile, $strBackup, $strStanza, $bRemote, \%oManifest, \%oRemapHash, $bDelta, $bForce,
+ undef, undef, undef, undef, undef, undef,
+ 'ensure file in tblspc root remains after --delta', undef, '--log-level-console=info');
+
+ if (!-e $strDoNotDeleteFile)
+ {
+ confess "${strDoNotDeleteFile} was deleted by --delta";
+ }
+
# Incr Backup
#-----------------------------------------------------------------------------------------------------------------------
$strType = 'incr';
diff --git a/test/lib/BackRestTest/Common/LogTest.pm b/test/lib/BackRestTest/Common/LogTest.pm
index 012dd6c33..48e160fbf 100644
--- a/test/lib/BackRestTest/Common/LogTest.pm
+++ b/test/lib/BackRestTest/Common/LogTest.pm
@@ -356,6 +356,7 @@ sub regExpReplaceAll
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 = $self->regExpReplace($strLine, 'TS_PATH', "PG\\_[0-9]\\.[0-9]\\_[0-9]{9}");
$strLine = $self->regExpReplace($strLine, 'VERSION',
"version[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}" . BACKREST_VERSION, BACKREST_VERSION . '$');
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP',
diff --git a/test/log/backup-synthetic-001.log b/test/log/backup-synthetic-001.log
index 4e562d450..ea71dbe24 100644
--- a/test/log/backup-synthetic-001.log
+++ b/test/log/backup-synthetic-001.log
@@ -358,9 +358,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -773,8 +773,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -788,12 +788,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -927,9 +927,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -963,11 +963,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -989,13 +989,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = false, strFile = tablespace/1/tablespace1.txt, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1138,9 +1138,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1174,11 +1174,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1192,18 +1192,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1347,9 +1347,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1383,11 +1383,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1401,18 +1401,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1656,16 +1656,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1687,6 +1683,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1712,18 +1714,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1742,6 +1744,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1776,8 +1804,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1786,19 +1814,19 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -1974,8 +2002,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1984,8 +2012,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-INCR-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -2171,8 +2199,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2194,15 +2222,15 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2386,8 +2414,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2397,8 +2425,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksu
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest=>: lSizeTotal = 0
INFO: incr backup size = 0B
INFO: new backup label = [BACKUP-INCR-5]
@@ -2586,8 +2614,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2602,15 +2630,15 @@ DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -2795,8 +2823,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2819,15 +2847,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3034,8 +3062,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3044,8 +3072,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -3226,8 +3254,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3243,6 +3271,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3268,18 +3299,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-002.log b/test/log/backup-synthetic-002.log
index a42a50591..f579c9aed 100644
--- a/test/log/backup-synthetic-002.log
+++ b/test/log/backup-synthetic-002.log
@@ -248,9 +248,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -664,8 +664,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -688,12 +688,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -828,9 +828,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -864,11 +864,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -910,13 +910,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = false, strFile = tablespace/1/tablespace1.txt, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1060,9 +1060,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1096,11 +1096,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1125,18 +1125,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1281,9 +1281,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1317,11 +1317,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1346,18 +1346,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1602,16 +1602,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1633,6 +1629,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1658,18 +1660,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1688,6 +1690,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1722,8 +1750,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1746,15 +1774,15 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -1931,8 +1959,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1955,10 +1983,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-INCR-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -2144,8 +2172,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2171,15 +2199,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2364,8 +2392,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2391,10 +2419,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: Backup->processManifest=>: lSizeTotal = 0
@@ -2585,8 +2613,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2608,15 +2636,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -2802,8 +2830,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2826,15 +2854,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3042,8 +3070,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3066,10 +3094,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -3250,8 +3278,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3267,6 +3295,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3292,18 +3323,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-003.log b/test/log/backup-synthetic-003.log
index bb5eb020e..d28bc1a36 100644
--- a/test/log/backup-synthetic-003.log
+++ b/test/log/backup-synthetic-003.log
@@ -246,9 +246,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -660,8 +660,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -675,12 +675,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -813,9 +813,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -849,11 +849,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -875,13 +875,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = true, strFile = tablespace/1/tablespace1.txt.gz, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1023,9 +1023,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1059,11 +1059,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1077,18 +1077,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1231,9 +1231,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1267,11 +1267,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1285,18 +1285,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1539,16 +1539,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1570,6 +1566,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1595,18 +1597,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1625,6 +1627,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1659,8 +1687,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1669,19 +1697,19 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -1856,8 +1884,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1866,8 +1894,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-INCR-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -2052,8 +2080,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2075,15 +2103,15 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2266,8 +2294,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2277,8 +2305,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksu
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest=>: lSizeTotal = 0
INFO: incr backup size = 0B
INFO: new backup label = [BACKUP-INCR-5]
@@ -2465,8 +2493,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2481,15 +2509,15 @@ DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -2673,8 +2701,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2697,15 +2725,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -2911,8 +2939,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2921,8 +2949,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -3102,8 +3130,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3119,6 +3147,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3144,18 +3175,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-004.log b/test/log/backup-synthetic-004.log
index df0f669db..2381a9418 100644
--- a/test/log/backup-synthetic-004.log
+++ b/test/log/backup-synthetic-004.log
@@ -247,9 +247,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -662,8 +662,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -686,12 +686,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -825,9 +825,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -861,11 +861,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -907,13 +907,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = true, strFile = tablespace/1/tablespace1.txt.gz, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1056,9 +1056,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1092,11 +1092,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1121,18 +1121,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1276,9 +1276,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1312,11 +1312,11 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1341,18 +1341,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1596,16 +1596,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1627,6 +1623,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1652,18 +1654,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1682,6 +1684,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1716,8 +1744,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1740,15 +1768,15 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -1924,8 +1952,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1948,10 +1976,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-INCR-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -2136,8 +2164,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2163,15 +2191,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2355,8 +2383,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2382,10 +2410,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: Backup->processManifest=>: lSizeTotal = 0
@@ -2575,8 +2603,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2598,15 +2626,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -2791,8 +2819,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2815,15 +2843,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3030,8 +3058,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3054,10 +3082,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -3237,8 +3265,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3254,6 +3282,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3279,18 +3310,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-005.log b/test/log/backup-synthetic-005.log
index d5c33eabf..3bafe1cbf 100644
--- a/test/log/backup-synthetic-005.log
+++ b/test/log/backup-synthetic-005.log
@@ -513,9 +513,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -965,7 +965,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 1
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -979,12 +979,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -1153,9 +1153,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1185,9 +1185,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -1209,13 +1209,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = false, strFile = tablespace/1/tablespace1.txt, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1393,9 +1393,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1425,9 +1425,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1441,18 +1441,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1631,9 +1631,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1663,9 +1663,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1679,18 +1679,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1977,16 +1977,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -2008,6 +2004,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -2033,18 +2035,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -2063,6 +2065,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --backup-host=127.0.0.1 --backup-user=backrest --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/local --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -2093,7 +2121,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2102,19 +2130,19 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -2315,7 +2343,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2324,8 +2352,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-INCR-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -2536,7 +2564,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2558,15 +2586,15 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2775,7 +2803,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2785,8 +2813,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksu
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest=>: lSizeTotal = 0
INFO: incr backup size = 0B
INFO: new backup label = [BACKUP-INCR-5]
@@ -2999,7 +3027,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3014,15 +3042,15 @@ DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -3232,7 +3260,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3255,15 +3283,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3488,7 +3516,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3497,8 +3525,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -3731,8 +3759,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3748,6 +3776,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3773,18 +3804,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-006.log b/test/log/backup-synthetic-006.log
index 5dc832fc0..a2818082f 100644
--- a/test/log/backup-synthetic-006.log
+++ b/test/log/backup-synthetic-006.log
@@ -275,9 +275,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -728,7 +728,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 1
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -751,12 +751,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -926,9 +926,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -958,9 +958,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -1002,13 +1002,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = false, strFile = tablespace/1/tablespace1.txt, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1187,9 +1187,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1219,9 +1219,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1246,18 +1246,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1437,9 +1437,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1469,9 +1469,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1496,18 +1496,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1795,16 +1795,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1826,6 +1822,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1851,18 +1853,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1881,6 +1883,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --backup-host=127.0.0.1 --backup-user=backrest --cmd-remote=[BACKREST_BIN] --no-compress --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/local --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1911,7 +1939,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1934,15 +1962,15 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -2144,7 +2172,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2167,10 +2195,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-INCR-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -2381,7 +2409,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2407,15 +2435,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2625,7 +2653,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2651,10 +2679,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: Backup->processManifest=>: lSizeTotal = 0
@@ -2870,7 +2898,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2892,15 +2920,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -3111,7 +3139,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3134,15 +3162,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3368,7 +3396,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3391,10 +3419,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = false, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -3627,8 +3655,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3644,6 +3672,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3669,18 +3700,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-007.log b/test/log/backup-synthetic-007.log
index 497e8d476..cb03de9d8 100644
--- a/test/log/backup-synthetic-007.log
+++ b/test/log/backup-synthetic-007.log
@@ -272,9 +272,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -722,7 +722,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 1
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -736,12 +736,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -908,9 +908,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -940,9 +940,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -964,13 +964,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = true, strFile = tablespace/1/tablespace1.txt.gz, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1146,9 +1146,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1178,9 +1178,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1194,18 +1194,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1382,9 +1382,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1414,9 +1414,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1430,18 +1430,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath =
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1726,16 +1726,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1757,6 +1753,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1782,18 +1784,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1812,6 +1814,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --backup-host=127.0.0.1 --backup-user=backrest --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/local --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1842,7 +1870,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1851,19 +1879,19 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -2062,7 +2090,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2071,8 +2099,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-DIFF-2]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-INCR-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -2281,7 +2309,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2303,15 +2331,15 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2518,7 +2546,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2528,8 +2556,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksu
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base2.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-2]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: Backup->processManifest=>: lSizeTotal = 0
INFO: incr backup size = 0B
INFO: new backup label = [BACKUP-INCR-5]
@@ -2740,7 +2768,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2755,15 +2783,15 @@ DEBUG: File->exists=>: bExists = false
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -2971,7 +2999,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2994,15 +3022,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3225,7 +3253,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3234,8 +3262,8 @@ DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/PG_VERSION
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/badchecksum.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/base/base1.txt to [BACKUP-FULL-3]
DEBUG: Backup->processManifest: reference [TEST_PATH]/db/common-2/global/pg_control to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
-DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: reference [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/base, strPathType = absolute
@@ -3466,8 +3494,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3483,6 +3511,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3508,18 +3539,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
diff --git a/test/log/backup-synthetic-008.log b/test/log/backup-synthetic-008.log
index 2cab2c56d..3e6b8a601 100644
--- a/test/log/backup-synthetic-008.log
+++ b/test/log/backup-synthetic-008.log
@@ -273,9 +273,9 @@ DEBUG: info stop
DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
full backup (resume)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=full --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y --type=full
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y --type=full
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -724,7 +724,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 1
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -747,12 +747,12 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 61%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 100%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
DEBUG: Backup->processManifest=>: lSizeTotal = 18
INFO: incr backup size = 18B
INFO: new backup label = [BACKUP-INCR-1]
@@ -920,9 +920,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
incr backup (resume and add tablespace 2)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0 --test-point=backup-resume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup --test --test-delay=0.2 --test-point=backup-resume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-resume=y
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-resume=y
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -952,9 +952,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup of same type exists, will be cleaned to remove invalid files and resumed
INFO: clean backup temp path: [TEST_PATH]/backrest/temp/db.tmp
@@ -996,13 +996,13 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->hashSize(): bCompressed = true, strFile = tablespace/1/tablespace1.txt.gz, strHashType = <sha1>, strPathType = backup:tmp
DEBUG: File->hashSize=>: iSize = 7, strHash = d85de07d6421d90aa9191c11c889bfde43680f0f
- INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: checksum resumed file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: incr backup size = 25B
INFO: new backup label = [BACKUP-INCR-2]
@@ -1179,9 +1179,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - new diff)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1211,9 +1211,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (new backup-type 'diff' does not match aborted backup-type 'incr') - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1238,18 +1238,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-1]
@@ -1427,9 +1427,9 @@ db-version="9.3"
1={"db-catalog-version":201306121,"db-control-version":937,"db-system-id":6156904820763115222,"db-version":"9.3"}
diff backup (cannot resume - disabled)
-> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0 --test-point=backup-noresume=y
+> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --no-resume --type=diff --stanza=db backup --test --test-delay=0.2 --test-point=backup-noresume=y
------------------------------------------------------------------------------------------------------------------------------------
- INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0 --test-point=backup-noresume=y --type=diff
+ INFO: backup start: --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --config-remote=[TEST_PATH]/db/pg_backrest.conf --db-host=127.0.0.1 --db-path=[TEST_PATH]/db/common --db-port=[PORT-1] --db-socket-path=[TEST_PATH]/db --db-user=vagrant --hardlink --log-level-console=debug --log-level-file=trace --no-start-stop --repo-path=[TEST_PATH]/backrest --repo-remote-path=[TEST_PATH]/backrest --no-resume --stanza=db --start-fast --test --test-delay=0.2 --test-point=backup-noresume=y --type=diff
DEBUG: Common:::Lock::lockAquire(): bFailOnNoLock = <true>, bRemote = <false>, iProcessIdx = [undef], strLockType = backup
DEBUG: Common:::Lock::lockStopTest(): strRepoPath = [TEST_PATH]/backrest
DEBUG: Common:::Lock::lockAquire=>: bResult = true
@@ -1459,9 +1459,9 @@ DEBUG: Manifest->build: found tablespace 1
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts1, strLevel = tablespace/1
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1], strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
WARN: aborted backup exists, but cannot be resumed (resume is disabled) - will be dropped and recreated
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1486,18 +1486,18 @@ DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPat
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/badchecksum.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common/badchecksum.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/badchecksum.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common/badchecksum.txt (11B, 44%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/1/tablespace1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1/tablespace1.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/1, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts1/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts1/[TS_PATH-1]/tablespace1.txt (7B, 72%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 25
INFO: diff backup size = 25B
INFO: new backup label = [BACKUP-DIFF-2]
@@ -1783,16 +1783,12 @@ DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:a
DEBUG: File->exists=>: bExists = true
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
- INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->exists=>: bExists = true
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
-DEBUG: File->manifestRecurse(): iDepth = 0, oManifestHashRef = [hash], strPathFileOp = [undef], strPathOp = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -1814,6 +1810,12 @@ DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
DEBUG: File->linkCreate(): bHard = <false>, bPathCreate = <true>, bRelative = <false>, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2, strDestinationPathType = db:absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2, strSourcePathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2, strPathType = db:absolute
@@ -1839,18 +1841,18 @@ DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <fals
DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/PG_VERSION, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION.backrest.tmp, strSourcePathType = absolute
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/1/tablespace1.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
@@ -1869,6 +1871,32 @@ DEBUG: Common:::Lock::lockRelease(): bFailOnNoLock = false
----------------------------------------------------------
restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --stanza=db archive-get %f "%p"'
+restore delta, backup '[BACKUP-DIFF-2]', remap (ensure file in tblspc root remains after --delta)
+> [BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --delta --set=[BACKUP-DIFF-2] --log-level-console=info --stanza=db restore
+------------------------------------------------------------------------------------------------------------------------------------
+ INFO: restore start: --backup-host=127.0.0.1 --backup-user=backrest --cmd-remote=[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --config-remote=[TEST_PATH]/backrest/pg_backrest.conf --delta --log-level-console=info --log-level-file=trace --repo-path=[TEST_PATH]/local --repo-remote-path=[TEST_PATH]/backrest --set=[BACKUP-DIFF-2] --stanza=db --tablespace-map=1=[TEST_PATH]/db/tablespace/ts1-2 --tablespace-map=2=[TEST_PATH]/db/tablespace/ts2-2
+ INFO: restore backup set [BACKUP-DIFF-2]
+ INFO: remap base path to [TEST_PATH]/db/common-2
+ INFO: remap tablespace 1 to [TEST_PATH]/db/tablespace/ts1-2
+ INFO: remap tablespace 2 to [TEST_PATH]/db/tablespace/ts2-2
+ INFO: check/clean db path [TEST_PATH]/db/common-2
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]
+ INFO: check/clean db path [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]
+ INFO: cleanup removed 1 file
+ INFO: restore file [TEST_PATH]/db/common-2/badchecksum.txt - exists and matches backup (11B, 0%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
+ INFO: restore file [TEST_PATH]/db/common-2/base/base1.txt - exists and matches backup (4B, 0%) checksum a3b357a3e395e43fcfb19bb13f3c1b5179279593
+ INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
+ INFO: restore file [TEST_PATH]/db/tablespace/ts1-2/[TS_PATH-1]/tablespace1.txt - exists and matches backup (7B, 0%) checksum d85de07d6421d90aa9191c11c889bfde43680f0f
+ INFO: restore file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt - exists and matches backup (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: wrote [TEST_PATH]/db/common-2/recovery.conf
+ INFO: restore global/pg_control (copied last to ensure aborted restores cannot be started)
+ INFO: restore file [TEST_PATH]/db/common-2/global/pg_control (8KB, 100%) checksum 56fe5780b8dca9705e0c22032a83828860a21235
+ INFO: restore stop
+
++ supplemental file: [TEST_PATH]/db/common-2/recovery.conf
+----------------------------------------------------------
+restore_command = '[BACKREST_BIN] --config=[TEST_PATH]/db/pg_backrest.conf --log-level-console=info --stanza=db archive-get %f "%p"'
+
incr backup (add files and remove tablespace 2)
> [BACKREST_BIN] --config=[TEST_PATH]/backrest/pg_backrest.conf --no-start-stop --stanza=db backup
------------------------------------------------------------------------------------------------------------------------------------
@@ -1899,7 +1927,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -1922,15 +1950,15 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 38%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 100%) checksum e324463005236d83e6e54795dbddd20a74533bf3
DEBUG: Backup->processManifest=>: lSizeTotal = 13
INFO: incr backup size = 13B
INFO: new backup label = [BACKUP-INCR-3]
@@ -2130,7 +2158,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2153,10 +2181,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-2]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-2]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-2]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-INCR-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-INCR-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-INCR-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base1.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base1.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -2365,7 +2393,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2391,15 +2419,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/base/base2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/base/base2.txt (5B, 61%) checksum 09b5e31766be1dba1ec27de82f975c1b6eea2a92
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2b.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2b.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt (8B, 82%) checksum e324463005236d83e6e54795dbddd20a74533bf3
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 39
INFO: diff backup size = 39B
INFO: new backup label = [BACKUP-DIFF-3]
@@ -2607,7 +2635,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2633,10 +2661,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2b.txt to [BACKUP-DIFF-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2b.txt to [BACKUP-DIFF-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2b.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-DIFF-3]/tablespace/2/tablespace2b.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: Backup->processManifest=>: lSizeTotal = 0
@@ -2850,7 +2878,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -2872,15 +2900,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
INFO: backup file [TEST_PATH]/db/common-2/badchecksum.txt (11B, 35%) checksum f927212cd08d11a42a666b2f04235398e9ceeb51
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
INFO: skip file removed by database: [TEST_PATH]/db/common-2/base/base2.txt
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 77%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 31
INFO: diff backup size = 31B
INFO: new backup label = [BACKUP-DIFF-4]
@@ -3089,7 +3117,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [undef], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3112,15 +3140,15 @@ DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TE
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/PG_VERSION.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/PG_VERSION, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/base/PG_VERSION.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
INFO: backup file [TEST_PATH]/db/common-2/PG_VERSION (3B, 99%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2c.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2c.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
DEBUG: File->pathCreate(): bIgnoreExists = true, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = absolute
DEBUG: File->exists=>: bExists = false
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt (12B, 99%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = tablespace/2/tablespace2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt, strSourcePathType = db:absolute, strUser = [undef]
DEBUG: File->move(): bDestinationPathCreate = true, strDestinationFile = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2/tablespace2.txt.gz, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/backrest/temp/db.tmp/file.tmp, strSourcePathType = absolute
- INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+ INFO: backup file [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt (7B, 100%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: Backup->processManifest=>: lSizeTotal = 8234
INFO: full backup size = 8KB
INFO: new backup label = [BACKUP-FULL-3]
@@ -3344,7 +3372,7 @@ DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db
DEBUG: Manifest->build: found tablespace 2
DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: Manifest->build(): bNoStartStop = true, oFile = [object], oLastManifest = [object], oTablespaceMapRef = [hash], strDbClusterPath = [TEST_PATH]/db/tablespace/ts2-2, strLevel = tablespace/2
-DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2, strPathType = db:absolute
+DEBUG: File->manifest(): oManifestHashRef = [hash], strPath = [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->wait(): strPathType = db:absolute
DEBUG: Backup->process: create temp backup path [TEST_PATH]/backrest/temp/db.tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [undef], strPathType = backup:tmp
@@ -3367,10 +3395,10 @@ DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = fal
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/global, strPathType = backup:absolute
DEBUG: File->linkCreate(): bHard = false, bPathCreate = true, bRelative = true, strDestinationFile = base/pg_tblspc/2, strDestinationPathType = backup:tmp, strSourceFile = tablespace/2, strSourcePathType = backup:tmp
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/base/pg_tblspc, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
-DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/tablespace2c.txt to [BACKUP-FULL-3]
+DEBUG: Backup->processManifest: hardlink [TEST_PATH]/db/tablespace/ts2-2/[TS_PATH-1]/tablespace2c.txt to [BACKUP-FULL-3]
DEBUG: File->linkCreate(): bHard = true, bPathCreate = true, bRelative = false, strDestinationFile = tablespace/2/tablespace2c.txt, strDestinationPathType = backup:tmp, strSourceFile = [BACKUP-FULL-3]/tablespace/2/tablespace2c.txt, strSourcePathType = backup:cluster
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = <0750>, strPath = [TEST_PATH]/backrest/temp/db.tmp/tablespace/2, strPathType = backup:absolute
DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = true, bDestinationPathCreate = true, bIgnoreMissingSource = true, bSourceCompressed = false, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = base/base/base2.txt.gz, strDestinationPathType = backup:tmp, strGroup = [undef], strMode = <0640>, strSourceFile = [TEST_PATH]/db/common-2/base/base2.txt, strSourcePathType = db:absolute, strUser = [undef]
@@ -3601,8 +3629,8 @@ DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPa
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = path-test, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->manifestRecurse(): iDepth = 1, oManifestHashRef = [hash], strPathFileOp = pg_tblspc, strPathOp = [TEST_PATH]/db/common-2, strPathType = db:absolute
INFO: remove file/link [TEST_PATH]/db/common-2/pg_tblspc/2
- INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
+ INFO: check/clean db path [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
INFO: cleanup removed 1 file, 1 link
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/base, strPathType = db:absolute
@@ -3618,6 +3646,9 @@ DEBUG: File->exists=>: bExists = false
DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/link-test, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
+DEBUG: File->exists=>: bExists = false
+DEBUG: File->pathCreate(): bIgnoreExists = <false>, strMode = 0700, strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1], strPathType = db:absolute
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2, strPathType = db:absolute
@@ -3643,18 +3674,18 @@ DEBUG: File->exists=>: bExists = true
DEBUG: File->hashSize(): bCompressed = <false>, strFile = [TEST_PATH]/db/common-2/PG_VERSION, strHashType = <sha1>, strPathType = db:absolute
DEBUG: File->hashSize=>: iSize = 3, strHash = e1f7a3a299f62225cba076fc6d3d6e677f303482
INFO: restore file [TEST_PATH]/db/common-2/PG_VERSION - exists and matches backup (3B, 0%) checksum e1f7a3a299f62225cba076fc6d3d6e677f303482
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strPathType = db:absolute
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
-DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strPathType = db:absolute
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2c.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2c.txt (12B, 0%) checksum dfcb8679956b734706cf87259d50c88f83e80e66
+DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strPathType = db:absolute
DEBUG: File->exists=>: bExists = false
-DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
-DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
-DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
- INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
+DEBUG: File->copy(): bAppendChecksum = <false>, bDestinationCompress = <false>, bDestinationPathCreate = <false>, bIgnoreMissingSource = <false>, bSourceCompressed = true, lModificationTime = [MODIFICATION-TIME-2], strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = db:absolute, strGroup = [GROUP-1], strMode = 0600, strSourceFile = [BACKUP-DIFF-5]/tablespace/2/tablespace2.txt.gz, strSourcePathType = backup:cluster, strUser = [USER-1]
+DEBUG: File->owner(): strFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strGroup = [GROUP-1], strPathType = absolute, strUser = [USER-1]
+DEBUG: File->move(): bDestinationPathCreate = false, strDestinationFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt, strDestinationPathType = absolute, strSourceFile = [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt.backrest.tmp, strSourcePathType = absolute
+ INFO: restore file [TEST_PATH]/db/common-2/pg_tblspc/2/[TS_PATH-1]/tablespace2.txt (7B, 0%) checksum dc7f76e43c46101b47acc55ae4d593a9e6983578
DEBUG: File->exists(): strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
DEBUG: File->exists=>: bExists = true
DEBUG: File->remove(): bIgnoreMissing = <true>, bTemp = [undef], strPath = [TEST_PATH]/db/common-2/recovery.conf, strPathType = db:absolute
[parent: 24a1ad31d0df]