- The mnemonic (seed phrase): Restores the wallet’s keys only.
- A backup of wallet’s database: Restores the wallet’s VTXOs and operational state (exit progress, payment history).
Bark CLI and Barkd
bark and barkd store wallet data (db.sqlite) and the mnemonic in the data directory, which defaults to $HOME/.bark on all operating systems. You can override it with the --datadir flag or the BARK_DATADIR (BARKD_DATADIR for the daemon) environment variable; the current default is shown for --datadir in bark --help.
Back up the entire data directory continuously, for example by mounting it on mirrored storage (RAID, ZFS, or similar) or syncing it to a secure location after each transaction. The mnemonic file is stored in plain text, so restrict access to the directory and its backups.