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):


    Dump Agent List


    Specify a Backup Exec server to poll for service account information


    Dump Backup Exec software configuration from the registry


    Dump Application Event log


    Dump System Event log


    Dump only Backup Exec entries in the Application Event log


    Dump only error events from any event log


    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


    Specifies output job log for append

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


    Dump SCSI hardware subkey from registry


    Dump Lotus Notes information


    Dump Windows Socket Network Protocols


    Dump user privileges


    Dump Microsoft SQL Server information


    Dump information on Services


    Dump Microsoft update information.


    Dump Server Information


    Dump Windows version information


    Dump Microsoft Exchange Server Information


    Display usage information