You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-06 08:49:29 +02:00
Use raw compression/encryption to bundling and block incremental backup.
Raw encryption was already being used for block incremental. This commit adds raw compression to block incremental where possible (see da918587).
Raw compression/encryption is also added to bundling for a backup set when block incremental is enabled on the full backup. This prevents a break in backward compatibility since block incremental is not backward compatible.
This commit is contained in:
@@ -2162,6 +2162,13 @@ sub restoreCompare
|
||||
$oExpectedManifestRef->{&MANIFEST_SECTION_BACKUP}{'backup-bundle'});
|
||||
}
|
||||
|
||||
if (defined($oExpectedManifestRef->{&MANIFEST_SECTION_BACKUP}{'backup-bundle-raw'}))
|
||||
{
|
||||
$oActualManifest->set(
|
||||
MANIFEST_SECTION_BACKUP, 'backup-bundle-raw', undef,
|
||||
$oExpectedManifestRef->{&MANIFEST_SECTION_BACKUP}{'backup-bundle-raw'});
|
||||
}
|
||||
|
||||
# Delete block incr headers since old Perl manifest code will not generate them
|
||||
delete($oExpectedManifestRef->{&MANIFEST_SECTION_BACKUP}{'backup-block-incr'});
|
||||
delete($oExpectedManifestRef->{&MANIFEST_SECTION_BACKUP}{'backup-block-incr-size'});
|
||||
|
||||
Reference in New Issue
Block a user