ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
LogBackupDirectory (Property)
In french: RépertoireSauvegardeJournal
HFSQL ClassicHFSQL Client/ServerAvailable 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.
Example
// 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.
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help