Replicating Virtual Machines to Multiple Folders

Replicating Virtual Machines to Multiple Folders

Rate This
  • Comments 4

Hyper-V Replica allows you to configure where replicated virtual machines will be stored.  You can either choose to have all replicated virtual machines stored in a single location, or you can choose to specify a separate location for each primary server that is replicating to you.

But what if you need to have multiple virtual machines replicating from a single primary server, but stored on different drives?

This is what I needed to do for my home configuration.  It turns out that while the solution is not obvious, it is not that hard to do.  What you need to do is:

  1. Configure Hyper-V Replica to store the replicated virtual machines in one of the locations you will be using
  2. When you enable replication on a virtual machine that needs to be stored in a different location, choose to perform initial replication at a later point in time:
    This will mean that only the configuration file and some placeholder virtual hard disk files will be created at this stage (all of which are very small)
  3. Go to the replica server and find the virtual machine in question
  4. Choose to move the virtual machine
  5. Move the virtual machine storage to the location that you want for the replica
  6. Return to the primary server and choose to start initial replication
  7. This time choose to start replication immediately

When you are done you will have the virtual machine replicating to a unique location.


Leave a Comment
  • Please add 6 and 2 and type the answer here:
  • Post
  • This is EXACTLY what I've been doing except a MUCH better approach.

    I have a setup which is more or less the same as yours (Inspired by yours to be honest). I have 2 hosts at home using replication to keep me online if one host needs some maintenance. The biggest difference between our setups is the disk configuration. I'm using multiples of RAID1/Mirror where you are using a single large Raid5/Parity.

    Regarding replication:

    My approach was to enable replication and start it immediately. Then perform the move command on the replica server after the VM had been replicated. This of course took a long time on my file server as it's about 1TB in size.

    Your approach of enabling replica, then moving the machine on the replica server and finally starting the replication process is something i should have thought about, but didn't.

    This couldn't have come at a better time as I'm about to start to replicating some large VMs.

    Thank you for the tip Ben :).

    Awesome stuff


  • Wonderful article but what if we use CSV for replication , In fail-over there isn't any option to select multiple csv for replication .


    Muzammil Ahmed

    email :

  • Ben. Is there an easy way to move replicas from one physical to a new.

    HV01 - replicates its children to HV02. HV02 is being decommissioned and now I want to move all those children to HV03. I know I could stop replication and restart it onto new box but since HV02 and HV03 are on the same LAN it would be nice to just copy from HV02->HV03

    hope you follow my question


  • I'm running 2 Hyper-V Server 2012 R2's, and I got the message;

    "Cannot change the settings for the virtual hard disk because it is enabled for replication"

    To get it to work, I had to remove replication on both the replicated virtual machine and the original one. Then I moved the location of the hard disk on the replication machine, and reconfigured replication on the original one and it used the machine created in the previous replication step, with the changed locations.

Page 1 of 1 (4 items)