Veeam: change the location of the logs

Introduction

Veeam backup software writes a lot of logs and they are stored by default on drive C at the following location C:\ProgramData\Veeam\Backup.

As you can see in the screenshot below, this represents a certain volume, over 4GB, and if the C: \ drive starts to run out of space, it might be worth moving them to another volume.

To change the location of the logs, you must create a registry key, it is not possible to do it directly in the Veeam configuration.

Change the location of the logs

On the server where Veeam is installed, open the registry editor (regedit) and go to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication.

In the central zone, right click then New 1 and click on String value 2. Name the key LogDirectory 3.

Double click on the key to edit it, in the Value data field, enter the new location 1 and click OK 2 to validate.

In consideration of the new location, it is necessary to restart the service or the server Veeam.

After restarting, check that logs are created in the new folder. Old logs can be moved for archiving or deletion.




Leave a Comment