Operations
Recovery and backup
Interruptions are expected and recoverable. The rule throughout: preserve state, then let the tools decide.
Interrupted update
If an application update was interrupted (power, crash, full disk), run recovery before anything else. It finishes or aborts the pending transaction using the recorded directory identities:
perichora app recover-update --target "/Applications/Anacom Earth.app"After a “no space left on device” error, free space elsewhere first, then run recovery.
Rollback
perichora app rollback --target "/Applications/Anacom Earth.app"Rollback asks for confirmation, verifies both bundles and atomically returns to the previous version while preserving the release sequence high-water mark, so an older update cannot be replayed afterwards.
If state is damaged
Backups
Back up your data folder (~/.local/share/perichora by default) with your usual backup tool while Anacom Earth and the runtime are stopped. It contains installed packages, publisher trust and revocations, runtime settings and the application’s release state. After restoring, pair again, and verify package signatures before relying on them.
The engineering repository also contains a bounded snapshot tool for owner use (scripts/local_backup.py). It is not part of the application bundle.