Script - Clear Reports Data

From Edge Threat Management Wiki - Arista
Revision as of 17:00, 6 December 2022 by Græmer (talk | contribs)
Jump to navigationJump to search

What it is

This script will delete all reports data currently stored in the database.

This can be useful if you have decreased the amount of data retention in reports and want to immediately see the free disk space available to the OS (otherwise it can take a long time for postgres to give that space back to the O/S)

WARNING: All reports data will be lost.

IMPORTANT

This script is deprecated as of version 16.3. It can be used on older versions, but will not function on any version 16.3 or higher.

How to run

curl -k https://downloads.untangle.com/public/patches/generic/dump_reports_data.sh | dash