Encrypted backup file size

Status
Not open for further replies.

Dunblue

Bronze Partner
Joined
Sep 22, 2020
Messages
44
Reaction score
3
  • 3CX Version, e.g. 18.0.3.461 / 18.0.4.965
  • Server OS, Debian 10
  • Is the 3CX Server Hosted and where? Azure

We have an issue with a particular PBX backup (to FTP) failing when including recorded calls and password protection. I suspect this is an issue with the backup size as the error below seems to indicate, however there is 200gb free on our ftp and an unencrypted backup is only 7gb. I understand encrypting it increases the file size but surely not by that much. If I untick call recordings then an encrypted backup will succeed with a size of 1.2gb.

Recordings are stored on a secondary vm disk if that matters

Code:
Your 3CX backup failed due to the following reason(s):
System.IO.IOException: Entries cannot be created while previously created entries are still open.
   at System.IO.Compression.ZipArchive.AcquireArchiveStream(ZipArchiveEntry entry)
   at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName)
   at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName, CompressionLevel compressionLevel)
   at System.IO.Compression.ZipArchive.DoCreateEntry(String entryName, Nullable`1 compressionLevel)
   at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
   at _3cxNetBackupAndRestore._3cxBackup.ZipFile(String dst, IFile src)
   at _3cxNetBackupAndRestore.BackupTasks.BaseFilesTask.BackupFiles()
System.IO.IOException: Entries cannot be created while previously created entries are still open.
   at System.IO.Compression.ZipArchive.AcquireArchiveStream(ZipArchiveEntry entry)
   at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName)
   at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName, CompressionLevel compressionLevel)
   at System.IO.Compression.ZipArchive.DoCreateEntry(String entryName, Nullable`1 compressionLevel)
   at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
   at _3cxNetBackupAndRestore._3cxBackup.ZipFile(String dst, IFile src)
   at _3cxNetBackupAndRestore.BackupTasks.BaseFilesTask.BackupFiles()
System.IO.IOException: No space left on device
   at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
   at System.IO.FileStream.WriteSpan(ReadOnlySpan`1 source)
   at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
   at System.IO.Compression.DeflateStream.WriteDeflaterOutput()
   at System.IO.Compression.DeflateStream.PurgeBuffers(Boolean disposing)
   at System.IO.Compression.DeflateStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.Compression.CheckSumAndSizeWriteStream.Dispose(Boolean disposing)
   at System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.Compression.ZipArchive.WriteFile()
   at System.IO.Compression.ZipArchive.Dispose(Boolean disposing)
   at System.IO.Compression.ZipArchive.Dispose()
   at _3cxNetBackupAndRestore._3cxBackup.FinishingTask()
 
Something else to note is that the OS disk has only 9gb free space, so I suspect that is the issue.

Still, would be good to know how much encryption increases the file size by
 
Can anyone shed some light on this?
 
Encrypted backups will be larger than unencrypted because encryption and compression do not work well together, so the encrypted backup will not be compressed as much as the unencrypted one and will be significantly larger.
 
Status
Not open for further replies.

Forum statistics

Threads
112,149
Messages
590,965
Members
165,170
Latest member
SupportRock