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

cli-backup-sync

它能做什么

这项技能展示如何用命令行备份和恢复 OmniRoute 数据。适合想保存设置副本并能够恢复的管理员。

适用场景

  • ✓当用户想备份 OmniRoute 数据或创建快照的时候。
  • ✓当用户想设置备份计划或把备份发送到云存储的时候。
  • ✓当用户需要从归档文件恢复 OmniRoute 数据的时候。

技能链接

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-backup-sync/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请备份我的 OmniRoute 数据,并只保留最近的五份副本。”

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

工作原理

这项技能列出了创建备份、设置 cron 定时计划、添加加密和保留数量限制,以及恢复指定备份的命令。它还涵盖查看备份状态。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

Overview

Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

backup

Example:

omniroute backup

backup create

Flags:

  • --name <name>
  • --cloud
  • --encrypt
  • --key-file <path>
  • --exclude <pattern>
  • --retention <n>

Example:

omniroute backup create

backup auto

Example:

omniroute backup auto

backup enable

Flags:

  • --cron <expr>
  • --cloud
  • --encrypt
  • --retention <n>

Example:

omniroute backup enable

backup disable

Example:

omniroute backup disable

backup status

Example:

omniroute backup status

backup restore [backupId]

Flags:

  • --list
  • --yes

Example:

omniroute backup restore [backupId]

task

Example:

omniroute task

cloud create

Flags:

  • --title <t>
  • --prompt <p>
  • --prompt-file <path>
  • --repo <url>
  • --branch <b>
  • --metadata <json>

Example:

omniroute cloud create

cloud list

Flags:

  • --status <s>
  • --limit <n>

Example:

omniroute cloud list

cloud get <taskId>

Example:

omniroute cloud get <taskId>

cloud status <taskId>

Example:

omniroute cloud status <taskId>

cloud cancel <taskId>

Flags:

  • --yes

Example:

omniroute cloud cancel <taskId>

cloud approve <taskId>

Example:

omniroute cloud approve <taskId>

cloud message <taskId> <message>

Example:

omniroute cloud message <taskId> <message>

cloud sources <taskId>

Example:

omniroute cloud sources <taskId>

cloud cloud

Example:

omniroute cloud cloud

cloud agents

Example:

omniroute cloud agents

cloud auth

Flags:

  • --no-browser
  • --timeout <ms>

Example:

omniroute cloud auth

sync

Example:

omniroute sync

sync push

Example:

omniroute sync push

sync pull [outPath]

Example:

omniroute sync pull omniroute-export.tar.gz

sync bundle <outPath>

Flags:

  • --token <syncToken>

Example:

omniroute sync bundle <outPath>

sync import <bundlePath>

Flags:

  • --dry-run

Example:

omniroute sync import <bundlePath>

sync initialize

Example:

omniroute sync initialize

sync tokens

Example:

omniroute sync tokens

sync list

Example:

omniroute sync list

sync create

Flags:

  • --name <n>
  • --scope <s>
  • --ttl <duration>

Example:

omniroute sync create

sync revoke <id>

Flags:

  • --yes

Example:

omniroute sync revoke <id>

sync status

Example:

omniroute sync status
常见问题

备份可以加密吗?

可以。创建和启用命令都有加密选项,可以使用密钥文件。

会保留多少份备份?

保留设置可以控制保留的备份数量。

恢复时会要求确认吗?

恢复命令可以先列出备份,加上确认参数就可以跳过确认步骤。

详情

作者的原始描述

Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.

repo: cheaper-inference/OmniRoute

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能