I had another crash of my windows 8.1 machine which I run uᴉoɔʇᴉq core on - and that took down my index - - again.
Now after a night of the fan going full speed I am still 37 weeks out of date.
There must be a way to back up that work!
Would it be possible to have a back-up of the index and restore it after a crash that corrupts the index? A copy of a few GB should be faster than hours and hours of reindexing.
Or is there a reason why that should/would not work?
If it is possible would I have to shut down core before backing up the index to make sure no files are open that might not be backed up or could I use shadow copy to do that (or would I end up with a corrupted index after restoring a snapshot that core does not know what to do with)?
Thanks - Merlin
Of course. You need to go to the data directory and and find the blocks, chainstate, and database folders. These you need to backup. Copy them somewhere safe. However, these folders are not just "a couple of Gb" but rather 60+ Gb. You will need a hard drive that can store this full backup (because you will need all of it) and the original. Whenever you need to reindex, you can just copy those three folders back to the data directory. Keep in mind that this will set your sync state to the same as when you made that backup so you will need to wait a little bit for Bitcoin Core to catch up. If you want to keep the catch up fast, then you should make those backups routinely.
Also, I advise that you upgrade to Bitcoin Core 0.12.0 if you have not already. This version has fixes which makes it not necessary to reindex on a crash. You shouldn't need to reindex every time it crashes with this latest version.