Das automatische Backup meiner Anlage ist heute Nacht plötzlich fehlgeschlagen. Bisher lief das ohne Probleme. In der Email stand folgendes:
Your 3CX backup failed due to the following reason(s):
System.Exception: 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()
Renci.SshNet.Common.SshException: Failure
at Renci.SshNet.Sftp.SftpSession.RequestWrite(Byte[] handle, UInt64 serverOffset, Byte[] data, Int32 offset, Int32 length, AutoResetEvent wait, Action`1 writeCompleted)
at Renci.SshNet.Sftp.SftpFileStream.FlushWriteBuffer()
at Renci.SshNet.Sftp.SftpFileStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at _3cxFilesystemImplementations.SFTP.FixedSftpFileStream.Close()
at System.IO.Compression.ZipArchive.CloseStreams()
at System.IO.Compression.ZipArchive.Dispose(Boolean disposing)
at System.IO.Compression.ZipArchive.Dispose()
at _3cxNetBackupAndRestore._3cxBackup.FinishingTask()
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
Ein manuelles Backup schlägt mit der selben Fehlermeldung fehl.
Ich habe jeweils alle Elemente zur Sicherung ausgewählt.
Was kann hier die Ursache sein?
Vielen Dank!
Harald
Your 3CX backup failed due to the following reason(s):
System.Exception: 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()
Renci.SshNet.Common.SshException: Failure
at Renci.SshNet.Sftp.SftpSession.RequestWrite(Byte[] handle, UInt64 serverOffset, Byte[] data, Int32 offset, Int32 length, AutoResetEvent wait, Action`1 writeCompleted)
at Renci.SshNet.Sftp.SftpFileStream.FlushWriteBuffer()
at Renci.SshNet.Sftp.SftpFileStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at _3cxFilesystemImplementations.SFTP.FixedSftpFileStream.Close()
at System.IO.Compression.ZipArchive.CloseStreams()
at System.IO.Compression.ZipArchive.Dispose(Boolean disposing)
at System.IO.Compression.ZipArchive.Dispose()
at _3cxNetBackupAndRestore._3cxBackup.FinishingTask()
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
Ein manuelles Backup schlägt mit der selben Fehlermeldung fehl.
Ich habe jeweils alle Elemente zur Sicherung ausgewählt.
Was kann hier die Ursache sein?
Vielen Dank!
Harald