Unloads the infobase entirely (configuration + data) into a DT file — a full snapshot of the IB.
Unlike
/db-dump-cf(configuration only),.dtcontains 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:
- If the user specified connection parameters (path, server) — use them directly
- If they specified a database by name — search by id / alias / name in
.v8-project.json - If they did not specify — match the current Git branch with
databases[].branches - If the branch did not match — use
defaultPlatform —v8pathof the found database entry, otherwise the rootv8path. Not set in either place —-V8Pathdo 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)