-
- Novice
- Posts: 6
- Liked: never
- Joined: Aug 13, 2015 12:39 pm
- Full Name: Danny Wackes
- Contact:
Prevent VEB from opening after backup
Hi!
First, let me say Thank you for this great Backup Program!
Using 1.1 on Windows 10. I have a Backup Job running. It is set up to send the PC to Sleep after the Backup. This is working fine.
But on each Resume the Backup Window is open. So it has a nice Layout , but i do not need it to see after a successfully Backup.
Is there a way to stop that?
Thanks again.
Brudertac
First, let me say Thank you for this great Backup Program!
Using 1.1 on Windows 10. I have a Backup Job running. It is set up to send the PC to Sleep after the Backup. This is working fine.
But on each Resume the Backup Window is open. So it has a nice Layout , but i do not need it to see after a successfully Backup.
Is there a way to stop that?
Thanks again.
Brudertac
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hi Danny,
Let me check that with the QA team tomorrow. Do you have the UI opened as well when backup job is triggered?
Thanks!
Let me check that with the QA team tomorrow. Do you have the UI opened as well when backup job is triggered?
Thanks!
-
- Novice
- Posts: 6
- Liked: never
- Joined: Aug 13, 2015 12:39 pm
- Full Name: Danny Wackes
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hi Vitaliy,
thanks for your reply.
The UI is always closed. Sometimes the System is Sleeping and wakes up for Backup and sometimes it is already running. But the UI i closed when the Backup starts.
thanks for your reply.
The UI is always closed. Sometimes the System is Sleeping and wakes up for Backup and sometimes it is already running. But the UI i closed when the Backup starts.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hello Danny,
It is by design in the existing version (1.1). However, we will correct this in one of the upcoming releases. Thanks for the input!
It is by design in the existing version (1.1). However, we will correct this in one of the upcoming releases. Thanks for the input!
-
- Influencer
- Posts: 12
- Liked: 7 times
- Joined: Aug 20, 2015 10:23 am
- Full Name: Sascha Hoehne
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hi,
it don't like the window being open after a scheduled backup as well, but I still want to know that the job ran successfully...
Inspired by DonFibos Email Notification I'm doing this using Powershell:
Make sure to run this as the logged on user and not with high privileges!
Let me know if you need a hand.
Take care
Sascha
it don't like the window being open after a scheduled backup as well, but I still want to know that the job ran successfully...
Inspired by DonFibos Email Notification I'm doing this using Powershell:
- check via scheduled task for VEB events with EventID 190 and get the reasonstring (Success, Fail, ...)
(Instead of get-eventlog I use get-winevent to just read the last entry and ignore other events) - read timestamp from last ID 110 and 190 to calculate the duration
- send a silent push notification to my phone (Reason, Start, End, Duration)
- close the VEB window
- send the PC back to sleep - which is done by VEB
Code: Select all
Get-Process Veeam.EndPoint.Tray | ? { $_.CloseMainWindow() | Out-Null }
Make sure to run this as the logged on user and not with high privileges!
Let me know if you need a hand.
Take care
Sascha
-
- Influencer
- Posts: 12
- Liked: 7 times
- Joined: Aug 20, 2015 10:23 am
- Full Name: Sascha Hoehne
- Contact:
Re: Prevent VEEAM Window from opening after Backup
You might want to try this:
Save this snippet to VEBClose.ps1:
Create a scheduled task that runs as current user, add a "event" trigger (Veeam Endpoint Backup, EventID 190) and let it start "powershell" with argument "<path>\VEBClose.ps1.
If the backup was successfull, the VEB window will be closed, otherwise a messagebox come up and VEB stays open.
That's a quick and dirty approach and I didn't test it thoroughly.
Sascha
Save this snippet to VEBClose.ps1:
Code: Select all
$VEBStatus = get-winevent -FilterHashtable @{Logname='Veeam Endpoint Backup';ID=190} -MaxEvents 1| Format-List -property Message | out-string | Foreach {$_.Trim()} | where {$_ -ne ""}
if ($VEBStatus.contains("Success")) {
Get-Process Veeam.EndPoint.Tray | ? { $_.CloseMainWindow() | Out-Null }}
} else {
[System.Windows.Forms.MessageBox]::Show("Something went wrong - check VEB!`n`n$VEBStatus","Ooops!",[System.Windows.Forms.MessageBoxButtons]::OK,[System.Windows.Forms.MessageBoxIcon]::Stop)
}
If the backup was successfull, the VEB window will be closed, otherwise a messagebox come up and VEB stays open.
That's a quick and dirty approach and I didn't test it thoroughly.
Sascha
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEEAM Window from opening after Backup
This does not work for me. The task is not triggered after a backup is completed.
When can we expect a new version where this is fixed?
When can we expect a new version where this is fixed?
-
- Influencer
- Posts: 12
- Liked: 7 times
- Joined: Aug 20, 2015 10:23 am
- Full Name: Sascha Hoehne
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hi Billbo,
well, I found out that the windows will not be closed sometimes for some reasons... could be the "waiting for suspend" message.
There a two ways to workaround this:
Instead of an event trigger, you could use "On workstation unlock" or (that's how I do it now) schedule the task to run "On a schedule" a while after the backup has finished and the workstation is sleeping again and -that's the trick- set "Run task as soon as possible after a scheduled start is missed" on the settings tab. This will fire the script right after you wake up the computer.
(e.g. backup runs at 4am for 30-60 mins, set the script to run at 5:30am - whenever you reactivate your computer after 5:30am the window will be closed)
Let me know if I can help you any further.
Sascha
well, I found out that the windows will not be closed sometimes for some reasons... could be the "waiting for suspend" message.
There a two ways to workaround this:
Instead of an event trigger, you could use "On workstation unlock" or (that's how I do it now) schedule the task to run "On a schedule" a while after the backup has finished and the workstation is sleeping again and -that's the trick- set "Run task as soon as possible after a scheduled start is missed" on the settings tab. This will fire the script right after you wake up the computer.
(e.g. backup runs at 4am for 30-60 mins, set the script to run at 5:30am - whenever you reactivate your computer after 5:30am the window will be closed)
Let me know if I can help you any further.
Sascha
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Thanks very much for your help! I will test this!
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Thanks billbo!
Don’t forget to share the result of your tests with the community. I bet guys will be happy to hear any feedback on these scripts.
Don’t forget to share the result of your tests with the community. I bet guys will be happy to hear any feedback on these scripts.
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEEAM Window from opening after Backup
That did unfortunatly not work.
The window is still there, after I wakeup the computer....
What are your exact settings on the settings page of the task?
The window is still there, after I wakeup the computer....
What are your exact settings on the settings page of the task?
-
- Influencer
- Posts: 12
- Liked: 7 times
- Joined: Aug 20, 2015 10:23 am
- Full Name: Sascha Hoehne
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hi Billbo,
hmm... did you test the script when logged in and with an open VEB window? If that works, run the script from the scheduler and see if that will also work.
You can download my exported task here: Dropbox
Be sure to change the user and path to your script! BTW: best way to launch the PS is using a batch or VBS.
Good luck!
Sascha
hmm... did you test the script when logged in and with an open VEB window? If that works, run the script from the scheduler and see if that will also work.
You can download my exported task here: Dropbox
Be sure to change the user and path to your script! BTW: best way to launch the PS is using a batch or VBS.
Good luck!
Sascha
-
- Influencer
- Posts: 12
- Liked: 7 times
- Joined: Aug 20, 2015 10:23 am
- Full Name: Sascha Hoehne
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Did you get it to work, Billbo?
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEEAM Window from opening after Backup
No, unfortunatly not.
The task works if I trigger it manually.
But it gets not triggered automatically.
The task works if I trigger it manually.
But it gets not triggered automatically.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEEAM Window from opening after Backup
Hello folks,
This behavior is going to be corrected in the upcoming minor update: VEB will close the Control Panel prior putting your computer to sleep. Thanks for all your feedback!But on each Resume the Backup Window is open. So it has a nice Layout , but i do not need it to see after a successfully Backup.
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEB from opening after backup
Is that issue solved in the latest version from yesterday?
Thanks!
Thanks!
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEB from opening after backup
Hi guys,
Yup - the described behavior should be corrected in the latest update. Kindly, check it and let us know how it works now.
Yup - the described behavior should be corrected in the latest update. Kindly, check it and let us know how it works now.
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEB from opening after backup
No, I cannot confirm. After daily backup before it sends the device to sleep, the VEB window is still present. Also after resume, the window is still open.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEB from opening after backup
Just to make sure we are on the same page - are you using the latest minor update installed manually (1.1.2.119)? Thanks.
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEB from opening after backup
Yes, I confirm. It is on 1.1.2.119
After the backup the countdown window pops up together with the VEB control panel window.
After the backup the countdown window pops up together with the VEB control panel window.
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEB from opening after backup
Thanks. Can I ask you to open a support case and post case ID to this thread - I want to share your case with the QA team ASAP.
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEB from opening after backup
How can I do that? Can you do that for me, since you can talk to them internally and the problem is well known?
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEB from opening after backup
The problem was: Control Panel was opened after the computer was placed into sleep by Endpoint’s post job activity. In latest update once the timer reaches zero value it hides the control panel prior putting the computer to sleep.
Since it should be fixed we need the application logs to check what exactly is not working. Kindly, open a support case via Endpoint’s Control Panel > Support Technical Support. Logs are uploaded automatically.
Since it should be fixed we need the application logs to check what exactly is not working. Kindly, open a support case via Endpoint’s Control Panel > Support Technical Support. Logs are uploaded automatically.
-
- Influencer
- Posts: 11
- Liked: 2 times
- Joined: Sep 03, 2015 8:11 am
- Contact:
Re: Prevent VEB from opening after backup
Ok, I deinstalled VEB completly and did a new install. Now it works as you describe it.
Everything fine now!
It seems that there went something wrong during the update...
Everything fine now!
It seems that there went something wrong during the update...
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Prevent VEB from opening after backup
Thanks for the heads up – its highly appreciated! I let QA know about the behavior you described.
Who is online
Users browsing this forum: No registered users and 24 guests