cli-backup-sync

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

SKILL.md

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

Overview

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

Quick install

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

Subcommands

backup

Example:

nextroute backup

backup create

Flags:

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

Example:

nextroute backup create

backup auto

Example:

nextroute backup auto

backup enable

Flags:

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

Example:

nextroute backup enable

backup disable

Example:

nextroute backup disable

backup status

Flags:

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

Example:

nextroute backup status

backup restore [backupId]

Flags:

  • --list
  • --yes

Example:

nextroute backup restore [backupId]

task

Example:

nextroute task

cloud create

Flags:

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

Example:

nextroute cloud create

cloud list

Flags:

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

Example:

nextroute cloud list

cloud get <taskId>

Example:

nextroute cloud get <taskId>

cloud status <taskId>

Example:

nextroute cloud status <taskId>

cloud cancel <taskId>

Flags:

  • --yes

Example:

nextroute cloud cancel <taskId>

cloud approve <taskId>

Example:

nextroute cloud approve <taskId>

cloud message <taskId> <message>

Example:

nextroute cloud message <taskId> <message>

cloud sources <taskId>

Example:

nextroute cloud sources <taskId>

cloud cloud

Example:

nextroute cloud cloud

cloud agents

Example:

nextroute cloud agents

cloud auth

Flags:

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

Example:

nextroute cloud auth

sync

Example:

nextroute sync

sync push

Flags:

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

Example:

nextroute sync push

sync pull

Flags:

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

Example:

nextroute sync pull

sync diff

Flags:

  • --source <s>
  • --target <t>

Example:

nextroute sync diff

sync bundle <outPath>

Flags:

  • --include <list>

Example:

nextroute sync bundle <outPath>

sync import <bundlePath>

Flags:

  • --dry-run

Example:

nextroute sync import <bundlePath>

sync initialize

Flags:

  • --from-cloud

Example:

nextroute sync initialize

sync tokens

Example:

nextroute sync tokens

sync list

Example:

nextroute sync list

sync create

Flags:

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

Example:

nextroute sync create

sync revoke <id>

Flags:

  • --yes

Example:

nextroute sync revoke <id>

sync status

Example:

nextroute sync status

sync resolve

Example:

nextroute sync resolve