Skip to main content
NetApp Knowledge Base

CSNAPC-11480: Using Powershell to clone an SQL Database from secondary storage does not apply all logs as requested

Views:
30
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Issue

  • Database clones can include all transaction logs since the backup automatically, including restores from secondary.
  • This applies current logs when cloning a single database locally or cloning the Log Directory disk (HLD) when the destination is on a different Host/instance from its last backup.
  • GUI clones succeed and show the following in the SnapCenter Plug-in for Microsoft SQL Server (SCSQL) job log:

// Some comments here
number_of Log backups of database [database] are successfully restored....

  • PowerShell clones, including clones that use -ArchivedLocators, fail to clone the Log Directory and do not apply extra logs.
  • The example log line is missing from the SCSQL job log.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.