# Is there an easy way of moving questdb from one disk to another with all the data?

**URL:** <https://community.questdb.com/t/is-there-an-easy-way-of-moving-questdb-from-one-disk-to-another-with-all-the-data/140>\
**Category:** Community\
**Tags:** question\
**Created:** [August 2, 2024, 6:14pm UTC](https://community.questdb.com/t/is-there-an-easy-way-of-moving-questdb-from-one-disk-to-another-with-all-the-data/140 "2024-08-02T18:14:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex004/uploads/questdb/original/1X/b6b1b349e598d0550947e63d7923a9d7df0279eb.png) [@system](https://community.questdb.com/u/system)\
**Post date:** [August 2, 2024, 6:14pm UTC](https://community.questdb.com/t/is-there-an-easy-way-of-moving-questdb-from-one-disk-to-another-with-all-the-data/140/1 "2024-08-02T18:14:49Z")

</div>

Maybe copying the whole folder and then change something in the config?

---

<div class="post-metadata">

**Author:** ![javier](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.questdb.com/javier/32/29_2.png) [@javier](https://community.questdb.com/u/javier)\
**Post date:** [August 2, 2024, 6:15pm UTC](https://community.questdb.com/t/is-there-an-easy-way-of-moving-questdb-from-one-disk-to-another-with-all-the-data/140/2 "2024-08-02T18:15:41Z")

</div>

When you start questdb you pass the root folder path via the `-d` option. Stop questdb, move the folder to the desired target destination, then start again pointing to the new place.

While you are at that, if you are still not using ZFS for data compression, this might be a good time to add it before you copy data into the target folder:

> **[Enable compression with ZFS | QuestDB](https://questdb.io/docs/guides/compression-zfs/)**
>
> This guide demonstrates how to install ZFS and enable system-level compression within QuestDB.
