vcbRestore-s backup_directory
a vcbVmName-s powerstate: on-Lists all powered-on virtual machines.
Run the script above version ESX3.0.2 through
2. VcbMounter: 『backing up virtual machines』
To restore to a different directory
Note that the backup is the DISK mode of virtual machines are not Independent or'll get an error,
copy Node2bak directory catalog file also named catalogx
-h: the designation of executing commands ESX HOST or VIRTUAL CENTER.
-a/vmfs/volumes/storage2/backup/Node2bak/catalogx
Back to the original directory:
vcbVmName-h 192.168.0.10-u root-p password-s any
Catalogx file and then change the path settings and display the name
-a: specify the backup VM, can be used, IP, FQDN, VM names, etc.
vcbRestore-h 192.168.0.10-u root-p password-s/vmfs/volumes/storage2/backup/Node2bak
1. VcbVmName: 『Displaying Virtual Machine Information』
b vcbVmName-s any: - Lists all known virtual machines.
-r: virtual machine storage backup IMAGE specified directory. Can be local or shared storage on the
3. VcbRestore: 『restore virtual machines』
-p: account PASSWORD
-u: execute commands an account, if-h is specified ESX, use the account on the ESX, if it is VC, then use the VC on the account
vcbMounter-h 192.168.0.10-u root-p password-a name: "Redhat4" -r/vmfs/volumes/storage2/backup/Node2bak
Example:
Example:
Command Introduction:
c vcbVmName-s ipaddr: vm37.company.com-Displays information about
vcbRestore-h vmesx-u root-p password-s/vmfs/volumes/storage2/backup/Node2bak \
a vcbVmName-s powerstate: on-Lists all powered-on virtual machines.
Run the script above version ESX3.0.2 through
2. VcbMounter: 『backing up virtual machines』
To restore to a different directory
Note that the backup is the DISK mode of virtual machines are not Independent or'll get an error,
copy Node2bak directory catalog file also named catalogx
-h: the designation of executing commands ESX HOST or VIRTUAL CENTER.
-a/vmfs/volumes/storage2/backup/Node2bak/catalogx
Back to the original directory:
vcbVmName-h 192.168.0.10-u root-p password-s any
Catalogx file and then change the path settings and display the name
-a: specify the backup VM, can be used, IP, FQDN, VM names, etc.
vcbRestore-h 192.168.0.10-u root-p password-s/vmfs/volumes/storage2/backup/Node2bak
1. VcbVmName: 『Displaying Virtual Machine Information』
b vcbVmName-s any: - Lists all known virtual machines.
-r: virtual machine storage backup IMAGE specified directory. Can be local or shared storage on the
3. VcbRestore: 『restore virtual machines』
-p: account PASSWORD
-u: execute commands an account, if-h is specified ESX, use the account on the ESX, if it is VC, then use the VC on the account
vcbMounter-h 192.168.0.10-u root-p password-a name: "Redhat4" -r/vmfs/volumes/storage2/backup/Node2bak
Example:
Example:
Command
c vcbVmName-s ipaddr: vm37.company.com-Displays information about
vcbRestore-h vmesx-u root-p password-s/vmfs/volumes/storage2/backup/Node2bak \
评论