Skip to main content

Overview

The cloudstic tui command launches an interactive terminal dashboard for operating Cloudstic without memorizing flags. It gives you an at-a-glance view of every configured profile — source, store, auth reference, and backup health — and lets you trigger backups, checks, and profile/store edits directly from the keyboard or mouse.
The TUI is an interactive control surface, not a background scheduler. It reads and acts on the same profiles.yaml used by the rest of the CLI, and every action it performs (init, backup, check) maps to an existing Cloudstic command.

Basic Usage

Launching with no options reads the default profiles file:
cloudstic tui requires an interactive terminal. It exits immediately with an error if stdin/stdout is not a TTY (for example, when run in a script or piped).

Command Flags

string
Path to the profiles YAML file to load. Defaults to the standard profiles path (CLOUDSTIC_CONFIG_DIR, then the OS user config directory).

What You Can Do

Dashboard

On launch, the TUI builds a dashboard from your profiles file showing, for each profile:
  • Source type and path
  • Store reference
  • Auth reference (if any)
  • Derived store health (ready, not initialized, missing store/auth, provider mismatch, unavailable, etc.)
  • Last backup status, pulled from the store’s snapshot history
Store health is probed in the background, so status may briefly show as pending while connectivity/credentials/encryption unlock checks run.

Views

Each profile can be inspected in two views:
  • Summary — current health, readiness, and available actions
  • History — recent snapshots for that profile’s repository

Manual Actions

With a profile selected, you can:
  • Run a backup — if the profile’s store isn’t initialized yet, the same action initializes it first, then runs the backup
  • Run a check — verify repository integrity for the selected profile (only available once the store is initialized)
  • Create a new profile (and its store, if needed) through an interactive form
  • Edit an existing profile
  • Delete a profile
Profile and store forms reuse the same source types, store URI formats, and encryption options available via cloudstic profile new and cloudstic store new. Action output streams live into an activity panel at the bottom of the screen while it runs, so you can watch backup/check progress without leaving the dashboard. The TUI supports both keyboard and mouse input.

Keyboard Shortcuts

Inside a profile/store creation or edit form, use / or Tab to move between fields, / to cycle select-style fields (like source type), type to edit text fields, Enter to save, and Esc to cancel.

Mouse

Click a profile row to select it, or click an action button in the profile panel to run that action directly — both are wired through the same action handling as the keyboard shortcuts.