xiaoyuyu6420/dsh-backup

One-command backup & restore of DSH user data: /backup command family plus backup_dsh tool and a visual Settings panel, sha256 verify with hardened restore validation (path-traversal/symlink rejection), scheduled auto-backup that survives restarts on an absolute cadence, configurable rotation, archive download route, and GitHub sync to a private repo; macOS/Linux/Windows.

One-command backup and restore of DSH user data: the /backup command family plus a backup_dsh tool, and a visual Settings panel. A fresh v0.9.0 install prints the archive name, its sha256 and the rotation result, so archives are verified rather than assumed. It exists because the whole harness lives in one folder (~/.dsh) — one failed upgrade, one accidental delete or one new laptop otherwise loses sessions, settings and skills.

Tools & Capabilities ★ 0 updated 2026-09-21
View on GitHub ↗

Install

dsh plugin --profile web add @xiaoyuyu6420/dsh-backup

README: install with the scoped npm form, restart dsh web, then type /backup — a verified archive lands in ~/Desktop/dsh-backups/. A visual panel in dsh web → Settings → Plugins → Backup provides list, verify, restore, delete and edit-settings without a restart.

Compatibility

DSH web profile. Covers the entire ~/.dsh workspace (sessions, settings, skills). Default rotation keeps 7 copies; the plugin auto-takes a dsh-pre-upgrade- snapshot the moment the host version changes, so you can try a new release and roll back if it bites.

Details

Recent updates

README documents the /backup restore path and the rotation behaviour (default 7 copies retained), plus the auto pre-upgrade snapshot triggered by a host version change.

FAQ

How do I install dsh-backup?
Run dsh plugin --profile web add @xiaoyuyu6420/dsh-backup, restart dsh web, then type /backup. A verified archive lands in ~/Desktop/dsh-backups/.
What does dsh-backup protect?
The entire DSH workspace folder ~/.dsh — sessions, settings and skills — so a failed upgrade, accidental delete or new laptop does not lose them.
Are backups verified?
Yes — the command prints the archive name and its sha256, and rotation reports how many copies were removed (7 kept by default).

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins