ARMARA Course 01

Course 01 / Module 06

Reading and Backing Up Your Configuration

Read the configuration that actually exists, locate the ArmaraOS home, and save a copy before later lessons change anything.

Level
Beginner
Time
14 minutes
Commands
4
Finish
A config backup

Video / coming soon

The written backup ritual is ready now.

Choose a safe backup destination

  • Use a folder outside the live .armaraos directory.
  • Use a new filename so an older backup is not overwritten.
PowerShell uses $env:USERPROFILE\.armaraos.
01

Read the configuration that exists

Run in your terminal
armaraos config show
Real config show output with schema version, efficient mode, and the AINL MCP server
Fresh live capture / complete current config / 24 August 2026

Start with the path printed on the first line. This instance has a schema version, efficient_mode, and one MCP server named ainl. It has no model or channel section, and that is normal.

The transport uses stdio and points to a local executable. Course 5 returns to it. Course 2 returns to efficient mode.

02

Locate the home without trusting the status defect

Data dir: ? is cosmetic. The config path gives you the real location.

Selected real directory listing from the ArmaraOS home
Fresh live capture / selected entries only / credential files never opened

Your home may contain more files and directories. Look for config, agents, logs, workflows, and workspaces. Treat files named for secrets or environment variables as sensitive without opening them.

Do not expect one credential filename.

This prepared home contains secrets.env and no .env. Setup and environment choices can differ. Verify credentials with config test-key, not by opening secret files.

03

Make a backup outside the live home

PowerShell
Copy-Item "$env:USERPROFILE\.armaraos\config.toml" ".\config.toml.backup"

The destination is the current folder, outside the live ArmaraOS home. Prefer a dated name for future backups and never overwrite the only known-good copy.

04

Sort the four setup-looking commands

CommandVerified role
armaraos onboardThe guided first-run path from Module 1.1.
armaraos init --quickWrites config and .env without prompts for scripts or CI.
armaraos setup --quickDocumented as the same quick initialization.
armaraos configureInteractive credentials-and-channels wizard.

Do not run any of them now. Your working installation already exists. This table removes the mystery without rewriting state.

05

Verify before leaving

Compare the source path to the file you copied.

Run config show once more. Confirm that the backup exists at the destination and that its filename is not inside the live .armaraos directory.

Check it / run this yourself

Find the AINL block and your backup.

Run in your terminal
armaraos config show

Point to the [[mcp_servers]] block named ainl, then confirm the copied config.toml.backup exists outside the live home.

Safety note

Treat the entire ArmaraOS home as sensitive. Do not open credential files for curiosity, and do not place the directory in source control or an uncontrolled sync folder.

Troubleshooting for this sitting
What you seeLikely causeWhat to do
Status shows Data dir: ?Known cosmetic defect.Use the path printed by config show.
The config has different sectionsEnabled features change the file.Read what exists. Do not add sections merely because this lesson names them.
.env is absentCredentials may use another supported source.Use config test-key instead of inventing a file.
The backup destination existsThe filename was reused.Choose a new dated name rather than overwriting it.

Back to Module 1.5

Next / Module 1.7

Enabling Shell Tab Completion

Lesson ready