NetWorker: Removing Old PostgreSQL Versions From the NMC Server

Riepilogo: The NetWorker Management Console (NMC) server installation includes PostgreSQL for the NMC databases.

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

  • 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 postgres folder, for example: 9.2, 11.21, 12. 18. 
  • The NMC installation uses a postgres_latest symbolic link that maps to the latest version of PostgreSQL for the NetWorker version installed.
    Linux: ls -l /opt/lgtonmc | grep latest
    postgres latest on Linux 
    Windows (PowerShell): (Get-Item "C:\Program Files\EMC NetWorker\Management\GST\postgres_latest").Target

Windows postgres latest path 

NOTE: The above command shows the default install path. If you installed the NMC in another location, modify the command to your install path. The Windows command output shows 8dot3 short path format.

Causa

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.

Risoluzione

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:

  1. Validate that the NMC is functional; for example, you are able to login and perform operations.
  2. Perform a Server Protection -> NMC server backup
  3. On the NMC server, Validate which PostgreSQL version is used by the active NMC database (nmcdb)

Linux: ps -ef | grep nmcdb
Linux nmcdb postgres version 

Windows:

  1. Open Task Manager.
  2. Click the Details tab.
  3. Ensure that the Command Line column is selected and visible. 
  4. Look for the postgres.exe that corresponds with the nmcdb path.
    Windows NMC server postgres version
  1.  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.
NOTE: If the current NetWorker version is reinstalled, or NetWorker is upgraded to a release before 19.15.0.0, the older PostgreSQL folders are reinstalled.

Informazioni aggiuntive

Prodotti interessati

NetWorker, NetWorker Management Console

Prodotti

NetWorker Family
Proprietà dell'articolo
Numero articolo: 000492265
Tipo di articolo: Solution
Ultima modifica: 27 lug 2026
Versione:  1
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.