Fixes #7526
@ -265,8 +265,11 @@ public class FullBackupExporter extends FullBackupBase {
while ((read = in.read(buffer)) != -1) {
byte[] ciphertext = cipher.update(buffer, 0, read);
outputStream.write(ciphertext);
mac.update(ciphertext);
if (ciphertext != null) {
}
byte[] remainder = cipher.doFinal();