REST API knowledge exchange
Post Reply
phil
Novice
Posts: 3
Liked: never
Joined: Dec 08, 2016 2:25 pm
Full Name: philipp
Location: Switzerland
Contact:

find and close hanging restoresessions

Post by phil »

Hi all,

we often have the problem that started file-restors hanging because some errors, i search now a way to find and terminate this. for this i have 2 questions:
* can i read out the log from a restoresession (like in the backupenterprisemanager -> http://pubs.hostfactory.ch/636223351273920233.jpeg ) ?
* can i terminate this running restore-session over api?

For some inputs I would be very glad :)

Thanks,
Phil
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: find and close hanging restoresessions

Post by veremin »

Have you tried to query /restoresessions/ resource, using type (FileLevelRestore) and Result (Failed) as filters? Thanks.
phil
Novice
Posts: 3
Liked: never
Joined: Dec 08, 2016 2:25 pm
Full Name: philipp
Location: Switzerland
Contact:

Re: find and close hanging restoresessions

Post by phil »

thanks for your response.

thats not the problem, i see the running task over the api (http://pubs.hostfactory.ch/636226895836262440.jpeg -> with the state "Working"), but this running has outputed an error (see http://pubs.hostfactory.ch/636223351273920233.jpeg), and now the task hanging (can't get the error over the api and can't close the restore). i need manually kill it over the veeam-console.

best regards
phil
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: find and close hanging restoresessions

Post by veremin »

Hmm, may be in this case a running state, zero progress and time during which session has been open can be definitive factors, using which you find hanging sessions? I don't think that there are options besides mentioned ones. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests