Backup hourly, but only during office hours
Hello,
Is it possible to backup hourly for example between 08:00 - 16:00 and then start again the next day? And exclude weekends?
Thank you.


- Log in to post comments

Niclas, there are two possible options that can be used here.
You could use a simple Pre Command for the backup task that returns an error if not within the set period for backup execution. The downside of using this approach is that by returning an error, the backup task is shown as failed in the ATI GUI and if the Options > Advanced > Error handling options are not turned off, the failed backup will be retried at least 5 times!
The second option is to launch the backup via the Windows Task Scheduler and set separate Triggers to repeat the backup each hour for the period you want.
To do this, create a Windows Batch command file as below:
File name: LaunchATItask.bat
@echo off
set ATI="C:\Program Files (x86)\Acronis\TrueImageHome\TrueImageLauncher.exe"
set task=0B7AB813-A299-4D31-9978-440DA6169F8F%ATI% /script:%task%
The task identifier is found by looking in C:\ProgramData\Acronis\TrueImageHome\Scripts folder and opening the .tib.tis files located there. At the top of the file you will see similar to below for one of my backup tasks:
<?xml version="1.0" encoding="UTF-8"?> -<batch> <version>1.0</version> <uuid>0B7AB813-A299-4D31-9978-440DA6169F8F</uuid> <display>Seagate-PE</display>
The task name is inside the <display> brackets, the identifier inside <uuid> brackets.
From that point, you would need to launch the Windows Task Scheduler, create a new task using the LaunchATItask.bat as the program to launch, then set Triggers for this new task.
- Log in to post comments

Thanks a lot Steve! Excellent answer. Although I haven't tried it yet, I think Windows Task Scheduler is the way to go. Thanks again!
- Log in to post comments