|
|
|
|
|
- Overview
- Interactive mode
- Restoring the HFSQL data files saved beforehand
- Command Line mode
- To restore data files, the syntax is:
WDLog: Restore 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.
Warning This type of restoration should only be used if none of the backed-up data files are 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 previously saved data files. 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 to be restored (option checked = data file to be restored).
- 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.
- 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. 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: | | Parameter | Meaning |
---|
/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")
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|