ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Tools / WDLog
  • Overview
  • Interactive mode
  • Restoring the HFSQL data files saved beforehand
  • Command Line mode
  • To restore data files, the syntax is:
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
WDLog is used to restore the data files saved by WDLog.
The data files can be restored:
  • In interactive mode (WDLog is started).
  • In "Command line" mode. The "Command line" mode allows you to include the management of file backups in your applications. In this case, no specific operation must be performed by the user.
    Warning This type of restoration should only be used if none of the backed-up data files are logged.
Interactive mode

Restoring the HFSQL data files saved beforehand

To restore the HFSQL data files saved beforehand:
  1. Start WDLog.
  2. Select "Backups .. Restore the data" (or click the green arrow).
  3. Select the directory containing the previously saved data files. Use the "Browse" button if necessary. Validate.
  4. The name of the backup and the list of data files found in the backup are displayed. Select the data files to be restored (option checked = data file to be restored).
  5. Select if necessary:
    • Restore directory. By default, the restore directory is identical to the directory containing the original data files. Data files can be restored in another directory (for comparison purposes, for example). The tree structure of the backup is restored.
      Il suffit:
      - check "Modify the restore directory of the data",
      - specify the restore directory ("Browse" directory).
    • "Do not restore logs and update data files with current logs". By default, this option is checked if log files are present in the backup: log files (XXXJNL.FIC files) are not restored and are automatically applied to restored data files.
  6. Validate. The restore operation is automatically performed.
Remark: If data files with the same name are already present in the restore directory, existing data files are automatically renamed.
Command Line mode

To restore data files, the syntax is:

WDLog /REST=<BackupDir> /REP_REST=<RestoreDir> /SANSREINDEXE=<True or False>
The table below presents the different elements that can be found on the command line:
ParameterMeaning
/REST=<BackupDir>Path containing saved data files
/REP_REST=<RestoreDir>Path where the restore operation must be performed
/SANSREINDEXE=<True or False>If this option is set to True, the restored data files will not be re-indexed

Example: The following command line restores the data files in the "D:\Backup" directory.
ExeRun("WDLog /REST=D:\Backup")
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/08/2024

Send a report | Local help