I would like to confirm if Exchange deletes logs after backup.
I saw some posts saying that NetBackup sends a message to Exchange that the logs can be deleted and Exchange does the job.
Does truncating logs same with deleting logs?
Would it be possible to set a backup policy to delete MS Exchange log files after successful backup?
NBU is 188.8.131.52 and OS is Windows 2008 R2 Std.
FYI - full and diff backups will truncate the logs. Cinc backups do not truncate the logs. It's all in the manuals/guides.
agreed with previous posts, its Exchange API work to delete logs.
To be precise, it is log deletion in MS Exchange, not log truncation. There are many sequentially generated log files which are really Deleted after backups.
(In contrast, MS SQL Server performs Log Truncation, because there is one big permanent log file, and it's free space is managed internally)
Another thing of note in relation to this.....
If you backup a DAG using the simple DAG directive then it will spawn jobs for each database.
This means it has one parent job for lots of databases.
If any of those fail then the parent job will get a failure status (non zero) .. it is this that gets passed on to exchange .. so one troublesome database will cause all databases to not have their logs truncated.
It is a pain but well worth setting up a policy for each database individually to prevent this .. just make sure the Exchange team let you know if they add another dataabse so that you can create a policy for it.
With lots of policies a single failure will result in only that one databases logs not being truncated and all others will be fine.
Hope this helps
Please verify in event Viewever, you might get event ID : 2046, which Indicate that the request has been send to ESE. to truncate the logs.
Actual Log Deletion is done by Exchange ESE with the help of VSS.
Netbackup Only Invoke the Request after FULL and Incremental backups.
Hope this helps.