- Interactive mode
- Restoring the HFSQL data files saved beforehand
- Command Line mode
- The following syntax is used to restore the files:
WDLog: Restoring HFSQL data files
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.
Caution: This type of restore operation should be used only if none of the saved files is logged.
Restoring the HFSQL data files saved beforehand
To restore the HFSQL data files saved beforehand:
- Start WDLog.
- Select "Backups .. Restore the data" (or click the green arrow).
- Select the directory containing the files saved beforehand. Use the "Browse" button if necessary. Validate.
- The name of the backup and the list of data files found in the backup are displayed. Select the data files that must be restored (option checked = file to restore).
- Select if necessary:
- The restore directory. By default, the restore directory is identical to the directory containing the initial files. you have the ability to restore the files in another directory (to perform a comparison for example). The tree structure of the backup is restored.
To do so:
- check "Modify the restore directory of the data",
- specify the restore directory ("Browse" directory).
- "Do not restore the logs and update the data files from the current logs". This option is checked by default if log files are found in the backup: the log files (XXXJNL.FIC files) are not restored and they are automatically applied to the restored files.
- Validate. The restore operation is automatically performed.
Remark: If data files with the same name are already found in the restore directory, the existing data files are automatically renamed.
The following syntax is used to restore the files:
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:
|/REST=<BackupDir>||Path containing the files saved|
|/REP_REST=<RestoreDir>||Path where the restore operation must be performed|
|/SANSREINDEXE=<True or False>||The restored files will not be re-indexed if this option is set to True|
Example: The following command line is used to restore the files found in the "D:\Backup" directory.
This page is also available for…