If you have wallet backups which you wish to use in lieu of a server's current wallets, use this article to upload the wallet backups to the desired server.
Before moving wallet files, please be certain that you've very recently backed up your wallet files which contain any funds, and have retained a separate, secure, offline copy of them.
Windows
If you're using Windows, follow the article 'Migrating wallets between servers (Windows)'.
Linux and Mac OS
First, we'll stop the wallets of the server you wish to upload to, and move its old wallets out of the way, so we may then upload the backups.
Within that server's terminal, run the following command stop the wallet nodes for all coins:
supervisorctl stop all
Then, in the same terminal, paste and run this command exactly as written to move its old wallets out of the way:
find /mnt/blockchains/ -iname 'wallet.dat' -execdir mv -i '{}' old-wallet.dat \;
Run this command to move this server's old Ethereum seed out of the way:
mv /root/seeds/seed.txt /root/seeds/old-seed.txt
Restoring your wallets
On your Mac or Linux computer, move the backup wallet files to your computer user's Home directory in preparation for the upload commands below.
Within your Mac or Linux computer's terminal (without having logged into your server's terminal), run the following for each coin you've backed-up, replacing 1.2.3.4 with the IP address of the destination server:
Bitcoin:
scp ~/bitcoin.dat root@1.2.3.4:/mnt/blockchains/bitcoin/wallet.dat
Bitcoin Cash:
scp ~/bitcoincash.dat root@1.2.3.4:/mnt/blockchains/bitcoincash/wallet.dat
Zcash:
scp ~/zcash.dat root@1.2.3.4:/mnt/blockchains/zcash/wallet.dat
Litecoin:
scp ~/litecoin.dat root@1.2.3.4:/mnt/blockchains/litecoin/wallet.dat
Dash:
scp ~/dash.dat root@1.2.3.4:/mnt/blockchains/dash/wallet.dat
Ethereum:
Within the destination server's terminal, run the command below to create a new seed file and open a text editor:
nano /root/seeds/seed.txt
Paste the seed you have copied earlier during the backup. Then save by pressing Ctrl+X, type Y, and hit Enter.
Restarting the wallet nodes
In the new server, run the commands below to start the server processes again:
supervisorctl start all
After this, the blockchains will need to synchronise which may take around 24-48 hours if they hadn't previously synced.
Comments
0 comments
Article is closed for comments.