Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving messages from the BACKUP SERVER?

Status
Not open for further replies.

GaryAshford

Programmer
Jan 2, 2002
28
GB
Hi.
Does anyone know how the CS-LIB or CT-LIB API can be used to retrieve the information returned by the BACKUP SERVER when executing a "dump database" command??

If you execute this from isql, you get the full story, e.g:
Backup Server session id is: 11. Use this value when executing the
'sp_volchanged' system stored procedure after fulfilling any volume change
request from the Backup Server.
Backup Server: 4.41.1.1: Creating new disk file /tmp/spr96db19.dump.
Backup Server: 6.28.1.1: Dumpfile name 'spr96db191990AC34' section number 0001
mounted on disk file '/tmp/spr96db19.dump'
Backup Server: 4.58.1.1: Database spr96db19: 238 kilobytes DUMPed.
Backup Server: 3.43.1.1: Dump phase number 1 completed.
Backup Server: 3.43.1.1: Dump phase number 2 completed.
Backup Server: 4.58.1.1: Database spr96db19: 242 kilobytes DUMPed.
Backup Server: 3.43.1.1: Dump phase number 3 completed.
Backup Server: 4.58.1.1: Database spr96db19: 246 kilobytes DUMPed.
Backup Server: 3.42.1.1: DUMP is complete (database spr96db19).

If I execute it using ct_command and ct_send, the only information I can get back (via ct_diag) is:
Backup Server session id is: 11. Use this value when executing the
'sp_volchanged' system stored procedure after fulfilling any volume change
request from the Backup Server.
Backup Server: 4.41.1.1: Creating new disk file /tmp/spr96db19.dump.

Whatever I try, I cannot get at the BACKUP SERVER status messages.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top