RESTful knowledge exchange
Post Reply
marijana_pae
Influencer
Posts: 10
Liked: never
Joined: Nov 29, 2021 9:33 pm
Contact:

What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by marijana_pae »

I couldn't find anywhere in REST API documentations what is endpoint to get list of Windows Agent Backup Copy Jobs.
Also I am interested in endpoint to get list of all TapeJobs, SureBackups, ReplicaJobs, FileShares.
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by oleg.feoktistov »

Hi,

Agent Backup Copy Jobs - looks odd that they are not supported by /agents/jobs/ endpoint, so I brought it up internally.

Tape Jobs - not currently supported.

SureBackup Jobs - also not supported.

Replica Jobs - should be available through /jobs endpoint.

File Shares - try /nas/fileServers endpoint.

Thanks,
Oleg
marijana_pae
Influencer
Posts: 10
Liked: never
Joined: Nov 29, 2021 9:33 pm
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by marijana_pae »

Hi Oleg,

Thank you so much for your reply. I really appreciate it.

Do you maybe plan to support those jobs in future?

Can you also tell if Agent Backups for Mac are supported, is there endpoint for those jobs?

With '/agents/jobs/' we get for example jobs if JobType=AgentBackup.
But Type "Windows Agent Backup Copy" is not on that endpoint. This Type name is taken from "Veeam Backup & Replication Console".

Also I noticed, Type 'File Share Backup' is visible on '/nas/jobs/' but type 'NAS Backup Copy' isn't. This type names are taken from "Veeam Backup Enterprise Manager UI".
Is there other endpoint for type 'NAS Backup Copy'?
Is there a list of types that can be checked on this endpoint '/nas/jobs/'?

Looking forward to your answer.
Thanks a lot!

Best regards,
Marijana
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by oleg.feoktistov »

Hi Marijana,

We always have tape jobs and surebackup jobs in mind, so should there be a high demand for these types, we will also cover them through EM REST. For now our resources are targeted at other issues.

/agent/jobs supports only agent backup jobs managed by backup server, so does EM itself as stated here. So, neither mac, nor windows or linux policies controlled by agent are supported now. For models reflected under this endpoint platform types and job types are divided. So, in JobType property you should see the general job type (e.g. AgentBackup), and in Platform property you should see the platform you targeted (e.g. AgentForWindows, AgentForLinux).

Both NAS Backup Copy and Agent Backup Copy jobs are not reflected in EM REST, but there shouldn't be many issues to support them, so I brought it up internally.

As for types available through /nas/jobs endpoint, currently there is only one - NasJob, which stands for nas backup jobs (nas backup copies are not reflected as mentioned above).

Hope it helps,
Oleg
ab123
Lurker
Posts: 1
Liked: never
Joined: Jul 08, 2022 11:23 am
Full Name: André
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by ab123 »

Hi Oleg,

Did you hear back regarding the Agent Backup Copy jobs? I've tried querying the agents/jobs endpoint and it doesn't return our Agent Backup Copy jobs. We are running Veeam EM REST API version 1.6.
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by oleg.feoktistov »

Hi André,

In v12 backup copy jobs become multiplatform. So, we plan to reflect them all under /jobs endpoint.

Best regards,
Oleg
henrik.nolte
Lurker
Posts: 1
Liked: never
Joined: Jan 27, 2023 9:17 am
Full Name: Henrik Nolte
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by henrik.nolte »

Hi Oleg,
has there been an update in the meantime which includes tape jobs to the REST API?
All the best
Henrik
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by oleg.feoktistov »

Hi Henrik,

Not yet as there has been not much of a demand to get it through EM REST API. But I have it noted.

Best regards,
Oleg
nebb
Novice
Posts: 4
Liked: never
Joined: Apr 28, 2020 10:02 am
Full Name: Ben Rosenqvist
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by nebb »

So as far as I can tell, v12 API didnt include this
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: What REST API endpoint gives equivalent response as Get-VBRComputerBackupCopyJob

Post by oleg.feoktistov »

What do you mean? If it's about the topic subject, backup copy jobs became multiplatform and are now represented in EM REST API in v12.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests