skills/cli-backup-sync/SKILL.md
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
npm install -g omniroute # or: npx omniroute
omniroute --version
backupExample:
omniroute backup
backup createFlags:
--name <name>--cloud--encrypt--key-file <path>--exclude <pattern>--retention <n>Example:
omniroute backup create
backup autoExample:
omniroute backup auto
backup enableFlags:
--cron <expr>--cloud--encrypt--retention <n>Example:
omniroute backup enable
backup disableExample:
omniroute backup disable
backup statusExample:
omniroute backup status
backup restore [backupId]Flags:
--list--yesExample:
omniroute backup restore [backupId]
taskExample:
omniroute task
cloud createFlags:
--title <t>--prompt <p>--prompt-file <path>--repo <url>--branch <b>--metadata <json>Example:
omniroute cloud create
cloud listFlags:
--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:
--yesExample:
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 cloudExample:
omniroute cloud cloud
cloud agentsExample:
omniroute cloud agents
cloud authFlags:
--no-browser--timeout <ms>Example:
omniroute cloud auth
syncExample:
omniroute sync
sync pushFlags:
--target <t>--bundle <list>--dry-runExample:
omniroute sync push
sync pullFlags:
--source <s>--merge--replace--dry-runExample:
omniroute sync pull
sync diffFlags:
--source <s>--target <t>Example:
omniroute sync diff
sync bundle <outPath>Flags:
--include <list>Example:
omniroute sync bundle <outPath>
sync import <bundlePath>Flags:
--dry-runExample:
omniroute sync import <bundlePath>
sync initializeFlags:
--from-cloudExample:
omniroute sync initialize
sync tokensExample:
omniroute sync tokens
sync listExample:
omniroute sync list
sync createFlags:
--name <n>--scope <s>--ttl <duration>Example:
omniroute sync create
sync revoke <id>Flags:
--yesExample:
omniroute sync revoke <id>
sync statusExample:
omniroute sync status
sync resolveExample:
omniroute sync resolve