mcpField
C
cli-backup-sync

cli-backup-sync

github.com/cheaper-inferenceCloud & DevOps82.3k1.0k installsUpdated today
Repository

About cli-backup-sync

A CLI skill for backing up and restoring OmniRoute data, with commands for snapshots, cloud sync, scheduled backups, and archive restoration. It also includes task and cloud-operation commands.

Key features

  1. 01Create incremental backups
  2. 02Configure cloud and encryption options
  3. 03Schedule and inspect backups
  4. 04Restore from backup archives
  5. 05Manage cloud tasks and sync

Use cases

  1. 01Create a named backup with retention settings
  2. 02Set up recurring backups
  3. 03Restore a selected backup archive
  4. 04Push or pull OmniRoute data

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cheaper-inference/omniroute --skill cli-backup-sync

After installing, type/cli-backup-syncin Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported