ikanger/dsh-env-backup ↗★ 0

dsh-env-backup

DSH 环境自动备份:插件安装/更新时自动轮转备份 profiles/web,支持保留时长与数量设置及自动清理。 / Automatic web-profile backup with rotation (web.latest_bak → web.YYYYMMDDHHMM), retention and max-count pruning. 适合担心配置丢失的用户;安装后重启生效,可在设置页调整保留天数与备份数

Package
dsh-env-backup
Compatibility
Unverified
Version
0.1.1
License
MIT
Last updated
Aug 25, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ikanger/dsh-env-backup

配置 / Configuration

配置文件:~/.dsh/web-backup.json(首次运行自动生成,也可在设置页修改):

{
  "enabled": true,
  "backupDir": "/home//.dsh/profiles",
  "retentionDays": 30,
  "maxBackups": 5
}