Appliance Support Upload Procedures
Call Telemetry appliances provide native CLI commands to upload diagnostics, system logs, and full disaster recovery archives (.cta) directly to Call Telemetry Support.
Uploads are streamed over outbound HTTPS (TCP port 443) to dash.calltelemetry.com and stored in private Cloudflare R2 object storage. Multi-gigabyte archives are transferred using resilient 50 MB chunked multipart transport with automatic resume capability, bounded memory consumption, and an automated 30-day lifecycle retention purge.
Supported Diagnostic Formats
| Format | Extension | Generated By | Typical Use Case |
|---|---|---|---|
| Call Telemetry Archive | .cta | ct appliance export | Full disaster recovery bundle containing database dumps, configurations, and encrypted secrets vault. Used for complex database, migration, or policy history troubleshooting. |
| Diagnostic Bundle | .tar.gz, .tgz | ct diag show-tech | Compressed diagnostic bundle containing system journal logs, Docker container outputs, and OS health snapshots. |
| Sanitized Support Report | .log, .txt | ct diag support-bundle | Bounded, single-file text report with redacted configuration values and system status metrics. |
Core Upload Procedures
1. Collect and Upload Diagnostics (ct diag show-tech --upload)
To collect appliance diagnostics and upload them immediately in a single step, add the --upload flag:
# Collect default 24-hour diagnostic window and upload
sudo ct diag show-tech --upload
You can specify a shorter or longer log window:
# Collect a 1-hour window for recent incidents
sudo ct diag show-tech --period 1h --upload
# Collect a 7-day window for long-term troubleshooting
sudo ct diag show-tech --period 7d --upload
# Specify an exact UTC range
sudo ct diag show-tech --from 2026-11-01T00:00:00Z --to 2026-11-02T00:00:00Z --upload
The CLI inspects system logs, packages the diagnostic bundle, and initiates the upload. If the upload encounters an issue, the local bundle remains preserved on the appliance filesystem.
2. Upload an Existing Diagnostic File or Archive (ct diag upload --file)
When support requests an existing file—such as a previously saved .cta archive, diagnostic tarball, or log file—use ct diag upload --file:
# Upload a full appliance archive (.cta)
sudo ct diag upload --file /var/backups/ct-appliance-20261110-142200.cta
# Upload an existing show-tech tarball (.tar.gz)
sudo ct diag upload --file /home/calltelemetry/ct-show-tech-20261110.tar.gz
# Upload a sanitized support report (.log)
sudo ct diag upload --file /home/calltelemetry/show-tech.log
The CLI verifies the file's readability, reads the archive manifest or metadata, computes the SHA-256 checksum, and begins streaming chunks.
3. Export and Upload Full Archive in One Step (ct appliance export --upload)
When troubleshooting deep database corruption, schema migration issues, or complex call routing anomalies, support may request a full Call Telemetry Archive (.cta). You can export and upload the archive in one command:
# Export full appliance archive and upload immediately
sudo ct appliance export --upload
# Export to a custom destination and upload
sudo ct appliance export /var/backups/ --upload
# Export skipping voluminous debug logs while retaining full call records
sudo ct appliance export /var/backups/ --upload --skip-logs
During execution, ct appliance export builds the .cta container with non-blocking PostgreSQL catalog estimation, verifies archive integrity, and directly transitions to the 50 MB chunked upload transport.
Authorization & Approval Workflows
Call Telemetry supports two upload authorization workflows: noninteractive policy tokens and interactive browser approvals.
Policy-Authorized Uploads (Automated / Headless)
Appliances configured with an active support policy token can upload diagnostics noninteractively without manual browser steps:
-
The policy credential (
ctsup_...) is stored in a private mode0600file at:~/.config/calltelemetry/support-upload.token(An alternate path may be supplied via
--credential-file /path/to/token.) -
Run the upload command with
--unattendedfor machine-readable JSON output suitable for automated scripts and monitoring agents:sudo ct diag upload --file /var/backups/archive.cta --unattended -
The CLI submits the token with
collection_scope: appliance, confirms the policy limits, and completes the upload.
Interactive Browser Approval Flow
If the appliance does not carry a standing policy token, or if you explicitly supply --interactive-approval, the CLI uses a short-lived browser approval workflow:
-
Run the upload command:
sudo ct diag upload --file /var/backups/archive.cta --interactive-approval -
The CLI requests an upload intent and outputs a one-time approval link:
Upload requires confirmation.Approve in your browser: https://dash.calltelemetry.com/support/upload/approve?code=CTA-849-218Waiting for browser approval (expires in 10 minutes)... -
Open the URL in your browser:
- Log into
dash.calltelemetry.comwith your authorized administrator account. - Confirm the target support case reference, file name, and file size.
- Click Approve Upload.
- Log into
-
Once approved, the CLI immediately detects approval, activates the upload capability, and begins streaming chunks.
50 MB Chunked Multipart Transport & Resiliency
All large files (including multi-gigabyte .cta archives) are transferred using a robust chunked multipart protocol:
- 50 MB Chunk Sizing: Files are split into sequential 50 MiB (
52,428,800byte) chunks. - Bounded Appliance Memory: Chunks are streamed through a fixed buffer, ensuring resident memory consumption remains strictly under 64 MiB regardless of whether the archive is 200 MB or 10 GB.
- Direct-to-R2 Streaming: Dashboard API proxies chunks directly to Cloudflare R2 object storage without caching full archives on intermediate proxy disks.
- Automatic Resume: If a connection drops midway through a multi-gigabyte upload, transfer state is preserved in:
Re-running the upload command reads the state file and resumes from the next unacknowledged chunk without re-uploading earlier parts.~/.config/calltelemetry/.ct-support-upload/<intent_ref>.state.json
- Transient Failure Retries: Each chunk upload automatically retries up to three times with exponential backoff before reporting an error.
- Lifecycle Retention: Uploaded support files are tagged with
retention=support-archiveand automatically deleted from Cloudflare R2 after 30 days.
Exit Codes & Verification
| Exit Code | Status | Description |
|---|---|---|
0 | Accepted | File was received in full, checksum matched, and upload was verified by Call Telemetry Support servers. |
1 | Failed | Network interruption, expired approval, invalid credentials, or size limit exceeded. The local file is always preserved. |
2 | Pending | File upload completed, and backend validation/scan is currently in progress. |
Local Transfer Receipts
Upon successful upload, a durable JSON receipt is written locally:
~/.config/calltelemetry/.ct-support-upload/receipt-<file_hash>.json
The receipt records the case reference, server receipt ID, exact SHA-256 hash, byte size, timestamp, and profile used. This file provides an immutable local audit record of what was transferred.
Related Documentation
- CLI Command Reference — Complete documentation for all native
ctcommands. - Appliance Backup & Disaster Recovery — Creating, inspecting, and restoring
.ctaarchives. - Diagnostics & Error Reporting — Optional automated error reporting and analytics toggle.
- Firewall & Port Requirements — Required outbound HTTPS reachability to
dash.calltelemetry.com.