Command file extensions
Command files can be obtained in two ways:
By logical backup or by object export (.MGR): the absolute identifiers (IdAbs) of the imported objects are used and the authorization levels are kept.
By logfile export (.MGL): the commands contain, in addition to the absolute identifiers (IdAbs) of objects, that of the user executing each command to check at import that the user had the necessary rights to execute this update.
Result of the import of these files is therefore different:
".MGR" corresponds to an image, complete or partial, of the repository at a given moment. It is therefore recommended that it be imported into an empty repository to rebuild this image.
".MGL" corresponds to commands to be applied to the repository to pass from initial state to final state.
At import, checks are performed automatically as a function of the file extension:
For command files with the MGR extension, the absolute identifiers of the imported objects are used and the writing access levels are kept.
For command files with the MGL extension (exported logfile), the absolute identifiers of the imported objects are used. Writing access levels are checked. The authorization levels are kept if the updates are consistent with the writing access diagram for the environment, otherwise they are rejected.