TachEmail r90
Docs / Operate / Retire and decommission

Retire and decommission

Remove owned program integrations while preserving custody, then dispose of an instance under your retention policy.

Built from commit f569b4a on Nov 14, 2026

This page is generated from the maintained install guide, GUIDE.md, at source commit fa247a8. Keep the signed guide that came with your installed release.

  1. Choose a retention owner and deadline. Inventory endpoints, managed policies, OTLP exporters, DNS, ingress, SMTP/OAuth credentials, optional telemetry, backup destinations, cloud snapshots, exports and support archives. Removal is not credential revocation or erasure. There is no per-person erasure tool.
  2. Stop new collection at each harness/exporter and remove only Tach-owned integrations using that endpoint package’s removal instructions. Flush and confirm pending event acknowledgements before revoking keys if permitted by policy. Keep pending queues and machine authority until their disposition is explicitly decided; never delete/re-enroll to make a queue look empty.
  3. Revoke organization/personal ingest, query and enrollment tokens in Tach and end sessions/deactivate people as policy requires. Retain a controlled recovery operator route until backup recovery is proved. Revoke external SMTP passwords, Exchange app secrets/permissions, cloud-copy credentials and telemetry keys separately; shared credentials need rotation, not deletion of others’ access.
  4. Run the verified sudo tach backup path and retain both snapshot and receipt off the original disk. Restore to a new empty recovery target using this guide, boot it isolated from producers, compare Facts/receipts and verify operator access. Do not overwrite the serving ledger or restore an older copy over newer accepted usage. Record the result without private rows or keys.
  5. Run sudo tach uninstall. It stops/disables and removes only hash-recorded, unchanged Tach units and program files, and clears unchanged Tach proxy routes. It leaves Docker/Caddy packages and shared services installed. Owned update-check and operational-monitor service/timer units are removed too. Edited, symlinked or unrecorded files are reported and preserved with a nonzero exit; this is incomplete retirement, not success. Review them locally and remove only integrations you independently establish belong to Tach. Older packages with no ownership record require manual review, never filename-based deletion. A stopped/failed Caddy is never restarted just to retire it. Missing recorded definitions are not proof of removal: active/unknown unit, container or loaded proxy state is reported incomplete without executing unverified definitions. Restore verified definitions or review/retire those runtimes explicitly, then retry. An edited unit can still be running: confirm no Tach listener or start-at-boot job remains, including any independently added timers/containers/monitors.
  6. Uninstall preserves the entire data directory, local backup/receipt pairs, /etc/tach (config, runtime secrets, first keys, release/ownership state), TLS private keys/certificates, Caddy account storage, /opt/tach/generations (private activation snapshots), update-check/notification state, Docker images, off-host copies and endpoint pending custody. Keep these access-restricted. For a retry after partial removal, use the verified package’s sudo python3 -I tach.py uninstall; it uses the same retained ownership authority, not a fresh inferred inventory.
  7. After preservation and policy approval, remove Tach DNS/certificate exposure, residual integrations and external credentials; dispose of the explicitly inventoried whole-instance volumes, backups, replicas, snapshots, exports, support archives and encryption keys under your storage/provider procedures. Never use a broad recursive delete on a shared host or backup account. Record legal holds, delayed provider deletion and retained copies. Tach does not claim secure erase from SSDs, snapshots or third-party logs.

Enter to openEsc to close