-
- Enthusiast
- Posts: 42
- Liked: 11 times
- Joined: May 30, 2019 8:42 pm
- Contact:
Veeam Agent service is the single most battery drainer on a idle computer
This, along with the embedded SQL instance, is the source of my laptop charger staying hot during idle and cpu never resting. The cpu spike at the end of my screenshot is actually the shareX screen capturing utility, otherwise the cpu stayed idle at 1% after stopping veeam agent service.
I am going to create a task scheduler entry to start it just before my night backup schedule then stop it two hours later. Why do I need a SQL instance running all the time for this, I would never understand.
-
- Enthusiast
- Posts: 42
- Liked: 11 times
- Joined: May 30, 2019 8:42 pm
- Contact:
Re: Veeam Agent service is the single most battery drainer on a idle computer
I can create a task schedule entry to stop it on condition when veeam agent event it 190 occurs ("Veeam Agent 'xxxxx' finished with Success.Job details: Backup has been created."
task scheduler xmls to start and stop service, based on default backup at 4:30am, they can be imported into task scheduler library, hope this helps someone. save them as .xml file then in task scheduler library right click import task:
stop after event 190 appears
task scheduler xmls to start and stop service, based on default backup at 4:30am, they can be imported into task scheduler library, hope this helps someone. save them as .xml file then in task scheduler library right click import task:
Code: Select all
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2021-05-13T17:46:09.9277226</Date>
<Author>ml35</Author>
<URI>\muie veeam 1</URI>
</RegistrationInfo>
<Triggers>
<CalendarTrigger>
<StartBoundary>2021-05-14T04:25:00</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
</Triggers>
<Principals>
<Principal id="Author">
<UserId>S-1-5-18</UserId>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT8H</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>C:\Windows\System32\sc.exe</Command>
<Arguments>start VeeamEndpointBackupSvc</Arguments>
</Exec>
</Actions>
</Task>
Code: Select all
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2021-05-13T17:53:15.3353984</Date>
<Author>ml35</Author>
<URI>\muie veeam 2</URI>
</RegistrationInfo>
<Triggers>
<EventTrigger>
<Enabled>true</Enabled>
<Subscription><QueryList><Query Id="0" Path="Veeam Agent"><Select Path="Veeam Agent">*[System[Provider[@Name='Veeam Agent'] and EventID=190]]</Select></Query></QueryList></Subscription>
<Delay>PT5M</Delay>
</EventTrigger>
</Triggers>
<Principals>
<Principal id="Author">
<UserId>S-1-5-18</UserId>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>C:\Windows\System32\sc.exe</Command>
<Arguments>stop VeeamEndpointBackupSvc</Arguments>
</Exec>
</Actions>
</Task>
Who is online
Users browsing this forum: No registered users and 36 guests