The script in a VMware environment is provided.This script automatic backup/restores a virtual disk (hereinafter called "System Area") where OS of a virtual machine is installed by using the snapshot function and AdvancedCopy Manager CCM of a virtual machine.
Backup is performed by copying LU to LU from the transaction volume to the backup volume of a virtual machine using QuickOPC. Restoration is performed by copying from the backup volume to the restore volume and then restoring to a specific transaction volume of a virtual machine using SnapOPC+.
Scripts allow you to run this series of operations automatically.
Figure E.1 Overview of VMware Virtual Machine Automated Backup/Restore
These scripts operate based on the following volume configuration.
Item number | Volume type | Explanation | Type | Size | Quantity | Comments |
---|---|---|---|---|---|---|
1 | Transaction volume | Volume containing the System Area of a virtual machine in which operation takes place | Open | Arbitrary | Arbitrary | It must be connected to the ESXi Server. |
2 | Backup volume | Backup destination volume | Open | Same as the transaction volume | Same as the transaction volume | QuickOPC destination volume must be an Open Volume because it is a complete backup of the source volume. |
3 | Restore volume | Restore destination volume | SDV | Same as the transaction volume | One restore volume is required by size of each transaction volume. | SnapOPC+ destination must be a Snap Data Volume (SDV). |