User Tools

Site Tools


veeam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
veeam [2016/03/11 13:20] – created michaelveeam [2022/11/18 12:14] (current) mduersch
Line 2: Line 2:
  
 PS I:\powershell> Add-PSSnapin VeeamPSSnapin PS I:\powershell> Add-PSSnapin VeeamPSSnapin
 +
 +Backup Server:
 +PS I:\powershell>  Enable-PSRemoting
 +
 +https://helpcenter.veeam.com/backup/powershell/powershell_remoting.html
 +
 +Create a Profile 
 +
 +   PS C:\> new-item $profile -type file -force
 +       Verzeichnis: WindowsPowerShell
 +   Mode                LastWriteTime     Length Name
 +   ----                -------------     ------ ----
 +   -a---        16.03.2016     09:56          0 Microsoft.PowerShell_profile.ps1
 +
 +
 +Modify $PROFILE
 +
 +    notepad $PROFILE
 +    Add-PSSnapin VeeamPSSnapin
 +
 +
 +Powershell Commands
 +
 +  Connect-VBRserver -User username -Server servername -Port 9392
 +  foreach($job in Get-VBRJob) { Write-Host "Job:", $job.Name; $job.GetObjectsInJob() | foreach { $_.Location } }
 +  Get-VBRJob | ? {$_.GetLastResult() -eq "Failed"}
 +  Get-VBRJob | ? {$_.GetLastResult() -eq "Failed"} | Get-VBRJobObject
 +
 +
 +
 +Suche eine VM und packe Sie mit einen Backup Job:
 +
 +
 +PS C:\Users\opriwBKP> Find-VBRViEntity -Name $vmname
 +
 +
 +
 +
 +
 +
 +
veeam.1457702401.txt.gz · Last modified: 2021/04/24 07:38 (external edit)