Questions tagged [veeam]

49 questions
0
votes
0 answers

Server reboots when running Veeam PowersShell script

I have created the below script that what it does is to kill a specific Veeam process related to a job name. The issue is that it have to first find the the job id, then search in processes description for that ID and kill it. But i think somehow is…
Crit Scratch
  • 43
  • 1
  • 10
0
votes
1 answer

Powershell - How to show only today files

I am dealing with this little script, which shows me the latest data from a Veeam Software job. $today = (get-date).Date (Get-VBRBackup | where {$_.info.jobname -eq "A. ProduccionInterna.Infraestructura"}).GetAllStorages() | select {$_.PartialPath},…
0
votes
1 answer

PowerShell - Get error/warning message of failed VM's in SureBackup Veeam

I'm trying to use this function Get-VSBSession to get error message of failed VM's in SureBackup. This is my script: $vbrsessions = Get-VSBSession | ?{$_.result -ne "success"} foreach ($session in $vbrsessions) { foreach ($failedVM in…
0
votes
0 answers

Proper Powershell formatting SSL Cert Where | FriendlyName like $variable

Thanks for reading, I'm working on something a bit outside my element and trying to write a powershell script that can install some SSL Certificates into some Veeam Products. This works. Add-PSSnapin VeeamPSSnapin Connect-VBRServer $certificate =…
iKnowTech
  • 13
  • 4
0
votes
0 answers

Find-VBRViEntity returning no entities in veeam

I am new to Veeam backup and I have a small issue. Get-VBRServer -Name "maryland" successfully returns a host. Running Find-VBRViEntity on this, however, no vm is returned. Any ideas why?
E_K
  • 2,159
  • 23
  • 39
0
votes
0 answers

Restore Point Informations Veeam PowerShell

I want to get informations about the restore points of a vm. I have a list with the names of each vm in a CSV. I want to know for each restore Point the name of the VM, which Media Pool it is, which Media Set and the backup set date. I Could not…
user9488111
0
votes
1 answer

How to Count Veeam Restore Points in PowerShell

I have written a little script to get the creation time of each restore point in the last x days: $VMs = $ImportCSV # Names of Virtual Machines $DateToCompare = 10 foreach ($vm in $VMs) { $allRestorePoints = Get-VBRRestorePoint -Name $vm.Name…
user9488111
0
votes
2 answers

Powershell array working abnormally with commands

Coming from Linux, I'm trying to automate the gathering of Veeam Backup jobs with a PowerShell script. I started to see how PowerShell arrays work, then I tried with a small test: $users = 'mark','josh','stephen' $city =…
Wolker
  • 5
  • 2
0
votes
1 answer

Scheduling Veeam Backup Free Edition backups for all VMs

I would like to use the free fersion of Veeam to backup my VMs on a Windows Hyper-V 2016 server. The free version of the tool does not provide a tool to do regular backups, so I have been looking at a way to use its API in combination with task…
bblue
  • 545
  • 5
  • 24
0
votes
2 answers

Veeam Backup & Replication 9.5: Impossible to add hyper-v host to backup infrastructure (Network path not found, or invalid credentials supplied)

In the software Backup & Replication 9.5 it was not possible to add the local Hyper-V host (standalone) to the backup infrastructure: Always gives an error "Network path not found, or invalid credentials supplied." I tried first these tipps:…
Wave
  • 69
  • 2
  • 3
0
votes
1 answer

Trouble with foreach logic

I'm trying to get a list of all virtual machines in all of my Veeam backup jobs. I wrote this #Add Veeam snapin Add-PSSnapin VeeamPSSnapin #variables $Masterlist = @() $jobs = Get-VBRJob foreach($job in $jobs) { $backupJobObjects =…
Pickle
  • 1,064
  • 9
  • 33
  • 51
0
votes
2 answers

Veeam free fails to create or open file

I have a VMWare environment that i want to backup. i am using the freeware version of Veeam backup and replication. I want to run the backup from the cli and then ultimately use task scheduler, when i try to run the following…
0
votes
0 answers

Accessing SMB share from Windows when using Powershell

I'm trying to build a custom VeeamZip backup script using PowerShell from a Windows 7 box. The box doesn't have the space requirements to hold the actual data itself, it's just the catalyst to manage the VeeamZip files. I've been hunting around and…
Andrew
  • 968
  • 2
  • 11
  • 22
0
votes
1 answer

Creating Powershell script for VMWare using veeam

I am trying to create a script to automate the Veeam backup using PowerShell. I know in the free version I only have 2 options (Veeamzip and Quick Backup). I have a Drobo on the network with the share setup and accessible. I have gone into all the…
-1
votes
1 answer

Issue on SLES with Veeam Backup

Customer received following error when he start veeam backup: Failed to execute agent management command start Backup. [...] Failed to detect bootloader on /dev/sda System has been update from SLES 12 to SLES 15. I've seen in log that this error…