NVP vProxy: SQL VM (MSVMAPPAGENT) Backups Fail with "Error received from vProxy"-400: The request is missing the VM username. ""

Summary: A Microsoft SQL Virtual Machine (VM) backup performed using the NetWorker VMware Protection (NVP) vProxy appliance fails. The NetWorker backup action log shows "Error received from vProxy ="-400: The request is missing the VM username." " ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

  • A Microsoft SQL server backup is configured using the NetWorker VMware Protection (NVP) vProxy appliance.
  • The Protection Policy's backup action is configured with the "Application Consistency" option enabled to perform SQL app-consistent (MSVMAPPAGENT) backups.
  • The backup fails with the following error reported in the backup action logs:
Error message received from backup request
  • The vProxy's /opt/emc/vproxy/runtime/logs/vbackup/vbackupd-engine.log shows similar error messaging:
vproxy02:~ # tail -n 15 /opt/emc/vproxy/runtime/logs/vbackupd/vbackupd-engine.log
YYYY-MM-DDTHH:mm:SSZ NOTICE: f07a24dd-e7c3-48e5-8f89-3053c3249a65:vm-1013:win-sql02: Backup session is exiting
YYYY-MM-DDTHH:mm:SSZ TRACE:  Resource Update f07a24dd-e7c3-48e5-8f89-3053c3249a65:externalId=vcsa.amer.lan:vm-1013:state=Success:deletable=true:updatable=true.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4881: Handling action 'GetLog' for 'f07a24dd-e7c3-48e5-8f89-3053c3249a65' ...
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4881: Reply sent successfully for 'GetLog'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Handling action 'DeleteSession' for 'f07a24dd-e7c3-48e5-8f89-3053c3249a65' ...
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Deleting logfiles of session 'f07a24dd-e7c3-48e5-8f89-3053c3249a65'...
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4882: Deleting log file '/opt/emc/vproxy/runtime/logs/vbackupd/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log' of session 'f07a24dd-e7c3-48e5-8f89-3053c3249a65'...
YYYY-MM-DDTHH:mm:SSZ INFO:   File '/opt/emc/vproxy/runtime/logs/vbackupd/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log' is moved to '/opt/emc/vproxy/runtime/logs/recycle/vbackupd/20240112_1/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Deleted log file '/opt/emc/vproxy/runtime/logs/vbackupd/BackupVmSessions-f07a24dd-e7c3-48e5-8f89-3053c3249a65.log'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4882: Deleted resource: vcsa.amer.lan:vm-1013 - f07a24dd-e7c3-48e5-8f89-3053c3249a65.
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4882: Reply sent successfully for 'DeleteSession'.
YYYY-MM-DDTHH:mm:SSZ INFO:   Request #4884: Handling action 'StartSession' for 'BackupVmSessions' ...
YYYY-MM-DDTHH:mm:SSZ ERROR:  Request #4884: Request is missing the VM user name.
YYYY-MM-DDTHH:mm:SSZ ERROR:  Request #4884: Failed to create resource: -400: Request is missing the VM user name.
YYYY-MM-DDTHH:mm:SSZ TRACE:  Request #4884: Reply sent successfully for 'StartSession'.
  • Image backups of the VM which do not use "Application Consistency" complete successfully.
 

Cause

The backup action in the NetWorker Protection Policy is missing the SQL instance user login in the "Application Consistency" settings.

Resolution

Update the backup action to include a user with System Administrator rights:

Screenshot showing sys admin user name added

The user account specified should have sysadmin rights. This can be confirmed in the SQL Server Management Studio (SSMS) on the SQL VM:

Confirm the user account has sys admin rights

 

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000221097
Article Type: Solution
Last Modified: 01 Apr 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.