Altaro VM Backup Support Centre



Exchange Transaction Logs not being Truncated

Last Updated: Jan 17, 2017 05:41PM CET

PROBLEM

 

When running Exchange inside a guest VM, the Microsoft ExchangeTransaction Logs are not being truncated after an Altaro backup succeeds.
 

 

CAUSE


'Application Consistent' Backups or the 'Truncate Logs' option is not enabled; the VM does not meet the requirements for a live backup or there's a specific Exchange issue within the VM that's causing the Exchange VSS Writer to fail to truncate the logs.


 

SOLUTION


Note: Windows Server 2016 hosts introduced an API that now bypasses VSS from the host and creates what's called a production checkpoint, so jump to point 4 in this case.

 
  1. Ensure that the "Application Consistent" option is enabled in the "VSS Settings" screen in Altaro. If you're using VMware ensure that the "Truncate Logs" option is also enabled and it shows as 'Installed'.


  2. Only applies to Hyper-V 2012R2 and earlier

    Check if your VM meets Microsoft's requirements for a live backup, this can be easily done by following the steps in this article. If your VM is listed as 'Backup Using Saved State' or 'Offline', then this be the reason why the Exchange Logs are not being truncated, as Microsoft VSS wouldn't be running inside the VM.

    If that's the case, check the live backup requirements in order for your transactional logs to get truncated.  
     

  3. Next, if you're running Hyper-V 2012R2 and earlier ensure that you have the latest Integration Services installed. To upgrade, connect to the virtual machine and select 'Insert Integration Services Setup Disk' from the 'Action' menu.

    For VMware, ensure that the latest version of 'VMware Tools' is installed.

    Also, please check for any Windows Updates inside the VM itself as they're an integral part of ensuring that VSS runs successful inside the VM.
     
  4. If all of the above checks out, the next step is to take a look at the Windows Application event log of the VM itself. Essentially, the VSS process inside the VM (using the actual Exchange VSS writers) should indeed commit/truncate the logs if behaving properly. By looking at the same time of the backup, you should be able to find relevant events that point to the reason why the logs are not being truncated.

    If you're running a VMware host and notice that the Altaro VM tools are going back to 'Required' instead of 'Installed'. Please take a look at this article
Facebook LinkedIn Twitter Google+ Blog

© 2017 Altaro Software
Customer service software powered by Desk.com
beta@altaro.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete