Hello,
I start a backup job as described in this manual:
https://helpcenter.veeam.com/docs/agent ... tml?ver=50
with the following call:
"C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" "backup" "<ID>"
This works so far, but the problem is that the CMD window opens in the foreground and remains open until the job is done.
Is there a way to execute the job via command line but minimised?
Many thanks
-
- Novice
- Posts: 8
- Liked: 1 time
- Joined: Jan 17, 2021 9:16 am
- Contact:
-
- Product Manager
- Posts: 14844
- Liked: 3086 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Start Backupjob minimised as scheduled task
Hello,
https://stackoverflow.com/questions/210 ... on-windows should work (I did not try it)
As alternative, one could use the Windows task scheduler.
Best regards,
Hannes
https://stackoverflow.com/questions/210 ... on-windows should work (I did not try it)
As alternative, one could use the Windows task scheduler.
Best regards,
Hannes
-
- Novice
- Posts: 8
- Liked: 1 time
- Joined: Jan 17, 2021 9:16 am
- Contact:
Re: Start Backupjob minimised as scheduled task
Hello Hannes,
thanks for your answer.
I have solved it with this batch file:
@echo off
set self=%~f0
if "%1"=="minimized" goto :minimized
cd %~dp0
start "" /min cmd /c "%self%" minimized
exit /b
:minimized
call "C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" "backup" "<ID>"
exit /b
I used this with the Windows task scheduler
thanks for your answer.
I have solved it with this batch file:
@echo off
set self=%~f0
if "%1"=="minimized" goto :minimized
cd %~dp0
start "" /min cmd /c "%self%" minimized
exit /b
:minimized
call "C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe" "backup" "<ID>"
exit /b
I used this with the Windows task scheduler
Who is online
Users browsing this forum: No registered users and 16 guests