Enable Backup debug and protocol logging
During Backup and Recovery issue investigations, it may be beneficial to enable debug and protocol logging for Backup Manager in order to pinpoint any faults.
To enable Backup debug and protocol logging
- Stop the Backup Service Controller service within Windows Services Console.
- Locate
config.ini
file: - Windows:
C:\Program Files\Backup Manager\config.ini
- Windows (64bit):
C:\Program Files (x86)\Backup Manager\config.ini
- macOS:
/Library/Application Support/MXB/Backup Manager
- Linux:
/opt/MXB/etc/config.ini
- Edit
config.ini
to add the following to the end of the file: - Create a directory name
BackupFP.Protocol
in the operating system specific location (listed below): - Windows:
C:\ProgramData\Managed Online Backup\Backup Manager\logs\
- macOS:
/Library/Application Support/MXB/logs/
- Linux:
/opt/MXB/var/log/
- Start the Backup Service Controller service within Windows Services Console.
File location depends on operating system:
[Logging]
LoggingLevel=Debug
SingleLogMaxSizeInMb=100
TotalLogsMaxSizeInMb=2000
The last two lines prevent log files from filling the hard drive. In some instances, to gather sufficient logging you may need to increase the limit of total logs to ensure all necessary data is captured.
Changes will not take place until the service is restarted.
You can now replicate the issue being investigated as needed with the extra logging now configured.
The logs can be viewed or provided to the N-able support team as part of a support case:
- Windows:
C:\ProgramData\Managed Online Backup\Backup Manager\logs
- macOS:
/Library/Application Support/MXB/logs
- Linux:
/opt/MXB/var/log
Disable Backup debug and protocol logging
When your need for extra logging has ended, revert the changes made that enabled the extra logging:
- Stop the Backup Service Controller service within Windows Services Console.
- Locate
config.ini
file: - Windows (32bit):
C:\Program Files\Backup Manager\config.ini
- Windows (64bit):
C:\Program Files (x86)\Backup Manager\config.ini
- macOS:
/Library/Application Support/MXB/Backup Manager
- Linux:
/opt/MXB/etc/config.ini
- Edit
config.ini
to remove the following from the file: - Remove the
BackupFP.Protocol
directory in the operating-system specific location (listed below): - Windows:
C:\ProgramData\Managed Online Backup\Backup Manager\logs\
- macOS:
/Library/Application Support/MXB/logs/
- Linux:
/opt/MXB/var/log/
- Start the Backup Service Controller service within Windows Services Console.
File location depends on operating system:
[Logging]
LoggingLevel=Debug
SingleLogMaxSizeInMb=100
TotalLogsMaxSizeInMb=2000
Changes will not take place until the service is restarted