Choose a protected output folder
The course export lives under reference for verification. Your own backup should live somewhere private and access-controlled.
.\brain.json../brain.json.Ask what the graph says about persona
armaraos memory graph-persona <AGENT> --limit 20
The disposable agent returned no persona nodes. Empty is a valid result, not an error.
Read the write history
armaraos memory graph-audit <AGENT> --limit 6
Validate the database structure
armaraos memory graph-validate <AGENT>
This is the graph command that works offline. The verified database was valid with three nodes and zero edges. Orphan nodes are unconnected, not automatically corrupt.
Write the one-way backup
armaraos memory graph-export <AGENT> -o brain.json
Name what export cannot do
The JSON lets you read, diff, and archive what existed. It is not a restore button.
Make a before-and-after pair
armaraos memory graph-export <AGENT> -o brain-before.json
# run the reviewed change
armaraos memory graph-export <AGENT> -o brain-after.json
Compare nodes and edges. The exported_at timestamp will differ even when knowledge does not.
Protect the plain-text record
The file can contain prompts, paths, document-derived content, and graph facts. Keep it private and redact it before sharing.
Check it / open the backup
Find both surviving Course 5 facts.
Confirm the schema version, node list, and the workspace and organization facts from Module 5.3.
The export is plain, unencrypted JSON and may contain everything the agent knows. Store it with the same care as a conversation transcript.
Troubleshooting for this sitting
| What you see | Likely cause | What to do |
|---|---|---|
| No persona nodes | None have been recorded. | Treat it as valid state. |
| Orphan nodes | Nodes have no edges. | Read the overall valid field. |
| Export prints nothing | The output flag writes a file. | Check the exact path. |
| Files differ only by time | Each export gets a new timestamp. | Compare nodes and edges. |