Bitcoin Forum

Other => Beginners & Help => Topic started by: roberto32 on October 09, 2013, 11:04:48 AM



Title: restore/recover backed up wallet
Post by: roberto32 on October 09, 2013, 11:04:48 AM
I use linux my wallet was in chown-ed folder but as I install second distro I eventually erase  filesystem parititon of the old distro. After that my wallet (which is in another parition which was left there unchanged -no formatting) has different adress, cleared history, no coins.. but fortunately I backed it up before. So my question is how to restore the old wallet?? I read somwhere that I've to named it wallet.dat and place it somewhere in bitcoin folder but where??


Title: Re: restore/recover backed up wallet
Post by: orymh on October 11, 2013, 11:31:26 PM
This depends entirely on what Bitcoin client you're using. If it's Bitcoin-Qt, then the wallet file is indeed named wallet.dat. You can recover it by reinstalling Bitcoin-Qt (which it sounds like you may have already done), and replacing your newly-installed wallet.dat with the wallet.dat from your backup. If it's a different client, the file name (and possibly the process to recover it) will be different.


Title: Re: restore/recover backed up wallet
Post by: DannyHamilton on October 11, 2013, 11:45:34 PM
https://en.bitcoin.it/wiki/Data_directory

Quote
Linux

By default Bitcoin will put its data here:

Code:
~/.bitcoin/

You need to do a "ls -a" to see directories that start with a dot.

If that's not it, you can do a search like this:

Code:
find / -name wallet.dat -print 2>/dev/null


Title: Re: restore/recover backed up wallet
Post by: roberto32 on October 14, 2013, 08:41:23 AM
Thanks fellas,
solved but I've another question, how can I recover history? I upgraded the btc client to 0.8.5 version and I've blk000x.dat... files and blkindex in old version, I copied it into new version but that won't work


Title: Re: restore/recover backed up wallet
Post by: poewerden on October 14, 2013, 08:44:51 AM
You may delete all files except your wallet and the blockchain will be downloaded again