Trying to get the state of a backup job using the api
We have a heavily used veeam server, so don't want to go through every backup session to get the data, and trying to work with the query api.
querying a specific instance to test, but then hoping to return sessions in last 5 days.
but can't find any documentation as to how the query filter should work
https://URL:9398/api/query?type=BackupJ ... es&filter=(name=="JOBNAME@2018-05-17 13:19:57")
goal is something like:
https://URL:9398/api/query?type=BackupJ ... es&filter=(name==JOBNAME@(-last5days))
-
- Service Provider
- Posts: 40
- Liked: 1 time
- Joined: May 13, 2013 2:32 am
- Location: Brisbane
- Contact:
-
- Service Provider
- Posts: 40
- Liked: 1 time
- Joined: May 13, 2013 2:32 am
- Location: Brisbane
- Contact:
Re: Trying to get the state of a backup job
nevermind, solved it myself
winning query was
https://URL:9398/api/query?type=BackupJ ... ==Working)
winning query was
https://URL:9398/api/query?type=BackupJ ... ==Working)
Who is online
Users browsing this forum: No registered users and 3 guests