Bitcoin Forum
May 10, 2024, 02:09:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Restoring old backups of wallet.dat  (Read 2010 times)
berlin (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


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?
1715306945
Hero Member
*
Offline Offline

Posts: 1715306945

View Profile Personal Message (Offline)

Ignore
1715306945
Reply with quote  #2

1715306945
Report to moderator
1715306945
Hero Member
*
Offline Offline

Posts: 1715306945

View Profile Personal Message (Offline)

Ignore
1715306945
Reply with quote  #2

1715306945
Report to moderator
1715306945
Hero Member
*
Offline Offline

Posts: 1715306945

View Profile Personal Message (Offline)

Ignore
1715306945
Reply with quote  #2

1715306945
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715306945
Hero Member
*
Offline Offline

Posts: 1715306945

View Profile Personal Message (Offline)

Ignore
1715306945
Reply with quote  #2

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

Activity: 504
Merit: 500


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: 1072
Merit: 1174


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.

I do Bitcoin stuff.
berlin (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


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

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

Activity: 280
Merit: 252


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:  

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