READMESource: main@829408bc
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
No comments yet. Be the first to write one.