CSNAPC-11480: Using Powershell to clone an SQL Database from secondary storage does not apply all logs as requested
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.
