Discussions specific to the Microsoft Hyper-V hypervisor
Post Reply
bostjanc
Influencer
Posts: 15
Liked: 2 times
Joined: Apr 16, 2015 8:24 am
Full Name: bostjanc
Contact:

Unable to backup WIN2012R2 on Hyperv

Post by bostjanc » Mar 23, 2016 9:14 am

Hi there.
Please help us solve this:
https://social.technet.microsoft.com/Fo ... rverhyperv

With best regards

P.Tide
Product Manager
Posts: 5261
Liked: 459 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Unable to backup WIN2012R2 on Hyperv

Post by P.Tide » Mar 23, 2016 10:22 am

Hi,

When posting about technical issues please include your support case ID, otherwise your topic will be deleted within 24 hours.

Have you seen this article already? What Veeam version are you running?

Thank you.

bostjanc
Influencer
Posts: 15
Liked: 2 times
Joined: Apr 16, 2015 8:24 am
Full Name: bostjanc
Contact:

Re: Unable to backup WIN2012R2 on Hyperv

Post by bostjanc » Mar 24, 2016 10:41 am

Hi there.
Thank you for the repy.
Support case ID is it free Support or payable?
We use veeam backup and replication version 9 - free version

bostjanc
Influencer
Posts: 15
Liked: 2 times
Joined: Apr 16, 2015 8:24 am
Full Name: bostjanc
Contact:

Re: Unable to backup WIN2012R2 on Hyperv

Post by bostjanc » Mar 24, 2016 10:56 am

Putting no limit on shadow copies did not solve it

Vitaliy S.
Product Manager
Posts: 22976
Liked: 1555 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Unable to backup WIN2012R2 on Hyperv

Post by Vitaliy S. » Mar 24, 2016 11:37 am

You can contact our support team even when you're using Veeam Backup FREE edition.

bostjanc
Influencer
Posts: 15
Liked: 2 times
Joined: Apr 16, 2015 8:24 am
Full Name: bostjanc
Contact:

Re: Unable to backup WIN2012R2 on Hyperv

Post by bostjanc » Mar 24, 2016 12:12 pm

Case number: 01741557

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

Re: Unable to backup WIN2012R2 on Hyperv

Post by foggy » Mar 24, 2016 2:27 pm

Bostjan, seems you're not using application-aware image processing in the job settings and use Hyper-V guest quiescence instead. Any particular reason for that?

I'd also check Hyper-V Integration Components on the VM and look for any related messages in the Windows Event Log.

bostjanc
Influencer
Posts: 15
Liked: 2 times
Joined: Apr 16, 2015 8:24 am
Full Name: bostjanc
Contact:

Re: Unable to backup WIN2012R2 on Hyperv

Post by bostjanc » Mar 24, 2016 7:29 pm

Hi there.
We are not running Jobs thru GUI, instead of that we are running them with powershell script:

Code: Select all

##################################################################
 #                   User Defined Variables
 ##################################################################

 clear

 # Names of VMs to backup separated by semicolon (Mandatory)
 $VMNames = "VIRTUALMACHINE"

 # Name of vCenter or standalone host VMs to backup reside on (Mandatory)
 $HostName = "HYPeRV-HOST"

 # Directory that VM backups should go to (Mandatory; for instance, C:\Backup)
 $Directory = "D:\VeamBACKUP"

 # Desired compression level (Optional; Possible values: 0 - None, 4 - Dedupe-friendly, 5 - Optimal, 6 - High, 9 - Extreme) 
 $CompressionLevel = "9"

 # Quiesce VM when taking snapshot (Optional; VMware Tools are required; Possible values: $True/$False)
 $EnableQuiescence = $True

 # Protect resulting backup with encryption key (Optional; $True/$False)
 $EnableEncryption = $False

 # Encryption Key (Optional; path to a secure string)
 $EncryptionKey = ""

 # Retention settings (Optional; By default, VeeamZIP files are not removed and kept in the specified location for an indefinite period of time. 
 # Possible values: Never , Tonight, TomorrowNight, In3days, In1Week, In2Weeks, In1Month)
 $Retention = "In3days"

 ##################################################################
 #                   Notification Settings
 ##################################################################

 # Enable notification (Optional)
 $EnableNotification = $True

 # Email SMTP server
 $SMTPServer = "smtp.mail.com"

 # Email FROM
 $EmailFrom = "big.brother@domain.com" 

 # Email TO
 $EmailTo = "recipient@domain.com"


 # Email subject
 $EmailSubject = "VEEAM BACKUP REPORT "

 ##################################################################
 #                   Email formatting 
 ##################################################################

 $style = "<style>BODY{font-family: Arial; font-size: 10pt;}"
 $style = $style + "TABLE{border: 1px solid black; border-collapse: collapse;}"
 $style = $style + "TH{border: 1px solid black; background: #dddddd; padding: 5px; }"
 $style = $style + "TD{border: 1px solid black; padding: 5px; }"
 $style = $style + "</style>"

 ##################################################################
 #                   End User Defined Variables
 ##################################################################

 #################### DO NOT MODIFY PAST THIS LINE ################
 Asnp VeeamPSSnapin

 $Server = Get-VBRServer -name $HostName
 $MesssagyBody = @()

 foreach ($VMName in $VMNames)
 {
   $VM = Find-VBRHvEntity -Name $VMName -Server $Server
   
   If ($EnableEncryption)
   {
     $EncryptionKey = Add-VBREncryptionKey -Password (cat $EncryptionKey | ConvertTo-SecureString)
     $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention -EncryptionKey $EncryptionKey
   }
   
   Else 
   {
     $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention
   }
   
   If ($EnableNotification) 
   {
    # $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().updatedrecords
     $FailedSessions =  $TaskSessions | where {$_.status -eq "EWarning" -or $_.Status -eq "EFailed"}
   
   if ($FailedSessions -ne $Null)
   {
     $MesssagyBody = $MesssagyBody + ($ZIPSession | Select-Object @{n="Name";e={($_.name).Substring(0, $_.name.LastIndexOf("("))}} ,@{n="Start Time";e={$_.CreationTime}},@{n="End Time";e={$_.EndTime}},Result,@{n="Details";e={$FailedSessions.Title}})
   }
    
   Else
   {
     $MesssagyBody = $MesssagyBody + ($ZIPSession | Select-Object @{n="Name";e={($_.name).Substring(0, $_.name.LastIndexOf("("))}} ,@{n="Start Time";e={$_.CreationTime}},@{n="End Time";e={$_.EndTime}},Result,@{n="Details";e={($TaskSessions | sort creationtime -Descending | select -first 1).Title}})
   }
   
   }   
 }
 If ($EnableNotification)
 {
 $Message = New-Object System.Net.Mail.MailMessage $EmailFrom, $EmailTo
 $Message.Subject = $EmailSubject
 $Message.IsBodyHTML = $True
 $message.Body = $MesssagyBody | ConvertTo-Html -head $style | Out-String
 $SMTP = New-Object Net.Mail.SmtpClient($SMTPServer)
 $SMTP.Send($Message)
 }

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

Re: Unable to backup WIN2012R2 on Hyperv

Post by foggy » Mar 25, 2016 11:02 am

Ok, so this is a VeeamZIP backup, that's why Hyper-V guest quiescence is used. Let's wait for what our engineers could tell after reviewing the log files.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests