backupwallet - Pastel RPC

backupwallet "destination"

Safely copies wallet.dat to destination filename

Arguments:
1. "destination"   (string, required) The destination filename, saved in the directory set by -exportdir option.

Result:
"path"             (string) The full path of the destination file

Examples:
> pastel-cli backupwallet "backupdata"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backupdata"] }' -H 'content-type: text/plain;' http://127.0.0.1:9932/


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node