Product manual

GFI EventsManager 16 Command Line Tools | 317
Example
EsmDlibM.exe /importFromFile /path:C:\ImportFolder\Import.cfg
/password:p@ss /machine:MS11.domain.com /occured:true
16.2.7 /commitDeletedRecords
This function enables you to delete events that are marked as deleted from the database. The
following parameters are supported:
Parameter Description
/dbPath:<dbPath> Specify the path to the database server which contains events marked as deleted.
Note
Parameters that contain spaces must be enclosed in double quotes ().
/password:<password> (Optional) If the database is password protected, key in the password.
/anonpass1:<
password>
(Optional) If the database is anonymized, key in the password to remove anonymization.
/anonpass2:<
password>
(Optional) If the database is anonymized using two anonymization keys, key in the secondary
key.
Table 111: /commitDeletedRecords Parameters
Example
EsmDlibM.exe /commitDeletedRecords /dbpath:C:\DatabaseServerFolder
/password:p@ss /anonpass1:pa$$
16.2.8 /exoportToSQL
This function enables you to export specified event to SQL Server
®
. The following parameters are
supported:
Parameter Description
/server:<server-
Name>
Specify the IP address or computer name running SQL Server
®
.
Note
Parameters that contain spaces must be enclosed in double quotes ().
/database:<
maindb|backupdb
>
Specify the name of the destination database.
Note
Parameters that contain spaces must be enclosed in double quotes ().
/dbauth:<
SQL|WIN>
Specify the authentication mode configured in the source SQL Server
®
. Supported values include:
SQL: to use SQL Server
®
authentication
WIN: to use Windows
®
authentication.
/username:<user-
name
Specify a username that has access to the database from which you want to import data.
Note
Parameters that contain spaces must be enclosed in double quotes ().
/password:<pass-
word>
Specify the password for the username specified in the /username parameter.
Table 112: /exportToSQL Parameters