How to move the blockchain data while still being able to use the wallet?

4

1

Using the standard client, Bitcoin-Qt, v0.8.1: (win10x64)

I would like to move the blockchain data from its default location to a different location (maybe even an external disk or NAS drive). What should I do to make this working while moving that data?

Comodore

Posted 2013-04-02T18:24:38.023

Reputation: 568

1What operatng system? Symlinks can help.Stephen Gornick 2013-10-02T00:43:39.047

Asking about how to change the default storage location has been posted many, many times. The future canonical question is probably Bitcoin-Qt setup: Change block-chain file location, settings? documentation?. Possible duplicate of Bitcoin-Qt setup: Change block-chain file location, settings? documentation?.

Peter Mortensen 2014-08-01T12:24:47.097

Answers

3

This step-by-step how-to assumes you are using Windows 7 and installed Bitcoin-Qt to the default directory.

  1. Make sure Bitcoin-Qt is not running
  2. Create a desktop shortcut
  3. Right click on the shortcut
  4. Select Properties
  5. In the "target" box, add -datadir="the new data directory"
  6. Move everything in C:/Users/"your user name"/AppData/Roaming/Bitcoin/ to your new data directory.
  7. Start Bitcoin-Qt with your new shortcut.

user6126

Posted 2013-04-02T18:24:38.023

Reputation: 46

2This moves the wallet too, which I think isn't what the asker wanted.Nick ODell 2013-07-30T21:18:57.963

I do not want to move wallet file. Just chain, because it is growing too big you know.Comodore 2013-11-18T11:25:44.720

Anybody know how to do this in linux ubuntu? Im going to run out of storage room before the blockchain synchronises. Its used 12 gig plus and still have 24 weeks to complete and I only have 2 gig left on my laptops hard drive and would like to store the blockchain on a removeable passport hard drive.user3088693 2014-02-21T10:48:11.593

0

Except for the most recent file (which is being written to with each new incoming block), I believe you shouldn't have a problem in moving the other files with the wallet still open - aren't they read only?

Moving the last one, though, would probably require you to close the wallet even if just temporarily.

Joe Pineda

Posted 2013-04-02T18:24:38.023

Reputation: 2 040