You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
In-stream compression now working in copy.
This commit is contained in:
@ -805,14 +805,14 @@ sub BackRestFileTest
|
||||
for (my $bDestinationCompressed = 0; $bDestinationCompressed <= 0; $bDestinationCompressed++)
|
||||
{
|
||||
my $strRemote = $bBackupRemote ? 'backup' : $bDbRemote ? 'db' : undef;
|
||||
|
||||
|
||||
# $oRemote = BackRest::Remote->new
|
||||
# (
|
||||
# strHost => $strHost,
|
||||
# strUser => $strUser,
|
||||
# strCommand => $strCommand,
|
||||
# );
|
||||
|
||||
|
||||
my $oFile = BackRest::File->new
|
||||
(
|
||||
strStanza => "db",
|
||||
@ -862,7 +862,7 @@ sub BackRestFileTest
|
||||
{
|
||||
system("echo 'TESTDATA' > ${strSourceFile}");
|
||||
}
|
||||
|
||||
|
||||
my $strSourceHash = $oFile->hash(PATH_ABSOLUTE, $strSourceFile);
|
||||
|
||||
# Run file copy in an eval block because some errors are expected
|
||||
|
Reference in New Issue
Block a user