This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Exchange 2016 Log Truncation Not Happening

Exchange 2016 on top of Server 2012 R2 deployed in December of 2016
Rapid Recovery Version: 6.1.1.137

Nightly jobs:

Rollup YES
Recovery Point Integrity Checks  NO
Checksum of Exchange Databases NO
Log Truncation  YES
Enable automatic mountability check NO

RR has NEVER truncated logs, but backups are going hourly.  I have about a BILLION log files on the Exchange server. We could call it a "log jam" :-)

 

 

  • I see two options -- add the Exchange User you are using to connect to the Domain Admins group (it makes sense to make sure that no special characters such as ".","$","-" are in the username).
    The second -- which is not that simple is to use the posttransfer.ps1 script (located in c:\Programdata\Apprecovery\scripts when exists) and force a log truncation from there.
    The content of the script should be

    diskshadow -s c:\Programdata\Apprecovery\scripts\script.txt

    where script.txt is a diskshadow script, located in the same directory.
    The script.txt content should be something like:
    #DiskShadow script file
    set context volatile
    set verbose on

    add volume c: # whatever Exchange Volume
    add volume d: # whatever another Exchange Volume and so on

    create
    end backup
    #End of script

    You may need to create the c:\Programdata\Apprecovery\scripts folder and the posttransferscript.ps1 file and run set-executionpolicy remotesigned from an elevated PowerShell command prompt to make sure that the script is allowed to run.
    Give it a try!
  • Hi Tudor,

    The Exchange user "Appassure.Replay" is already a member of the Domain Admins group.

    Why not just join the server to the domain? That's easy enough to do.

    --Jon
  • Hi Jon:
    In our line of work we need to assume that there is a compelling reason for a machine not to be joined to the local domain.