<div class="content" name="BackupTruncateLogs" uuid="ba476e8e-6078-4283-8afa-53b96a71e9cd"><p>The BackupTruncateLogs method function eliminates redundant
records from the <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_51672e1d-fd88-4417-aa0b-5aef67742a29" data-linktype="relative-path">log files</a></span> and
reduces the disk storage space that is used by log files.</p><dl>
<dd>
<div><pre> HRESULT BackupTruncateLogs();
</pre></div>
</dd></dl><p>This method has no parameters.</p><p>If Config_CA_Interface_Flags contains the value
IF_NOREMOTEICERTADMINBACKUP, the server SHOULD return an error.<a id="Appendix_A_Target_69"></a><a aria-label="Product behavior note 69" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_69" data-linktype="relative-path">&lt;69&gt;</a></p><p>The <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c925d5d7-a442-4ba4-9586-5f94ccec847a" data-linktype="relative-path">CA</a></span> server MUST
enforce the sequencing rules for BackupTruncateLogs as specified in section <span><a href="e37640b4-b2e1-4bac-89d2-61fc5a5e6c1d" data-linktype="relative-path">3.1.4.1.18</a></span>.</p><p>The CA server MUST remove the redundant records in the log
files (records that are present in the database also are defined as redundant),
thereby decreasing the disk space used to store the log files.<a id="Appendix_A_Target_70"></a><a aria-label="Product behavior note 70" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_70" data-linktype="relative-path">&lt;70&gt;</a></p></div>