xiaoyuyu6420
dsh-backup
Backup DeepSeek Harness user data with one command: /backup, scheduled auto-backup, sha256 checksums and rotation. 一键备份 DSH 数据,支持定时自动备份。
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 14, 2026
- Updated
- Aug 14, 2026
Introduction
dsh-backup
One-command backup for DeepSeek Harness user data — sessions, settings,
credentials, skills, and plugin config under ~/.dsh, excluding reinstallable
node_modules — with sha256 checksums, automatic rotation, and scheduled
auto-backup.
Features
/backup— immediately back up~/.dshto~/Desktop/dsh-backups/dsh-<timestamp>.tar.gz/backup list— list existing backups and auto-backup status/backup auto <N>— auto-backup every N hours (1–720; keeps 3 copies below 24h, 7 otherwise)/backup auto//backup auto off— query status / disable/backup --keep N— override the rotation count (default 7)backup_dshtool — same capability for the model (mode=backup|list|auto)
Every backup writes a sidecar *.sha256 checksum file. Rotation deletes the
oldest archives beyond the keep count.
Security note
Backups contain plaintext credentials (.credentials.yaml, qq-bridge/config.json).
Archives are chmod 600 (owner read/write only), but do not sync the backup
directory to untrusted locations, and treat archives as sensitive as your API keys.
Install
dsh plugin --profile web add dsh-backup
Then restart dsh web and run /backup.
Requirements
- macOS or Linux with
tarin PATH (checksum preferssha256sum, falls back toshasumon macOS) - DSH
0.1.0-rc.6or compatible
License
MIT