<div class="content" name="BackupGetBackupLogs" uuid="93becc1c-0daf-4891-ab1c-b887c95b0fcd"><p>The BackupGetBackupLogs method queries the <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c925d5d7-a442-4ba4-9586-5f94ccec847a" data-linktype="relative-path">CA</a></span>
for the names of database transaction <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_51672e1d-fd88-4417-aa0b-5aef67742a29" data-linktype="relative-path">log files</a></span> that
should become part of the backup file set.</p><dl>
<dd>
<div><pre> HRESULT BackupGetBackupLogs(
   [out, size_is(, *pcwcLogFiles)] 
     WCHAR** ppwszzLogFiles,
   [out] LONG* pcwcLogFiles
 );
</pre></div>
</dd></dl><p><b>ppwszzLogFiles: </b>A pointer to the WCHAR pointer
that receives the list of null-terminated log file names. Detailed information
about database file name structure formatting is specified in section <span><a href="488b6344-ad86-49d9-b28c-e339ffcbb124" data-linktype="relative-path">2.2.4</a></span>.</p><p><b>pcwcLogFiles: </b>A pointer to an integer value
that contains the total length, in characters, of all strings (including the
NULL terminator character) returned in <i>ppwszzLogFiles</i>.</p><p>The CA server MUST enforce the sequencing rules for
BackupGetBackupLogs, as specified in section <span><a href="e37640b4-b2e1-4bac-89d2-61fc5a5e6c1d" data-linktype="relative-path">3.1.4.1.18</a></span>.<a id="Appendix_A_Target_62"></a><a aria-label="Product behavior note 62" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_62" data-linktype="relative-path">&lt;62&gt;</a></p><p>The CA server MUST apply the following processing rules:</p><ul><li><p><span><span> 
</span></span>If Config_CA_Interface_Flags contains the value
IF_NOREMOTEICERTADMINBACKUP, the server SHOULD return an error. <a id="Appendix_A_Target_63"></a><a aria-label="Product behavior note 63" href="5f06c74c-1a29-4fdf-b8dd-ae3300d1b90d#Appendix_A_63" data-linktype="relative-path">&lt;63&gt;</a></p>
</li><li><p><span><span> 
</span></span>The CA server MUST return a list of file names associated with
the databases log files required for backup. The list of files MUST be
accessible to the CA. Each file name MUST be in <span><a href="c6451297-197d-4b4b-b786-3f3187b67b8f#gt_c9507dca-291d-4fd6-9cba-a9ee7da8c908" data-linktype="relative-path">UNC</a></span> format and MUST
be prefixed with an exclamation point &#34;!&#34;. If there are no database
log files, the CA MUST set 0 as the value of the <i>*pcwcLogFiles</i> parameter
and return successfully.</p>
</li></ul></div>