ProcessBackup error failed to run backup command

SUMMARY

The Adapter file shows the following log message

Error : processBackup: Error: Failed to run backup command: Failed starting command: exec: "cmd": cannot run executable found relative to current directory

 

ISSUE

Backups are not running, and adapter file log shows the following flow

Executing the command

Info : Executing command: C:\PCBP\adapter.exe -backup -dest storage.backup.net:443 -metadata C:\PCBP\Lists.dir\<file.xml> -profile C:\PCBP\Lists.dir\<file.ini> -includes C:\PCBP\Lists.dir\<file.inc> -<storage adapter> -protocol grpc

Getting error

Error : processBackup: Error: Failed to run backup command: Failed starting command: exec: "cmd": cannot run executable found relative to current directory

Extra log messages

Info : Uploading task logs for <task id>
Info : Upload Logs: getting upload URL
Upload Logs: building compressed archive
Info : Upload Logs: uploading log archive
Info : Upload Logs: uploading object: '1337_1675403706_37820a5e-fd51-4014-ad29-10d9a405b998.zip'
Info : Upload Logs: contentLength: 166431, formSize: 1956, fileSize: 164475
Info : Upload Logs: response status: 204 No Content
Info : Successfully uploaded task logs
Error : Error deleting C:\PCBP\Lists.dir\<file.spr>: remove C:\PCBP\Lists.dir\<file.spr>: The system cannot find the file specified.

 

RESOLUTION

To resolve this issue, follow the steps below to add an environment variable in Windows:

  1. Access the Environment Variables section
    1. enter sysdm.cpl in the Windows search bar, select Advanced and select Environment Variables
    2. OR enter “Edit the system environment variables” in the Windows search bar and click on the Environment Variables
  2. Click on New in System Variables
  3. Enter Variable Name GODEBUG
  4. Enter Variable Value execerrdot=0
  5. Restart the d2service service from services panel

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section