Guten Morgen zusammen,
leider erstellt unsere 3CX seit einer Zeit keine Backups mehr.
Ich hoffe, Ihr könnt mir sagen, in welche Richtung ich eventuell suchen kann.
Die Sicherung wird auf einem sFTP durchgeführt.

Auf dem sFTP wird keine Datei erstellt.
Stoße ich die Sicherung manuell an, wird eine 33kb Datei erstellt

Sichere ich auf der 3CX selber, funktioniert es

Die erste Meldung ist ja:
System.Exception: System.IO.IOException: Entries cannot be created while previously created entries are still open.
Bezieht sich das auf die 3CX oder auf den sFTP
Danke euch
leider erstellt unsere 3CX seit einer Zeit keine Backups mehr.
Ich hoffe, Ihr könnt mir sagen, in welche Richtung ich eventuell suchen kann.
Die Sicherung wird auf einem sFTP durchgeführt.

Auf dem sFTP wird keine Datei erstellt.
Code:
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 System.IO.Compression.ZipArchive.CreateEntry(String entryName, CompressionLevel compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipFile(String dst, Stream src)
at _3cxNetBackupAndRestore.BackupTasks.BackupMappingTable.BackupTable(BaseTask task)
at _3cxNetManagement.BaseTask.DoAction()
at _3cxNetManagement.BaseTask.Run()
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 System.IO.Compression.ZipArchive.CreateEntry(String entryName, CompressionLevel compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipFile(String dst, Stream src)
at _3cxNetBackupAndRestore.BackupTasks.BackupOMTask.BackupOM(BaseTask task)
at _3cxNetManagement.BaseTask.DoAction()
at _3cxNetManagement.BaseTask.Run()
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 System.IO.Compression.ZipArchive.CreateEntry(String entryName, CompressionLevel compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipDbTable(String table, Action`1 writeContent)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.BackupTable(String tableName, Object transaction)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
Renci.SshNet.Common.SshConnectionException: Client not connected.
at Renci.SshNet.Session.SendMessage(Message message)
at Renci.SshNet.Session.Renci.SshNet.ISession.SendMessage(Message message)
at Renci.SshNet.Channels.Channel.SendData(Byte[] data, Int32 offset, Int32 size)
at Renci.SshNet.Channels.Channel.SendData(Byte[] data)
at Renci.SshNet.SubsystemSession.SendData(Byte[] data)
at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage sftpMessage)
at Renci.SshNet.Sftp.SftpSession.SendRequest(SftpRequest request)
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.Write(Byte[] buffer, Int32 offset, Int32 count)
at _3cxFilesystemImplementations.SFTP.FixedSftpFileStream.Write(Byte[] buffer, Int32 offset, Int32 count)
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.Stream.Close()
at System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Compression.WrappedStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at _3cxNetBackupAndRestore._3cxBackup.ZipDbTable(String table, Action`1 writeContent)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.BackupTable(String tableName, Object transaction)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
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 System.IO.Compression.ZipArchive.CreateEntry(String entryName, CompressionLevel compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipDbTable(String table, Action`1 writeContent)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.BackupTable(String tableName, Object transaction)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
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 System.IO.Compression.ZipArchive.CreateEntry(String entryName, CompressionLevel compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipDbTable(String table, Action`1 writeContent)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.BackupTable(String tableName, Object transaction)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
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 System.IO.Compression.ZipArchive.CreateEntry(String entryName, CompressionLevel compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipDbTable(String table, Action`1 writeContent)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.BackupTable(String tableName, Object transaction)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
Renci.SshNet.Common.SshConnectionException: Client not connected.
at Renci.SshNet.Session.SendMessage(Message message)
at Renci.SshNet.Session.Renci.SshNet.ISession.SendMessage(Message message)
at Renci.SshNet.Channels.Channel.SendData(Byte[] data, Int32 offset, Int32 size)
at Renci.SshNet.Channels.Channel.SendData(Byte[] data)
at Renci.SshNet.SubsystemSession.SendData(Byte[] data)
at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage sftpMessage)
at Renci.SshNet.Sftp.SftpSession.SendRequest(SftpRequest request)
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)
Stoße ich die Sicherung manuell an, wird eine 33kb Datei erstellt

Sichere ich auf der 3CX selber, funktioniert es

Die erste Meldung ist ja:
System.Exception: System.IO.IOException: Entries cannot be created while previously created entries are still open.
Bezieht sich das auf die 3CX oder auf den sFTP
Danke euch

