# DirectoryNotFoundException: Could not find a part of the path

**URL:** <https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795>\
**Category:** Support\
**Created:** [August 6, 2024, 2:47pm UTC](https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795 "2024-08-06T14:47:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dr8876](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dr8876](https://forum.duplicati.com/u/dr8876)\
**Post date:** [August 6, 2024, 2:47pm UTC](https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795/1 "2024-08-06T14:47:22Z")

</div>

Hello. I’m getting the following warnings when backing up.

- 2024-08-06 10:39:41 -04 - [Warning-Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess-FileAccessError]: Error reported while accessing file: E:\empower\Root\PEPs\Assam\Enrolled\Location Relocation Selection (May 30, 2024 4-18-11 PM)\ DirectoryNotFoundException: Could not find a part of the path ‘\?\E:\empower\Root\PEPs\Assam\Enrolled\Location Relocation Selection (May 30, 2024 4-18-11 PM)’.
- 2024-08-06 10:43:00 -04 - [Warning-Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess-FileAccessError]: Error reported while accessing file: E:\empower\Root\PEPs\Assam\Enrolled\Location Relocation Selection (May 30, 2024 4-18-11 PM)\ DirectoryNotFoundException: Could not find a part of the path ‘\?\E:\empower\Root\PEPs\Assam\Enrolled\Location Relocation Selection (May 30, 2024 4-18-11 PM)’.
- 2024-08-06 10:43:00 -04 - [Warning-Duplicati.Library.Main.Operation.Backup.MetadataGenerator.Metadata-MetadataProcessFailed]: Failed to process metadata for "E:\empower\Root\PEPs\Assam\Enrolled\Location Relocation Selection (May 30, 2024 4-18-11 PM)", storing empty metadata DirectoryNotFoundException: \?\E:\empower\Root\PEPs\Assam\Enrolled\Location Relocation Selection (May 30, 2024 4-18-11 PM)

How do I fix this?

---

<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:** [August 6, 2024, 4:54pm UTC](https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795/2 "2024-08-06T16:54:57Z")

</div>

You should try to write topics in a self-contained way so people don’t have to guess what E: is, however if it’s the same as it was before (after digging up the data), here’s what I said about it:

> [@Unexpected difference in fileset version error](https://forum.duplicati.com/t/unexpected-difference-in-fileset-version-error/17541/40):
>
> Your E: drive is not working. What is it? Is that Mountain Duck mounting Storj S3 as drive letter? That’s all outside of Duplicati, but you can test by hand running as the same user Duplicati uses.

---

<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:** [August 6, 2024, 5:54pm UTC](https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795/3 "2024-08-06T17:54:03Z")

</div>

Basically, Duplicati can only back up a working drive. Network drives are more likely to break.

> [@File System Warnings from backup jobs](https://forum.duplicati.com/t/file-system-warnings-from-backup-jobs/18730):
>
> I think there is a bug in the enumeration routines on this platform. Maybe it needs to be able to look at extended file status when reading network drives? Maybe the timing (timeouts) need to be extended slightly for files that take a second or two to decompress from the network server? Thoughts? Thanks! radjr 2024-07-19 17:44:23 -04 - [Warning-Duplicati.Library.Main.Operation.Backup.FileEnumerationProcess-FileAccessError]: Error reported while accessing file: Q:\JEM\JEM Directory Project\CM…

sounds similar, and has a comment from the lead author that the drive is expected to work right.

If Mountain Duck support has some debug ideas beyond you running Process Monitor, try them.

You can try [The TEST-FILTERS command](https://docs.duplicati.com/en/latest/04-using-duplicati-from-the-command-line/#the-test-filters-command) in Duplicati to walk a folder without all the other stuff. Knowing whether simplifying things that way helps (or not) might be helpful to debug the drive…

---

<div class="post-metadata">

**Author:** ![dr8876](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dr8876](https://forum.duplicati.com/u/dr8876)\
**Post date:** [August 8, 2024, 2:56pm UTC](https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795/4 "2024-08-08T14:56:21Z")

</div>

> [@ts678](#):
>
> You can try [The TEST-FILTERS command](https://docs.duplicati.com/en/latest/04-using-duplicati-from-the-command-line/#the-test-filters-command)

Hello sir. Thanks for the quick response. How would I do this? I know how to get to the CLI, but the (options) part of the command is what I don’t understand.

---

<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:** [August 8, 2024, 4:25pm UTC](https://forum.duplicati.com/t/directorynotfoundexception-could-not-find-a-part-of-the-path/18795/5 "2024-08-08T16:25:20Z")

</div>

The manual says `Duplicati.CommandLine.exe test-filters <source-path> [<options>]`

[Testing Filters with command line tool](https://docs.duplicati.com/en/latest/appendix-d-filters/#testing-filters-with-command-line-tool) gives examples of `--include` and `--exclude` options, but simply to see if you can walk the folder you give for a source path, you don’t need to have options unless it becomes important to reproducing or isolating the failure. You can see what your backup uses for filter options (possibly you don’t have any) in Source data → Filters → Three dot menu → Edit as text.
