Top
ETERNUS SF AdvancedCopy Manager V16.1 Operation Guide for Copy Control Module
FUJITSU Storage

E.9.2 VMBackup.ps1 (Backup Script)

NAME

VMBackup.ps1 - Automated backup execution

SYNOPSIS

powershell scriptDir\exe\VMBackup.ps1 [-l logFileName] [-e]

(scriptDir is the folder to which the script has been unzipped)

DESCRIPTION

This script backs up the System Area of any virtual machine after acquiring virtual machine snapshots. When backup is complete, the acquired snapshots are deleted.

The transaction volume of the virtual machine is copied to the backup volume for each LU.

Refer to "Execute the backup script" in "E.7 Virtual Machine Backup" for the automated processes executed with this script.

OPTIONS

-l logFileName

Specify the name of the script execution log output file with an absolute path. The log output destination directory must be created in advance.
This option can be specified concurrently with the -e option.

Refer to "E.10 Log Format and Messages" for information on the output log.

If this option has been omitted, an execution log will be output to the command prompt.

-e

Output a log to Windows event log.
This option can be specified concurrently with the -l option.

EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally

EXAMPLES

> powershell C:\Script_ETERNUS_1\exe\VMBackup.ps1 -l C:\Script_ETERNUS_1\log\backup.log

NOTES