Script - Reinitialize Database: Difference between revisions

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


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

Revision as of 15:29, 5 October 2017

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 http://download.untangle.com/patches/generic/reinitialize_db.sh | dash