HP Serveur lame HP ProLiant BL465c Gen8 User Manual

Page 345

Advertising
background image

4.

Transfer the exported temporary file from database server 1 to database server 2.

Use the

ftp

(file transfer protocol) command to transfer the exported temporary file

C:\temp\

EX-FILE1.drm

from database server 1 to database server 2.

PROMPT> ftp database-server2-name

ftp> Username: (Enter the login name)

ftp> password: (Enter the password)

ftp> binary

ftp> put C:\temp\EX-FILE1.drm

ftp> quit

PROMPT>

5.

Import the temporary file, which was transferred from database server 1, into the backup catalog
on database server 2.

To import the temporary file transferred from database server 1

C:\temp\EX-FILE1.drm

into

the backup catalog on database server 2, execute the

drmdbimport

command on database

server 2.

PROMPT> drmdbimport -f C:\temp\EX-FILE1.drm

KAVX0001-I The drmdbimport command will now start.

KAVX0418-I Backup information from the specified file was imported into the backup catalog.

Imported backup ID = 0000000001

KAVX0002-I The drmdbimport command will now end.

PROMPT>

6.

Check the import results.

To confirm that the import finished successfully, execute the

drmsqlcat

command on database

server 2.

PROMPT> drmsqlcat SQL1

INSTANCE: SQL1

BACKUP-ID: 0000000001 BACKUP-MODE: ONLINE INSTANCE: SQL1

ORIGINAL-ID: 0000000001

START-TIME: 2002/06/01 10:00:00 END-TIME: 2002/06/01 10:03:00

HOSTNAME: SQL1

T DB OBJECT FILE FS DG DEVICE COPY-GROUP

M DB1 METAFILE C:\METADIR\Meta1 C: - - -

D DB1 DATAFILE D:\SQL\data1 D: - Harddisk1 SQL001,B001

- - - - - - - SQL001,B001

T DB1 TRANSACT E:\SQL\tlog E: - Harddisk2 SQL002,B001

- - - - - - - SQL002,B001

PROMPT>

Application Agent CLI User Guide

345

Advertising