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" :-)

 

 

  • 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.
  • 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
  • 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 Tim,

    I have not done a restart of the services..... I can do that now! I'll let you know in a few minutes.

    --Jon
  • Have you restarted the Rapid Recovery core service or server since changing the permissions of the user account you used to protect the Exchange server? Those credentials should now have the rights to be able to view the Exchange data and run the log truncation job. I'm wondering if for some reason the permissions update just isn't being recognized. A reboot might help break things loose...
  • I tried to use <domain>\<user>, no luck.

    I used <domain>\<domain admin> to connect to the Exchange server for the initial backup. That works fine.
  • Hi JRuehle:

    You are correct in that as long as you cannot log in with your credentials you won't be able to do the log truncation.

    I would suggest using the format of <domain>\<user> and try again. In most cases you should be able to log in without any problems.

    However, I have seen cases where it was impossible to connect directly to a computer in a domain from a machine outside the domain. that was caused by some very peculiar group policies. It should not be your case as you were able to protect the Exchange server -- thus your credentials were accepted (have you used local credentials for the Exchange Server when you protected it?)

  • Try putting your domain name in front of the user account. Example: domain\appassure.replay
  • Hi Tim,

    I did as you said, checked the Event Viewer for 224 & 225 in MSExchange Management section of the logs, filtered on 224 or 225 and found nothing.

    No VSS errors.

    I am sure this is an authentication error. The Rapid Recovery server is NOT a member of the domain. I have tried to authenticate with several accounts that are members of the Organization Management security group with no success.

    This is what I get: