Scheduled backup with VPN

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

Moderator: SuperFlexible Administrators

Scheduled backup with VPN

Postby yorkds on Fri Oct 21, 2011 8:35 am

We currently use VPN and scheduled backups but since updating to the latest release of software we are having a few problems. It seems from the logs that SuperFlex is trying to create the network connection before the VPN has connected. We run a .bat file in the before and after script to VPN in and terminate the vpn. Here is the part of the log file.

Error 53 connecting network drive \\yds\share The network path was not found.
Executed successfully: D:\scripts\connect\yds.bat

The backup fails with can't access left path (the remote side) but I guess this is due to the VPN script connecting after the network connection has tried to complete.

Is there a way to force the software to wait until the before script has completed before trying to make the network connection or do you have any advise on a better/alternative way of doing this? We are on version 5.55
yorkds
 
Posts: 3
Joined: Fri Oct 21, 2011 6:03 am

Re: Scheduled backup with VPN

Postby yorkds on Fri Oct 21, 2011 9:07 am

We had version 4, not sure of the exact release... I've also noticed that in the logs it states that it is running as our administrator account but that doesn't have permission on the share we are trying to copy from.. is there a way to change this? I have tried using the run as option in the specific profile but the logs are the same.
yorkds
 
Posts: 3
Joined: Fri Oct 21, 2011 6:03 am

Re: Scheduled backup with VPN

Postby superflexible on Fri Oct 21, 2011 9:11 am

Hello,

apparently the order in which these things are done changed since your older version. Right now the only solution is to not use "Make Network Connection" in the profile. Instead, you can add the following command to your script:

NET USE \\yds\share password /USER:Username
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Scheduled backup with VPN

Postby yorkds on Fri Oct 21, 2011 9:21 am

Great that works, bit of a strange thing to do in an update but thanks for the work around!
yorkds
 
Posts: 3
Joined: Fri Oct 21, 2011 6:03 am

Re: Scheduled backup with VPN

Postby superflexible on Fri Oct 21, 2011 9:41 am

Yes it needs to be made optional in which order these things are done.
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