Linux operating systemsWindows operating systems

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

Linux operating systemsThis 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.

Windows operating systemsThis 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

Windows operating systemsPlace this option in the client options file (dsm.opt), or on the command line.

Linux operating systemsPlace this option in the client system options file (dsm.sys), or on the command line.

  1. Click Edit > Client Preferences > VM Backup. In the Password field, type the password that you want to have saved.
  2. Click OK.
As an alternative to the preferences editor, you can store the password locally by using the set password command. For example:
dsmc SET PASSWORD -type=vm 
vcenter.us.ibm.com Administrator secret

Syntax

Read syntax diagramSkip visual syntax diagram
>>-VMCPw-- --pwname--------------------------------------------><

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