telebugs command reference
Install and manage your Telebugs instance.
To run the telebugs command, connect to your server using SSH or your cloud
provider’s web-based terminal.
Fresh-server recovery bootstrap
Install only the CLI on a fresh replacement server:
bash -c "$(curl --disable -fsSL https://license.telebugs.com/restore)"
The public bootstrap verifies a platform-specific SHA-256 checksum and installs
/usr/local/bin/telebugs. It does not run setup, create configuration, install
Docker, start Telebugs, receive a backup, or restore data.
Do not run telebugs setup on a replacement server. Copy the archive over,
run telebugs data verify, and then sudo telebugs data restore. Restore always
uses the licensed domain stored in the archive; it has no domain override.
Usage
telebugs— Displays the main menu with available commands.
Manage passwords
password— Manage passwords.
Manage automatic updates
auto-update— Manage automatic updates.
Manage application data
data backup [filename]— Stop a running instance, validate all persistent data, and create a complete verified backup. The default filename is a UTC timestamp. Existing files are never overwritten; plan a maintenance window when the stored data is large.data verify <filename>— Verify a backup manifest and creation timestamp, configuration checksum, and every archived file without changing Telebugs.- Format-2 backups verify their signed domain receipt offline.
- Format-1 backups require online exact-domain authorization from
auth.telebugs.com. Verification does not rewrite the archive or persist the replacement receipt; a successful restore does. Invalid format-2 receipts are never reissued.
data restore <filename>— Verify and stage a backup, then restore it with the captured immutable application image. Existing storage and configuration are retained; a failed switch is rolled back automatically.- The manifest, recovery configuration, receipt, and any existing installation must agree on product, installation token, and exact licensed domain before Docker or storage is changed.
- Fresh-host restore uses
/var/telebugs, archived recovery secrets, archived registry identity, and the captured image digest. Registry access is still required if that exact image is not available locally. - A completed replacement restore is failed back by returning DNS to the retained previous server. If the replacement accepted activity that must be kept, create a fresh backup there and restore it onto the previous server before moving DNS. Telebugs does not merge two installations.
- Restore sends only sanitized, best-effort lifecycle status with a fixed failure stage and rollback outcome. Telemetry failure never changes restore.
- A captured image that predates
/readymay fall back to/up; the CLI prints a warning instead of silently weakening the check. --yesskips the replacement prompt. Use it only when automation has independently confirmed the target installation.
See Backup and Restore before relying on an archive.
Import Sentry configuration
migrate sentry imports projects and supported configuration while preserving
the original ingestion keys and project IDs. It requires a migration-enabled
CLI and Telebugs 2.1.0 or newer.
Use --from <Sentry Compose directory> or --backup <partial JSON file>, plus
--source-url <original Sentry URL>. --dry-run validates without importing.
After reviewing the report, --accept-unsupported enables a non-interactive
import. DNS, HTTPS and proxy routing are changed separately.
See Migrating from Self-hosted Sentry for the complete workflow, unsupported data, and key-revocation behavior.
Manage versions (previews, pins, and rollbacks)
update— Update to the latest release covered by your license. Usetelebugs update --tag 2.0.0to select an exact release.- The CLI saves a local recovery snapshot before switching versions and checks the new version before adopting it. Keep separate off-server backups, too.
- Private prereleases require an explicit tag and an installation-specific grant. They are not selected by ordinary updates.
rollback --dry-run— Show and verify the available pre-update snapshot without changing the installation.rollback— Restore the matching application version, data, and settings from that snapshot. Changes made after the snapshot are not included. Automatic updates stay off until you enable them again.
Upgrading from Telebugs 1.x
Telebugs 2.0.0 is the supported migration step from the Rails-based 1.x releases. Upgrade to 2.0.0 first, then follow the upgrade instructions for later Rust releases. You do not need to install every historical patch release. Your license must cover the versions you install.
telebugs update --tag 2.0.0
telebugs status
With the current CLI, an ordinary update from 1.x stops at 2.0.0 when your license permits a Rust release. A request to skip that step and install a later stable release is rejected before switching versions. Existing Rust installations keep their normal release selection. Update your CLI before upgrading from 1.x.
The verified upgrade baseline for Telebugs 2.2.0 is 2.1.0. From 2.0.0, update to 2.1.0 first, check the installation, then update to 2.2.0. Later releases will document any required intermediate steps.
Additional commands
help— Displays help information for thetelebugscommand.setup— Runs the initial setup process for a new Telebugs installation. Do not use it to prepare a replacement server fordata restore.start— Start Telebugs.stop— Stop Telebugs.status— Checks the container,/up,/ready, local databases, storage, migrations, critical workers, queue latency, and notification failure warning.--jsonprints the detailed local result for scripts.
Flags
-h,--help— Displays help information for thetelebugscommand.
Use telebugs [command] --help to see detailed help for a specific command.