Previous Topic: Optional TasksNext Topic: Database Storage and Partitioning


Manual Purges

Note: By default, CA DLP does not support manual purges. To amend your CA DLP license to support manual purges, please contact Technical Support.

If permitted by your CA DLP license, you can manually purge all eligible events from the CMS database. The command below removes all event data (both database records and blob files) from the local server. When the purge completes, an entry is written to the CA DLP activity log, indicating how many events were deleted. The command syntax is:

wgninfra -exec wigan/schema/Schema RemoveAppData <password> [parameters]

Where:

<password>

Is the password for the database account used by CA DLP to access the CMS database.

[parameters]

Are optional date parameters:

Before=<Date>

Purges all events captured or imported into the CMS before the specified date. Events captured before midnight at the start of the specified day are purged. The <date> format is yyyy-mm-dd.

For example, this parameter purges events captured before 23:59:59 on January 17 2012:

Before=2012-01-18
After=<Date>

Purges all events captured or imported into the CMS after the specified date. Events captured after midnight at the end of the specified day are purged. The <date> format is yyyy-mm-dd.

For example, this parameter purges events captured after 23:59:59 on January 18 2012:

After=2012-01-18

Note: In the above command, the command elements wigan/schema/Schema and RemoveAppData are case-sensitive.

More information:

Log Files for Support