Scheduling database backups and cleanups for the Industrial IoT plugin - Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager

Industrial IoT Plugin Guide 5.0.1.1

Applies to
Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager
Last updated
2023-02-09
Content type
Guides > Plugin and extension guides
Language
English
Product
Industrial IoT
Version
5.0

It is important to protect your data by scheduling regular database backups. Also, regularly clean your database to remove old data so that the database does not grow beyond its capacity. If the database is full, your integration might stop working.

Before you begin

Ensure you have the following privileges:
  • View role properties
  • Modify role properties
  • Administration > Plugins

What you should know

  • The Directory database only stores data that is used at runtime. Everything else is saved in the plugin role database.
  • The Industrial IoT role database stores protocol configuration, devices, device types, entities, entity types, rules, Security Center entities and alarms associated with plugin behaviors, rule logs, and health monitoring logs.

Procedure

  1. From the Config Tool home page, open the Plugins task.
  2. From the entity browser, select the Industrial IoT plugin role and click the Resources tab.
  3. Click Cleanup (), choose how long to keep events and when to delete old data, and then click OK.
    Database cleanup window showing data retention policy set for 90 days and cleaning scheduled for Sundays at 2:00 am.
    NOTE: By default, the For (keep data) setting is set to 90 days and the Clean each setting is set to Custom and no cleanup day is specified. Select the days on which the cleanup should take place. Otherwise, the cleanup will not run.
    Database cleanup window showing data retention policy set for 30 days and cleaning scheduled for every day at 11:00 pm.
  4. Click Backup/Restore (), choose the location for backup files, enable automatic backups at least once per week, and then click OK.
    For more information, see Backing up databases on a schedule.
  5. Click Apply.

After you finish

Configure the plugin.