Host-based backup of Microsoft Hyper-V VMs.
Post Reply
dtsp
Novice
Posts: 7
Liked: 1 time
Joined: Apr 12, 2014 12:11 pm
Full Name: Dmitriy Titov
Contact:

How to exclude Generation 2 VM SCSI disks from backup?

Post by dtsp »

Hi!

I have B&R 7 latest build and try to backup file server from Hyper-V 2012 R2 host. My file server is a Generation 2 VM which has only SCSI disks and runs under Windows 2012 R2 Std Russian.
File server has three SCSI disks. They attached to SCSI 0,1 and 2 respectively. Windows shows them as Disk 0, Disk 1 and Disk 2 in "Disk Management" mmc console (it's actualy in Russian though). I want to exclude third disk from backup as it's a large archive disk.
I've edited backup job and set exclusions to "Selected disks", then I've removed * (asterisk) from SCSI section and entered SCSI 0:0, SCSI(0:0), Disk 0 (actualy I've entered Russian "Диск 0" as it's showed in Disk Mgmt console). I've added all these variations hoping that one of them would work. But when I run backup job I got VM size 0 KB.

Thats realy frustrating, Veeam GUI has ability to check or uncheck IDE disks with mouse, but it has no such GUI for SCSI disks.

Could someone provide me with right disk names for my Gen 2 Windows 2012 R2 Std Russian VM.

Thanks in advance,
Dmitriy Titov

Case # 00549983
dtsp
Novice
Posts: 7
Liked: 1 time
Joined: Apr 12, 2014 12:11 pm
Full Name: Dmitriy Titov
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by dtsp » 1 person likes this post

Solved.
I was confused by user manual, IDE disk names pattern and some info from google search where people suggest using SCSI (X:X) disk names pattern.
If someone has the same question as I did here is the answer - you should add VHDX file names uder SCSI disk section. You can also use wildcard * (asterisk) as part of disk names.
Dmitriy
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by veremin »

The pattern you're talking about is applicable in case of vSphere hypervisor. In case of Hyper-V, you should input names of corresponding vhdx's, indeed. Anyway, I'm glad to hear that you're up and running now.
nielsvdc
Novice
Posts: 3
Liked: never
Joined: Jan 31, 2014 3:35 pm
Full Name: Niels
Contact:

[MERGED] : Unable to exclude SCSI disks

Post by nielsvdc »

All our Hyper-V VM's have 1 IDE disk with the operating system on it and optional 1 or more SCSI disks. For some of the VM's we want to exclude a SCSI disk from the back-up. If we open the Select Disks dialog, we can see a list of 4 IDE disks, but there is no list of SCSI disks. Only a asterisk (*) is displayed and we have the option to manually type in SCSI disk, I guess.
I can find images of this dialog containing a list of SCSI disks, so why don't we have this list? How can we exclude a SCSI disk or, I guess, we have to include all disks except the one disk that need to be backed-up.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by veremin »

Hi, Niels,

In order to exclude SCSI disks you have to input names of corresponding vhdx's.

Thanks.
eilz
Novice
Posts: 3
Liked: 1 time
Joined: Dec 03, 2014 12:04 pm
Full Name: eilz
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by eilz »

If I have a Hyper-v VM backup that is a:

GEN1 with...
1xIDE (ide1.vmk)
2xSCSI disks called (testscsi1.vmdx and testscsi2.vmdx)
AND....
If I only wanted to just backup say testscsi1.vmdk, I would remove the default asterisks in exclusions scsi disks section and enter 'testscsi1' (without quotes) which would then ONLY backup testscsi1.vmdx and NOT testscsi2.vmdk, is that correct :roll: ?

Thanks, Eilz
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by foggy »

Correct. In v8 though, you can select disk exclusions in a more convenient way, without the need to enter their names.
ibby
Lurker
Posts: 2
Liked: 1 time
Joined: Dec 28, 2014 5:51 pm
Full Name: IbbyAkram
Contact:

[MERGED] Discs Not Showing when creating Backup Job

Post by ibby »

Good afternoon / Morning..

New to the forums... and new to VEEAM Backup tech stuff new some help, I am hoping someone can guide me!

Right so the setup consists of the following.

1 x Hyper V Server with the following;.
Raid 1 OS Disk - SAS 147GB
Raid 1 Page File Disk - SAS 300GB
Raid 1 1TB Storage, SATA
Raid 1 2TB Storage x2.SAS
3TB - Single Disk for Backups and Snapshots.
48 GIG Ram
8 Core CPU.

Veeam Backup server is a 2core 8gig virtual machine.

Virtual Machines include an SBS2008 server, Linux Webservers, Windows Webservers and an Internal gaming server.

SBS2008 virtual disc setup.
1x IDE boot disc
1x exchange SCSI 0:0
1x Data SCSI 0:1
1x App Disk 0:2
1x Page file Disk 0:3

all are virtual vhdxs and are imported via the SCSI protocol in hyper v

Aim right now is to backup the SBS2008 server which I have configured a temp job for an backups to storage fine.
However I have some discs in this server that I want to exclude. WHen I go to the exclusions section non of the virtual discs are shown.
I have entered the SCSI Id's but the entire server stil backups up?

Ideas?

THanks
ibby
Lurker
Posts: 2
Liked: 1 time
Joined: Dec 28, 2014 5:51 pm
Full Name: IbbyAkram
Contact:

Re: Discs Not Showing when creating Backup Job

Post by ibby » 1 person likes this post

Just to let people know, I have managed to figure it out..! :lol:

You don't enter the SCSI ID's of the disk but the actual names of the vhdx you want to backup.
eg

location of vhhd d:\sbs_storage\data_storage_disk.vhdx.

in the scsi section remove the * and insert just the "data_storage_disk" and click on the add button.

:mrgreen:

Please mark as solved so other members do not have to pull the hair out :D
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by foggy »

Please note that disk exclusion was re-designed in v8, entering disk names is not required anymore.
tym
Enthusiast
Posts: 83
Liked: 9 times
Joined: Mar 26, 2015 9:30 pm
Full Name: Tim Diekhans
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by tym »

actually, I don´t find it very convenient in v8 - now I have to look up scsi ids (which i dont know) instead of just entering the vhdx names (which are quite distinct).
Gostev
Chief Product Officer
Posts: 31806
Liked: 7299 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by Gostev »

The problem with old approach was that too many people are using the same virtual disk file names across and even within the same VM, leading to unexpected exclusions and unrecoverable backups.
tym
Enthusiast
Posts: 83
Liked: 9 times
Joined: Mar 26, 2015 9:30 pm
Full Name: Tim Diekhans
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by tym »

ok. but is there a quick way to find the scsi ids of virtual disks?
Gostev
Chief Product Officer
Posts: 31806
Liked: 7299 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by Gostev »

They are shown in the VM settings for each hard drive (Controller:Location)
antspants77
Influencer
Posts: 20
Liked: 5 times
Joined: Mar 16, 2011 3:15 pm
Full Name: Tony Spencer
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by antspants77 »

HI,
Logging a support case after this call, but need some help to get some backups running very soon.

Environment is
Veeam B&R 8.0 Update 3 (8.0.0.2084)
Hyper-v 2008 R2 SP1

VM is also 2008 R2 SP1
Has 9 disks with about 14TB of data.
(We are migrating them to new environment)
Backing up to local disk on physical SuperMicro
Local disk has 7TB of free space.

Backup VBK corrupted
See error, below
===========================================================
Error: bad allocation
Failed to upload disk.
Agent failed to process method {DataTransfer.SyncDisk}.
Exception from server: bad allocation
Unable to retrieve next block transmission command. Number of already processed blocks: [407].
Failed to download disk.
==========================================================

In the past Veeam have told us to run an Active full, but not enough space for this.
Cannot delete existing backup file, as will leave them too exposed while new backup is created. (About 60 hours)
Can still restore files from it.

So, until we migrate, we need both old and new backups.
Have space on other disks that have other repositories that will give me the total of the space I need.

So, tried breaking server down into smaller backups, by using exclusions.
i.e. C,D,E in first job, F,G,H in 2nd job etc.

So went to identify disks.
Used Hyper-v console and could see IDE0, SCSI0, SCSI1 SCSI2 etc.
Compared this with disks in VM and could see the same numbers.
I assumed that this translated to SCSI 0:0, SCSI 0:1 etc.

But then I had a disk labelled in both interfaces as SCSI 7.
But the exclusion (actually an inclusion list) does not have 0:7 as an option.
As I've been around for a while, I suspect that this is reserved for the controller.

So does it translate that for SCSI disks IDs of 0 to 6, that this matches what is in Hyper-v for the exclusions.
And for 7 and over, we add one.
E.g. for a disk listed as location 7 in Hyper-v, this would be SCSI 0:8?
And for a disk listed as location 8, this would be SCSI 0:9?

Any clarification would be appreciated.
Would be much better if the exclusion list, queried the VM and only showed the disks it actually has, rather than any possible disk.
antspants77
Influencer
Posts: 20
Liked: 5 times
Joined: Mar 16, 2011 3:15 pm
Full Name: Tony Spencer
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by antspants77 » 1 person likes this post

Case #01671864
Update on this.
Hyper-v can have a maximum of 64 SCSI devices. 4 x controllers, each with 16 devices.
But Veeam can only include 60 of these.
Our fix was to change the SCSI Location in Hyper-v manager to something other than 7.
Maybe we should just never use location 7 in any VM or Veeam can allow exclusions for 0:7, 1:7, 2:7, 3:7
mkaec
Veteran
Posts: 465
Liked: 136 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by mkaec »

The problem of SCSI ID 7 missing from the Exclusion options has been fixed in v9. but SCSI IDs 16-31 are still missing. Hopefully, that will be corrected in a future v9 update.
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by foggy »

mkaec wrote:...but SCSI IDs 16-31 are still missing. Hopefully, that will be corrected in a future v9 update.
Yes, this is planned to be fixed in one of the next updates.
Baron164
Novice
Posts: 3
Liked: never
Joined: Jul 13, 2014 3:15 pm
Contact:

[MERGED] Hyper-V 2012 R2 Gen2 disk exclusion

Post by Baron164 »

I have a Gen2 Server 2012 R2 VM running on a Hyper-V 2012 R2 Cluster that I'm trying to exclude the secondary disk for and just backup the OS drive. Being a Gen2 VM the disks are SCSI and not IDE. When I go into my backup job to exclude the second drive it lists the IDE channels and originally had * listed under SCSI Disks. I'm not sure what I need to enter under SCSI disks for the job to process the OS drive. I've tried 0:0 and 0 but both times when the job runs both drives are excluded.

I am have been backing up other VM's in this Cluster for a few years now successfully without issue so I'm still using Veeam Backup 7.
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by foggy »

In v7 you had to input names of SCSI disks explicitly in order to exclude them.
Baron164
Novice
Posts: 3
Liked: never
Joined: Jul 13, 2014 3:15 pm
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by Baron164 »

So I would include the name of the vhdx that I want to backup? So for example I would put "DriveC.vhdx" in the list?

*Edited Fixed
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by foggy »

Actually, you need to specify disks that you DO want to backup there.
Baron164
Novice
Posts: 3
Liked: never
Joined: Jul 13, 2014 3:15 pm
Contact:

Re: How to exclude Generation 2 VM SCSI disks from backup?

Post by Baron164 »

Yup, that's what I meant, thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests