Posts Tagged ‘veeam’

Trying to restore from a Veeam backup and the error displayed

17/05/2022 12:19:56 AM Error Restore job failed Error: Full backup file for this object is not present in the backup repository

VBK Present with all of chain Chain

Fix

https://helpcenter.veeam.com/docs/backup/vsphere/extract_utility.html?ver=110

Standalone utility that does NOT rely on the vbm (metadata) file. Helps restore from a rollback and the metadata was corrupt despite the file being there and accessible.

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

 Windows copy isn’t ReFS block clone API aware , so when you copy REFS data it reinflates and you loose the space savings 🙁 

3 Methods to do this 

1) GSRichCopy360 Enterprise @ 180$ utilizing their Block Level copy with their Rich Transfer Agent

2) Clone Drive using Storage Replication Windows 2016 Storage Replica and ReFS Volumes – Virtual to the Core

3) If its Veeam data , start a new backup chain.

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

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...

Veeam \ SOBR \ Temp

Had an issue with a backup chain that was syncing files to/from the azure repo, one of which is 6TB.This large file caused a bunch of errors due to insufficient space in the system %temp% directory (c:\windows\temp\)

The solution is to set a custom temp directory (with sufficient space) on the backup server where the extents are connected (in this case, the backup proxy).

HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\Name: CustomTempDirPathType: REG_SZValue: should be system Variable for %Temp% by default. 

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...