How to enable Debugging for SharePoint

Article: 100016850
Last Published: 2021-09-24
Ratings: 0 0
Product(s): Backup Exec

Problem

How to enable Debugging to troubleshoot SharePoint backup\restore issues

Solution

BE 2014: Use the new BE 2014 Debug Monitor for simple One Click Debug on each Server by selecting the Icon for SharePoint.
 
 

BE 2012 and earlier Debug Steps:
Set Debug on the Backup Exec (BE) server and each SharePoint and SQL server: 
 
Open Debug Monitor on each server.
  1. On the BE server:
    1. Select the following items from the main screen of Debug Monitor: Job Engine, RAWS, Agent Browser, Backup Exec Server, Device and Media, Catalog, and Capture to File.
    2. Click Clear Log.
    3. Inside the Tools\Settings dialog, select Job Engine & Remote Agent on the left. Then select Enable Job Engine and Remote Agent Debug outside of SGMon. (Note this will remain in debug mode until this option is turned off)
  2. On each remote SharePoint and SQL server:
    1. Select the following items from the main screen of Debug Monitor: RAWS and Capture to File.
    2. Click Clear Log.
    3. Inside the Tools\Settings dialog, select Job Engine & Remote Agent on the left. Then select Enable Job Engine and Remote Agent Debug outside of SGMon. (Note this will remain in debug mode until this option is turned off)
    4. Restart the Backup Exec Remote Agent for Windows Service.
  3. Run the job and reproduce the issue. 
    1. Select the smallest job that will reproduce the problem.
    2. Run this while no other jobs are running, if possible.
    3. Wait for the error to occur.
  4. Collect and send the logs:
    1. Run the VQA Tool on each server to collect and send logs. More detail on this tool can be found in https://www.veritas.com/support/en_US/vqa
    2. Be sure to select Full logs for support 
    3. After the Tool has completed the upload of logs from each server to the FTP site, Save and send the Job Log of the job by replying to the Veritas Technician Email or posting it to the case at https://my.veritas.com
  5. Debugs should be turned off after the issue is resolved and the logs can be deleted. Each step of the debugs mentioned above need to be undone. 

       
Notes about the logs:
The logs are created under -
BE Server - Program Files\Veritas\Backup Exec\Logs
Remote servers - Program Files\Veritas\Backup Exec\RAWS\Logs
The following logs create a new file each time BE services restart/debug is turned on:
ServerName-BEngine##.log      
ServerName-BERemote##.log  
ServerName-SPSWrapper##.log
The following logs append (single log file):
ServerName-SGMon.log

Was this content helpful?