Run the archiveData action after you set your archive configuration (configured in the
tab in the SDM GUI). This action archives the data from the given table name according to the archive configuration. It archives data from:PostgreSQL
EVENTS
AUDIT_RECORDS
CORRELATED_EVENTS
EVT_DEST_EVT_NAME_SMRY_1
EVT_DEST_SMRY_1
EVT_DEST_TXNMY_SMRY_1
EVT_PORT_SMRY_1
EVT_SEV_SMRY_1
EVT_SRC_SMRY_1
NOTE:Sentinel partitioned tables are organized into two groups. One is the EVENTS table group, which includes EVENTS and CORRELATED_EVENTS; the other is the summary table group, which includes all summary, or aggregate, tables. If any one of the table in the group is specified by the –tableName parameter, the archiveData operation is applied to all tables in that table group.
This command uses the following flags:
Table 6 Archiving Data Flags
Command |
Command Flags |
---|---|
-action |
archiveData |
-connectFile |
<filePath> |
-tableName |
<table name> |
-keepDays |
<numberOfDaysToKeep> |
To run archiveData:
Execute this command as follows:
-action archiveData -connectFile <filePath> -tableName <table name> -keepDays <numberOfDaysToKeep>
The following examples archive events and correlated events from the EVENTS and CORRELATED_EVENTS tables according to the value set during archive configuration.
PostgreSQL Example:
./sdm -action archiveData ‑connectFile sdm.connect –tableName EVENTS –keepDays 30
For trademark and copyright information, see Legal Notices.