Not so much a crash but report

System.UnauthorizedAccessException: Access to the path ‘E:\Docs\eM Client\backup_202610260730.zip.incomplete’ is denied.
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan1 buffer, Int64 fileOffset) at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan1 buffer)
at System.IO.Strategies.BufferedFileStreamStrategy.Flush(Boolean flushToDisk)
at ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream.Flush()
at ICSharpCode.SharpZipLib.Zip.ZipOutputStream.Flush()
at MailClient.Streams.StreamHelper.CopyStream(Stream inputStream, Stream outputStream, CancellationToken cancellationToken, ProgressReporter reporter)
at MailClient.Storage.Backup.BackupCompressionTool.AddFile(FileInfo file, String relativePath, CancellationToken token, ProcessedSizeUpdated tracker)
at MailClient.DbBackup.FormBackup.Backup(CancellationToken cancellationToken)
at MailClient.DbBackup.FormBackup.<>c__DisplayClass27_0.<MainForm_Load>b__0(Object a, DoWorkEventArgs b)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Hi Stefan,

Thanks for posting the error. It means eM Client wasn’t allowed to write the backup file into E:\Docs\eM Client. The .zip.incomplete file is the unfinished backup it was creating when Windows denied access.

Please try the following:

  1. Check the folder. Rename E:\Docs\eM Client to something else (for example “eM Client old”), then run Menu > Backup again. eM Client will create a new backup folder with the correct permissions.
  2. Restart and check for interference. If the error comes back, restart your computer. Then temporarily turn off any antivirus and any backup or sync service that might be using that folder, and try the backup again.
  3. Check the drive type. If E: is a network drive or a removable or external drive, create the backup on a local drive first. Once the ZIP file is finished, you can move it anywhere you like.

If none of this helps, please tell us:

  • Your eM Client version (Menu > Help > About)
  • Whether E: is an internal drive, an external drive or a network drive
  • Whether a manual backup (Menu > Backup) fails the same way as the automatic one

Let us know how it goes, or if you have any questions.

It looks like the last finished backup was done 19/0//26.
Could it be something to do with an update?
Before that, I had no problems with the backups.
E: drive is just a partition that has plenty of free space that I have used for years.