4.3. Conversion utility (cnvdbfl)
A database file has several versions of the internal format:
- A size of the internal page of database file in version 8.2.14 is equal to 4,096 bytes. A size of the internal file cannot exceed 4 GB.
- In version 8.3.8, the size of the internal database file page can have several values: 4,096, 8,192, 16,384, 32,768, and 65,536 bytes. In addition, version 8.3.8 provides an optimal format for internal data storage. Size of the internal file cannot exceed 4 GB (with page size of 4 096 bytes) or 6 GB (with page size of 8 192, 16 384, 32 768, or 65 536 bytes).
1C:Enterprise 8.3.8 and later is compatible with 1Cv8.1CD files of any format. 1C:Enterprise 8.3.7 and earlier is compatible with 1Cv8.1CD files of version 8.2.14 only. Conversion between the two formats is possible either through dumping/restoring the infobase to the .dt file or by using the cnvdbfl utility.
The cnvdbfl command-line utility allows to:
- Convert the 1Cv8.1CD files between different formats.
- Resize the file page for 8.3.8 format.
To run the utility, use this command line:
cnvdbfl <command> <path to 1CV8.1CD>
You can use the following commands:
Command | Description |
--help –h | Displays brief information about the utility. |
--version –v | Gets version of the utility. |
--info –i | Displays information about the format of 1Cv8.1CD. For the database files that have not been used with 1C:Enterprise 8.2.14 or later, file information cannot be displayed; a diagnostic message is displayed instead. |
--convert –c | Converts 1Cv8.1CD file. If the command is used without parameters, the file is converted to 8.3.8 format with a page size of 8192 bytes. One of the following parameters should be specified:
|
For examples of using the utility, see below.
Convert to 8.2.14 format:
cnvdbfl -c -f 8.2.14 c:\temp\1cv8.1cd
Convert to 8.3.8 format with default page size:
cnvdbfl -c -f 8.3.8 c:\temp\1cv8.1cd
Convert to 8.3.8 format with page size of 16K:
cnvdbfl -c -f 8.3.8 -p 16k c:\temp\1cv8.1cd
Get information about 1Cv8.1CD:
cnvdbfl -i c:\temp\1cv8.1cd