bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/backupwallet
Wallet

backupwallet

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

Parameters

destinationstringREQUIRED
The destination directory or file

Returns

nullnull on success

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"backupwallet","params":["/tmp/backup.dat"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

null
← Previous
addmultisigaddress
Next →
bumpfee

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗