Community
Question: How do you change the folder for the PostgreSQl database in a 3.21 project ?
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)
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
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
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