Run this action (archiveData) after you set your archive configuration (this can be configured in Partition Configuration tab in SDM GUI). This action archives the data from the given table name according to the archive configuration. It archives data from:

NOTE: Sentinel partitioned tables are organized into 2 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:

-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 (using the archiveConfig command).

./sdm -action archiveData connectFile sdm.connect –tableName EVENTS –keepDays 30

sdm -action archiveData -connectFile sdm.connect –tableName EVENTS –keepDays 30