Backup of enterprise applications (Microsoft stack, IBM Db2, MongoDB, Oracle, PostgreSQL, SAP)
Post Reply
maoty@actwill.com.cn
Lurker
Posts: 2
Liked: never
Joined: Jan 20, 2024 3:55 am
Full Name: veeam_backup_worker007
Contact:

cannot find pg_ctl utility explorer for postgresql

Post by maoty@actwill.com.cn »

in doc
https://helpcenter.veeam.com/docs/backu ... ml?ver=120
[For Veeam Backup & Replication 12.1 or later] If the pg_ctl utility is located in a custom directory on the target server (and staging server for export operations), Veeam Explorer for PostgreSQL may not find the utility. In this case, specify the utility path in the Veeam Explorers Recovery Service configuration file and restart the service. You can find the configuration file on the mount server at the following path: %ProgramData%\Veeam\Backup\ExplorerStandByService\Config.xml.

Please provide an example of XML writing
maoty@actwill.com.cn
Lurker
Posts: 2
Liked: never
Joined: Jan 20, 2024 3:55 am
Full Name: veeam_backup_worker007
Contact:

Re: cannot find pg_ctl utility explorer for postgresql

Post by maoty@actwill.com.cn »

In my environment, this file does not exist by default
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: cannot find pg_ctl utility explorer for postgresql

Post by PetrM »

Hello,

Here is an example:

Code: Select all

<Veeam>
   <PostgreSqlExplorer>
       <PostgreSQL PostgreSqlBinariesDirectory="<path>" />
   </PostgreSqlExplorer>
</Veeam>
where <path> is the path to the directory that contains the pg_ctl utility.

Could you please clarify whether the pg_utility does not exist in your environment or you installed it separately in a non-default location?

Thanks!
leesh
Lurker
Posts: 1
Liked: never
Joined: Nov 12, 2024 8:35 am
Full Name: LeeSeunghyeok
Contact:

Re: cannot find pg_ctl utility explorer for postgresql

Post by leesh »

Hi,

as the customer has changed the default path of installation of PG_CTL, have changed the path as per the recommendation here as well as checked through the helpcenter documentation but it still prompts with the error of "cannot find pg_ctl in the default location". would like to check if there is any other suggestion for this? Below is the path that i have configured;

<Veeam>
<PostgreSqlExplorer>
<PostgreSQL PostgreSqlBinariesDirectory="/postgres_engine/postgres/bin" />
</PostgreSqlExplorer>
</Veeam>
PetrM
Veeam Software
Posts: 3626
Liked: 608 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: cannot find pg_ctl utility explorer for postgresql

Post by PetrM »

Hello and Welcome to Veeam R&D Forums!

Well, it may be a bit funny, but you need to change PostgreSqlBinariesDirectory to PosgtreSqlBinariesDirectory. It's a typo that will be corrected in the upcoming update 12.3. So please don't forget to change the value back to the normal PostgreSqlBinariesDirectory after upgrading to 12.3.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests