# Using dpath but still some files are in C:\\

**URL:** https://forum.duplicati.com/t/using-dpath-but-still-some-files-are-in-c/10861
**Category:** Support
**Created:** [October 4, 2020, 3:31pm UTC](https://forum.duplicati.com/t/using-dpath-but-still-some-files-are-in-c/10861 "2020-10-04T15:31:53Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [October 6, 2020, 7:11pm UTC](https://forum.duplicati.com/t/using-dpath-but-still-some-files-are-in-c/10861/4 "2020-10-06T19:11:12Z")

</div>

> [@zohar](#):
>
> I’m using the GUI, I’m not sure what the CLI is (command line?).

Yes. Command Line Interface. [Using Duplicati from the Command Line](https://duplicati.readthedocs.io/en/latest/04-using-duplicati-from-the-command-line/) explains, if you’re curious.

> [@zohar](#):
>
> under Settings → default options I already have  
> `--dbpath=D:\Users\Duplicati`

That’s not going to work. It’s not a folder path. It’s the path to a backup’s DB file, ending in `.sqlite`

[dbpath](https://duplicati.readthedocs.io/en/latest/06-advanced-options/#dbpath)

> `--dbpath`  
> Path to the file containing the local cache of the remote file database.

and such text also describes the `Local database path` in the GUI Database page.

> [@zohar](#):
>
> I could not find a line for “server datafolder”

That’s because it’s not a per-backup option. It’s a server option affecting all backups.

Which path are you trying to take?

For per-backup DB, Database screen is simplest, and will move DB for you as said.  
If you really prefer, you can instead add a per-job dbpath advanced option to override.

For all-backup setting including server DB, use server-datafolder/DUPLICATI\_HOME.  
It’s a bit of a pain to add server options and keep them around over uninstall/reinstall.  
The exact method also depends on when and how you start Duplicati. Boot? Login?  
Ultimately you usually wind up editing a shortcut right-click Properties to add options.  
The question is which shortcut (depends on start method), and getting it to persist…

The DUPLICATI\_HOME method makes this chore a little simpler. See earlier [writeup](https://forum.duplicati.com/t/using-dpath-but-still-some-files-are-in-c/10861/2).

---

_[View the full topic](https://forum.duplicati.com/t/using-dpath-but-still-some-files-are-in-c/10861)._
