do not backup when mobile connection is active

No more questions - please go to http://www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

do not backup when mobile connection is active

Postby temintyd on Mon Apr 16, 2012 5:03 am

We have users that sometimes connect to the network trough their mobile phones (on the road, if no wifi or wired connection is available).
How can I setup SF to prevent backup from starting in that situation?
temintyd
 
Posts: 5
Joined: Mon Apr 16, 2012 4:55 am

Re: do not backup when mobile connection is active

Postby superflexible on Thu Apr 19, 2012 10:33 am

Unfortunately this is not possible yet, unless you can write a script to detect the network and return an exit code other than 0 in case the backup should not be run. This script could be invoked via Job->Execute command or script before/after.

In a future version, I will add something better.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: do not backup when mobile connection is active

Postby temintyd on Fri Apr 20, 2012 4:42 am

Thanks
I'm using this simple before script for now:

Code: Select all
@echo off
ipconfig /all | find "HTC Remote NDIS" > nul
if %errorlevel% == 0 (
   exit 1
) else (
   exit 0
)
temintyd
 
Posts: 5
Joined: Mon Apr 16, 2012 4:55 am

Re: do not backup when mobile connection is active

Postby superflexible on Fri Apr 20, 2012 2:51 pm

Wow pretty cool!!
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Windows Support * new forum: www.syncovery.com/forum

cron