Generating a diagnostic file for troubleshooting

Backup Exec includes a diagnostic application (Bediag.exe) that gathers information about a Windows computer for troubleshooting purposes. You can run it from the media server, or from a remote computer. This application can be run from within Backup Exec, or it can be run from a command line. The Bediag command line utility is located in the Backup Exec for Windows Servers directory on your hard drive (by default, \Program Files\Symantec\Backup Exec).

The type of information collected in the bediag.txt file includes the following:

To create a bediag.txt from within Backup Exec

  1. Start Backup Exec.

  2. On the Tools menu, select Backup Exec Diagnostics.

    You can also create a bediag.txt file from the Device view. On the navigation bar, click Devices. Select the media server. On the Task pane, under General Tasks, click Properties. Then select the General tab.

  3. Click Run Diagnostics. The bediag.txt file will appear.

From a command line prompt on the media server

  1. Launch the command prompt.

  2. From the directory Program Files\Symantec\Backup Exec\, type bediag servername (the server can be the local media server or a remote server. If you are running this from a workstation, type bediag workstationname).

  3. The file "Bediag.txt"is in the directory that contains Bediag.exe (by default Program Files\Symantec\Backup Exec).

  4. The following switches can be used with the command line option (bediag [switches] servername):

    /a

    Dump Agent List

    /b:[server]

    Specify a Backup Exec server to poll for service account information

    /c

    Dump Backup Exec software configuration from the registry

    /app

    Dump Application Event log

    /sys

    Dump System Event log

    /bex

    Dump only Backup Exec entries in the Application Event log

    /err

    Dump only error events from any event log

    /recs:n

    Dumps only newest n records from given event logs

    ***The bex, err and recs switches must be used in conjunction with the app and/or sys switches

    /o:[file]

    Specifies output job log for append

    ***Omitting [file] will send output to the screen

    /h

    Dump SCSI hardware subkey from registry

    /l

    Dump Lotus Notes information

    /n

    Dump Windows Socket Network Protocols

    /p

    Dump user privileges

    /q

    Dump Microsoft SQL Server information

    /s

    Dump information on Services

    /u

    Dump Microsoft update information.

    /v

    Dump Server Information

    /w

    Dump Windows version information

    /x

    Dump Microsoft Exchange Server Information

    /?

    Display usage information