Author

Topic: Restoring old backups of wallet.dat (Read 2042 times)

sr. member
Activity: 280
Merit: 252
May 21, 2011, 07:11:31 AM
#5
just copy back and spend

might be good idea to start the bitcoin client with the -rescan switch
to search for eventual transactions related to the old wallet from the time it was offline
might recalculate available balance to be accurate.

This should not be necessary anymore since 0.3.21, since information about the current best chain is stored in wallet.dat, and a rescan of the unknown part is issued when this does not wallet the block chain database. If either the last version to write to wallet.dat, or the version to restore with is older, -rescan is needed.

Thank goodness...!!

I was going to say...

Not many "average" users of the Bitcoin client would know how to add the -rescan command whilst starting the Bitcoin client.
newbie
Activity: 14
Merit: 0
May 21, 2011, 05:17:54 AM
#4
Many thanks.
legendary
Activity: 1072
Merit: 1181
May 21, 2011, 04:43:54 AM
#3
just copy back and spend

might be good idea to start the bitcoin client with the -rescan switch
to search for eventual transactions related to the old wallet from the time it was offline
might recalculate available balance to be accurate.

This should not be necessary anymore since 0.3.21, since information about the current best chain is stored in wallet.dat, and a rescan of the unknown part is issued when this does not wallet the block chain database. If either the last version to write to wallet.dat, or the version to restore with is older, -rescan is needed.
hero member
Activity: 504
Merit: 504
PGP OTC WOT: EB7FCE3D
May 21, 2011, 04:26:48 AM
#2
just copy back and spend

might be good idea to start the bitcoin client with the -rescan switch
to search for eventual transactions related to the old wallet from the time it was offline
might recalculate available balance to be accurate.
newbie
Activity: 14
Merit: 0
May 21, 2011, 04:24:28 AM
#1
Are there problems with this? Say you backup a wallet.dat, save it somewhere. The next time you run the client it generates for you a new wallet.dat. Months go by, now you wish to spend bitcoins in old wallet.dat. Can there be a problem from this if you merely copy back the old save from months before?
Jump to: