dsh-snapshot
Backup / restore / rotate snapshots of ~/.dsh for DeepSeek Harness — sha256-verified archives with path-traversal protection (own-built, replacing third-party backup plugins).
- Stars
- 0
- Language
- TypeScript
- Created
- Aug 21, 2026
- Updated
- Oct 19, 2026
Introduction
dsh-snapshot
Backup / restore / rotate snapshots of ~/.dsh for DeepSeek Harness.
- Archives go to
~/dsh-backups/dsh-backup-<ts>.tar.gz(outside~/.dsh). node_modules/cacheare excluded (regenerable); configs, sessions, credentials and plugin manifests are kept.- Every archive ships a
.sha256sidecar;snapshot_listverifies them. - Restore validates every archive entry stays inside the destination root
(path-traversal guard) and refuses to run without
confirm: true.
Tools
snapshot_backup— create a snapshot (keep: number of archives to retain)snapshot_list— list snapshots with sha256 verificationsnapshot_restore— restore a snapshot (requires confirm: true)
License
MIT