AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Herramientas / WDLog
  • Overview
  • Interactive mode
  • Restoring the HFSQL data files saved beforehand
  • Command Line mode
  • To restore data files, the syntax is:
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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")
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 08/12/2024

Señalar un error o enviar una sugerencia | Ayuda local