{{$isGUITab := eq .ActiveTab "gui"}} {{range $i, $p := .Profiles}}{{$isThisTab := eq $.ActiveTab (printf "profile-%d" $i)}} {{end}}

MacOS/Windows only. Check for new Restray versions on startup and periodically.

Windows/Linux only. If the selected backend is not found in PATH, automatically self-manages it's binary from GitHub.

"all" (success + errors), "errors" (errors only), or "none" (silent)

"color", "mono", "white", or "black". Default is "mono" on MacOS/Windows and "color" elsewhere. "mono" follows OS light/dark mode.

"description" (human-readable, e.g. "every 6 hours"), "cron" (raw expression), "last" (time since last backup), or "none"

MacOS/Linux only. Terminal emulator used in "Shell" and "View Log".

{{range $i, $p := .Profiles}}
Profile

Name for the profile

Backup program used by this profile. Do not change unless you know what this does.

Path to the environment file with RESTIC_*, RUSTIC_*, etc.

Path to an rclone config file, set as RCLONE_CONFIG. Edit its contents with your regular editor/rclone; this only stores the path.

How long to retry acquiring a repository lock (e.g. "5m", "30s"). Set to "0" to disable.

Shell command to run before a scheduled run.

Shell command to run after a scheduled run.

Schedule

Empty to disable schedule. Cron expression (see crontab.guru).

Backup

Paths to back up, one per line.

Extra arguments passed to `backup`.

Extra arguments appended (not replaced) to `backup` when running from schedule.

Prune

Extra arguments passed to `forget --prune`.

Check

Extra arguments passed to `check`.

Mount

Extra arguments passed to `mount`.

Env File
{{end}}