Upgrade and backup

templassctl talks to the local install under /opt/templass.

Upgrade to 1.0.2

Install a license first. An unlicensed templassctl upgrade tells you to run templassctl license install FILE. See License.

While updates are active, new bundle links are sent by email. Download 1.0.2 from your private link, unpack it, then check the payload:

sha256sum -c SHA256SUMS

From 1.0.1, upgrade is one command. Upgrade runs templassctl setup itself:

sudo templassctl upgrade /path/to/templass-net-1.0.2-linux-amd64

From 1.0.0, run the new bundle's own templassctl:

sudo /path/to/templass-net-1.0.2-linux-amd64/templassctl upgrade /path/to/templass-net-1.0.2-linux-amd64

Use templass-net-1.0.2-linux-arm64 on arm64.

When you upgrade from 1.0.1, a single curl: (56) Connection reset line is expected, and the pre-upgrade backup is named .tar.gz (it is still encrypted).

After upgrading, take a fresh backup. See Backups.

Upgrades to releases published after your update period ends are refused until you renew. You keep running the version you bought.

Commands

CommandRole
templassctl statusProcess, health, license state, and flow counters (exporter names use the flow-source comment)
templassctl logsJournal
templassctl backupWrite a backup archive
templassctl restoreRestore from an archive
templassctl upgradeSignature check, automatic backup, health check, automatic rollback on failure. Runs setup (PATH link, backup passphrase, COMPOSE_FILE)
templassctl setupInstall the /usr/local/bin/templassctl link
templassctl restart [SERVICE...]Recreate Compose services
templassctl rollbackReturn to the previous version
templassctl support-bundleDiagnostics with secrets redacted
templassctl license showCurrent key and updates date
templassctl license installInstall a key from a file
templassctl uninstallRemove the install

Backups

A daily backup timer is on by default.

Backups are encrypted when /opt/templass/backup.pass exists. templassctl setup, backup and status create that file automatically. Store a copy of it offline. A backup made without that file is unencrypted and leaves out ca/wrap.key. Restore uses the same passphrase.

Encrypted backups are named templass-*.tar.gz.enc. Restore still accepts encrypted 1.0.1 files named .tar.gz.

sudo templassctl backup
sudo templassctl restore /path/to/backup