You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Remove error when overlapping timelines are detected.
Overlapping timelines are valid in many Point-in-Time-Recovery (PITR) scenarios. Reported by blogh.
This commit is contained in:
@@ -889,7 +889,9 @@ sub process
|
||||
|
||||
foreach my $strArchive (@stryArchive)
|
||||
{
|
||||
my $strArchiveFile = walSegmentFind($oStorageRepo, $strArchiveId, $strArchive, cfgOption(CFGOPT_ARCHIVE_TIMEOUT));
|
||||
my $strArchiveFile = walSegmentFind(
|
||||
$oStorageRepo, $strArchiveId, substr($strArchiveStop, 0, 8) . $strArchive, cfgOption(CFGOPT_ARCHIVE_TIMEOUT));
|
||||
|
||||
$strArchive = substr($strArchiveFile, 0, 24);
|
||||
|
||||
if (cfgOption(CFGOPT_ARCHIVE_COPY))
|
||||
|
Reference in New Issue
Block a user