Bitcoin Forum
May 09, 2024, 01:18:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Possible to back up wallet.dat file by dragging and not backing up manually?  (Read 310 times)
p3rplexamous (OP)
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
December 05, 2017, 03:35:45 AM
 #1

Hi everyone.

A few years ago I gave my brother BTC for XMAS. He hasnt touched it since and was using Bitcoin QT at the time. We are looking to transfer the funds to a hardware wallet, but when getting him to upload his wallet.dat file, we ran into a snag. It seems he didn't do an actual back up of the wallet app, and instead, had a time machine back up of the computers hard drive made, and when he gained access, we grabbed the wallet.dat file from his bitcoin folder. When loading it into the app on my computer, the funds are coming up as 0. I checked the address on blockchain.info and the funds are still there.

Any suggestions? Can you make a usable backup via dragging and dropping the .dat file as opposed to backing it up manually?

Bitcoin Client Software and Version Number: Bitcoin Core 0.15.1
Operating System: OSX 10.13.1
System Hardware Specs: 2.9 GHz Intel Core i5 with 8 GB 1867 MHz DDR3 and 50 GB free hard drive space.
Description of Problem: Bitcoin Core isnt loading wallet.dat file.
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 05, 2017, 04:56:17 AM
 #2

1. Is your Bitcoin Core fully synced? Current block height is: 497663 (you can check in "Help -> Debug Window")
2. Did you try starting Bitcoin Core with -rescan to force it to rescan for transactions after you put the wallet.dat into your Bitcoin Core datadir? (I hope you remembered to take a backup of your own wallet.dat before overwriting it Wink)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
legend018
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
December 05, 2017, 03:16:11 PM
 #3

It doesn't matter how you copied the .dat file. You can drag it, back it up with a backup program or copy it.  As long as it's the wallet.dat file that you need.
kahc
Member
**
Offline Offline

Activity: 350
Merit: 13


View Profile
December 05, 2017, 04:02:50 PM
 #4

Hi everyone.

A few years ago I gave my brother BTC for XMAS. He hasnt touched it since and was using Bitcoin QT at the time. We are looking to transfer the funds to a hardware wallet, but when getting him to upload his wallet.dat file, we ran into a snag. It seems he didn't do an actual back up of the wallet app, and instead, had a time machine back up of the computers hard drive made, and when he gained access, we grabbed the wallet.dat file from his bitcoin folder. When loading it into the app on my computer, the funds are coming up as 0. I checked the address on blockchain.info and the funds are still there.

Any suggestions? Can you make a usable backup via dragging and dropping the .dat file as opposed to backing it up manually?

Bitcoin Client Software and Version Number: Bitcoin Core 0.15.1
Operating System: OSX 10.13.1
System Hardware Specs: 2.9 GHz Intel Core i5 with 8 GB 1867 MHz DDR3 and 50 GB free hard drive space.
Description of Problem: Bitcoin Core isnt loading wallet.dat file.


If you don't want to wait for Bitcoin QT to download the the whole blockchain, you have to use a SPV wallet like Electrum.

In Bitcoin-qt:
1. Click 'help' -> 'debug window' -> 'console' tab
2. If you wallet is encrypted, unlock it by typing   walletpassphrase "your wallet password" 600
3. Type 'dumpwallet privatekeys.txt ' without the single-quotes.

Wallet keys will then be dumped to privatekeys.txt in readable format.
Create a new wallet in Electrum, and use sweep function to sweep the private keys.

bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
December 05, 2017, 04:50:53 PM
 #5

In Bitcoin-qt:
1. Click 'help' -> 'debug window' -> 'console' tab
2. If you wallet is encrypted, unlock it by typing   walletpassphrase "your wallet password" 600
3. Type 'dumpwallet privatekeys.txt ' without the single-quotes.

Wallet keys will then be dumped to privatekeys.txt in readable format.
Create a new wallet in Electrum, and use sweep function to sweep the private keys.

Thats the solution to your problem. But if you have stored 'larger' amounts of BTC on this old wallet you may be more cautious when doing this on your everyday-pc.
There is always the risk of malware waiting to grab private keys out of the ram/clipboard and stealing funds.
The safer way would be to (initially make a backup of your wallet.dat) use a bootable linux disk to do the dump/import of your priv keys.
Either with the core (linux-)wallet or pywallet. There are quite a few tutorials available online.

And to awnser your initial question: It doesn't matter whether you copy/paste your file or 'drag' it into another location.

Spendulus
Legendary
*
Offline Offline

Activity: 2898
Merit: 1386



View Profile
December 06, 2017, 04:19:51 AM
 #6

Hi everyone.

A few years ago I gave my brother BTC for XMAS. He hasnt touched it since and was using Bitcoin QT at the time. We are looking to transfer the funds to a hardware wallet, but when getting him to upload his wallet.dat file, we ran into a snag. It seems he didn't do an actual back up of the wallet app, and instead, had a time machine back up of the computers hard drive made, and when he gained access, we grabbed the wallet.dat file from his bitcoin folder. When loading it into the app on my computer, the funds are coming up as 0. I checked the address on blockchain.info and the funds are still there.

Any suggestions? Can you make a usable backup via dragging and dropping the .dat file as opposed to backing it up manually?

Bitcoin Client Software and Version Number: Bitcoin Core 0.15.1
Operating System: OSX 10.13.1
System Hardware Specs: 2.9 GHz Intel Core i5 with 8 GB 1867 MHz DDR3 and 50 GB free hard drive space.
Description of Problem: Bitcoin Core isnt loading wallet.dat file.


I have moved wallet.dat files back and forth many times. However, they were files generated and known compatible with the Core version I had in use.

Note. You have 50 GB, the block chain files are now about 130GB.

Therefore I don't know your problem is correctly stated. "The funds are coming up as 0", but what if it isn't synced and cannot ever get synced because of your storage limitations?

The conclusion "Core isn't loading wallet.dat file" does not seem the right conclusion. At least from these descriptions. Can you look at transactions or past history?
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!