Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

8.4.5 Backup Operations

This section explains the operations which use the Backup Wizard for Exchange Server.

8.4.5.1 Creating the Backup Execution Script

The Backup Wizard for Exchange Server generates the following scripts:

See

Refer to "Create an Exchange Server backup script and script execution environment setting by wizard" in the ETERNUS SF Web Console Guide for information on how to operate these scripts.

The Backup Execution Script specification is shown below:

Table 8.11 Backup Execution Script specification

Backup Execution Script storage destination server

Mailbox Server

Backup Execution Script file name

<Program directory when AdvancedCopy Managers agent is installed>\Wizard\bat\execute_backup_<DBname>_<Date>.bat

Backup Execution Script encoding

ASCII

Backup Execution Script exit status

0: Exits normally
Value except 0: Exits with an error

DBname: Mailbox database name or public folder database name.
Date: Date/time file is created. Format: "yyyymmddhhmmss".

The Backup Execution Script file content is shown below:

@echo off

setlocal enabledelayedexpansion

set CMDPATH=<CMDpathPATH>
set BACKUP_DB=<DBname>

set CHECK="swsrpvssbackup_exchange successfully completed"
set CMD=%CMDPATH%swsrpvssbackup_exchange -dbname %BACKUP_DB%
set RET=
for /f "usebackq tokens=*" %%i in (`%CMD%`) do (if "%%i"==%CHECK% set RET=OK)
if not "%RET%"=="OK" echo execute_backup is failed. & exit /b 1

echo execute_backup is successfully completed.
exit /b 0

DBname: Backup source mailbox database name or public folder database name.
CMDpathPATH: Program Directory path that was specified when AdvancedCopy Manager's agent was installed.

Note

When the Backup Execution Script of the same Mailbox Server is created again, if a Backup Execution Script was created previously this will not be removed or overwritten.

Information

  • Running the Backup Execution Script performs backups by QuickOPC.

  • Running the Backup Wizard for Exchange Server performs the following settings:

    • Registering the devices of the Mailbox Server and backup server in AdvancedCopy Manager.

    • Registering the backup source volume and backup destination volume of the Mailbox Server and backup server in the replication capabilities.

    • Registering the Exchange database information to be backed up in the AdvancedCopy Manager's management file.

    • Creating a drive letter map file in the Backup Server.

    • Registering the copy set file in VSS Hardware Provider.

8.4.5.2 Execution of the Backup

The script that was generated in "8.4.5.1 Creating the Backup Execution Script" can easily be registered in Task Scheduler of the operating system and executed manually to back up the mailbox database.

The procedures to execute the backup registered in Task Scheduler of the operating system automatically, and to execute the backup manually, are shown below.

Executing the backup automatically using Task Scheduler

  1. Copy the script file that was generated in "8.4.5.1 Creating the Backup Execution Script" to any location.

  2. Log into the backup source Mailbox Server as the AdvancedCopy Manager command execution user.

    See

    Refer to "Creating user accounts for executing command" in the ETERNUS SF Installation and Setup Guide for information on the user which executes the command.

  3. Start Task Scheduler.
    The methods to start this are as follows:

    • Windows Server 2008:

      System and Maintenance > Administrative Tools > Task Scheduler

    • Windows Server 2008 R2:

      System and Security > Administrative Tools > Task Scheduler

    • Windows Server 2012:

      Start > Administrative Tools > Task Scheduler

  4. In Task Scheduler, configure the following:

    • Task name

    • Date/time task will start

    • Configure the script file which was copied in step 1 in the program which is to be executed.

      Configuration example in which the error message is output to execute_MailBoxDB01.log:

      C:\EXCHANGE_SERVER\BACKUP\execute_backup_MailBoxDB01_20121201071234.bat > C:\EXCHANGE_SERVER\BACKUP\execute_MailBoxDB01.log 2>&1

Executing the backup manually

  1. Copy the script file that was generated in "8.4.5.1 Creating the Backup Execution Script" to any location.

  2. Log into the backup source Mailbox Server as the AdvancedCopy Manager command execution user.

    See

    Refer to "Creating user accounts for executing command" in the ETERNUS SF Installation and Setup Guide for information on the user which executes the command.

  3. Start the command prompt, and execute the script file that was copied in step 1.

    Example:

    C:\EXCHANGE_SERVER\BACKUP\execute_backup_MailBoxDB01_20121201071234.bat

8.4.5.3 Backup to tape

To perform the tape backup, take the following procedure:

Figure 8.62 Procedures of tape backup