# FileNotFoundException (temp file not found during backup)

**URL:** <https://forum.duplicati.com/t/filenotfoundexception-temp-file-not-found-during-backup/991>\
**Category:** Support\
**Created:** [October 12, 2017, 10:43am UTC](https://forum.duplicati.com/t/filenotfoundexception-temp-file-not-found-during-backup/991 "2017-10-12T10:43:29Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [June 27, 2020, 10:45am UTC](https://forum.duplicati.com/t/filenotfoundexception-temp-file-not-found-during-backup/991/14 "2020-06-27T10:45:08Z")

</div>

> [@rick55](#):
>
> I have 2 different backups on the same system failing in apparently the same manor.
> 
> Here is the first stack trace:

This is the SpillCollectorProcess, so maybe belongs in the other (more active) thread, however let’s see what your other stack trace looks like (if you were planning to post it) before maybe moving debug efforts. Feel free to go over to the other one to see what the discussion has been. Probably some applies here…

> [@rick55](#):
>
> Details: System.AggregateException: One or more errors occurred. —\> System.AggregateException: Could not find file ‘C:\Windows\TEMP\dup-c221087b-9693-4057-aecb-5940467ee266’. —\> System.IO.FileNotFoundException: Could not find file ‘C:\Windows\TEMP\dup-c221087b-9693-4057-aecb-5940467ee266’.  
> at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY\_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
> at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)  
> at Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.\<\>c\_\_DisplayClass0\_0.

I’d note that the original post in the other never got specific, but a later participant posted this stack trace:

> [@Another backup failed due to error Cannot find file](https://forum.duplicati.com/t/another-backup-failed-due-to-error-cannot-find-file/9401/7):
>
> Details: System.AggregateException: Er zijn één of meer fouten opgetreden. —\> System.AggregateException: Kan bestand C:\WINDOWS\TEMP\dup-c6adb50d-67f2-456d-aae5-b059e229357a niet vinden. —\> System.IO.FileNotFoundException: Kan bestand C:\WINDOWS\TEMP\dup-c6adb50d-67f2-456d-aae5-b059e229357a niet vinden.  
> bij [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
> bij System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY\_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
> bij System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)  
> bij Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.\<\>c\_\_DisplayClass0\_0.\<b\_\_0\>d.MoveNext()

For yours, the “something else goes wrong first” might be below. If reproducible, you can watch About → Show log → Live → Retry or set up a [–log-file](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#log-file) at [–log-file-log-level](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#log-file-log-level)=retry to get a better look at the server:

> [@rick55](#):
>
> —\> (Inner Exception #1) System.AggregateException: One or more errors occurred. —\> System.Net.WebException: The remote server returned an error: (507) Insufficient Storage.  
> at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()  
> at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse()  
> at Duplicati.Library.Backend.WEBDAV.d\_\_36.MoveNext()

Any idea what that’s about? Does the WebDAV server have any tools or logging that might show its view?  
Although this is simply comparing bits of errors from various people, original author of other topic had this:

> [@Another backup failed due to error Cannot find file](https://forum.duplicati.com/t/another-backup-failed-due-to-error-cannot-find-file/9401/1):
>
> I saw another thread with this error. In my case I get
> 
> One or more errors occurred. (Could not find file “/tmp/dup-8e1225c3-d15d-421b-901e-c2198bb09df2” (Could not find file “/tmp/dup-8e1225c3-d15d-421b-901e-c2198bb09df2”) (One or more errors occurred. (The remote server returned an error: (403) Forbidden.)))
> 
> The other thread was a webdav backend, mine is Google Drive.

but didn’t link to the other thread. Maybe you can go see if you can find it, to add to the evidence collecting.

---

_[View the full topic](https://forum.duplicati.com/t/filenotfoundexception-temp-file-not-found-during-backup/991)._
