Vmcpw
Use the vmcpw option with the backup VM, restore VM, or query VM commands to specify the password for the VMware VirtualCenter or the ESX user ID that is specified with the vmcuser option.
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 only on supported Linux clients that are installed on a vStorage backup server that is used to backup a VMware virtual machine.
This option is valid only on supported Windows clients that are installed on a vStorage backup server that is used to backup a VMware virtual machine. 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 system options file (dsm.sys), or on the command line.
- Click Password field, type the password that you want to have saved. . In the
- Click OK.
dsmc SET PASSWORD -type=vm
vcenter.us.ibm.com Administrator secret
Parameters
- pwname
- Specifies the password for the VMware VirtualCenter or ESX server that you want to backup, restore, or query.
Examples
- Options file:
- VMCPw SECRET
- Command line:
- -VMCPw=SECRET