System Backup (DRAFT)
This guide walks you through the process of backing up and restoring the Cold Wallet database using the Cold Wallet CLI.
Prerequisites
Before you begin, ensure you have installed and can run the Cold Wallet CLI Deployment.
Backup & Restore
- Run the Cold Wallet CLI installer with the command for your OS.
- Linux
./coldwallet-cli-linux- macOS
./coldwallet-cli-darwin- Once launched, the CLI will display a list of commands for managing databases, keys, and presignatures:
This CLI is used to manage the Blockdaemon cold wallet. It can generate
configuration, run the cold wallet, and manage the cold wallet.
Usage:
walletcli [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
config Manage wallets' configurations.
database Manage MPC nodes' databases.
help Help about any command
key Manage MPC nodes' keys.
presignature Presignatures are essential in MPC protocol. Each node must get hold of sufficient presignatures for the wallet to work.
Flags:
-h, --help help for walletcli
Use "walletcli [command] --help" for more information about a command.How to Backup
- To back up the Cold Wallet database, run the following command.
./coldwallet-cli-darwin database- This command will display database management options, such as
backuporrestorea database.
/Manage MPC nodes' databases.
Usage:
walletcli database [command]
Available Commands:
backup Backup the database of the node
restore Restore the database of the node
Flags:
-h, --help help for database
Use "walletcli database [command] --help" for more information about a command.- Select the node you want to back up. For example, to back up
node0, run:
./coldwallet-cli-darwin database backup --node-index 0- The backup file for
node0will be saved in thebackup/backupfolder.
How to Restore
NoteEnsure that the container running the MPC node is stopped before restoring.
- Run the
restorecommand with the backup file name:
./coldwallet-cli-darwin database restore --node-index 0 --backup-file <the backup file name>- Confirm the node is stopped by typing
YES. - Once the restoration process is complete, the backup file will be removed.
🗣️We Are Here to Help!
Please contact us via email or support chat if you encounter an issue, bug, or need assistance. Don't forget to include any relevant details about the problem. To request a wallet form and Institutional Vault Approver form, please click here or contact our sales team.
Updated about 19 hours ago
