SuperAPI AI Directory

db-dump-dt

General & other

View repository

Updated 10-15 21:33

About this skill

/db-dump-dt — Unloading the infobase into a DT file

Unloads the infobase entirely (configuration + data) into a DT file — a full snapshot of the IB.

Unlike /db-dump-cf (configuration only), .dt contains the entire database: data, settings, users. This is a backup/rollback point, not a metadata dump.

Usage

/db-dump-dt [database] [output.dt]
/db-dump-dt dev backup.dt
/db-dump-dt                          — база по умолчанию, имя файла по базе и дате

Connection parameters

Read .v8-project.json from the project root and resolve the database:

  1. If the user specified connection parameters (path, server) — use them directly
  2. If they specified a database by name — search by id / alias / name in .v8-project.json
  3. If they did not specify — match the current Git branch with databases[].branches
  4. If the branch did not match — use default Platform — v8path of the found database entry, otherwise the root v8path. Not set in either place — -V8Path do not pass. If the file does not exist — suggest /db-list add. If the database used is not registered — after execution, suggest adding it via /db-list add.

Command

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-dump-dt.ps1" <параметры>

Script parameters

Parameter Required Description
-V8Path <путь> no Platform bin directory, or full path to 1cv8.exe / ibcmd.exe
-InfoBasePath <путь> * File database
-InfoBaseServer <сервер> * 1C server (for a server database)
-InfoBaseRef <имя> * Database name on the server
-UserName <имя> no User name
-Password <пароль> no Password
-OutputFile <путь> yes Path to the output DT file
-AdditionalV8Arguments <список> no Additional launch arguments 1cv8.exe comma-separated, e.g. /UseHwLicenses+
-AdditionalIbcmdArguments <список> no Additional arguments ibcmd comma-separated, in the form --ключ=значение

* — either -InfoBasePathis required, or the pair -InfoBaseServer + -InfoBaseRef

Examples

# Выгрузка ИБ (файловая база)
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-dump-dt.ps1" -InfoBasePath "C:\Bases\MyDB" -UserName "Admin" -OutputFile "C:\backup\base.dt"

# Серверная база
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/db-dump-dt.ps1" -InfoBaseServer "srv01" -InfoBaseRef "MyApp_Dev" -UserName "Admin" -Password "secret" -OutputFile "base.dt"

Related skills

  • /db-load-dt — loading the IB from DT (the reverse operation)
  • /db-dump-cf — unloading only the configuration (without data)
  • /db-create — create a new database (including from a DT template)