Provisioning sanitized data with SQL Clone and Data Masker. Watch now.

Setting Data and Log locations

Are there any plans to allow for the user to select the data and log locations for the SQL clone files that are created during the clone process?


  • owen.hallowen.hall Posts: 57 Silver 4
    edited January 24, 2018 2:39PM
    Hi Garry, as of Clone 2.4.2, there is an -OverrideStorageLocation parameter on the New-SqlClone cmdlet that allows you to specify a different folder to store your clone files (for this specific clone) in.

    Example usage:
    New-SqlClone -Name MyClone `
    -Image (Get-SqlCloneImage -Name MyImage) `
    -Location (Get-SqlCloneSqlServerInstance -InstanceName SQL2014) `
    -OverrideStorageLocation D:\FolderOnTheMachineHostingThatSQL2014Instance

    Hope that helps!
    Software Engineer
    Redgate Software
  • Sweet, thanks for that info.
Sign In or Register to comment.