https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxODI1IiwiaGFzaCI6ImMxMTM2MzllLWUyZDAtNDlkOS05NWVkLWNjODg0NTA4NjgzOCJ9
1-800-691-1991 | 9am - 8pm ET
EN

How to Change the settings related to Veeam Backup & Replication Log Files

Purpose

This article documents how to change the defaults for the following settings:
  1. The absolute log file directory from which all logs will be stored.
  2. Maximum size each log is allowed to reach before beginning a new log file.
  3. Number of archived logs to be kept before removal.
  4. The total size for a job’s logs to reach before Veeam will begin archiving (gzip) inactive logs to save space.
  5. Amount of logs that are archived per job.
  6. The size of an agent log file on sever with a proxy, repository or mount server role.
  7. Amount of the agent rollback files on sever with a proxy, repository or mount server role.
 Note: After making changes to these setting the Veeam server must be restarted to apply changes and ensure that previous log files are unlocked.

Solution

The following registry keys are used to manage log file location, file size and count:

* These values may need to be created if they are not present in the registry.  If the settings you currently have are default, then you will need to add these values as they will not inherently already exist.

*1. Default log directory location:

Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on the server where the Veeam Backup & Replication console is installed
Type: String
Name: LogDirectory
Data: <Path>
Default: C:\ProgramData\Veeam\Backup


2. Maximum file size. New files are created when a file reaches the set max size. Example: Svc.VeeamBackup.log -> Svc.VeeamBackup_1.log

Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on the server where the Veeam Backup & Replication console is installed
Type: DWORD
Name: MaxLogSize
Data: <value in KiB>
Default: 10240 (binary)


3. Maximum log count. Number of log generations to retain. Example: Svc.VeeamBackup_1.log, Svc.VeeamBackup_2.log, etc.

Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on the server where the Veeam Backup & Replication console is installed
Type: DWORD
Name: MaxLogCount
Data: <numeric value>
Default: 10

 
*4. Total size of uncompressed logs (applies per job). 

Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on the server where the Veeam Backup & Replication console is installed
Type: DWORD
Name: UncompressedLogsMaxTotalSize
Data: <value in KiB>
Default: 512000


*5. Total amount of archived generations of logs. Example: Svc.VeeamBackup.1.gz  Svc.VeeamBackup.2.gz 

Type: DWORD
Name: LogsArchivesMaxCount
Data: <numeric value>
Default: 10

 

For Windows:

*6. The size of an AGENT log file 

Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication  on the proxy in question.  
Type: DWORD
Name: AgentMaxLogSize
Data: in BYTES


*7. Amount of the AGENT rollback files.

Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication on the proxy in question.  
Type: DWORD
Name: AgentMaxLogCount
Data: <numeric value>


For Linux:

Following controls are available only after upgrade to Veeam Backup & Replication 10a.

*6. The size of an agent log file.

Location: /etc/VeeamAgentConfig 
Name: AgentMaxLogSize
Data: in BYTES
Default: 15728640

*7. Amount of the agent rollback files

Location: /etc/VeeamAgentConfig 
Name: AgentMaxLogCount
Data: <numeric value>
Default: 10

KB ID:
1825
Product:
Veeam Backup & Replication
Version:
Any
Published:
2013-10-09
Last Modified:
2020-09-08
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later