# Database file path change or recreate

**URL:** <https://forum.storj.io/t/database-file-path-change-or-recreate/25582>\
**Category:** troubleshooting\
**Tags:** database\
**Created:** [March 19, 2024, 3:13pm UTC](https://forum.storj.io/t/database-file-path-change-or-recreate/25582 "2024-03-19T15:13:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZhiYuan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/zhiyuan/32/1129_2.png) [@ZhiYuan](https://forum.storj.io/u/ZhiYuan)\
**Post date:** [March 19, 2024, 3:13pm UTC](https://forum.storj.io/t/database-file-path-change-or-recreate/25582/1 "2024-03-19T15:13:14Z")

</div>

is it ok that i move the database to another disk drive ?

i am getting this after starting up the node. will i get into trouble ?

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/3/3a9e6ccc5c910a3382646660dbd12bd216c748f3.png)

i change this command to another path like this  
storage2.database-dir: c:\storj\node1

---

<div class="post-metadata">

**Author:** ![ZhiYuan](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/zhiyuan/32/1129_2.png) [@ZhiYuan](https://forum.storj.io/u/ZhiYuan)\
**Post date:** [March 19, 2024, 3:13pm UTC](https://forum.storj.io/t/database-file-path-change-or-recreate/25582/2 "2024-03-19T15:13:41Z")

</div>

free space become 7.2 TB when earlier used around 7tb. should i be worry?

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [March 19, 2024, 3:38pm UTC](https://forum.storj.io/t/database-file-path-change-or-recreate/25582/3 "2024-03-19T15:38:36Z")

</div>

To move databases to another drive you need to

- stop the node
- move databases, preserving permissions
- edit path in config file or add docker run arguments
- start the node.

---

<div class="post-metadata">

**Author:** ![nerdatwork](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/nerdatwork/32/1135_2.png) [@nerdatwork](https://forum.storj.io/u/nerdatwork)\
**Post date:** [March 19, 2024, 4:58pm UTC](https://forum.storj.io/t/database-file-path-change-or-recreate/25582/4 "2024-03-19T16:58:54Z")

</div>

> [@ZhiYuan](#):
>
> another disk drive ?

> [@How to move DB’s to SSD on Docker](https://forum.storj.io/t/how-to-move-db-s-to-ssd-on-docker/7064):
>
> How to move DB’s to SSD on Docker Before you beginning, please make sure that your SSD has good endurance (MLC is preferred), I personally recommend using SSD mirror. look into the [official documentation](https://documentation.storj.io/setup/cli/storage-node) and make sure that you are using –mount type=bind parameter in your docker run string Prepare a folder with mounted SSD outside of \<storage-dir\> from the official documentation. (it your folder with pieces) Add a new mont string to your docker run string: Now we have: docker run -d --restar…

---

<div class="post-metadata">

**Author:** ![lyoth](https://storj.bcdn.literatehosting.com/letter_avatar/lyoth/32/5_5575768a8748004e209b776fc1b2916d.png) [@lyoth](https://forum.storj.io/u/lyoth)\
**Post date:** [March 19, 2024, 5:19pm UTC](https://forum.storj.io/t/database-file-path-change-or-recreate/25582/5 "2024-03-19T17:19:57Z")

</div>

no you don’t need to worry, the filewalker will pick read all the files and update it to the correct value.  
Your payout is not affected, since the satellite knows how much your node is storing.
