backupwallet

Back to wallet

Wallet

Summary

Safely copies the current wallet file to the specified destination, which can either be a directory or a path with a filename.

Description

Safely copies the current wallet file to the specified destination, which can either be a directory or a path with a filename.

Arguments

  • destination (STR, required): The destination directory or file

Results

  • value (NONE): No description.

Examples

qbit-cli backupwallet "backup.dat"
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "backupwallet", "params": ["backup.dat"]}' -H 'content-type: application/json' http://127.0.0.1:8352/