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

Possible to move location of existing images in SQL Clone?

My images are stored on a network share that is being made obsolete. Is it possible to move these images to a new location without disconnecting clones and recreating images?


  • owen.hallowen.hall Posts: 57 Silver 4
    edited November 29, 2018 5:06PM

    While not directly supported in-tool, it shouldn't be too difficult to move image files from one place to another, then update the SQL Clone config database to refer to the new location. If you'd like to pursue this, probably the simplest option is to get in touch with [email protected] and we can figure this out properly.

    It's a different story for any existing clones of those images, though. Clone disk files are parented to a specific file path (i.e. pointing straight at the image file), and have that information written directly into them. This is the nature of the VHD file format. It won't be easy to point those at the new image location (you'd need to hack the clone files with a hex editor) - far easier to drop the clones and recreate them afresh once the images have been moved.

    Hope that helps!

    Software Engineer
    Redgate Software
Sign In or Register to comment.