Skip to main content

Automate Database Maintenance

Purpose

This solution provides an easy way to maintain and log any desired database maintenance tasks, with room to grow and expand if necessary.

Associated Content

ContentTypeFunction
CWM - Automate - Script - Automate Database Maintenance SolutionScriptThis is a wrapper script that calls all database maintenance subscripts and creates the log file.
CWM - Automate - Script - Automate Database Maintenance - CommandsScriptCleans up old commands
CWM - Automate - Script - Automate Database Maintenance - DrivesScriptCleans up missing drives
CWM - Automate - Script - Automate Database Maintenance - EventLogScriptCleans up old event logs
CWM - Automate - Script - Automate Database Maintenance - MonitorsScriptCleans up old monitors
CWM - Automate - Script - Automate Database Maintenance - Network DevicesScriptCleans up old network devices
CWM - Automate - Script - Automate Database Maintenance - RolesScriptCleans up old roles
CWM - Automate - Script - Automate Database Maintenance - Script HistoryScriptCleans up script history
CWM - Automate - Script - Automate Database Maintenance - TicketsScriptCleans up ticket-related data
CWM - Automate - Script - Automate Database Maintenance - UserCentricScriptForces contacts to be managed for user-centric
CWM - Automate - Script - Automate Database Maintenance - User Class Permission SyncScriptForces default user class permissions to all clients

Implementation

NOTE: This solution deprecates Proval Maintenance[Globals] (6794)

  1. Import the CWM - Automate - Script - Automate Database Maintenance Solution script.
  2. Ensure the other scripts are also synced and fully up to date. (The main script should import them, but syncing them will ensure we know when they are out of date.)
  3. Schedule the client script CWM - Automate - Script - Automate Database Maintenance Solution to run weekly, every Monday at 5:30 AM.

FAQ