xiaoyuyu6420/dsh-backup

xiaoyuyu6420★ 0JavaScript最后同步: 2026-08-14

在 GitHub 打开

Backup DeepSeek Harness user data with one command: /backup, scheduled auto-backup, sha256 checksums and rotation. 一键备份 DSH 数据,支持定时自动备份。

README 摘要

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 /.dsh to /Desktop/dsh-backups/dsh- .tar.gz - /backup list — list existing backups and auto-backup status - /backup auto — 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 dsh tool — 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 Then restart dsh web and run /backup . Requirements - macOS or Linux with tar in PATH (checksum prefers sha256sum , falls back to shasum on macO…

在 GitHub 查看完整 README →
Tools / Devdsh-plugin

分类