返回目录
部署运维 插件

dsh-profile-backup

lengrufeng2008/dsh-profile-backup

Config-only DSH profile backup/restore without node_modules, with archive path checks and force-backup semantics.

Stars
0
Forks
0
Issues
0
更新
23 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:lengrufeng2008/dsh-profile-backup

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Profile Backup for DSH

Config-only backup/restore for a DSH profile, without node_modules. Path-safe archive check and force-backup semantics.

Use

node bin/dsh-profile-backup.mjs backup --home ~/.dsh --profile web --out web-backup.tgz
node bin/dsh-profile-backup.mjs check --archive web-backup.tgz
node bin/dsh-profile-backup.mjs restore --archive web-backup.tgz --home ~/.dsh --profile web

Limits

  • Config only; no sessions, secrets, or package cache
  • --force renames the existing profile to .bak-*; no automatic rollback
  • Does not boot-test the restored profile
  • Not a substitute for a full machine backup

Tests

npm test

Provenance

A small independent profile snapshot tool. License: MIT.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类部署运维
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: backup。