Posts Tagged ‘veeam’

Recently I was trying to backup a workstation using Veeam Agents using Local Credentials

When the job ran to install the Veeam Agent an error came up 

The network name cannot be found. (ERROR_BAD_NET_NAME).

Trying to ping the IP and DNS worked fine

I was trying to Authenticate using .\Administrator ( Which should use its local Administrator account as on the domain

I had to change to PCNAME\Administrator to get it work 

GD Star Rating
loading...
GD Star Rating
loading...

Recently tried to backup a single disk of a new VM , however was failing with 

“Failed to collect VM disks. Failed to get shared disk extents. Failed to get virtual disk ” per below

7/12/2021 5:09:48 PM :: Error: Failed to collect VM (ID: CCCCCCCCCCCC) information. Failed to collect VM disks. Failed to get shared disk extents. Failed to get virtual disk (path: ‘\\CCCC.local\CCCCCCCCCCC\Virtual Machines\CCCCC02\Virtual Hard Disks\CCCCCCCC02-Pagefile.vhdx’) setting data. Job failed (‘Failed to get the disk information.

Failed to open attachment ‘\\CCCC.local\CCCCCCCCCCC\Virtual Machines\CCCCC02\Virtual Hard Disks\CCCCCCCC02-Pagefile.vhdx’. Error: ‘The process cannot

 

The drive I was backing up wasn’t even the drive it was erroring on. I saw someone has the error here however confirmed the disk wasn’t being used elsewhere. I migrated the VM to a new host and that fixed the issue

GD Star Rating
loading...
GD Star Rating
loading...

Recently trying to restore some backups files from Veeam and the restore would fail with the error

“storage version 13 is not supported”

I had used Veeam 11 to backup the machines , however the restore machine was using Veeam 10

Upgrading Veeam to version 11 fixed the issue

GD Star Rating
loading...
GD Star Rating
loading...

Recently trying to upload some SOBR backups using Veeam and randomly all the backups would fail with

15/12/2020 11:52:34 AM :: The TLS version of the connection is not permitted on this storage account.
Shared memory connection was closed.

 

Fix

Add the following registry key : 

HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\

Dword Name : AzureConcurrentTaskLimit

Value : 1

GD Star Rating
loading...
GD Star Rating
loading...

If you try and run a backup in Veeam and you get the following error

Using regular backup or replication functionality is restricted for Cloud Connect infrastructure servers to avoid impact on your tenants

It means you have used a Veeam Cloud Connect License on a server to backup Local backups instead of Hosting Cloud Connect Backups

GD Star Rating
loading...
GD Star Rating
loading...

 Report % Rate of change from the last Backup Job Run

Add-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue

Disconnect-VBRServer | out-null

connect-vbrserver -server localhost

$JobsOutput = @()

Foreach ($JobObject in Get-VBRJob | ?{$_.JobType -eq "Backup"})

{

$LastSession = $JobObject.FindLastSession()

$ChangeRate = ($LastSession.Info.Progress.TransferedSize/$LastSession.Info.Progress.TotalUsedSize)*100

$JobOutput = New-Object -TypeName PSObject

$JobOutput | Add-Member -Name "Jobname" -MemberType Noteproperty -Value $JobObject.Name

$JobOutput | Add-Member -Name "Endtime" -MemberType Noteproperty -Value $LastSession.endtime

$JobOutput | Add-Member -Name "TotalUsedSize" -MemberType Noteproperty -Value $LastSession.Info.Progress.TotalUsedSize

$JobOutput | Add-Member -Name "ReadSize" -MemberType Noteproperty -Value $LastSession.Info.Progress.ReadSize

$JobOutput | Add-Member -Name "TransferedSize" -MemberType Noteproperty -Value $LastSession.Info.Progress.TransferedSize

$JobOutput | Add-Member -Name "ChangeRate" -MemberType Noteproperty -Value $ChangeRate

$JobsOutput += $JobOutput

}

$JobsOutput | Out-GridView

Disconnect-VBRServer | out-null

However one result is not a fair estimate of rate of change , and I don’t have a Veeam One license so I decided to Average Stuff

You can run on One VM or all the VM’s in a Backup Job

Add-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue

connect-vbrserver -server localhost

#Query to get all jobs in the time period in hours that have processed data (Data ne 0 ) and have completed

$vbrtasksessions = (Get-VBRBackupSession |

Where-Object {($_.EndTime -ge (Get-Date).addhours(-168) -or $_.CreationTime -ge (Get-Date).AddHours(-168) -or $_.State -eq "Working")}) | Get-VBRTaskSession | Where-Object {$_.Status -notmatch "Idle|InProgress|Pending|Fail"-and $_.Info.Progress.TotalSize -ne "0"}

#Get Backup Job and VM

#$getOne = $vbrtasksessions | ? {$_.JobName -eq "%Veeam Backup or Backup Copy Name%" -and $_.Name -eq "%Name of Server%"}

#Or Get Whole Backup Job and average between all the machines

#$getOne = $vbrtasksessions | ? {$_.JobName -eq "%Veeam Backup or Backup Copy Name%"}

#Cannot Get Total usedSize in Backup

Echo ListofAllFullSizesInBytes $getOne.Info.Progress.TotalSize

#Echo AverageTotalFullBackupSizeInGB $([Math]::Round([Decimal]($getOne.Info.Progress.TotalSize | Measure-Object -Average).Average/1GB, 2))

Echo ListofIntcrementalSizeinBytess $getOne.Info.Progress.TransferedSize

#Echo AverageIntSizeinGB $([Math]::Round([Decimal]($getOne.Info.Progress.TransferedSize | Measure-Object -Average).Average/1GB, 2))

Echo RateofChangein% ((($getOne.Info.Progress.TransferedSize | Measure-Object -Average).Average/($getOne.Info.Progress.TotalSize | Measure-Object -Average).Average)*100)

Disconnect-VBRServer | out-null
GD Star Rating
loading...
GD Star Rating
loading...

Work out how much Space

https://rps.dewin.me/

work out bandwidth

https://rps.dewin.me/bandwidth/

Refs Calculator

http://dewin.me/refs/

 

 

  1. It is not a good idea to target the primary and backup copy job to the same repository as this negates the 321 rule and if an issue was to occur on that repository the primary and secondary copies of data would be lost.
  2. Instead it would be better to use a primary repository configured with ReFS and then have a secondary location configured with Windows Deduplication (Compression should be off instead of auto).
  3. It is not generally considered a good idea to have deduplication for the primary backup chain as this effects performance and increases RTPOs.
  4. The actual space savings depend on the change rate of the source data and the types of chains that are used on the ReFS repository. Also ReFS savings don’t show when viewed through file explorer. To learn more about checking the files savings please take a look at these links;

https://www.virtualtothecore.com/how-much-space-am-i-saving-thanks-to-refs-blockclone/

http://dewin.me/refs/

  1. Some limitation worth mentioning are Windows deduplication is for 4TB files so larger files will not be completely deduped. Also GFS doesn’t show ReFS savings until the point is synthesized as up to this point it will only shows as an incremental and changed blocked cannot be reused by ReFS pointers.

 

 

GD Star Rating
loading...
GD Star Rating
loading...

Recently we had jobs for a server showing up the error : NFC storage connection is unavailable

Image result for NFC storage connection is unavailable

Turns out a colleague had added a server to the Veeam application with a tape drive to the unit which had actually added that server as a Veeam Backup Proxy!

Jobs actually default to “Use Any Available Proxy” so the Jobs were using the tape drive server as a proxy for some of the Jobs hence the NFC Failure

GD Star Rating
loading...
GD Star Rating
loading...

Recently multiple Transform jobs for Veeam on a Synology NAS was maxing out the I/O’s of the NAS , with the errors

Previous full backup chain transformation failed Error: Agent: Failed to process method {Transform.Patch}: An unexpected network error occurred.

applying the below registry keys and spacing out the transform fixed the issue 

 

SessTimeout - Reboot Required

Key: HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\
DWORD: SessTimeout
This is a value in seconds. Try a value of 600 decimal (10 minutes).
This increases the amount of time the Windows SMB client will wait for a response from an SMB server before it aborts the connection. The default timeout is one minute.

TcpMaxDataRetransmissions - Reboot Required

Key: HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
DWORD: TcpMaxDataRetransmissions
Try a value of 10.
This increases the number of times the Windows TCP implementation will retransmit a data segment before it aborts the connection. The default number of retries is five.
GD Star Rating
loading...
GD Star Rating
loading...