Documentation

Getting Started with SQL Clone

Creating a clone is a simple, 2-step process. First, we create an image, which is a full byte copy of the database, data and log files, at a given point in time. The image is held only once, in the network, and never updated. We can take the image directly from a SQL Server database or from a database backup. In the next step, we can create multiple clones from this image, where each clone is an isolated, copy of the database, megabytes in size.

Figure 1

A detailed description of the SQL Clone installation and setup process is provided by in the Installation section of the documentation, and is also summarized in our Getting Started guide. Figure 2 shows the basic architecture and components we need to have in place to get started.

Figure 2

During installation you'll need to specify:

  • A SQL Clone Server – one central server where you'll install SQL Clone, and which is visible over the network from everywhere you want to use SQL Clone.
  • A SQL Server instance to host the SQL Clone configuration database (SQLClone_Config)
  • Credentials for the SQL Clone Server service account. This account will need access to the instance that will contain the configuration database.
  • A Windows user account with local admin privileges – for use of SQL Clone Agent, on each machine where its required. You will need to install a SQL Clone Agent on every server containing databases from which you need to create images, or to which you wish to deliver clones.

This done, the SQL Clone Server web client (http://SQLCloneServerName.DomainName:14145/) will open automatically and you'll need to authenticate using your normal Windows credentials. It's a web application so anyone with the URL can use SQL Clone, just by authenticating with their Windows credentials. You can set up role-based permissions to control access.

To start creating images and clones, you'll also need access to a Windows network share location, for storing the images. The Clone Agent will need read and write access to this location. Each clone will access the data from this image, in response to any queries. A clone only stores locally any data that you modify in the clone. Therefore, it might be beneficial to choose a high-speed, high-bandwidth network location for the image. This is a factor to consider if, for example, you are performing load or performance testing using a Clone.