BriardGet Briard

Docs · Reference

The briard command

Everything you do day to day is on the Briard dashboard. The briard command is for the rest: a new sign-in link, a check when something looks off, a restore, taking it down for a while.

Running it

Open a terminal on the machine that runs Briard.

  • Linux: use sudo, eg sudo briard doctor.
  • Windows: right-click Terminal, then Run as administrator.

briard help lists the commands.
briard help <command> says more about one of them.

Getting in

briard open

Prints a one-time link to your Briard dashboard. The browser that opens it becomes a trusted device. The link works once, within ten minutes, so run it again for a fresh one. It is also how a browser that lost its sign-in gets back in.

When something looks off

briard doctor

Checks the machine now and says what is wrong: the network, the disk, the system your apps run in, the address, the name, free space, the certificate and the clock. It also lists the app updates on offer. Paste its output into your message when you ask for help.

briard alerts

What is wrong right now, then everything Briard has warned about before. It works even when Briard itself is down.

briard logs

Briard’s own log, together with the console of the system your apps run in. A bug report wants both.

  • -follow keeps printing new lines until you press Ctrl+C.
  • -n 500 shows the last 500 lines instead of 100.
  • -grep <text> shows only the lines that contain the text.
briard version

Which version of Briard this is, and of the system it runs your apps in. briard doctor prints the same at the top of its report.

Apps

briard app install <app>

Installs an app from the catalog, such as briard app install mealie. If the app doesn’t come up healthy, Briard puts things back the way they were. Run on an app you already have, it updates it to the newest version. Apps never update on their own.

briard app history <app>

What happened to the app, oldest first: updates, undos, the changes Briard noticed and the quiet days. Under each row is the point that undoes it.

briard app undo <point>

Undoes that row and everything after it. Name the point exactly as briard app history printed it. The app stops for a moment and starts again. The undo is itself a row in the history, so it can be undone too.

Backups

briard backup

Backs up now, the same as the nightly run at 02:00, and waits until it is done. The first backup copies everything, so it takes the longest.

briard backup restore <app>

Puts the app’s data back as it was in the newest backup. To pick an older one, add -at and the backup’s id as the Backup page lists it, as in briard backup restore -at 3f9c1a2b mealie. The restore is a row in the app’s history, so briard app undo can undo it.

Backups that an earlier install wrote to the same backup folder work too.

Taking it down for a while

briard stop

Brings Briard down while you work on the machine. What it is doing is stopped, and the system your apps run in shuts down cleanly. While it is stopped nothing warns you, and the nightly update waits.

briard start

Brings Briard back after briard stop. Restarting the machine does the same.

Updates

briard update

Briard updates itself every night. This updates it now instead, and says how it went. -vm updates the system your apps run in instead of Briard itself.

Settings

briard config set vip <address>

Changes the address your home reaches Briard at. Pick a free address on your network, outside the range your router hands out, or say dhcp to let the router choose one. Your apps are away for about a minute while it applies.

Removing Briard

briard uninstall -yes

Removes Briard from the machine and keeps your data, so installing again picks up where you left off. Without -yes it only says what it would do. Add -delete-data to delete your data as well, which cannot be undone. On Windows, a restart finishes it.