Skip to main content
1-Visitor
June 20, 2017
Question

Log Schedulation and position

  • June 20, 2017
  • 1 reply
  • 3893 views

Hi to everyone,

we have a bad situation for H2 DB Thingworx "Log".

They schedulated every days and after a week of Thingworx running, most of the memory is busy, like attached file.

How can we change the schedulation of Thingworx db log?

How can we change the path of schedulated logs?

Thank's a lot

Luigi

1 reply

22-Sapphire I
June 20, 2017

One part is in the logging subsystem

the other part is in platform-settings.json

1-Visitor
June 21, 2017

Thank's Pai,

while, about the "backup" of H2 DB is it possible to redefine the scheduling?

We would like that:

1. 1 backup at day

2. Move old backup into another disk partition

Is it possible to automate this process?


Thank's

Luigi

22-Sapphire I
June 21, 2017

I don't think there are any official instructions in this regards for the H2 database.

I don't know H2 well enough to be able to say that there is a good way to do it.

You could always do a filecopy of the database and just do a scheduled batch file

You can also create some services to do an Export of your entities and Data, to move it to another server, not sure.

could do filetransfer with an agent, could have your own file watcher/move routine.