Remove Archiver

From Roaring Penguin
Revision as of 14:02, 15 May 2014 by MCoyne (talk | contribs) (Created page with "====Removing Archiver:==== The archiver ships with a tool to uninstall the archiver components and remove the archiving tables from the database. First, you need to be on versio…")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Removing Archiver:

The archiver ships with a tool to uninstall the archiver components and remove the archiving tables from the database.

First, you need to be on version 8.0.6 or later, so if you're not, please run "upgrade-canit-appliance".

Then run:

 /usr/share/canit/scripts/remove-canit-archiver.pl

and follow the prompts.

That will completely remove all the archiver modules and reset the database schema to what it was without the archiver.

Remove Ticker Messages:

that will be generated:

   /usr/share/canit/scripts/canit-run-pg psql -c "DELETE FROM ticker WHERE task = 'IndexArchivedMail'"
   /usr/share/canit/scripts/canit-run-pg psql -c "DELETE FROM cluster_sanity_check WHERE NOT test_ok"
   /usr/share/canit/scripts/canit-run-pg psql -c "delete from ticker where task = 'ArchiveProcessZipRequests';"

Delete All Archived Nail:

   rm -rf /var/lib/canit/mail-archive