ARMARA Course 05

Course 05 / Module 04

Back up a brain before you risk it

Inspect graph history, validate its structure, and export a one-way JSON record before risky work.

Level
Intermediate
Time
14 minutes
Commands
4
Finish
A readable graph backup

Video / coming soon

The written lesson is complete now.

Choose a protected output folder

The course export lives under reference for verification. Your own backup should live somewhere private and access-controlled.

Use PowerShell paths such as .\brain.json.
01

Ask what the graph says about persona

Run in your terminal
armaraos memory graph-persona <AGENT> --limit 20

The disposable agent returned no persona nodes. Empty is a valid result, not an error.

02

Read the write history

Run in your terminal
armaraos memory graph-audit <AGENT> --limit 6
Real persona, graph audit, and structural validation output
Fresh live output / five audit actions / valid graph
03

Validate the database structure

Run in your terminal
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.

04

Write the one-way backup

Run in your terminal
armaraos memory graph-export <AGENT> -o brain.json
Real graph export file with schema version 1.0 and three nodes
Fresh live output / 2,533-byte JSON / three nodes
05

Name what export cannot do

There is no graph import in 0.8.3.

The JSON lets you read, diff, and archive what existed. It is not a restore button.

06

Make a before-and-after pair

Run in your terminal
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.

07

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.

Safety note

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 seeLikely causeWhat to do
No persona nodesNone have been recorded.Treat it as valid state.
Orphan nodesNodes have no edges.Read the overall valid field.
Export prints nothingThe output flag writes a file.Check the exact path.
Files differ only by timeEach export gets a new timestamp.Compare nodes and edges.

Back to Module 5.3

Next / Module 5.5

Prove what your agent actually did

Lesson ready