跳到正文
Skillpedia
部署与云(DevOps)84k · #1427

omni-db-backups

它能做什么

这项技能展示如何通过 API 备份和恢复 OmniRoute 数据库。适合想保存数据副本并能将其恢复的管理员。

适用场景

  • ✓当用户想开始备份 OmniRoute 数据的时候。
  • ✓当用户想从备份文件恢复的时候。
  • ✓当用户想在更改之前检查环境修复或版本状态的时候。

技能链接

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-db-backups/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/omni-db-backups/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请现在就备份 OmniRoute,并告诉我备份保存在哪里。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能列出备份操作、版本信息和环境修复状态的 API 调用。它介绍了 SQLite 数据库的导出、导入和增量快照策略。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/system/env/repair

GET system › env › repair

curl http://localhost:20128/api/system/env/repair \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/system/env/repair

POST system › env › repair

curl -X POST http://localhost:20128/api/system/env/repair \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/system/version

GET system › version

Running version, latest published version, auto-update status and npm release channel. releaseChannel and channels are additive (rail 3.8.54); channel keeps meaning the deployment mode used by the dashboard updater.

curl http://localhost:20128/api/system/version \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/system/version

POST system › version

curl -X POST http://localhost:20128/api/system/version \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.

常见问题

它使用什么数据库?

这项技能说明数据保存在 SQLite 数据库中。

有哪些备份方式?

这项技能列出了导出、导入和增量快照三种策略。

它需要登录吗?

需要。请求需要 bearer 令牌或会话 cookie。

详情

作者的原始描述

Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

repo: cheaper-inference/OmniRoute

热度

GitHub 星标
84k
排名
#1427
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能