dsh-env-backup
插件安装或更新时自动轮转备份 web profile,支持保留时长与数量 适合担心配置丢失的用户;安装后重启生效,可在设置页调整保留天数与备份数
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ikanger/dsh-env-backup說明文件
閱讀完整 README ↗配置 / Configuration
配置文件:~/.dsh/web-backup.json(首次运行自动生成,也可在设置页修改):
{
"enabled": true,
"backupDir": "/home//.dsh/profiles",
"retentionDays": 30,
"maxBackups": 5
}