Hi,
To monitor a Veeam soltions it's important to be able to see all sessions/jobs/taks that runs.
Version 12 API wasn't able to provide all that information.
The new version 13 looks much more promising.
Using /api/v1/sessions we can get a lot more different type of sessions(https://helpcenter.veeam.com/references ... llSessions)
But this /api/v1/automation/sessions mentions more types like SqlLogBackup & OracleLogBackup.
What is the difference between these to calls ?
And is there a list of session types not beeing reported ?
-
Henrik.Grevelund
- Service Provider
- Posts: 191
- Liked: 30 times
- Joined: Feb 13, 2017 2:56 pm
- Full Name: Henrik Grevelund
- Contact:
automation/sessions & /sessions whats the difference
Have nice day,
Henrik
Henrik
-
oleg.feoktistov
- Veeam Software
- Posts: 2041
- Liked: 684 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: automation/sessions & /sessions whats the difference
Hi Henrik,
/api/v1/automation/sessions endpoint displays only the sessions of Automation type, which you can start by using import and export endpoints here.
But now that you mentioned it, for /api/v1/automation/sessions, I see that having a type filter doesn't make sense there as this endpoint displays only the sessions of Automation type.
Best regards,
Oleg
/api/v1/sessions endpoint emulates "History" tab from the desktop console UI and displays all the sessions processed on the backup server.What is the difference between these two calls ?
/api/v1/automation/sessions endpoint displays only the sessions of Automation type, which you can start by using import and export endpoints here.
Both of the endpoints mention the same session types as they use the same enum for type filters.But this /api/v1/automation/sessions mentions more types like SqlLogBackup & OracleLogBackup.
But now that you mentioned it, for /api/v1/automation/sessions, I see that having a type filter doesn't make sense there as this endpoint displays only the sessions of Automation type.
No, but in the typeFilter parameter here you can see the list of all session types we currently support in VBR REST API.And is there a list of session types not beeing reported ?
Best regards,
Oleg
-
Henrik.Grevelund
- Service Provider
- Posts: 191
- Liked: 30 times
- Joined: Feb 13, 2017 2:56 pm
- Full Name: Henrik Grevelund
- Contact:
Re: automation/sessions & /sessions whats the difference
Hi Oleg,
Thank you for clearing that out.
As a service provider we need to monitor several installations.
Today we use database calls to get all jobs and sessions.
If we are going to move to the appliance, we need to be able to gather all jobs/taks including all the system jobs. With version 12 there was no way of getting that with going directly to the database.
It would be nice if the documentation also mentioned what wasn't available. Since we have no chance to know whats missing.
But since you write that there is no list, my question has be be:
Is there any job/task that isn't available in the API ?
If Yes, when is it planned to be available ?
Thank you for clearing that out.
As a service provider we need to monitor several installations.
Today we use database calls to get all jobs and sessions.
If we are going to move to the appliance, we need to be able to gather all jobs/taks including all the system jobs. With version 12 there was no way of getting that with going directly to the database.
It would be nice if the documentation also mentioned what wasn't available. Since we have no chance to know whats missing.
But since you write that there is no list, my question has be be:
Is there any job/task that isn't available in the API ?
If Yes, when is it planned to be available ?
Have nice day,
Henrik
Henrik
Who is online
Users browsing this forum: No registered users and 3 guests