Bitcoin Forum
December 11, 2016, 10:17:26 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: Bitcoin Wallet Backup 101 - A Guide by The Bitcoin Sun  (Read 1131 times)
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
June 19, 2011, 02:40:28 AM
 #1

http://thebitcoinsun.com/post/2011/06/18/Bitcoin-Wallet-Backup-101

A simple, easy to follow guide for those of you looking to backup your coins.

Check out our other articles while you're there, and look forward to our next issue, mostly dealing with security (or lack thereof!) in the bitcoin community, coming out soon!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481451446
Hero Member
*
Offline Offline

Posts: 1481451446

View Profile Personal Message (Offline)

Ignore
1481451446
Reply with quote  #2

1481451446
Report to moderator
1481451446
Hero Member
*
Offline Offline

Posts: 1481451446

View Profile Personal Message (Offline)

Ignore
1481451446
Reply with quote  #2

1481451446
Report to moderator
1481451446
Hero Member
*
Offline Offline

Posts: 1481451446

View Profile Personal Message (Offline)

Ignore
1481451446
Reply with quote  #2

1481451446
Report to moderator
alexanderanon
Full Member
***
Offline Offline

Activity: 210



View Profile
June 19, 2011, 05:42:08 AM
 #2

Great guide. One question, however. When I make the 7zip encrypted wallet.dat, I have the 7zip wallet.dat AND the old wallet.dat in my bitcoin folder now. Say I copy the 7zip wallet.dat to a USB drive, as the guide suggests. Should I delete the old wallet.dat?

Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
June 19, 2011, 06:06:28 AM
 #3

Only delete the wallet.dat if you don't want to use that wallet currently - so for a savings wallet/maximum security, yes you will want to delete that.
allinvain
Legendary
*
Offline Offline

Activity: 2002



View Profile
June 19, 2011, 08:14:32 AM
 #4

Just curious, would you still recommend 7-zip even for linux or is GNU PGP a better choice?

alexanderanon
Full Member
***
Offline Offline

Activity: 210



View Profile
June 19, 2011, 09:26:09 AM
 #5

Fuck. I almost deleted my wallet. I'm afraid to do anything further because I might REALLY delete it. (Win7 btw)

So I 7zipped it, and deleted the remaining wallet.dat outside the archive. Then, I wanted to do a trial run of extracting it, so I did, but for some reason it made a folder called "wallet" within my bitcoin folder, and put the wallet.dat there, so I was left with a wallet.dat inside a "wallet" folder and my wallet.7z within the broader bitcoin folder. I started up the bitcoin client, expecting it to read the wallet.dat within the folder....but it didn't. I found a newly created wallet.dat OUTSIDE the "wallet" folder. So at this point I had: this newly created wallet.dat in the bitcoin folder, wallet.7z in bitcoin folder, and the wallet.dat extracted from the wallet.7z in its own "wallet" folder...AND zero bitcoins. So what I guessed was that bitcoin client wasn't reading the wallet.dat in the "wallet" folder that 7zip created, but instead this new wallet.dat that it itself had created. I went ahead and deleted this newly created one, copied the wallet.dat from the "wallet" folder and put it into the broader bitcoin folder, and then started the bitcoin client up again. My bitcoins had returned.

So now I have a wallet.dat in this "wallet folder", its usable copy in the broader bitcoin folder, and wallet.7z right next to the usable copy in the bitcoin folder. I'm assuming that the two wallets inside and outside of the "wallet" folder are identical because I just copied the inside one to make the outside one, but I'm not certain enough to go ahead and delete the whole "wallet" folder and clear this whole mess up.

Perhaps this is another part of my confusion. If I 7zip a wallet.dat that has 30 bitcoins, leaving the old wallet.dat, and then I go open up bitcoin client and spend half of my coins, how would this be reflected in the wallet.7z? Couldn't I just delete the wallet.dat that now only has 15 bitcoins, and extract the old one that still has 30? Or is this problem solved by the whole "double counting solution" that I've seen tossed around so often around these here forums....?
FreeMoney
Legendary
*
Offline Offline

Activity: 1246


Strength in numbers


View Profile WWW
June 19, 2011, 09:37:41 AM
 #6

alex, bitcoin makes a new empty wallet if there is not a wallet.dat in exactly the right place.

Double spending is not possible. The network knows how many coins are associated with each address. What you have in a wallet is a set of keys that can be used to move coins from those addresses. If you load the same wallet on two computers (this is not recommended) they both have access to the coins, but only the first spend will work. A restored backup might think it has access to coins that it doesn't in some circumstances, but it never actually will.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
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!