Bitcoin Forum
December 09, 2016, 11:33:50 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Restoring old backups of wallet.dat  (Read 1691 times)
berlin
Newbie
*
Offline Offline

Activity: 14


View Profile
May 21, 2011, 09: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?
1481326430
Hero Member
*
Offline Offline

Posts: 1481326430

View Profile Personal Message (Offline)

Ignore
1481326430
Reply with quote  #2

1481326430
Report to moderator
1481326430
Hero Member
*
Offline Offline

Posts: 1481326430

View Profile Personal Message (Offline)

Ignore
1481326430
Reply with quote  #2

1481326430
Report to moderator
1481326430
Hero Member
*
Offline Offline

Posts: 1481326430

View Profile Personal Message (Offline)

Ignore
1481326430
Reply with quote  #2

1481326430
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481326430
Hero Member
*
Offline Offline

Posts: 1481326430

View Profile Personal Message (Offline)

Ignore
1481326430
Reply with quote  #2

1481326430
Report to moderator
Binford 6100
Hero Member
*****
Offline Offline

Activity: 504


PGP OTC WOT: EB7FCE3D


View Profile
May 21, 2011, 09: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.

You can't build a reputation on what you are going to do.
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
May 21, 2011, 09: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.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
berlin
Newbie
*
Offline Offline

Activity: 14


View Profile
May 21, 2011, 10:17:54 AM
 #4

Many thanks.
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280


View Profile
May 21, 2011, 12:11:31 PM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!