1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-30 05:39:12 +02:00

Move encrypted files as raw in integration tests.

The encryption key should not be changed when moving a file so no need to decrypt/encrypt.
This commit is contained in:
David Steele 2020-07-16 11:27:14 -04:00
parent 50ff5d905e
commit aa4e13b665

View File

@ -222,7 +222,7 @@ sub forceStorageMove
}
else
{
$oStorage->put($strDestinationPath, ${$oStorage->get($strSourcePath)});
$oStorage->put($strDestinationPath, ${$oStorage->get($strSourcePath, {bRaw => true})}, {bRaw => true});
$oStorage->remove($strSourcePath);
}
}