4.3. Conversion utility cnvdbfl

   

A database file has several versions of the internal format:

  1. 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.
  2. 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:

  1. Convert the 1Cv8.1CD files between different formats.
  2. Resize the file page for 8.3.8 format.

To run the utility, use this command line:

cnvdbfl <keys> <path to 1CV8.1CD>

The keys are:

  • --help or -h

    Displays brief information about the utility.

  • --version or -v

    Displays version of the utility.

  • --info or -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 or -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:

    • --format=<format> or -f <format>

      Used to specify the format into which the 1Cv8.1CD file should be converted. The <format (format)> can have the following values:

      • 8.2.14. Execute conversion into format 8.2.14.
      • 8.3.8. Execute conversion into format 8.3.8.
    • --page=<page size> or –p <Page size>

      Serves for specifying a page size for format 8.3.8. Default value – 8192. When specifying the parameter –f 8.2.14, this parameter is ignored. <page size> can have the following values:

      • 4096 or 4K
      • 8192 or 8K
      • 16384 or 16K
      • 32768 or 32K
      • 65536 or 64K

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

   

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002