InfluxDB reset value

Find and share HowTos to various installations / configurations!
Search

Post Reply
11 posts • Page 2 of 2
User avatar
hpuchegger
Posts: 86
Joined: Fri Oct 08, 2021 10:38 am

Re: InfluxDB reset value

Post by hpuchegger »

There are different possibilities to get a "fresh" database before shipping the plant to the customer, e.g. to delete all the data created during the tests.

The easiest solution is to make a backup of the <WinCC OA project>/db folder before starting the tests.
When the tests are finished the present database is deleted and replaced by the backup database.

If you want to delete all the historical data saved in the Influx database you can simply delete the folder <WinCC OA project>/db/influx if the standard configuration is used (Influx database located inside of the WinCC OA project).

In the RAIMA database also some data is saved, e.g. the pending alerts.
If you want to initialize this part of the database you can use the following procedure:
https://www.winccoa.com/knowledge-base/ ... e7bf783734

Br Herbert

Post Reply
11 posts • Page 2 of 2