Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
IFRALFIS
Novice
Posts: 8
Liked: 1 time
Joined: Jan 17, 2021 9:16 am
Contact:

Start Backupjob minimised as scheduled task

Post by IFRALFIS »

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
HannesK
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

Post by HannesK »

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
IFRALFIS
Novice
Posts: 8
Liked: 1 time
Joined: Jan 17, 2021 9:16 am
Contact:

Re: Start Backupjob minimised as scheduled task

Post by IFRALFIS » 1 person likes this post

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
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests