Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3474

Re: SnapCenter - clone multiple SQL databases

$
0
0

I've got this to work using Powershell:

 

New-SmClone `

-BackupName'sql01_dba_test_db_sql01_10-26-2017_19.10.34.5635' `

-Resources @{Host='SQL01.xyz.com';Type='SQL Database';Names='SQL01\DBA_TEST\TestDb,SQL01\DBA_TEST\TestDb2'} `

-CloneToInstance'SQL02\DBA_TEST2' `

-AssignMountPointUnderPath'c:\' `

-Suffix ('_xxx') `

-LogRestoreTypeNone `

-AppPluginCodeSMSQL

 

For the log restores you have 4 options:

-LogRestoreType None
-LogRestoreType All
-LogRestoreType ByTransactionLogs -LogCount 2
-LogRestoreType BySpecificDate -LogCutOffDateTime get-date('2017-10-30 14:15')

However, the 4th does not work, but is being fixed BURT 1107997


Viewing all articles
Browse latest Browse all 3474

Trending Articles