VeeamON 2024 - Use Code "COMMUNITY10" for 10% Off!
Hallo zusammen,ich habe mal wieder etwas mit Veeam und PowerShell herumgespielt. Es handelt sich um ein Script, welches Random einen HealthCheck auf Backups ausführt.Hilfreich kann das sein, wenn das Storage für die regelmäßigen HelthChecks zu langsam ist, bsp JBOD mit HDD und jenseits der 500T größe.Um aber trotzdem stichprobenartig die backups validieren zu können, kann man einen TaskScheduler einrichten. Dieser nimmt aus allen backup random eine Maximale anzahl an Objekten und führt den HealthCheck aus. Am ende werden die Reports zusammengeführt und an die in VEEAM hinterlegte E-Mail Adresse gesendet. Ihr findet das Script auf unseren ClaranetHUB im github: https://github.com/claranet/ClaranetHub/blob/main/Veeam/Random-BackupValidator.ps1 Würde mich freuen, wenn es dem ein oder anderem hilft ;) GrußMartin
Hello together,before you update VEEAM to Version 12 using VMware vCenter/ESXi please check VMs HardDisks for duplicate UUID. In Version 11 this was never a problem. In the new Version VEEAM checks the UUID and backup will fail.VMware has no problem with that most time. But they know the Problem - https://kb.vmware.com/s/article/2006865This command will find any HardDisk with duplicate UUID - please note that this is VMware PowerCLI commandGet-VM | Get-HardDisk | Select @{N='VM';E={$_.Parent.Name}}, @{N='Uuid';E={$_.ExtensionData.Backing.Uuid}} | Group-Object -Property Uuid | ?{ $_.Count -gt 1 }As Service Provider such changes in VEEAM are a total disaster!!
Yesterday, during the VEEAM User Group Germany someone was missing a Maintenance Mode for VEEAM. The main problem was to keep which job was enabled and which was disabled. I wrote a script some times ago which stopped all jobs and disable them but before the state is dumped into a JSON File. On leaving maintenence the JSON-File will be read and required jobs are set to enabled again and failed jobs are triggered to restart. The scripts (and more) can be found on our github repository: https://github.com/claranet/VeeamHub/ Here are these scripts:Enter-Maintenance.ps1param( [switch]$DryRun=$False)Import-Module Veeam.Backup.PowerShellFunction log($message) { $timestamp = Get-Date -Format "yyyy-MM-ss hh:mm:ss" Write-Host "$($timestamp) - $($message)"}if($DryRun) { log "DRY RUN - NOTHING WILL CHANGE" }$_FILE = "$PSScriptRoot/job_states.json"if( [System.IO.File]::Exists($_FILE) ) { log "State File already exists - remove it first!!" pause Exit 1}# Create new, empty state fileNew-Item -
Hello together, I wrote a exporter to Collect VEEAM AHV Metrics for Prometheus: https://github.com/claranet/veeam-ahvproxy-exporter/ It now also Support API v4 for Veeam v12. Best regards,Martin
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.