Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

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

$
0
0

Challenge

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:


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

Viewing all articles
Browse latest Browse all 4362

Trending Articles