Community

Question: How do you change the folder for the PostgreSQl database in a 3.21 project ?

27.02.2026 15:33 by Mulder, Frenk (YU TIS NL SE SD)

3.21 Will use the NGA/PostgreSQl as preferred archiving solution in 3.21. When you create a new project then the PostgreSQL files end up in the \db folder of your project. But we would like to store the history outside of the project.
Question: How/what do I move to place the actual PostgreSQl history outside of my WinCC OA project ?

Responses (3)

04.03.2026 10:50 by Puchegger, Herbert (DI FA HMI SW ETM PS CC)

Hi,
The database is located in the \db folder because you have chosen a WinCC OA managed PostgreSQL instance. This location cannot be changed.
If you require the database to be in a different location, you would need to use a remote database. However, this would mean it is no longer managed by WinCC OA. In this scenario, you would have full control over the configuration. Refer to the documentation for more details:
https://www.winccoa.com/documentation/WinCCOA/latest/en_US/NGA/topics/nga_influx_config_remote_backendDB_outOfProc.html
Br, Herbert

27.03.2026 16:56 by Gertjan van Schijndel

It might work if you move the directory outside your project and replace the original directory with a junction (soft link) as a directory link

13.04.2026 15:22 by Knipp, Leopold (DI FA HMI SW ETM PS CC)

The supported functionality is described by Herbert Puchegger to use a self managed database.
Using soft links might also work, but this solution is officially not supported.

Best Regards
Leopold Knipp
Senior Support Specialist

Log in to write a response to this question.
Back to list