Virtual machines
Listing virtualization servers
-
Listing virtualization servers and server clusters that are present on the specified management server.
acrocmd list vmservers --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
Listing virtual machines
-
Listing virtual machines that are managed by the management server.
acrocmd list vms --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
-
Listing virtual machines that are managed by the management server and that have the "error" status.
acrocmd list vms --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams --filter_status=error
Deploying Agent for VMware (Virtual Appliance)
-
Deploying Agent for VMware (Virtual Appliance) with default parameters. The agent name will be
AcronisESXAppliance-[N]
, where[N]
is a sequence number of the appliance deployment attempt.acrocmd deploy vm_agent --vsphere_address=10.200.200.10 --credentials="vsphere user",pass --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
-
Deploying Agent for VMware (Virtual Appliance) with non-default parameters.
acrocmd deploy vm_agent --vsphere_address=10.200.200.10 --credentials="vsphere user",pass --vmhost=10.200.200.100 --vmname=John's_VA --vmstorage=datastore3 --mac_address=00:50:56:8c:00:00 --ip_address=10.200.200.150 --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
Backing up virtual machines
-
Backing up a virtual machine. The incremental backup will be saved to a network folder. Changed Block Tracking (CBT) will be used. Progress will be shown.
acrocmd backup vm --vmid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --loc=\\bkpsrv\vm_backups --credentials=netuser,pass --arc="my vm archive" --backuptype=incremental --progress --cbt_mode=on --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
-
Backing up four virtual machines. A separate archive will be created for each machine. All machines will be backed up in parallel.
acrocmd backup vm --vmid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX1,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX2,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX3,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX4 --loc=\\srv1\folder1 --credentials=netuser1,pass1 --arc="[Virtualization Server Type]_[Virtual Machine Name]_archive1" --simultaneous_backup=4 --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
Backing up an ESXi host configuration
-
Backing up an ESXi host configuration to a network folder.
acrocmd backup esxi_config --vmserver_name=esx1 --credentials=ssh_pass --loc=\\srv1\folder1 --credentials=netuser1,pass1 --arc=esxiconfig_arc --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
Recovering virtual machines
-
Recovering all disks from the latest backup of the archive residing in a network folder to an existing virtual machine.
acrocmd recover vm --vmid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --loc=\\bkpsrv\vm_backups --credentials=netuser,pass --arc="my vm archive" --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
-
Recovering all disks from the specified backup to a new ESX(i) virtual machine. The virtual machine will be created in Storage1 of the specified ESX(i) server (Server1).
acrocmd recover vm --vmname=my_vm_1 --vmserver_name=Server1 --vmstorage=Storage1 --loc=\\bkpsrv\vms --credentials=netuser1,pass1 --arc="my vm archive" --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
-
Recovering all disks from the latest backup of an archive to a new Hyper-V virtual machine. The virtual machine will be created in a local folder of the specified Hyper-V server (Server1).
acrocmd recover vm --vmname=my_vm_1 --vmserver_name=Server1 --vmstorage="C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines" --loc=\\bkpsrv\vms --credentials=netuser1,pass1 --arc="my vm archive" --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams
Deleting a virtual machine
-
Deleting a virtual machine.
acrocmd delete vm --vmname=my_vm_1 --host=srv1 --credentials="srv1\AMS user",pass1 --service=ams