# Changed dbpath not reflected in Commandline?

**URL:** https://forum.duplicati.com/t/changed-dbpath-not-reflected-in-commandline/662
**Category:** Support
**Created:** [September 16, 2017, 4:51am UTC](https://forum.duplicati.com/t/changed-dbpath-not-reflected-in-commandline/662 "2017-09-16T04:51:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)
#### Post date: [September 16, 2017, 6:56pm UTC](https://forum.duplicati.com/t/changed-dbpath-not-reflected-in-commandline/662/2 "2017-09-16T18:56:26Z")

</div>

> [@JonMikelV](#):
>
> I shifted from a user to service based install and found that in the Commandline GUI under Advanced Options the dbpath was still pointing to the old location.
> 
> Should anything code wise be done about that or should users simply update it to point to the correct location (or does it matter at all)?

If we do something about that, maybe there should be a “migrate” or “move” tool. I think it would be strange to update these paths automatically. It does not really matter where the db’s are stored, but I can imagine it would be a surprise if the original user is removed and the files are gone.

Since you mention “Commandline GUI under Advanced Options”, I should mention that the value in “Advanced Options” is ignored:

> [@Stuck on "Starting …"](https://forum.duplicati.com/t/stuck-on-starting/429/13):
>
> Internally, the database path is stored in one place, and options in another. As many operations from the WebUI needs access to the database, it made sense to just hide the database things from the users. I have been planning to fix this a bit by adding some logic that checks if the user has changed the --dbpath option and ask them how to handle it, but for now it is a bit obscure. That really depends on how much data you put in there. It should not grow larger than the size of the database …

---

_[View the full topic](https://forum.duplicati.com/t/changed-dbpath-not-reflected-in-commandline/662)._
