Direkt zum Inhalt

Bedingungen für geplantes Backup

Thread needs solution

Wie schaffe ich, dass ein Backup nur startet wenn...

  • der Laptop im heimischen Netzwerk ist
  • das NAS an ist 
  • der Laptop im Leerlauf ist

Der letzte Punkt dürfte ein einfaches Häkchen bei der Planung des Backups sein. Bei den anderen Punkten bin ich mir nicht sicher. Hintergrund ist, dass der Laptop natürlich nicht immer zuhause ist, und selbst wenn ist nicht immer das NAS eingeschalten.

Ideen? Danke im Voraus!

 

0 Users found this helpful

How do I ensure that a backup only starts if ...

the laptop is in the home network
the NAS is on
the laptop is idle

The last point should be a simple check mark when planning the backup. I'm not sure about the other points. The background is that the laptop is of course not always at home, and even if the NAS is not always switched on.

Ideas? Thanks in advance!

With ATI 2018 there are no options or settings to control the first two items in your list, so you would need to use a Pre Command to test for these prerequisites before allowing the Backup to run.  Example of a Pre Command to use:

:: File Name = CheckIP.Bat
@echo off
:: ----------------------------------------------------------
:: ----- Set baseIP to the NAS IP address to be checked -----
:: ----------------------------------------------------------

set baseIP=192.168.0.29
set loopcount=20

:: Checking for active baseIP address on local network
:: errorlevel 0 = IP found / 1 = IP not found.

:loop
echo pinging %baseIP% for %loopcount% times
ping -n 1 -l 1 %baseIP% > nul
if %errorlevel%==1 goto next
@echo %baseIP% found active on network!
timeout /t 10
exit /b 0
:next
@echo %baseIP% not found active on network!
set /a loopcount=loopcount-1
if %loopcount%==0 goto exitloop
timeout /t 10
goto loop
:exitloop
if %errorlevel%==1 exit /b 1
exit /b 0

With ATI 2020 & 2021, there is a new option on the main Settings panel for 'Wi-Fi networks for backup to Acronis Cloud' where you can select your home network so that any backups only run when that network is connected.  This may only apply to backups to the Acronis Cloud!

For all current ATI versions, there are Advanced Scheduling options that do the following:

Clicking Advanced settings allows you to specify the following additional settings for backup and validation:

  • To postpone a scheduled operation until the next time the computer is not in use (a screen saver is displayed or computer is locked), select the Run the backup only when the computer is idle check box. If you schedule validation, the check box will change to Run the validation only when the computer is idle.