Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Re: time to re-sync a full node after power-outage
by
LoyceV
on 19/05/2024, 06:53:59 UTC
⭐ Merited by ABCbits (1)
Otherwise, most of the time, you'll only need --reindex-chainstate or --reindex depending on the error in your "debug.log" file.
I'd expect the reindex chainstate to take about as long as restarting the IBD, but without the bandwidth consumption.

The one time I messed up and deleted the latest block file from disk, Bitcoin Core started a full fresh download. That was a few years ago.

I have backup 2TB SSD disk (which I  synch on regular monthly base)  for such cases. Thus should the outrage happens I will copy the content of this  disk to SSD which is attached  to my bitcoin node.
If I'd do this, I would use rsync:
Code:
--link-dest=DIR          hardlink to files in DIR when unchanged
This allows to create several snapshots of older full blockchains, without needing much additional disks pace. If it's ever needed, you can easily roll back to another month.



If you're worried about power outages: a laptop is much easier than a UPS.