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 (1)

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

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