# How to switch to a new data directory

**URL:** <https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583>\
**Category:** Support\
**Created:** [May 4, 2019, 2:32am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583 "2019-05-04T02:32:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManfredKarrer](https://bisq.community/user_avatar/bisq.community/manfredkarrer/32/26_2.png) [@ManfredKarrer](https://bisq.community/u/ManfredKarrer)\
**Post date:** [May 4, 2019, 2:32am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/1 "2019-05-04T02:32:47Z")

</div>

There are several reasons why users might want to start over newly with a new data diretory:

- Privay
- Stability
- Performance

### Privay

If you trade a lot and use always the same data directory your onion address is connected with all offers and you might leak more information as you want to. Beside that the wallets transactions easily leak privay on the blockchain level (coin merge).

### Stability

The internal wallet-database can get messed up in certain situations (hard to reproduce issues but there are some open known bugs). This can lead to failed take-offer attempts or failed payouts. Starting over newly cleans up a messed-up wallet-database.

### Performance

BitcoinJ - the SPV wallet library Bisq uses - is not built for high performance use cases and the more transactions you have done with Bisq the heavier the wallet gets. The wallet file becomes larger and writing to disk can become more vulnerable to disk write errors which could lead to a corrupted wallet (there are automatic backups though). SPV sync at startup can take very long if you have not started Bisq for longer time.

## Downsides

There is one main downside if you start over newly: You lose your **local reputation** which is based on your onion address. Beside that, you can only do that if you have **no open offers, trades and disputes**. You can export your accounts and trade history but other data will be also lost in case you make a reset to a new data directory. You should always backup your data directory before doing that, so in case you need to go back you still have access to the old data. You also need to send out the BTC funds to the new wallet. It is NOT recommended to reuse the seed words for the new wallet (you would lose the privacy benefits on the wallet side).

Here are postings about how to switch to a new data directory and how to make sure that you don’t lose your account age witness data (for Fiat accounts):

> [@Switching to a new data directory](https://bisq.community/t/switching-to-a-new-data-directory/1697):
>
> There are some reasons why you might want to start over again with a new data directory. You got a bug which screwed up the internal data structure ou want to protect your privacy by separating trades which are connected via the onion address and/or bitcoin transaction graph (see upcoming blog post about privacy on the web page for more info) You have done a lot of trades and the application gets a bit slow as the wallet and overall data structure is getting dense (the more transactions you ha…

> [@Carry over account age witness to new data directory](https://bisq.community/t/carry-over-account-age-witness-to-new-data-directory/5605):
>
> If you move to a new data directory you need to export your account data and re-import it again. That will copy over the salt used for the account age witness which determines your trade limit (1 month 0.0625 BTC, 2. month 0.125 BTC, afterwards 0.25 BTC). Unfortunately I overlooked another important part when I implemented that feature: The signature pubKey is also used in the hash for the account age witness. So to successfully transfer your account without starting with the 1 month limit aga…

### How to keep my onion address and with that my local reputation?

If you prefer to keep your local reputation (other peers see how often they have traded with you) you can copy over the onion key to the new data directory.

Copy the hiddenservice folder from the old data directory and paste it to the new data directory. The data directory structure gets created at startup, so you can quit Bisq quickly after staring up and then copy over the folder and restart again.

```auto
[PATH TO DATA DIR]/btc_mainnet/tor/hiddenservice

```

### Using multiple Bisq instances

If you want to start up with the old data directory without renaming or copying the data directories you can start Bisq with the program argument `--appName` (e.g. /opt/Bisq/Bisq --appName=Bisq\_old on Linux). By default the data directory name is `Bisq`. You can run multiple Bisq instances in parallel and they are completely separated. All data is kept in side the data directories.

---

<div class="post-metadata">

**Author:** ![ManfredKarrer](https://bisq.community/user_avatar/bisq.community/manfredkarrer/32/26_2.png) [@ManfredKarrer](https://bisq.community/u/ManfredKarrer)\
**Post date:** [May 4, 2019, 2:32am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/2 "2019-05-04T02:32:59Z")

</div>



---

<div class="post-metadata">

**Author:** ![Tigrao](https://bisq.community/letter_avatar/tigrao/32/5_5575768a8748004e209b776fc1b2916d.png) [@Tigrao](https://bisq.community/u/Tigrao)\
**Post date:** [May 9, 2019, 5:28am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/3 "2019-05-09T05:28:31Z")

</div>

I have had some trades in the past, does that mean my bank account account details are public somehow? How could I prevent that?

Sorry, I’m having trouble understanding what exactly it means for my data.

---

<div class="post-metadata">

**Author:** ![Homard](https://bisq.community/letter_avatar/homard/32/5_5575768a8748004e209b776fc1b2916d.png) [@Homard](https://bisq.community/u/Homard)\
**Post date:** [May 9, 2019, 5:33am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/4 "2019-05-09T05:33:21Z")

</div>

> [@Tigrao](#):
>
> I have had some trades in the past, does that mean my bank account account details are public somehow?

Not at all.  
Your bank account details are only known from your counter-party (which is necessary to transfer the money), but that’s all.

If you want to fully avoid disclosing bank account information, please notice that Bisq offers also F2F (Face to Face) trading. (Probably to use carefully in Brazil !).

---

<div class="post-metadata">

**Author:** ![ManfredKarrer](https://bisq.community/user_avatar/bisq.community/manfredkarrer/32/26_2.png) [@ManfredKarrer](https://bisq.community/u/ManfredKarrer)\
**Post date:** [May 9, 2019, 7:36am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/5 "2019-05-09T07:36:07Z")

</div>

The account age witness concept is designed that way that no private data are revealed but the peer ina trade is able to very the date when you created your account. So no worry, your account data are private and only shared to your trading peers.

---

<div class="post-metadata">

**Author:** ![hop](https://bisq.community/letter_avatar/hop/32/5_5575768a8748004e209b776fc1b2916d.png) [@hop](https://bisq.community/u/hop)\
**Post date:** [August 26, 2019, 8:32am UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/6 "2019-08-26T08:32:19Z")

</div>

Hi Manfred,

What about the BSQ balance in the DAO, how does one move their BSQ balance when moving to a new data directory?

---

<div class="post-metadata">

**Author:** ![huey](https://bisq.community/letter_avatar/huey/32/5_5575768a8748004e209b776fc1b2916d.png) [@huey](https://bisq.community/u/huey)\
**Post date:** [August 26, 2019, 1:11pm UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/7 "2019-08-26T13:11:46Z")

</div>

@hop  
BSQ is tied to your bitcoin wallet, so if you’ll be importing the previous wallet into this new directory, the funds will come along. But if you’ll be starting a new wallet, you need to transfer the funds from the old wallets to the new one by going to DAO \> BISQ WALLET \> SEND.

---

<div class="post-metadata">

**Author:** ![ManfredKarrer](https://bisq.community/user_avatar/bisq.community/manfredkarrer/32/26_2.png) [@ManfredKarrer](https://bisq.community/u/ManfredKarrer)\
**Post date:** [September 10, 2020, 4:36pm UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/8 "2020-09-10T16:36:11Z")

</div>



---

<div class="post-metadata">

**Author:** ![chimp1984](https://bisq.community/letter_avatar/chimp1984/32/5_5575768a8748004e209b776fc1b2916d.png) [@chimp1984](https://bisq.community/u/chimp1984)\
**Post date:** [January 26, 2021, 6:18pm UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/9 "2021-01-26T18:18:19Z")

</div>



---

<div class="post-metadata">

**Author:** ![chimp1984](https://bisq.community/letter_avatar/chimp1984/32/5_5575768a8748004e209b776fc1b2916d.png) [@chimp1984](https://bisq.community/u/chimp1984)\
**Post date:** [January 26, 2021, 6:18pm UTC](https://bisq.community/t/how-to-switch-to-a-new-data-directory/7583/10 "2021-01-26T18:18:29Z")

</div>


