# How to save database in a different location than files were uploaded from?

**URL:** <https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875>\
**Category:** Support\
**Tags:** dicom\
**Created:** [October 24, 2022, 8:52pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875 "2022-10-24T20:52:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![millicentroach](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@millicentroach](https://discourse.slicer.org/u/millicentroach)\
**Post date:** [October 24, 2022, 8:52pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/1 "2022-10-24T20:52:03Z")

</div>

Hello!

I need to upload dicom images from a different location than I want to save the database.

Do any of you know how to do that? Your help would be greatly appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 24, 2022, 8:54pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/2 "2022-10-24T20:54:59Z")

</div>

You can import the DICOM images from any location and you can export DICOM files to anywhere in the file system.

Can you describe what you did, what you expected to happen, and what happened instead?

---

<div class="post-metadata">

**Author:** ![millicentroach](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@millicentroach](https://discourse.slicer.org/u/millicentroach)\
**Post date:** [October 25, 2022, 9:16pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/3 "2022-10-25T21:16:29Z")

</div>

Hello Andras,

Thank you so much for responding.

I selected, ‘Import DICOM files’, selected the folder I wanted to import from. It began importing the folder (it ended up not responding though because the number of files was large).

I see that the location of the database in the lower left corner says it is in: Documents/SlicerDICOMDatabase

Instead I need the location of the slicer database to be in another folder.

I am going to re-start this process, but want to do it in the right way. Do you know how I would save the location of where I want the database to be stored before I begin the upload?

I appreciate your help.

Please see the attached.

 ![Screen Shot 2022-10-25 at 3.42.15 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/0/a02c45fdfc56749099a2531c6d0e48b57d93fa00.jpeg)

Thank you,  
Millicent

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 25, 2022, 10:23pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/4 "2022-10-25T22:23:38Z")

</div>

That button is clickable, click and navigate to the folder where you want the DICOM DB to be stored. From now on, that will be the location of DICOM DB files. This setting will be saved in the Slicer.ini file.

However, you will loose access to everything you import in the previous DB (though sounds like you didn’t import anything anyways)…

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 25, 2022, 11:33pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/5 "2022-10-25T23:33:44Z")

</div>

From the screenshot it looks like you are not using the current Slicer version. We have improved speed and robustness of DICOM import in recent Slicer versions, so I would strongly recommend to upgrade.

---

<div class="post-metadata">

**Author:** ![millicentroach](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@millicentroach](https://discourse.slicer.org/u/millicentroach)\
**Post date:** [October 27, 2022, 6:20pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/6 "2022-10-27T18:20:30Z")

</div>

Ok thank you! I will download that. What version is it you suggest I download?

---

<div class="post-metadata">

**Author:** ![millicentroach](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@millicentroach](https://discourse.slicer.org/u/millicentroach)\
**Post date:** [October 27, 2022, 6:21pm UTC](https://discourse.slicer.org/t/how-to-save-database-in-a-different-location-than-files-were-uploaded-from/25875/7 "2022-10-27T18:21:11Z")

</div>

Thank you so much. I will try that out.
