-
- Novice
- Posts: 3
- Liked: never
- Joined: Mar 17, 2015 2:49 pm
- Full Name: Allen Massey
- Contact:
PowerChute - Power Failure Shutdown Scenario
Hi All - I'm setting up APC PowerChute software to shutdown all my VM's and Host Servers if we have a power failure (our generator has had problems recently). Can a script be used to tell Veeam to gracefully terminate backups that are in progress before the shutdown? If that can't be done, what happens if the Veeam Backup server/proxy is sent a shutdown command during a backup? Since a backup job might be in progress, should I shutdown the Veeam Server first before the servers that might have a backup in progress, or last after the other servers that might have a backup in progress? Thanks for any help you can provide.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: PowerChute - Power Failure Shutdown Scenario
You can write a script making use of Get-VBRJob and Stop-VBRJob commandlets.
The idea here is simple - find all jobs that have "running" state and stop them. Even though, the jobs would not be stopped gracefully (you cannot currently do that via PS) and backups would be in inconsistent state.
However, jobs would still be stopped by backup management server, instead of being interrupted abruptly (as they would be in case of management server shutdown).
Thanks.
The idea here is simple - find all jobs that have "running" state and stop them. Even though, the jobs would not be stopped gracefully (you cannot currently do that via PS) and backups would be in inconsistent state.
However, jobs would still be stopped by backup management server, instead of being interrupted abruptly (as they would be in case of management server shutdown).
Thanks.
-
- Veeam Legend
- Posts: 1203
- Liked: 417 times
- Joined: Dec 17, 2015 7:17 am
- Contact:
Re: PowerChute - Power Failure Shutdown Scenario
Is the result of windows stopping the Veeam service not the same? I always thought so as it sometimes takes quite some time for the Veeam service to stop if there are any running jobs...
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: PowerChute - Power Failure Shutdown Scenario
While being stopped, backup service does issue stop command to running jobs. However, according to QA team, in order to be on the safe side it's worth stopping running jobs via PowerShell before stopping corresponding service. Thanks.
Who is online
Users browsing this forum: matteu and 73 guests