/scholaraio:backupfrom scholaraio
Backs up and restores ScholarAIO data via configured rsync targets. Use for inspecting backup plans, dry-runs, and full instance recovery.
Ships in scholaraio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
通过 scholaraio backup 统一执行远程 rsync 增量备份与完整实例恢复。
rsync 命令config.yaml / config.local.yaml 中的命名备份目标--dry-rundata 范围与可恢复的 instance 范围先查看已配置目标:
scholaraio backup list
执行某个备份目标:
scholaraio backup run <target>
预演模式:
scholaraio backup run <target> --dry-run
恢复完整实例:
scholaraio backup restore <target> --destination <instance-dir> --dry-run
scholaraio backup restore <target> --destination <instance-dir>
在 config.yaml 中:
backup:
source_dir: data
targets:
lab:
host: backup.example.com
user: alice
path: /srv/scholaraio
port: 22
identity_file: ~/.ssh/id_ed25519
scope: instance
mode: default
compress: true
enabled: true
exclude:
- "*.tmp"
建议:
scope: data 只同步 source_dir,保持旧行为;scope: instance 同步 config、data、workspace、published 和 control metadata,并生成恢复清单instance 备份会对组件树中的 .db / .sqlite / .sqlite3 使用 SQLite online backup,并在传输前执行 quick_check;不会把 live WAL/SHM/journal sidecar 当作恢复数据connect_timeout_seconds、io_timeout_seconds、process_timeout_seconds 分别限制 SSH 建连、空闲 I/O 和单个外部进程总时长config.yamlconfig.local.yamldata/ 目录时优先使用 defaultappend / append-verifyinstance 范围必须使用 mode: default、不得配置 exclude,并应使用专用的空远端目录BatchMode=yes);密码目标使用内部 SSH_ASKPASS;两种模式都不会交互确认 host keyconfig.local.yaml 里为该 target 写 password;ScholarAIO 会自动切到内部 askpass 路径instance 会备份 config.local.yaml。SSH 只保护传输过程;API Key 和密码在远端仍是明文文件,因此必须保护远端账号和存储权限config.local.yamlconfig.local.yaml 会覆盖 bootstrap 配置ssh-keyscan -p <port> <host> >> ~/.ssh/known_hosts,再执行:ssh -i <identity_file> -p <port> <user>@<host> truescholaraio backup list 确认目标存在--dry-runbackup restore ... --dry-run;目标非空时除非用户明确同意合并,否则不要添加 --forceconfig.local.yaml / SSH 配置,而不是要求用户在 CLI 里临时输入参数What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zimoliao/scholaraio --plugin scholaraio44 skills in this plugin
/academic-writingUse when the user needs help choosing or organizing an academic-writing workflow by deliverable, stage, or format, including review articles, guided reading, paper sections, PPT or slides, posters, and technical reports./arxivUse when the user wants to browse arXiv preprints, search arXiv directly, fetch a PDF by arXiv ID or URL, or send a preprint into the ScholarAIO ingest pipeline./auditUse when the user wants to check paper-library data quality, diagnose missing metadata, filename issues, DOI duplicates, title mismatches, or repairable metadata problems./bioinformaticsUse when working on bioinformatics workflows such as alignment, variant calling, phylogenetics, or protein-structure analysis, especially across BLAST, minimap2, samtools, bcftools, MAFFT, IQ-TREE, or ESMFold./citation-checkUse when the user wants to verify citations in AI-generated or human-written text against the local knowledge base and catch hallucinated, wrong, or missing references./citationsUse when the user asks about highly cited papers, citation rankings, or updating citation counts from external APIs.Other plugins' skills for the same job