|
|
|
|
|
LogBackupDirectory (Property) In french: RépertoireSauvegardeJournal
Available only with these kinds of connection
The LogBackupDirectory property is used to manage the backup directory of log files. You can: - Find out the backup directory of the log for a data file defined in the data model editor or through programming.
- Define the backup directory of the log for a data file (only when describing the file through programming).
Remark: This path is used during the automatic modification of data files to archive the logs. HHistoryModification will also search for change history in these files. // Define the log directory of the Orders data file Orders.LogBackupDirectory = "C:\MyFiles\MyLogs_BCK" ... // Validate the file description HDescribeFile(Orders)
Syntax
Finding out the backup directory of a file log Hide the details
<Current name> = <Data file>.LogBackupDirectory
<Current name>: Character string Name of the backup directory of the log file associated with the data file. By default, this path corresponds to: <directory of JNL files>\__JNLBackup. If this parameter corresponds to a relative path (and starts with a dot), the path will be relative to data files. <Data file>: Character string Logical name of the data file used. This name was defined in the data model editor or with the File Description type.
Defining the backup directory of the log for a file created through programming Hide the details
<Data file>.LogBackupDirectory = <New name>
<Data file>: Character string Logical name of the data file used. This name was defined by the File Description type. <New name>: Character string Backup path of the log files corresponding to the specified data file. By default, this path corresponds to: <directory of JNL files>\__JNLBackup. If this parameter corresponds to an empty string (""), the current location is not modified. If this parameter corresponds to a relative path (and starts with a dot), the path will be relative to data files.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|