Host-based backup of Microsoft Hyper-V VMs.
Post Reply
eneerge
Lurker
Posts: 1
Liked: never
Joined: Apr 15, 2021 5:07 pm
Contact:

Restoring Entire VMs Overwrites Other VM's Data

Post by eneerge »

Hello,

I was in the process of doing a manual test of a few different Virtual Machines. I noticed that if there are 2 vms that have the same hard disk name (EG: C.vhdx, D.vhdx), then the VM that is restored last is the only one that you end up with. Effectively, you restore all VMs, but only the last one is restored because it overwrites everything on each iteration through.

Steps:
  • Have 2 VMs
    • VM1: Windows.vhdx, Data.vhdx
    • VM2: Windows.vhdx, Data.vhdx
  • In Veeam
    • Go to "Backups"
    • Find the backup job that backs up both VM1 and VM2
    • Highlight VM1 and VM2
    • Right-click -> Restore Entire VM
    • Restore Mode: Restore to a new location, or with different settings
    • Set the Datastore location to the same path
Now when you run the restore, VM2's files is the only resulting files that will be available after completion.

Now I know the reason this happens is because the paths are the same. However, it seems it should alert you in this circumstance. Also, having to manually configure the path for each one is a bit tedious. Ideally, you could pass in a $variable to the path so you can say something like E:\VMs\$VMName or something similar and then you can just highlight them all and set them all to the same path and the variable will be used.
Egor Yakovlev
Veeam Software
Posts: 2537
Liked: 683 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Restoring Entire VMs Overwrites Other VM's Data

Post by Egor Yakovlev »

Hi eneerge,

Thanks for feedback, looks totally valid to me.
I will discuss that with QA and we will tune this behavior in future versions.

/Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests