Clear Untangle Reports Data

Source: http://wiki.untangle.com/index.php/Script_-_Clear_Reports_Data

Script - Clear Reports Data


What it is

This script will delete all reports data currently stored on the drive. It deletes the entire database schema and re-initializes it.
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.

How to run

curl http://www.untangle.com/download/patches/generic/dump_reports_data.sh | dash

Popular Posts