Enable and disable Backup Manager debug logs

Last Modified

Thur Feb 24 14:07 GMT 2022

Description

  • How to enable debug logging for Cove

Environment

  • Cove Data Protection (Cove)
  • Backup and Recovery

Solution

  • To enable debug logging:
    1. Stop the Backup Service Controller service

      You may have to stop the BackupFP.exe process manually on Windows devices

    2. Open the config.ini file:
      • Linux: /opt/MXB/etc/config.ini
      • macOS: /Library/Application Support/MXB/Backup Manager/config.ini
      • Windows: C:\Program Files\Backup Manager\config.ini
    3. Add the following lines to the [Logging] section if it exists, or add the whole section to the bottom of the file:

      [Logging]
      LoggingLevel=Debug
      SingleLogMaxSizeInMb=100
      TotalLogsMaxSizeInMb=2000

    4. Save the file
    5. Start the Backup Service Controller service
    6. Run a backup
    7. Once the backup is complete, all logs created will be located at the following location:
      • Linux: /opt/MXB/var/logs/
      • macOS: /Library/Application Support/MXB/Backup Manager/logs/
      • Windows: C:\ProgramData\MXB\Backup Manager\logs\
    8. Stop the Management Console service again
    9. Take a copy of the System, Application and Event logs and paste them into the above folder
    10. Compress this whole folder as a .zip file if sending in to support for analysis
  • Debug logging can be disabled by removing the lines added to config.ini from step 3.
  • It is recommended that you keep the Debug logs enabled for the duration of troubleshooting any issues.
  • Once the issue is resolved, disable Debug logging to save space on the device

  • Deleting logs will affect the ability to troubleshoot and identify issues that may arise