Loading...
Loading...
This article documents how to change the location where Veeam Appliances store their log files on the Linux filesystem. This article covers: Veeam Software Appliance Veeam Infrastructure Appliance (JeOS Deployed Proxies and Repositories) Veeam Hardened Repositories (deployed using the JeOS ISO) Use Case Changing where the log files are stored may be necessary in larger environments when the recommended sizing in the user guide was not appropriately considered. When disks are undersized for the number of workloads being processed, the default log folder (/var/log/VeeamBackup/) may run out of space, leading to system instability. For example, on a Veeam Software Appliance using the minimum size disks, the /var/log/ path is mounted with only 30GB, whereas the /var/lib/veeam/ folder, where this KB will guide you to configure the logs, is 207GB.
Adjusting Log Location for Veeam Software Appliance Procedure Notes Changing log directory settings requires changing configuration files via the Veeam Host Management Console. If the Security Officer role is enabled, each configuration file import must be approved by the Security Officer. The default log path is: /var/log/VeeamBackup/ The new log location must be a subfolder of: /var/lib/veeam/ For the Veeam Software Appliance, the new log folder must be created using the Files view in the Windows-based Veeam Backup & Replication Console displays the contents of the folder /var/lib/veeam/ when expanding the "This server" object. Creating a New Log Folder on the Veeam Software Appliance Open the Windows-based Veeam Backup & Replication Console and connect to the Veeam Software Appliance. Within the Veeam Backup & Replication Console, switch to the Files view.Note: If the Files view option is not available, it must be enabled using the triple-dot menu. Under the Linux node, right-click on the entry named "This server," and in the context menu select New Folder. Folder Name Path The full path for use in the next section is: /var/lib/veeam/{foldername}/ For example, in the screenshot above, the created folder is named "logs," therefore, the path that will be used in the configuration files will be: /var/lib/veeam/logs/ Update Configuration Files Ensure all jobs and tasks have reached a stopped state. The final step of this procedure is a reboot of the Veeam Software Appliance, which will interrupt any active operations. Log in to the Veeam Host Management Console Web UI. From the left-side navigation panel, select Logs and Services. Within the Logs and Services section, select the Host Configuration tab. Review the list below. For each conf file, do the following: Paste the filename into the Configuration File search box. Select the configuration file. Click Export. Open the exported conf file in a text editor and add the log folder setting shown for that configuration file.If the configuration file contains multiple sections, the setting always goes in the [root] section. Note: If the export option is not available, you must create a new plaintext (UTF-8) file in a text editor and add the setting from the table, including the folder path, to that file. Save the modified configuration file. Ensure the correct configuration file is still selected, then click the Import button to import the modified/new configuration file.Note: If the Security Officer role is enabled, you'll get a message warning that an SO must approve the configuration file import, "Once approved by Security Officer the imported settings will be applied automatically." You can export, modify, and import all the configuration files first, then have the Security Officer approve the import operations all at the same time. Filename Setting Name and Value*Replace {foldername} with the folder you created earlier. /etc/veeam/veeam_backup_and_replication.conf LogDirectory=/var/lib/veeam/{foldername}/ /etc/veeam/veeam_backup_catalog.conf LogDirectory=/var/lib/veeam/{foldername}/ /etc/veeam/veeam_cdpproxy_service.conf LogDirectory=/var/lib/veeam/{foldername}/ /etc/veeam/veeam_mount_service.conf LogDirectory=/var/lib/veeam/{foldername}/ /etc/veeam/veeamdeployment.conf BaseLogPath=/var/lib/veeam/{foldername}/ /etc/veeam/veeamenvironment.conf LogPath=/var/lib/veeam/{foldername}/ /etc/veeam/veeamguestinteraction.conf LogDirectory=/var/lib/veeam/{foldername}/ /etc/veeam/veeamimmurepo.conf BaseLogDirectory=/var/lib/veeam/{foldername}/ /etc/veeam/veeamtransport.conf BaseLogDirectory=/var/lib/veeam/{foldername}/ Swipe to show more of the table Once all configuration files have been modified and imported (and approved by the Security Officer if enabled), either: Restart all the services.Tip: Select the first one, then hold [Shift] and click the last one to select multiple services. or Restart the Appliance.
Click on a version to see all relevant bugs
Veeam Integration
Learn more about where this data comes from
BugZero Plan
Streamline upgrades with automated vendor bug scrubs
BugZero Prevent
Wish you caught this bug sooner? Get proactive today.