Can DPM backup a Hyper-V VM (SQL box) without backing up SQL? RRS feed

  • Question

  • Our SQL admin would like our VM backups of our Hyper-V virtuals not to interfere with scripted SQL backups that he does.

    Periodically we dump the entire VM image to disk, which makes DPM perform a full SQL backup that isn't accessible to his SQL restore scripts.   So he would rather it not do that.

    Is this even possible?

    Thanks in advance.

    Thursday, June 5, 2014 2:53 PM

All replies

  • Hi,

    if you backup the VM, there is no SQL Backup.

    You need to check, that the VM will be backed up in online mode.

    Seidl Michael | | |

    Thursday, June 5, 2014 4:15 PM
  • When we backup the VM, the SQL admin tells me a new backup appears in his SQL list at that same time.  So it does seem that it is taking a SQL backup along with the full VM backup.
    Thursday, June 5, 2014 7:56 PM
  • Hi,

    You need to add a registry entry inside the Guest so VSS does not include the application writers during a virtual machine backup.  This will allow other backup applications running in the guest to make the SQL backup.

    How to enable the Hyper-V VSS writer to ignore the VSS application writers


    2.Create a registry entry of the REG_DWORD type.
    3.Set the name of the registry entry to BackupType.
    4.Set the value of the registry entry to 1.

    Note If you set the value to 0, the Hyper-V VSS writer does not ignore the VSS application writers on the VMs.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, June 5, 2014 11:44 PM