Script - Reinitialize Database: Difference between revisions

From Edge Threat Management Wiki - Arista
Jump to navigationJump to search
 
Line 10: Line 10:


<code>
<code>
curl -k http://download.untangle.com/patches/generic/reinitialize_db.sh | dash
curl -k https://downloads.untangle.com/public/patches/generic/reinitialize_db.sh | dash
</code>
</code>

Latest revision as of 23:21, 26 November 2019

What it is

This script will delete all reports data currently stored on the drive. It deletes the entire database and re-initializes it.

This can be useful if you the database is corrupt for some reason and is unable to start.

WARNING: All reports data will be lost.

How to run

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