Skip to contents

Safely copies the wallet.dat file to a specified destination.

Usage

mc_backup_wallet(conn, filename)

Arguments

conn

A connection object to the MultiChain node.

filename

Character. The full path and filename for the backup. Note: This path is relative to the machine where the MultiChain node is running.

Value

Invisibly returns the RPC result (typically NULL) on success.