I'd like move my bitcoin cash wallet from one server to the other using the cli.

Server 1: bitcoin abc: 0.17.2. Server 2: bitcoin abc: 0.18.0

I have done the following:

  1. ran the command: backupwwallet "myfile.dat" on server 1 successfully.
  2. copy the "myfile.dat" to server 2.
  3. rand the command: importwallet "myfile.dat".

I get the following the error when trying to import the wallet:

error code: -8
error message:
Cannot open wallet dump file.

I have also tried to replace stop the node on server 2 and copy the wallet.dat over to the other server and then start the wallet up again on server 2. I get the following error in the logs:

CDBEnv::Open: LogDir=/home/cryptodaemon/.bitcoincash/database ErrorFile=/home/cryptodaemon/.bitcoincash/db.log
2018-09-09 07:48:21 Failed to rename wallet.dat to wallet.dat.1536479301.bak

How can I move the wallet from one server to another? Could anyone give me pointers in doing this?

Probably this is Bitcoin ABC's bug. As an alternative to backupwallet, dumpwallet might work.

In addition, please file a bug report at https://github.com/Bitcoin-ABC/bitcoin-abc/issues.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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