I would like to move my bitcoin money wallet from one server to the other with the help of the cli.
Server 1: bitcoin abc: 0.17.2.
Server 2: bitcoin abc: 0.18.0
I did the following:
- ran the command: backupwwallet "myfile.dat" on server 1 successfully.
- copy the "myfile.dat" on the server 2.
- Enter the command: importwallet "myfile.dat".
The following error message is displayed when I try to import the wallet:
error code: -8
Error message:
Can not open the dump file of the wallet.
I've also tried replacing the stop node on server 2 and copy the wallet.dat file to the other server and then restarting the wallet 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 change the name of wallet.dat to wallet.dat.1536479301.bak.
How can I move the portfolio from one server to another?
Could someone give me some guidance in this regard?