GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — Backup Restore and Secret Rotation Backup Restore and Secret Rotation
github-actions[bot] edited this page
WebSSH provides native administrator and CLI workflows for backing up persistent state, validating archives, restoring an installation, and rotating a container-managed Backups remain highly sensitive even though native exports exclude saved remote passwords and SSH keys. An archive can contain user configuration, host information, the authentication database (including password hashes and MFA data), provider secrets such as the admin-managed encrypted GitHub client secret, and the persisted application secret. Store downloaded archives encrypted and off-host with restricted access. The archive covers persistent SOCKS5 proxy metadata ( These are specific file exclusions, not general secret detection: commands, notes, profiles and retained run history can still contain manually embedded secrets. Historical archives are not rewritten and may still contain remote credentials. Protect their retention and rotate remote credentials when old copies must stop working. Current archives use format version 2. The verifier also understands legacy format version 1/schema 0 for compatibility. Validation checks the manifest, file checksums, declared sizes, member paths, member count, compression behavior, and archive-wide limits before restore.
Backup and restore share the same authorization boundary but use different safe paths. A backup coordinates writers before collecting consistent state. A restore stays in an instance-specific, quota-bounded staging area until archive validation and exact operator confirmation succeed. An administrator can create a consistent backup while the service is online. SQLite uses its backup API and file writers are coordinated so that the archive represents a coherent point in time. The completed download is one-time, session-bound, and expires after Do not rely on the short-lived browser download as retention. Move the archive immediately to encrypted, access-controlled backup storage. Restore is deliberately disruptive and strongly confirmed. Normal web and CLI restore ignore excluded credential files even in older archives and clear existing copies to prevent accidental reuse by a different restored account. After restore, reimport SSH keys, recreate saved remote passwords and reassign credentials to hosts, jump hosts, SOCKS5 proxies and SMB sources. Review and explicitly re-enable schedules before unattended execution. The recovery checklist marks missing SOCKS proxies for review; it never reconnects a routed host directly or restores an excluded proxy password. Online restore is enabled only when
Emergency rollback archives and secret-rotation recovery snapshots are private internal recovery material, separate from downloadable exports. They retain encrypted credentials so a failed operation can recover the original state; normal restore does not import those credentials. Restrict recovery storage access and manage its retention and cleanup separately from exported backups. If an interruption occurs during replacement, the restore workflow attempts rollback from the emergency archive. On restart, the durable recovery directory remains available for diagnosis or recovery. Still take an independent backup before every restore and keep it outside the instance. CLI operations require every WebSSH process that uses the same Discover exact options in the installed version: flask --app start:app backup create --help flask --app start:app backup verify --help flask --app start:app backup restore --help For a container deployment, execute the command in a one-off container with the same data volume and configuration, while the normal application container is stopped.
Without Default operational limits include:
Reverse-proxy body-size and timeout settings must allow the same operation. Do not raise limits without assessing disk exhaustion and decompression-bomb risk. The supported rotation command re-encrypts persisted secrets when WebSSH manages flask --app start:app rotate-secret-key --help All WebSSH processes must be stopped. Take and verify a backup first. The command re-encrypts per-user SSH keys, named connection passwords, TOTP values and the GitHub client secret, and invalidates signed session state. It verifies staged credential data before publishing the new secret and restores original bytes if publication fails. Its private recovery snapshot retains the original encrypted credentials; the ordinary backup export does not. A partial or interrupted manual replacement of the application secret can make persisted credentials unreadable. If Test the full sequence on an isolated instance:
An untested archive is not a verified recovery capability. In Settings Center → Backup & Restore, expand Backup coverage to see included configuration/account data and excluded remote credentials/live sessions. The adjacent Recovery check opens the checklist for the signed-in account. Normal export restores write a small informational WebSSH documentation - Project - Issues - Discussions - Security This Wiki is published from the versioned WebSSH Wiki Install and operate
Identity and access
SSH and files
Reference and administration Clone this wiki locally | ||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |