Script - Reinitialize Database: Difference between revisions

From Edge Threat Management Wiki - Arista
Jump to navigationJump to search
(Created page with "= 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 da...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:


<code>
<code>
curl -k https://www.untangle.com/download/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