Skip to content
WIP

This guide is a work in progress. Barry is also a work in progress.

barry store

Inspect and verify Barry stores (SQLite databases)

barry store [options] [command]
Subcommand Description
list List all active stores, sizes, WAL status and migration versions.
verify Verify SQLite integrity and healthy WAL limits for all stores.
migrate Split a legacy install’s stores into per-node and per-identity stores, keeping the originals.
remove-originals Delete the legacy store files barry store migrate kept, once the active generation holds their data; their archived copies stay.

List all active stores, sizes, WAL status and migration versions.

barry store list [options]
Option Description
--json Print store list as JSON.

Verify SQLite integrity and healthy WAL limits for all stores.

barry store verify [options]
Option Description
--deep Perform deep integrity checks.
--json Print verification results as JSON.

Split a legacy install’s stores into per-node and per-identity stores, keeping the originals.

barry store migrate [options]
Option Description
--services-stopped Confirm this instance’s services have been stopped. Required.
--id <id> Resume an archived migration with this ID.

Delete the legacy store files barry store migrate kept, once the active generation holds their data; their archived copies stay.

barry store remove-originals [options]
Option Description
--report <path> The migration report to act on (default: the one in this instance’s archives)
--dry-run Print what would be removed and what is kept, and change nothing.
--yes Remove without an interactive confirmation.

Every command also accepts -h, --help. All system commands.