HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 397

Advertising
background image

1.

Back up the user database to the secondary volume.

On the database server (active server), execute the

drmsqlbackup

command with the

-target

or

-f

option specified.

To execute the

drmsqlbackup

command with the

-target

option specified:

PROMPT> drmsqlbackup instance-name -target user-database-name

To execute the

drmsqlbackup

command with the

-f

option specified:

PROMPT> drmsqlbackup instance-name -f target-definition-file-name

When the command is executed, backup information with a backup ID (the next unused ID) is
registered in the backup catalog on the database server (active server).

2.

Back up the user database transaction logs.

On the database server (active server), execute the

drmsqllogbackup

command.

PROMPT> drmsqllogbackup instance-name

After backing up the transaction logs, do not update the user database on the database server
(active server).

3.

Export the backup information file to a file.

On the database server (active server), execute the

drmdbexport

command to export information

about the backup operations from the primary volume to the secondary volume.

PROMPT> drmdbexport backup-ID -f backup-information-file-name

4.

Transfer the files.

Transfer the following files to the database server (standby server):

• Exported backup information file
• VDI metafile
• Transaction log backup file

5.

On the database server (standby server), perform the following:

1.

Place the disk of the secondary volume online.

2.

Mount the file system on the secondary volume.

3.

Start the SQL Server instance.

6.

Import the backup information file.

On the database server (standby server), execute the

drmdbimport

command to import the

backup information file exported from the active server to the backup catalog on the standby
server.

PROMPT> drmdbimport -f backup-information-file-name

Application Agent CLI User Guide

397

Advertising