Vmcuser
Use the vmcuser option with the backup VM, restore VM, or query VM commands to specify the user name of the VMware VirtualCenter or ESX server that you want to backup, restore, or query.
Use the VirtualCenter if it is available. If you cannot use a VirtualCenter server and you need to perform backups of multiple systems on multiple ESX servers, do not specify this option, but instead specify the option with the command so that it can be varied for each ESX server.
Supported Clients
This option is valid for clients that are configured as to perform an off-host backup of VMware virtual machines. The server can also define this option.
This option is not valid for Hyper-V backups.
Options File
Place this option in the client options file (dsm.opt), or on the command line.
Place this option in the client options file (dsm.opt), the client system options file (dsm.sys), or on the command line.
Parameters
- username
- Specifies the user name of the VMware VirtualCenter or ESX server that you want to backup,
restore, or
query.
When working with a virtual center, a user id with access to the Windows system hosting the virtual center is required. This user id must either have administrator privileges, or the minimum privileges that are identified in technote 1659544.
Examples
- Options file:
- VMCUser administrator
- Command line:
backup vm -VMCUser=domainname\administrator
- Command line:
- Example of connecting to an ESX server:
backup vm -VMCUser=root