Bitcoin Forum
May 05, 2024, 03:20:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Move bitcoin wallet from one computer to another?  (Read 54065 times)
wootwoot (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 11, 2011, 10:25:01 PM
 #1

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?
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714922415
Hero Member
*
Offline Offline

Posts: 1714922415

View Profile Personal Message (Offline)

Ignore
1714922415
Reply with quote  #2

1714922415
Report to moderator
1714922415
Hero Member
*
Offline Offline

Posts: 1714922415

View Profile Personal Message (Offline)

Ignore
1714922415
Reply with quote  #2

1714922415
Report to moderator
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 406
Merit: 256


View Profile
April 11, 2011, 11:42:45 PM
 #2

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.
PLATO
Sr. Member
****
Offline Offline

Activity: 493
Merit: 250


Don't trust "BBOD The Best Futures Exchange"


View Profile
April 12, 2011, 02:57:00 AM
 #3

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.

All posts by me after 2012 were a compromised account. Probably by "BBOD The Best Futures Exchange". SORRY Y'ALL
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
April 12, 2011, 06:23:27 PM
 #4

For older clients you need to delete blk0001.dat and blkindex.dat, and let it redownload the block chain...

I do Bitcoin stuff.
byronbb
Legendary
*
Offline Offline

Activity: 1414
Merit: 1000


HODL OR DIE


View Profile
April 13, 2011, 12:25:05 AM
 #5

Do people ever transfer BTC by just mailing someone a wallet.dat?

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
April 13, 2011, 09:51:45 PM
 #6

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

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Bitcoinreminder.com
Sr. Member
****
Offline Offline

Activity: 240
Merit: 250


View Profile
November 23, 2013, 03:36:32 AM
 #7

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?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
November 23, 2013, 03:42:22 AM
 #8

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.
Bitcoinreminder.com
Sr. Member
****
Offline Offline

Activity: 240
Merit: 250


View Profile
November 23, 2013, 09:12:17 AM
 #9

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?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
November 23, 2013, 09:18:03 AM
 #10

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.
fr0sties
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile
November 23, 2013, 09:28:35 AM
 #11

use online wallet
Barek
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
November 23, 2013, 09:48:01 AM
 #12

You could also just transfer the coins to a new wallet on the new machine.
Bitcoinreminder.com
Sr. Member
****
Offline Offline

Activity: 240
Merit: 250


View Profile
November 23, 2013, 10:29:44 AM
 #13

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?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
November 23, 2013, 10:33:08 AM
 #14

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".
Bitcoinreminder.com
Sr. Member
****
Offline Offline

Activity: 240
Merit: 250


View Profile
November 23, 2013, 10:42:11 AM
 #15

Ah, i see - thanks a lot!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!