HP StorageWorks P9000 Replication Manager Software 7.1 CLI User Guide (TB584-96026, May 2011)

5. Transfer the exported temporary file from the database server to the backup server.
To transfer the exported file C:\tmp\EX-FILE1.drm from the database server to the backup
server, execute the ftp (file transfer protocol) command on the database server at the remote site.
It is assumed here that the FTP root directory is C:\FTP_ROOT. The temporary file is named C:\
FTP_ROOT\EX-FILE1.drm and transferred to the backup server.
PROMPT> ftp backup-server-name
ftp> Username: login-name
ftp> password: password
ftp> binary
ftp> put C:\temp\EX-FILE1.drm
ftp> quit
PROMPT>
6. Import the temporary file, which was transferred from the database server, into the backup catalog
of the backup server.
Import the temporary file C:\FTP_ROOT\EX-FILE1.drm, which was transferred from the
database server, into the backup catalog of the backup server. To import the file, execute the
drmdbimport command on the backup server at the remote site. A backup ID that is not being
used on the server is assigned. In this example, a backup ID to be assigned is assumed to be
0000000002.
PROMPT> drmdbimport -f C:\FTP_ROOT\EX-FILE1.drm
KAVX0001-I The drmcgctl command will now start.
KAVX0418-I Backup information from the specified file was imported into the backup catalog.
Imported backup ID = 0000000002
KAVX0002-I The drmcgctl command will now end.
PROMPT>
7. Check the import results.
Confirm that the import finished successfully. To confirm this, execute the drmsqlcat command
on the backup server at the remote site.
PROMPT> drmsqlcat default -template
INSTANCE: default
BACKUP-ID: 0000000002 BACKUP-MODE: ONLINE INSTANCE: default PROMPT> drmsqlcat default
INSTANCE: default
BACKUP-ID: 0000000002 BACKUP-MODE: ONLINE INSTANCE: default ORIGINAL-ID: 0000000001
START-TIME: 2004/02/04 13:01:35 END-TIME: 2004/02/04 13:02:33 HOSTNAME: flora4
T DB OBJECT FILE FS DG DEVICE
COPY-GROUP
M UserDB1 METAFILE O:\META_0000000001.dmp - - - -
D UserDB1 DATAFILE O:\UserDB1_Data.MDF O: - Harddisk4
BC01,sql01
- - - - - - -
BC01,sql01
T UserDB1 TRANSACT O:\UserDB1_Log.LDF O: - Harddisk4
BC01,sql01
- - - - - - -
BC01,sql01
PROMPT>
Operation for SQL Server databases368