is there an option for the export command in geth to export from only a specific blocknumber? For example if I wanted to export the blockchain but only up to before the DAO attack?

1 Answer 1


I see here:

Or if you want to back up portions of the chain over time, a first and last block can be specified. For example, to back up the first epoch:

geth export <filename> 0 29999

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.