Bitcoin Forum
December 05, 2016, 12:28:59 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Backing up wallet.dat  (Read 1336 times)
just a man
Member
**
Offline Offline

Activity: 81


View Profile
January 16, 2011, 10:15:42 PM
 #1

I assume you just copy wallet.dat and put it somewhere else, and then you can restore it when you want to spend the bitcoins in it by just copying the file back to the directory it normally resides in, but won't the client stop working if you take away the wallet.dat file? If it just creates a new one, what happens to transactions in the new wallet.dat when/if you over-write it with a backup? Please explain, I'd rather not plunge confidently ahead under the assumption that I know precisely how to back up because it's all self evident and obvious- as I was about to do, only to find I've buggered it all up. Sad

Bitcoin Weekly FTMFW: http://bitcoinweekly.com

The Bitcoin Sun (a new dawn): http://thebitcoinsun.com/

my attempt to learn about bitcoin was an unmitigated and disaster. who knew magic beans would turn out to be such a big fucking deal. my regret is the cost to others, which has shamed me.
1480897739
Hero Member
*
Offline Offline

Posts: 1480897739

View Profile Personal Message (Offline)

Ignore
1480897739
Reply with quote  #2

1480897739
Report to moderator
1480897739
Hero Member
*
Offline Offline

Posts: 1480897739

View Profile Personal Message (Offline)

Ignore
1480897739
Reply with quote  #2

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

Posts: 1480897739

View Profile Personal Message (Offline)

Ignore
1480897739
Reply with quote  #2

1480897739
Report to moderator
caveden
Legendary
*
Offline Offline

Activity: 1106



View Profile
January 17, 2011, 09:05:42 AM
 #2

If you just copy, without removing the original file from ~/.bitcoin, you won't have any of the issues you're talking about.

Don't delete the original file, just make an extra, encrypted copy.

18rZYyWcafwD86xvLrfuxWG5xEMMWUtVkL
LZ
Staff
Legendary
*
Offline Offline

Activity: 1456


Satoshi everywhere!


View Profile WWW
January 17, 2011, 09:19:31 AM
 #3

Close Bitcoin before making copy. Wink

"Never invest unless you can afford to lose your entire investment." © S3052
just a man
Member
**
Offline Offline

Activity: 81


View Profile
January 17, 2011, 01:33:05 PM
 #4

Thanks guys. Smiley

And to restore it, I could send the balance somewhere else and then over-write with the backup?

Bitcoin Weekly FTMFW: http://bitcoinweekly.com

The Bitcoin Sun (a new dawn): http://thebitcoinsun.com/

my attempt to learn about bitcoin was an unmitigated and disaster. who knew magic beans would turn out to be such a big fucking deal. my regret is the cost to others, which has shamed me.
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 17, 2011, 02:01:27 PM
 #5

Yes.

But beware, if you backup at block 120,000 and you move the wallet to another client that has block 120,000 it won't pick up your balance right away.

You'll need to remove the block chain data in order to force a re-download of all blocks in order to force the client to scan them against the wallet that has just been put in place.

LZ
Staff
Legendary
*
Offline Offline

Activity: 1456


Satoshi everywhere!


View Profile WWW
January 17, 2011, 05:15:49 PM
 #6

Just rename another wallet and move backup to that place.

"Never invest unless you can afford to lose your entire investment." © S3052
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!