Bitcoin Forum
December 24, 2025, 04:35:36 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Bitcoin Core - Full backup of everything  (Read 400 times)
LoyceV
Legendary
*
Offline Offline

Activity: 3892
Merit: 20744


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
September 29, 2025, 08:03:12 PM
Merited by Forsyth Jones (2)
 #21

copy the entire current blockchain to an external HD or SSD (whichever I have available), but first I delete the outdated backup
This is how you lose your data! Imagine this: you delete your backup, and right after that your main drive fails. Data gone.

Quote
So there's nothing I can do to optimize how backups are handled, right? I've already considered that possibility.
If you want to update for instance an offline version of Bitcoin Core, rsync would work. The first time, copy everything, and after that, only update the data.

For regular backups, play around with rsync --link-dest= a bit. Something like:
Code:
mkdir /path/backup/todaysdate
rsync -avh --link-dest=/path/backup/yourlastbackupdate /home/user/.bitcoin /path/backup/currentdate
This makes your backup grow maybe 6-8 GB per week, plus 12 GB for chainstate. The latter will still consume a lot of disk space if you do frequent backups, your blocks directory will grow only for the new data. And you'll leave your previous backups unchanged.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
satscraper
Legendary
*
Offline Offline

Activity: 1316
Merit: 2418



View Profile
October 30, 2025, 04:48:19 PM
 #22

Hello,


(b) What's the ideal process?


I use two external SSDs to keep copies of the blockchain, with my node being interchangeably connected to one of them on monthly basis. I'm not sure if this is the ideal setup, but it works well for me. If the blockchain data on either disk becomes corrupted, I can always restore it from the other one. So far, it's been working fine.

▄▄███████████████████▄▄
▄███████████████████████▄
████████████████████████
█████████████████████████
████████████████████████
████████████▀██████▀████
████████████████████████
█████████▄▄▄▄███████████
██████████▄▄▄████████████
████████████████████████
████████████████▀▀███████
▀███████████████████████▀
▀▀███████████████████▀▀
 
 EARNBET 
██
██
██
██
██
██
██
██
██
██
██
██
██
███████▄▄███████████
████▄██████████████████
██▀▀███████████████▀▀███
▄████████████████████████
▄▄████████▀▀▀▀▀████████▄▄██
███████████████████████████
█████████▌██▀████████████
███████████████████████████
▀▀███████▄▄▄▄▄█████████▀▀██
▀█████████████████████▀██
██▄▄███████████████▄▄███
████▀██████████████████
███████▀▀███████████
██
██
██
██
██
██
██
██
██
██
██
██
██


▄▄▄
▄▄▄███████▐███▌███████▄▄▄
█████████████████████████
▀████▄▄▄███████▄▄▄████▀
█████████████████████
▐███████████████████▌
███████████████████
███████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 King of The Castle 
 $200,000 in prizes
██
██
██
██
██
██
██
██
██
██
██
██
██

 62.5% 

 
RAKEBACK
BONUS
LoyceV
Legendary
*
Offline Offline

Activity: 3892
Merit: 20744


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 31, 2025, 06:42:10 AM
 #23

I use two external SSDs to keep copies of the blockchain, with my node being interchangeably connected to one of them on monthly basis.
My experience with USB-cables is generally bad: at the slightest touch, the cable can disconnect. How do you avoid this risk long-term?

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
satscraper
Legendary
*
Offline Offline

Activity: 1316
Merit: 2418



View Profile
October 31, 2025, 07:47:56 AM
 #24

I use two external SSDs to keep copies of the blockchain, with my node being interchangeably connected to one of them on monthly basis.
My experience with USB-cables is generally bad: at the slightest touch, the cable can disconnect. How do you avoid this risk long-term?

This is generally the problem associated with the faulty USB ports on machines rather than with high-quality USB cables.

I have six laptops two of which are quite modern, while the other four are a bit outdated and only one of them (from early 2018) has a loose USB port.

I always use a snug USB port and high-quality USB cables.

▄▄███████████████████▄▄
▄███████████████████████▄
████████████████████████
█████████████████████████
████████████████████████
████████████▀██████▀████
████████████████████████
█████████▄▄▄▄███████████
██████████▄▄▄████████████
████████████████████████
████████████████▀▀███████
▀███████████████████████▀
▀▀███████████████████▀▀
 
 EARNBET 
██
██
██
██
██
██
██
██
██
██
██
██
██
███████▄▄███████████
████▄██████████████████
██▀▀███████████████▀▀███
▄████████████████████████
▄▄████████▀▀▀▀▀████████▄▄██
███████████████████████████
█████████▌██▀████████████
███████████████████████████
▀▀███████▄▄▄▄▄█████████▀▀██
▀█████████████████████▀██
██▄▄███████████████▄▄███
████▀██████████████████
███████▀▀███████████
██
██
██
██
██
██
██
██
██
██
██
██
██


▄▄▄
▄▄▄███████▐███▌███████▄▄▄
█████████████████████████
▀████▄▄▄███████▄▄▄████▀
█████████████████████
▐███████████████████▌
███████████████████
███████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 King of The Castle 
 $200,000 in prizes
██
██
██
██
██
██
██
██
██
██
██
██
██

 62.5% 

 
RAKEBACK
BONUS
LoyceV
Legendary
*
Offline Offline

Activity: 3892
Merit: 20744


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
October 31, 2025, 07:53:57 AM
 #25

This is generally the problem associated with the faulty USB ports on machines rather than with high-quality USB cables.
I've experienced it on different ports on different laptops with different drives and USB sticks.... So I only use it for backups now, and don't dare touch the drives while copying data.

¡uʍop ǝpᴉsdn pɐǝɥ ɹnoʎ ɥʇᴉʍ ʎuunɟ ʞool no⅄
satscraper
Legendary
*
Offline Offline

Activity: 1316
Merit: 2418



View Profile
October 31, 2025, 08:12:00 AM
 #26

This is generally the problem associated with the faulty USB ports on machines rather than with high-quality USB cables.
I've experienced it on different ports on different laptops with different drives and USB sticks.... So I only use it for backups now, and don't dare touch the drives while copying data.

I forgot to specify that I use Samsung EVO SSD with SATA interface, so to connect it to  USB port, I use StarTech SATA to USB cable. If you're using portable USB drives (i.e., those in external enclosures), you might encounter the problem you described. I have dozens of such drives, and some of them occasionally disconnect from the machine. However, I no longer use them for serious work.

▄▄███████████████████▄▄
▄███████████████████████▄
████████████████████████
█████████████████████████
████████████████████████
████████████▀██████▀████
████████████████████████
█████████▄▄▄▄███████████
██████████▄▄▄████████████
████████████████████████
████████████████▀▀███████
▀███████████████████████▀
▀▀███████████████████▀▀
 
 EARNBET 
██
██
██
██
██
██
██
██
██
██
██
██
██
███████▄▄███████████
████▄██████████████████
██▀▀███████████████▀▀███
▄████████████████████████
▄▄████████▀▀▀▀▀████████▄▄██
███████████████████████████
█████████▌██▀████████████
███████████████████████████
▀▀███████▄▄▄▄▄█████████▀▀██
▀█████████████████████▀██
██▄▄███████████████▄▄███
████▀██████████████████
███████▀▀███████████
██
██
██
██
██
██
██
██
██
██
██
██
██


▄▄▄
▄▄▄███████▐███▌███████▄▄▄
█████████████████████████
▀████▄▄▄███████▄▄▄████▀
█████████████████████
▐███████████████████▌
███████████████████
███████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 King of The Castle 
 $200,000 in prizes
██
██
██
██
██
██
██
██
██
██
██
██
██

 62.5% 

 
RAKEBACK
BONUS
Pages: « 1 [2]  All
  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!