Perform VMBackup.ini file setup and password encryption to configure the initial settings for the script operating environment.
VMBackup.ini File Setting
Write the following information to the VMBackup.ini file (external definition file).
Parameter name | Explanation |
---|---|
Server | Specifies the vCenter Server IP address or server name. |
User | Specifies the vCenter Server user name. |
VM | Lists names of VMs to be backed up in a comma-separated-value format. VM names may contain a wildcard ("*"). |
LUCmdPath | Specifies the AdvancedCopy Manager CCM bin directory with the full path. |
The following is a VMBackup.ini file example.
Server=vcserver User=administrator VM=VM*,Template LUCmdPath=C:\ETERNUS_SF\CCM\bin
Password Encryption
In Command Prompt, execute Init.ps1 (initial processing script) in PowerShell. The following is an example.
> powershell C:\Script\exe\Init.ps1
A password prompt message is displayed. Enter the user password to log into the vCenter Server specified in the VMBackup.ini file.
When the process ends normally, a Password.txt file is created in the directory where the VMBackup.ini file is saved.
Note
Execute Init.ps1 to update the Password.txt file, when you change the vCenter Server password.