Mapping TaskId to SessionId

RESTful knowledge exchange

Mapping TaskId to SessionId

Veeam Logoby mwpreston » Thu Jul 27, 2017 1:47 pm

Hey All...

When starting a backup job via the REST API I am returned a taskId - this task stays running for a moment and then reports success with a message of "Triggered backup job" or something along those lines. What I'm looking to do is actually monitor the status of the job I just kicked off - which I believe is done through the backupSessions resource.

So - long story short - am I able to take that taskId and somehow retrieve the sessionId which it kicked off?
Or am I best to simply comb through backupSessions and take the latest one associated with my job name?

I'd rather perform the first option as it seems like it would be a little more accurate - just not sure if its possible?

Veeam Vanguard
Posts: 73
Liked: 9 times
Joined: Tue May 25, 2010 3:27 pm
Full Name: mike

Return to RESTful API

Who is online

Users browsing this forum: No registered users and 2 guests