How to do paper backup and restore for bitcoin core

1

1

Since bitcoin core is HD wallet, it should be possible to make "seed" like backup for it and there should be way to restore the wallet from it as well. I know there is dumpprivkey, but it needs to be done after every transaction to be safe. Other wallets have nice seed backup and restore methods, I suppose core should have one as well.

There is xprv method mentioned in comments, but I'm still missing restore method. Also I would like to do it from console only, since my wallet is on remote server without graphics.

I'm interested in "string" backup mainly because I want to store it in trezor hardware password manager, which does not support files

Pavel Niedoba

Posted 2017-09-19T16:14:44.443

Reputation: 454

2

Core doesn't create seed mnemonics. Best you can do is backup the xprv. See here: https://bitcoin.stackexchange.com/a/56428/5273

Abdussamad 2017-09-19T16:20:40.853

xprv method could be good enough, but the answer does not tell how to restore hd wallet from it, I'm changing the questionPavel Niedoba 2017-09-20T10:04:40.410

Answers

0

Bitcoin Core does not allow you to restore from a given seed or master private key (xprv). There is currently no mechanism for importing seeds or master private keys and no mechanism for exporting seeds (and a convoluted workaround for exporting master private keys).

Note that you can import individual private keys, not just seeds, mnemonics, or master private keys. These can be imported with importmulti or importprivkey and can be exported with dumpprivkey.

Andrew Chow

Posted 2017-09-19T16:14:44.443

Reputation: 40 910

Has there been any recent changes to Bitcoin Core that enable backing up to paper wallet or is it still the same?M.K. Safi 2019-06-02T01:04:55.687

@M.K.Safi No, there has not.Andrew Chow 2019-06-02T01:34:59.527

that's too bad to hear, anyway seems as correct answer so farPavel Niedoba 2017-09-25T11:19:20.850