Discussions specific to the Microsoft Hyper-V hypervisor
Post Reply
roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Unable to restore to datastore when Storage VSP is enabled

Post by roelvdw » Nov 16, 2014 7:07 pm

Hi I am testing veeam backup & replication v8 on Hyper-v

I have 2 Physical Hyper-v Stand-Alone Hosts
One is Hyper-v 2008 R2 , other is Hyper-v 2012 R2.
Both Physical Hosts have 2 NICS (1 NIC for Physical Network , 1 NIC for Virtual Network)
Storage is Direct Access on both hosts. No SAN is used.

When I try to restore a VM (OS : 2008r2) from Hyper-v 2008 R2 to Hyper-v 2012 R2 , i get the following error when i choose to restore vm "unable to restore to repository when Storage VSP is enabled"
Any sugesstion ?

Kind regards

Roel

veremin
Product Manager
Posts: 16901
Liked: 1439 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by veremin » Nov 17, 2014 8:51 am

What type of repository are you using? And what type of restore are you trying to perform? Thanks.

roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by roelvdw » Nov 17, 2014 10:59 am

Hi

The backup repository is on the same VM as Veeam B&R v8.
I am trying to do an instant vm recovery

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by foggy » Nov 17, 2014 12:16 pm

Roel, you can either try to disable Hyper-V I/O balancing (not recommended) or migrate the VM holding the repository to another host (not the one you're restoring to). More solid solution would be to move away from storing backups on a VM, though.

roelvdw
Enthusiast
Posts: 60
Liked: 6 times
Joined: May 11, 2012 1:38 pm
Full Name: Vandewalle Roel
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by roelvdw » Nov 18, 2014 6:38 am 1 person likes this post

Hi

Indeed after Moving backups to physical server.
Instant vm recovery worked.
ThX for advise.

Roel

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by foggy » Nov 18, 2014 10:13 am

Thanks for confirmation. The issue was caused by the fact that you were restoring to the same volume where backup repository was located, this type of restore is prevented to avoid I/O freeze of all VMs on this volume.

bwoodill
Novice
Posts: 3
Liked: never
Joined: Dec 10, 2014 8:18 pm
Full Name: Benjamin Woodill
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by bwoodill » Dec 10, 2014 8:43 pm

I am having the same issue as the original poster, but I have a different setup. I contacted support and they suggested I post here. The case # is 00697007.
I have a small environment, just two hyper-v hosts. One host has a vm with backup and recovery v8 installed. All hosts and vms are 2012r2 with all updates applied. One host is dedicated to only running backup and recovery.
I dealt with pre sales and was told I should be able to have the single host running backup and recovery inside of a vm since it is a small environment. I have tried several different combinations of using different physical and logical volumes for the veeam datastore and no luck. I still get the VSP error when trying to restore from backup to the host running the vm of backup and recovery. Is there any way to get this working or alternate setup? I would like to have just one server with hyper-v and backup and recovery as a vm so that if the production server fails, I can restore the vm's to the host with the backup and recovery vm. The environment would have two hyper-v hosts total, both using internal storage.

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by foggy » Dec 11, 2014 1:00 pm

Just to confirm, have you tried to store backups on the Hyper-V host itself (not inside the VM) and that didn't help?

A few other things that should allow to avoid the error:

- Install Veeam B&R on Hyper-V host itself.
- Use full VM restore instead of Instant Recovery.
- Temporarily disable Hyper-V I/O balancing for the time required to perform restore.

bwoodill
Novice
Posts: 3
Liked: never
Joined: Dec 10, 2014 8:18 pm
Full Name: Benjamin Woodill
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by bwoodill » Dec 11, 2014 4:03 pm

I just tried storing the backup repository on the host itself. I don't know why I didn't try that before. Now the wizard completes, but the restore fails due to "Unable to connect to Hyper-V VSS writer. Details: Writer 'Microsoft Hyper-V VSS Writer' is failed at 'VSS_WS_FAILED_AT_PRE_RESTORE'."

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by foggy » Dec 11, 2014 9:18 pm

Please let your engineer know about this error message, he will be able to perform further investigation.

bwoodill
Novice
Posts: 3
Liked: never
Joined: Dec 10, 2014 8:18 pm
Full Name: Benjamin Woodill
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by bwoodill » Dec 12, 2014 2:13 pm

Will do. Thanks for your help.

sarapinho
Novice
Posts: 3
Liked: never
Joined: Nov 10, 2015 12:40 pm
Full Name: Amauri Ramos
Contact:

[MERGED] Surebackup VSP Error

Post by sarapinho » Nov 10, 2015 1:00 pm

Hi,

I am testing Veeam Backup & Replication v8 on Hyper-v.
- I have 1 physical Hyper-v Host Windows 2012 R2 and no SAN.
- Only local disks in RAID 5 with 2 partitions (1 with Windows and 1 with VMs)
- The backup repository is a virtual disk attached to the VM with Veeam B&R v8.

When I try to execute a SureBackup job, i get the following error:
"Unable to restore to repository when Storage VSP is enabled"

Ive seen a post saying that to solve this error i have move the repository to another host(can't do this) or disable Hyper-V IO Control, but when i disable IO Control the VM freezes and job doesn't complete.

Ref: http://forums.veeam.com/microsoft-hyper ... 24171.html

Any suggestion?

Kind regards
Amauri Ramos

alanbolte
Expert
Posts: 635
Liked: 172 times
Joined: Jun 18, 2012 8:58 pm
Full Name: Alan Bolte
Contact:

Re: Surebackup VSP Error

Post by alanbolte » Nov 10, 2015 7:27 pm 1 person likes this post

Related: http://www.veeam.com/kb2028

Can you migrate the repository from a virtual disk to physical storage on the host?

Also, you're keeping your backups on the same storage as your VMs? What do you plan to do if your storage fails?

sarapinho
Novice
Posts: 3
Liked: never
Joined: Nov 10, 2015 12:40 pm
Full Name: Amauri Ramos
Contact:

Re: Surebackup VSP Error

Post by sarapinho » Nov 11, 2015 1:14 pm

Hi Alan,

It's just a testing environment, so no problem if the storage fails.

Using the Hyper-V local disk as a backup repostory worked.

Thank You !
Amauri Ramos

aschrades
Service Provider
Posts: 10
Liked: 3 times
Joined: Dec 17, 2014 2:36 am
Full Name: Adam Schroeder
Location: WI
Contact:

[MERGED] Surebackup with one host?

Post by aschrades » Jan 28, 2016 9:10 pm

I have a customer that has a single 2012R2 Hyper-V host with 4 VM's. Veeam 9 is installed on one of the VM's and backs up to a Netgear ReadyNAS 314 with 4 3TB WD Red drives in RAID10. Everything works great.

I tried to configure a Surebackup job to test some restore points. I get the "cannot restore to the backup repository host when storage VSP is enabled" error. Doing some research it looks like I would need another hyper-v host to use Surebackup. Is that correct? If not, what do I have to do different?

Thanks!

-Adam

nefes
Veeam Software
Posts: 628
Liked: 156 times
Joined: Dec 10, 2012 8:44 am
Full Name: Nikita Efes
Contact:

Re: Surebackup with one host?

Post by nefes » Jan 29, 2016 8:09 am

Another host is not the only solution for this, please take a look at this KB.

aschrades
Service Provider
Posts: 10
Liked: 3 times
Joined: Dec 17, 2014 2:36 am
Full Name: Adam Schroeder
Location: WI
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by aschrades » Jan 29, 2016 3:42 pm

OK. If I'm reading that KB correctly there is no way to do a Surebackup job given the hardware I have available. Correct?

alanbolte
Expert
Posts: 635
Liked: 172 times
Joined: Jun 18, 2012 8:58 pm
Full Name: Alan Bolte
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by alanbolte » Jan 29, 2016 4:07 pm

You said you're running a NAS, so I assume that's a CIFS/SMB share.
If the repository is a CIFS/SMB share or Data Domain Boost repository:
The repository data mover must run on a Windows OS. By default, this “gateway server” will be selected automatically from among all managed Windows servers added to the backup infrastructure without regard for the limitation described in this KB. You can specify a different gateway server in the repository settings.
You can set the gateway to the share on the host, or on any other windows machine, physical or virtual, so long as the gateway is not a VM on the host running the Surebackup virtual lab. You can also disable storage VSP, but it's not recommended.

Jeryn
Lurker
Posts: 1
Liked: never
Joined: Aug 22, 2018 7:10 pm
Full Name: Jeryn Neill
Contact:

[MERGED] Setting up a SureBackup environment for the first t

Post by Jeryn » Aug 22, 2018 8:03 pm

(Case # 03158845)

Hi,

I am looking at setting up a SureBackup environment for the first time in one of our environments. It is a small to medium environment and I followed the guide in the help center when going through the process. I ended up going with a Basic setup as everything should be on the same subnet. Once I had a basic application group, Virtual Network, and Surebackup job in place, I ran it and it ended up failing out with the following error. DC2 the server in the application group.

8/22/2018 12:52:01 PM Error [server-DC2]: Error: Cannot restore to the backup repository host when storage VSP is enabled.
8/22/2018 12:52:05 PM Error Failed to prepare VM task context
Cannot restore to the backup repository host when storage VSP is enabled.

I made a case (Case # 03158845) but wanted to also get a post here to see if I could get additional help on the issue and other questions I might run into when going through this process for the first time. The latest entry in the case determined that it might be due to the data mover service is running in a Hyper-V machine as the repository the backups are saved to is a Hyper-V Windows server referencing this KB article.

https://www.veeam.com/kb2028

Help center guide I used to set up the environment.
https://helpcenter.veeam.com/docs/backu ... tml?ver=95

foggy
Veeam Software
Posts: 18278
Liked: 1564 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Unable to restore to datastore when Storage VSP is enabl

Post by foggy » Aug 23, 2018 3:15 pm

Hi Jeryn, possible solutions to this issue are described in this thread above as well as in the KB article you've mentioned. Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests