Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: wootwoot on April 11, 2011, 10:25:01 PM



Title: Move bitcoin wallet from one computer to another?
Post by: wootwoot on April 11, 2011, 10:25:01 PM
I have a new computer and I'm trying to figure out how to move my bitcoin wallet over to this new machine. How can I accomplish this?


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Garrett Burgwardt on April 11, 2011, 11:42:45 PM
https://en.bitcoin.it/wiki/Securing_your_wallet#Locating_BitCoin_s_data_directory

Copy the wallet from that directory on the old computer to the new one, then run the bitcoin client with the -rescan switch.


Title: Re: Move bitcoin wallet from one computer to another?
Post by: PLATO on April 12, 2011, 02:57:00 AM
For anyone googling this in the future - note that the -rescan switch was added in the 3.20 client, I ran into problems when I was working with two wallets because I was using the 3.19 client and trying to use -rescan.


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Pieter Wuille on April 12, 2011, 06:23:27 PM
For older clients you need to delete blk0001.dat and blkindex.dat, and let it redownload the block chain...


Title: Re: Move bitcoin wallet from one computer to another?
Post by: byronbb on April 13, 2011, 12:25:05 AM
Do people ever transfer BTC by just mailing someone a wallet.dat?


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Stephen Gornick on April 13, 2011, 09:51:45 PM
Do people ever transfer BTC by just mailing someone a wallet.dat?

You'ld want to encrypt it first -- using TrueCrypt, for example, and then send only the encrypted archive:
  http://en.bitcoin.it/wiki/Securing_your_wallet


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Bitcoinreminder.com on November 23, 2013, 03:36:32 AM
Is it true, that nowadays (after version 0.3.2), you can just copy the wallet to the new location - without --reindex or deleting the bulk datas?


Title: Re: Move bitcoin wallet from one computer to another?
Post by: deepceleron on November 23, 2013, 03:42:22 AM
You'll want to just copy the whole Bitcoin data directory with the wallet.dat and subdirectories, so you don't have to download the blockchain again.


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Bitcoinreminder.com on November 23, 2013, 09:12:17 AM
And what should I do if i have a webserver and want to keep the offline time low? I cant wait until some GB are transferred between the server.. Or is there no other stable possibility?


Title: Re: Move bitcoin wallet from one computer to another?
Post by: deepceleron on November 23, 2013, 09:18:03 AM
Just closing bitcoin, copying the wallet.dat (after moving but not deleting any previous important wallet), and restarting with the bitcoind -rescan option is sufficient to move a wallet to another machine. If you don't already have a blockchain downloaded, it will be a long time before that bitcoin is ready though; copying an existing complete 12GB datadir can save a day of re-downloading and processing the blockchain.

I can't think of many scenarios outside of restoring a backup where you'd put an existing wallet.dat up on a server.


Title: Re: Move bitcoin wallet from one computer to another?
Post by: fr0sties on November 23, 2013, 09:28:35 AM
use online wallet


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Barek on November 23, 2013, 09:48:01 AM
You could also just transfer the coins to a new wallet on the new machine.


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Bitcoinreminder.com on November 23, 2013, 10:29:44 AM
Its because of a migration to a bigger server. And I need the wallet because there are multiple "user accounts" inside...
How long does it take to rescan in general?


Title: Re: Move bitcoin wallet from one computer to another?
Post by: deepceleron on November 23, 2013, 10:33:08 AM
About 10 minutes on a normal wallet and PC. Longer for many addresses in the wallet and on a slow CPU. You don't need to rescan as long as there is no chance that wallet received payments while it was "down".


Title: Re: Move bitcoin wallet from one computer to another?
Post by: Bitcoinreminder.com on November 23, 2013, 10:42:11 AM
Ah, i see - thanks a lot!