# CLI Backup Sync

> ---

- Skill: `jaccen/cli-backup-sync` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jaccen/cli-backup-sync`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jaccen/cli-backup-sync/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jaccen (https://skillmd.com/u/jaccen)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jaccen/cli-backup-sync

---

﻿---
name: cli-backup-sync
description: Backup and restore AIRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Backup and restore AIRoute 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 AIRoute   # or: npx AIRoute
AIRoute --version
```

## Subcommands

### `backup`

**Example:**

```bash
AIRoute backup
```

### `backup create`

**Flags:**

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

**Example:**

```bash
AIRoute backup create
```

### `backup auto`

**Example:**

```bash
AIRoute backup auto
```

### `backup enable`

**Flags:**

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

**Example:**

```bash
AIRoute backup enable
```

### `backup disable`

**Example:**

```bash
AIRoute backup disable
```

### `backup status`

**Flags:**

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

**Example:**

```bash
AIRoute backup status
```

### `backup restore [backupId]`

**Flags:**

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

**Example:**

```bash
AIRoute backup restore [backupId]
```

### `task`

**Example:**

```bash
AIRoute task
```

### `cloud create`

**Flags:**

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

**Example:**

```bash
AIRoute cloud create
```

### `cloud list`

**Flags:**

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

**Example:**

```bash
AIRoute cloud list
```

### `cloud get <taskId>`

**Example:**

```bash
AIRoute cloud get <taskId>
```

### `cloud status <taskId>`

**Example:**

```bash
AIRoute cloud status <taskId>
```

### `cloud cancel <taskId>`

**Flags:**

- `--yes`

**Example:**

```bash
AIRoute cloud cancel <taskId>
```

### `cloud approve <taskId>`

**Example:**

```bash
AIRoute cloud approve <taskId>
```

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

**Example:**

```bash
AIRoute cloud message <taskId> <message>
```

### `cloud sources <taskId>`

**Example:**

```bash
AIRoute cloud sources <taskId>
```

### `cloud cloud`

**Example:**

```bash
AIRoute cloud cloud
```

### `cloud agents`

**Example:**

```bash
AIRoute cloud agents
```

### `cloud auth`

**Flags:**

- `--no-browser`
- `--timeout <ms>`

**Example:**

```bash
AIRoute cloud auth
```

### `sync`

**Example:**

```bash
AIRoute sync
```

### `sync push`

**Flags:**

- `--target <t>`
- `--bundle <list>`
- `--dry-run`

**Example:**

```bash
AIRoute sync push
```

### `sync pull`

**Flags:**

- `--source <s>`
- `--merge`
- `--replace`
- `--dry-run`

**Example:**

```bash
AIRoute sync pull
```

### `sync diff`

**Flags:**

- `--source <s>`
- `--target <t>`

**Example:**

```bash
AIRoute sync diff
```

### `sync bundle <outPath>`

**Flags:**

- `--include <list>`

**Example:**

```bash
AIRoute sync bundle <outPath>
```

### `sync import <bundlePath>`

**Flags:**

- `--dry-run`

**Example:**

```bash
AIRoute sync import <bundlePath>
```

### `sync initialize`

**Flags:**

- `--from-cloud`

**Example:**

```bash
AIRoute sync initialize
```

### `sync tokens`

**Example:**

```bash
AIRoute sync tokens
```

### `sync list`

**Example:**

```bash
AIRoute sync list
```

### `sync create`

**Flags:**

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

**Example:**

```bash
AIRoute sync create
```

### `sync revoke <id>`

**Flags:**

- `--yes`

**Example:**

```bash
AIRoute sync revoke <id>
```

### `sync status`

**Example:**

```bash
AIRoute sync status
```

### `sync resolve`

**Example:**

```bash
AIRoute sync resolve
```

