How to backup and restore your Whitecoin wallet

How to backup and restore your Whitecoin wallet

Backing up your wallet is an important step to securing your coins in the event of losing your current staking wallet. Having a backup will enable you to restore your wallet for staking.

The Whitecoin StakeBox has a program built in that will automatically backup and save your wallet file to a backup file on the StakeBox. First you need to enter the Terminal window or the command line on your StakeBox. You can access the Terminal from the web GUI by clicking on Terminal in the menu, which will open up a new tab.

To backup your wallet type in the following commands:

cd scripts
./backupwallet

This will then begin to backup your wallet and save it as a .zip file in the directory /home/pi/backups/

SFTP File Transfer

First thing you will need to do is enable SSH so we can remotely access the StakeBox and transfer the backup wallet file to your Desktop/Laptop computer. To do this type in the following command in the Terminal:

sudo systemctl enable ssh

The SSH File transfer protocol is the easiest method to transfer files between two devices on your StakeBox. If you have not enabled SSH or you don't know how, then please check out our "How to remotely access your StakeBox" guide in order to do that.

  1. On your computer you will need to download an FTP client such as FileZilla from filezilla-project.org

  1. Launch FileZilla and go to File > Site manager

  1. Create a New Site and name it StakeBox or whatever you like.
  2. Under General tab fill in the IP address of your StakeBox and in the Protocol box select SFTP. Under Logon Type select normal and then fill in your user name and password for the StakeBox in the below fields.

  1. Click Connect
  2. If prompted click ok to trust the host connection

 

  1. You are now connected to the StakeBox using SFTP 

Here we can see our folder on the right hand side where we saved our wallet backup file earlier.

  1. On the left hand side navigate to a folder where you would like to save your backup wallet to. For example, you might want to save it to a new folder named Whitecoin Wallet in the Documents folder. Simply navigate to Documents and right click to create a new directory.
  2. Now locate your wallet backup file on the right hand side and right click the file and select Download

You should now see the back-up wallet has now transferred to your computer. Make sure that you save this wallet in a secure location to prevent any unauthorized access. 

To disable SSH again, which is highly recommended you can simply type in the following into the Terminal:

sudo systemctl disable ssh

Restoring your wallet

In the event that you lose your wallet or it get corrupted you can restore it with your backup copy, simply by copying and pasting to the same location that the wallet.dat file is. Remember that you will need to rename your backup wallet file to wallet.dat in order for the Whitecoin application to read your wallet.

Note: Make sure that you stop the whitecoind service before attempting to restore your wallet

Give us a tip!

Our learning and blog content is shared and released for free with no adverts ever, guaranteed! If this content helped your project or you just like the work we do and would like to help us grow the content and products we have available, please consider giving us a tip...

BTC: 12ThHKExWZYzLJ7gWSug7CwN5juLEFnpQx

ETH: 0x7323173a7b70e391b82c811af7ebc9ef0d777643

CoinPayments:

PayPal: Donate with PayPal

Previous article Getting Started with Whitecoin StakeBox
Next article How to remotely access your Whitecoin StakeBox

Leave a comment

Comments must be approved before appearing

* Required fields