NetWorker: Removing Old PostgreSQL Versions From the NMC Server
Summary: The NetWorker Management Console (NMC) server installation includes PostgreSQL for the NMC databases.
Symptoms
- A security scanner identifies old versions of PostgreSQL installed on a NetWorker Management Console (NMC) server.
Linux: /opt/lgtonmc/postgres
Windows (Default): C:\Program Files\EMC NetWorker\Management\GST\postgres
- The older versions are found in the
postgresfolder, for example: 9.2, 11.21, 12. 18. - The NMC installation uses a
postgres_latestsymbolic link that maps to the latest version of PostgreSQL for the NetWorker version installed.
Linux:ls -l /opt/lgtonmc | grep latest
Windows (PowerShell):(Get-Item "C:\Program Files\EMC NetWorker\Management\GST\postgres_latest").Target
Cause
Older versions of PostgreSQL have been retained on NetWorker due to backward compatibility requirements.
If the database is actively maintained, it is migrated to the latest version of PostgreSQL included with the NetWorker software during upgrades. The old versions are left in tact in the event that the database is not actively being maintained and an upgrade is performed.
For fresh installations, the older versions are included for backwards compatibility but are not used.
Once the NMC database is migrated to a newer release, it cannot be managed by the older postgres executables.
Resolution
Code changes are expected in the NetWorker 19.15.0.0 release (tentative Q1 2027) that will automatically remove the older postgres versions if not needed.
Workaround:
The older PostgresSQL folders can be removed after validating the version of PostgreSQL used by the NMC:
- Validate that the NMC is functional; for example, you are able to login and perform operations.
- Perform a Server Protection -> NMC server backup.
- On the NMC server, Validate which PostgreSQL version is used by the active NMC database (
nmcdb)
Linux: ps -ef | grep nmcdb
Windows:
- Open Task Manager.
- Click the Details tab.
- Ensure that the Command Line column is selected and visible.
- Look for the
postgres.exethat corresponds with thenmcdbpath.

- After validating the version of PostgreSQL used, the older (unused) folders can be deleted. NetWorker is not using these directories so the services do not need to be stopped or restarted.