Author

Topic: blockchain backup with git: revert not working (Read 556 times)

legendary
Activity: 1778
Merit: 1070
Hi,

currently I am testing git for backuping blockchains in the corresponding chain directory:
Code:
git add *
git commit -m ""
However, if I try to revert a commit using
Code:
git revert HEAD
the resulting chain directory is messed up, i.e., starting *coin-qt reports a broken blockchain and wants to start downloading the whole db again.

Actually I though that a revert would restore a former state of the blockchain. But this assumptions seems to be wrong. Anyone an idea what is going wrong?

For test purposes, I use the feathercoin blockchain and feathercoin-qt since the corresponding db can be copied relatively quickly.

Thanks in advance for your help.
Jump to: