How to Telnet into Dbcopy and Watch Files Be Processed

  • 7019464
  • 02-Aug-2013
  • 29-Aug-2017

Environment


Reload (all versions)

Situation


That backups stall or error out and you want to figure out the file it is failing on, whether it be a user database, a message database, or a file in the offiles directory.

Resolution

Connect telnet to the dbcopy port and use the "rft" command after connecting.  It will show all the files that dbcopy is processing.  Note, though, that Reload loads multiple sessions of dbcopy in memory in order to speed up the backup process of the offiles directory (a.k.a., "blobs") by default.  The ports begin at 5005 for the first thread and go from there (i.e., the second instance uses port 5006, etc).


Connecting

OFUSER:telnet localhost 5001
OFMSG:telnet localhost 5002
OFFILES:telnet localhost 5005...


Session Commands

Quit / Break:CTRL - ]
Show all files dbcopy is processing:rft
Single file dbcopy is currently processing:rff


Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2184.