ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 programmatically.
  • Define the backup directory of the log for a data file (only when describing the file through programming).
Note This path is used for automated modification of data files for archiving logs. HHistoryModification will also search for change history in these files.
Example
// Définit le répertoire journal du fichier de données Commande
Commande.RépertoireSauvegardeJournal = "C:\MesFichiers\MesJournaux_SVG"
...
// Valide la description du fichier
HDescribeFile(Commande)
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: <répertoire des fichiers JNL>\__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 is defined in the data model editor or with the File Description type.

Defining the backup directory of the log for a file created programmatically Hide the details

<Data file>.LogBackupDirectory = <New name>
<Data file>: Character string
Logical name of the data file used. This name is defined with 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: <répertoire des fichiers JNL>\__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/13/2025

Send a report | Local help