Bitcoin Forum
May 14, 2024, 02:09:31 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Core v0.12.1 and backing up my wallet.dat files issue  (Read 552 times)
Fakhoury (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1027


Permabull Bitcoin Investor


View Profile
April 23, 2016, 12:43:21 AM
Last edit: April 26, 2016, 01:37:58 AM by Fakhoury
 #1

Hello,

So today I decided to move my wallet.dat (2 files) and .lock files to my offline laptop and made some test on my PC to assure my backup is working or not, but I ran into issues.

Here is what I did :

1. I was running Core v0.12 successfully with no single issue.
2. I took a copy of the following files to my offline laptop

.lock (I supposed this file is the where the wallet password is saved, my wallet is password protected)
wallet1.dat
wallet.dat
db.log
debug.log
fee_estimates.dat
peers.dat

3. I've installed Core v0.12.1 over v0.12 like I've always used to.
4. I let v0.12.1 run WITHOUT the files above, to create a new empty wallet.dat file along with other necessary files and updated the blocks.
5. I've moved the NEW .lock and wallet away and replaced them with

.lock (OLD one)
wallet1.dat
wallet.dat

6. Everytime I run the the new version, it ends with (Done Loading) of my wallet address then an error (bitcoin-qt.exe has stopped working), like this one



BUT, I was successful in running it few times and while writing this, I tried to open it like 5-6 times, I was always successful, I did nothing to fix the issue, only writing this topic.

I'm afraid about my backup solution to be honest.

Quote from:  Satoshi Nakamoto
Feb. 14, 2010: I’m sure that in 20 years there will either be very large transaction volume or no volume.
1715695771
Hero Member
*
Offline Offline

Posts: 1715695771

View Profile Personal Message (Offline)

Ignore
1715695771
Reply with quote  #2

1715695771
Report to moderator
1715695771
Hero Member
*
Offline Offline

Posts: 1715695771

View Profile Personal Message (Offline)

Ignore
1715695771
Reply with quote  #2

1715695771
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715695771
Hero Member
*
Offline Offline

Posts: 1715695771

View Profile Personal Message (Offline)

Ignore
1715695771
Reply with quote  #2

1715695771
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6641


Just writing some code


View Profile WWW
April 23, 2016, 12:56:58 AM
 #2

The .lock file is not related to the wallet at all. Your wallet password is never written to the disk, just held in memory.

Try just copying the wallet.dat file and make sure that when you do that Bitcoin Core is shutdown.

Fakhoury (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1027


Permabull Bitcoin Investor


View Profile
April 25, 2016, 02:01:59 AM
 #3

The .lock file is not related to the wallet at all. Your wallet password is never written to the disk, just held in memory.

Try just copying the wallet.dat file and make sure that when you do that Bitcoin Core is shutdown.

You are right with all what you said, thank you for your help.

.lock file is used to ensure that only one instance of the program is being run at the same time.

never ever move a wallet file. ever.

Wallets should not be even touched while core is running. Especially on Mac, Apple filesystems are known to be shit, and you will lose all your funds.

copy it to desired location. If you need to move the funds, simply copy the wallet, or even better, send the money.

I've always moved my wallets .dat files when core was completely shutdown Smiley

Quote from:  Satoshi Nakamoto
Feb. 14, 2010: I’m sure that in 20 years there will either be very large transaction volume or no volume.
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!