Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Starting with version 1.8 of the service container, it is possible to purge the nuxeo audit log up to a certain date by way of a purge script. In addition to this, the script performs a full vacuuming of the database incl. index rebuild.

Purging the audit log

Run a backup of your DMS appliance.

In order to run the purge script, run the following commands:

...

Note: It is advisable to run the above commands in a screen so as to avoid any negative effects in case the connection to the DMS shell breaks.

Important

The purge script will remove log data from, inter alia, the nxp_logs table in the postgres database prior to the cut-off date. The immediate effect will be that all document history information in nuxeo before the cut-off date will be lost. It is important to understand that removal of the history information cannot be undone.

Depending on the legislation in which the DMS is being operated, you may be obliged by law to (a) retain audit log information or, alternatively, (b) remove all auditing data after a certain retention period. Please make sure to observe the applicable legal frameworks.