PowerShell script exchange
Post Reply
Joydip
Novice
Posts: 8
Liked: never
Joined: Dec 28, 2021 11:47 am
Full Name: Joydip Jana
Contact:

Get Cloud Connect jobs

Post by Joydip »

Hello @oleg.feoktistov, I have used the PowerShell command to get all Cloud Connect Backup jobs but results is blank.
What will be the PowerShell module for Cloud Connect Backup jobs?
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Get Cloud Connect jobs

Post by oleg.feoktistov »

Are you trying to get them on Service Provider's side or on tenant's ? Which cmdlet did you use to list them?
Joydip
Novice
Posts: 8
Liked: never
Joined: Dec 28, 2021 11:47 am
Full Name: Joydip Jana
Contact:

Re: Get Cloud Connect jobs

Post by Joydip »

I am trying to get them on Service Provider's side(Where VEM is installed). But want to create a job from Tenant's side (Where VBR client/Veeam Agent is installed)
Used the below commands:
(Name of the job is "Agent Backup Job 1")

Set 1.
a. Get-VBRComputerBackupJob
b. Get-VBRComputerBackupJob -Name "Agent Backup Job 1"
c. Get-VBRComputerBackupJob -Mode ManagedByAgent

Set2.

Code: Select all

$job = Get-VBRJob -Name 'Agent Backup Job 1'
$lastSession = Get-VBRBackupSession | where {$_.JobId -eq $job.Id} 
$lastSession[0].Result

$job = Get-VBRComputerBackupJob -Name 'Agent Backup Job 1'
$lastSession = Get-VBRComputerBackupJobSession | where {$_.JobId -eq $job.Id} 
$lastSession[0].Result
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Get Cloud Connect jobs

Post by oleg.feoktistov »

Hi,

I moved your last question to Powershell subforum as it is longer in scope of REST API.
As for the question itself, we don't show tenant jobs on SP's side neither in the UI, nor in the APIs.
The only data regarding tenant job launches you can view from SP's side is cloud connect sessions:

Code: Select all

[Veeam.Backup.Core.CCloudSession]::GetAll()
Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests