zhengjy01/dsh-backup-migrator ↗★ 0
dsh-backup-migrator
Backup and migrate DeepSeek Harness plugin environments via GitHub: one command exports the installed plugin manifest, plugin configs and locally-developed plugin sources into a git repository, and another restores everything on a new machine (VSCode-settings-sync style).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhengjy01/dsh-backup-migrator说明文档
阅读完整 README ↗Usage
| Tool | Purpose |
|---|---|
dshbackup_backup | scan profiles → build manifest + configs + packed local plugins → commit → push |
dshbackup_restore | pull/clone the backup repo → reinstall all plugins → restore configs |
dshbackup_verify | preflight before backup or restore (source reachability, git remote, secrets warning) |
dshbackup_list | backup history (git log) + latest manifest summary |
dshbackup_config | view/change backupDir, repoUrl, includeSecrets |
Config is stored at ~/.dsh/dsh-backup-migrator.json (mode 0600).
Backup repo layout
/
├── manifest.json # machine + profile + plugin + config index
├── README.md # human-readable summary (auto-generated)
├── profiles//cordis.patch.yml # user patch layer (if any)
├── profiles//packages/*.tgz # locally-sourced plugins (npm pack)
└── configs/... # ~/.dsh/dsh-*.json + dsh-* dirs (0600)
On a new machine
1. install DSH, launch once (web/headless profiles are auto-created)
2. install this plugin, then:
dshbackup_config backupDir:
dshbackup_config repoUrl:
dshbackup_restore # clone + reinstall + restore configs
3. restart the GUI