Command Palette

Search for a command to run...

Назад к скиллам
скилл № 94534

sippy-dev-restore-prodlike

Restore prod-like PostgreSQL from a backup file

БесплатноБез исполняемых скриптов
openshiftот openshift★ 36 звёзд на GitHub

Установить sippy-dev-restore-prodlike в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Sippy dev: restore prod-like DB

Restore the prodlike database from a backup file or directory that lives under the repo root (path relative to checkout, no ..).

Preconditions

  • SIPPY_PRODLIKE_DATABASE_DSN must use /prodlike as the database path (a query string such as ?sslmode=disable may follow it) and a single host, localhost or sippy-postgres (script refuses other hosts, multi-host DSNs, host/hostaddr/service/dbname query parameters, and percent-encoded query parameter names).
  • Stop sippy serve (and anything else connected to prodlike) so DROP DATABASE can run.
  • pg_restore must match the dump format (devcontainer: PostgreSQL client on PATH).

Steps

  1. CLI (from repo root):

    scripts/restore_prodlike_db.sh <backup-path-relative-to-repo>
    

    Examples: backups/sippy-prodlike.dump, sippy-backup-dev-2026-05-07.dump if that file is in the repo.

    • Custom archive or directory format: pg_restore
    • *.sql: psql -f
  2. MCP (server sippy-dev): call restore_prodlike_db with backup_file set to the same repo-relative path. Large dumps: timeout_seconds=0. Log: sippy-dev-logs/restore_prodlike_db.log.

  3. After restore, migrate if the schema might be behind:

    go run ./cmd/sippy migrate --database-dsn "$SIPPY_PRODLIKE_DATABASE_DSN"
    

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл sippy-dev-restore-prodlike?

Restore prod-like PostgreSQL from a backup file

Как установить скилл sippy-dev-restore-prodlike?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sippy-dev-restore-prodlike запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sippy-dev-restore-prodlike с