# OmniRoute Backup and Sync

Creates, schedules, syncs and restores OmniRoute backups from the command line.

- Repository: https://github.com/cheaper-inference/OmniRoute (83611 stars)
- Category: DevOps
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add cheaper-inference/OmniRoute --skill cli-backup-sync -g -a claude-code -y`
Codex: `npx skills add cheaper-inference/OmniRoute --skill cli-backup-sync -g -a codex -y`
Cursor: `npx skills add cheaper-inference/OmniRoute --skill cli-backup-sync -g -a cursor -y`
Gemini CLI: `npx skills add cheaper-inference/OmniRoute --skill cli-backup-sync -g -a gemini-cli -y`

## Description

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

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- 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

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

## Subcommands

### `backup`

**Example:**

```bash
omniroute backup
```

### `backup create`

**Flags:**

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

**Example:**

```bash
omniroute backup create
```

### `backup auto`

**Example:**

```bash
omniroute backup auto
```

### `backup enable`

**Flags:**

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

**Example:**

```bash
omniroute backup enable
```

### `backup disable`

**Example:**

```bash
omniroute backup disable
```

### `backup status`

**Example:**

```bash
omniroute backup status
```

### `backup restore [backupId]`

**Flags:**

- `--list`
- `--yes`

**Example:**

```bash
omniroute backup restore [backupId]
```

### `task`

**Example:**

```bash
omniroute task
```

### `cloud create`

**Flags:**

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

**Example:**

```bash
omniroute cloud create
```

### `cloud list`

**Flags:**

- `--status <s>`
- `--limit <n>`

**Example:**

```bash
omniroute cloud list
```

### `cloud get <taskId>`

**Example:**

```bash
omniroute cloud get <taskId>
```

### `cloud status <taskId>`

**Example:**

```bash
omniroute cloud status <taskId>
```

### `cloud cancel <taskId>`

**Flags:**

- `--yes`

**Example:**

```bash
omniroute cloud cancel <taskId>
```

### `cloud approve <taskId>`

**Example:**

```bash
omniroute cloud approve <taskId>
```

### `cloud message <taskId> <message>`

**Example:**

```bash
omniroute cloud message <taskId> <message>
```

### `cloud sources <taskId>`

The rest: https://github.com/cheaper-inference/OmniRoute/blob/HEAD/skills/cli-backup-sync/SKILL.md
