# Change data file(.sqlite)path

**URL:** <https://forum.duplicati.com/t/change-data-file-sqlite-path/17292>\
**Category:** Support\
**Created:** [January 9, 2024, 6:51am UTC](https://forum.duplicati.com/t/change-data-file-sqlite-path/17292 "2024-01-09T06:51:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sslee](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@sslee](https://forum.duplicati.com/u/sslee)\
**Post date:** [January 9, 2024, 6:51am UTC](https://forum.duplicati.com/t/change-data-file-sqlite-path/17292/1 "2024-01-09T06:51:54Z")

</div>

Duplicati is Installed on Ubuntu server.  
/usr/lib/duplicati/data path seems to be used during backup.

However, that path(/usr) has a small capacity, so I want to move to /volume1(200TB).  
Which procedure should I change to?

Should I do it like this?

1. Pause a backup that is currently in progress

2. $mv /data /volume1/  
Can I move all the files? Is there a file I need to leave?

3. Which configuration file will specify the path of the data file?

4. Do I need to restart the service?  
$sudo systemctl restart duplicati.service

5. Resume a suspended backup

Please give us your opinions  
Thank you.

---

<div class="post-metadata">

**Author:** ![gpatel-fr](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/g/7993a0/32.png) [@gpatel-fr](https://forum.duplicati.com/u/gpatel-fr)\
**Post date:** [January 9, 2024, 8:56am UTC](https://forum.duplicati.com/t/change-data-file-sqlite-path/17292/2 "2024-01-09T08:56:13Z")

</div>

Hello

Stop any running backup, disable the scheduler, stop the service, edit /etc/default/duplicati to add/change the path in your DAEMON\_OPTS (–server-datafolder=/your/path), move the files, restart the service, access Duplicati and edit each backup job to change the path of its database, reenable the scheduler.

---

<div class="post-metadata">

**Author:** ![Jojo-1000](https://forum.duplicati.com/user_avatar/forum.duplicati.com/jojo-1000/32/8262_2.png) [@Jojo-1000](https://forum.duplicati.com/u/Jojo-1000)\
**Post date:** [January 9, 2024, 11:24am UTC](https://forum.duplicati.com/t/change-data-file-sqlite-path/17292/3 "2024-01-09T11:24:49Z")

</div>

If you only want to free up some space, it is possible to move the databases for each job in the web UI. These will take up most of the space, since the server is mainly used for configuration. This only requires that no backup is running. It is not possible to pause and resume with a different path. You will need to manually change the path for all new backups created in the future, because the default is the server folder.

[User manual - Database management](https://duplicati.readthedocs.io/en/latest/03-using-the-graphical-user-interface/#database-management)

> Move existing database will move the database from the current location to the location specified in the Local database path text field.

---

<div class="post-metadata">

**Author:** ![sslee](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@sslee](https://forum.duplicati.com/u/sslee)\
**Post date:** [January 18, 2024, 2:27am UTC](https://forum.duplicati.com/t/change-data-file-sqlite-path/17292/4 "2024-01-18T02:27:17Z")

</div>

It was easy.

select backup item - Advanced : Database - change path - Move existing database
