Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,200 of 9,200 pages
About the help in other languages
All help pages

Extend audit retention

Step by step - keep Exponential's audit archives longer than the shipped 730 days when your records schedule requires it, per channel, with an archive directory on write-once storage, and check the result.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/tasks/compliance/extend-audit-retention.md

On this page

Extend audit retention

For administrators, on a decision of the records manager. The shipped retention is 90 days live and 730 days archived per channel; the shipped channel blocks set both values, so change them per channel (Audit retention).

Note This page describes features and common practice; it is not legal advice. Check the law that applies to your organization with your legal counsel.

Contents

  1. Before you start
  2. Steps
  3. Check that it worked
  4. Related pages

Before you start

  • The decided period per channel (for example access and system 3650 days).
  • Disk space: check the archive sizes on Setup > Audit > Archives; xz compresses more than the default gzip.
  • Optionally a write-once mount for the archives.

Steps

  1. Preview and set the values:

    ./console exp:ini set audit.ini/AuditChannel_access/ArchiveDays 3650 global --dry-run --allow-root-user
    ./console exp:ini set audit.ini/AuditChannel_access/ArchiveDays 3650 global --allow-root-user
    ./console exp:ini set audit.ini/AuditChannel_access/ArchiveFormat xz global --allow-root-user

    Repeat for the other channels concerned.

  2. Optionally move archives to a dedicated mount, in settings/override/audit.ini.append.php:

    [AuditArchiveSettings]
    ArchiveDir=/srv/worm/exponential-audit

    (create it first, owned by the site's user, mode 0750).

  3. Clear the INI cache; reload PHP-FPM; restart Velocity.

Check that it worked

  • ./console exp:audit purge --dry-run --allow-root-user no longer lists archives younger than the new period.
  • Setup > Audit (/audit/settings) shows the values and the file they come from.
  • Keep the signing keys for the whole period (see "Rotate the audit signing key").

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x