Re: [BackupPC-users] Run VPN script before backup - PingCmd?

2021-07-13 Thread Adam Goryachev via BackupPC-users
On 14/7/21 00:18, Rob Morin wrote: Wow, ok so that worked! I put the Connect2Office.sh in the DumpPreUserCmd It returns a zero as exit status too And drops the vpn when done with DumpPostUserCmd image.png DumpPreUserCmd cript looks like this: #!/bin/bash sudo openvpn --daemon --config /etc/o

Re: [BackupPC-users] Run VPN script before backup - PingCmd?

2021-07-13 Thread Rob Morin
Wow, ok so that worked! I put the Connect2Office.sh in the DumpPreUserCmd It returns a zero as exit status too And drops the vpn when done with DumpPostUserCmd [image: image.png] DumpPreUserCmd cript looks like this: #!/bin/bash sudo openvpn --daemon --config /etc/openvpn/gateway.hardent.com.ov

Re: [BackupPC-users] Run VPN script before backup - PingCmd?

2021-07-12 Thread Adam Goryachev via BackupPC-users
On 13/7/21 05:32, Rob Morin wrote: Hello all... I was looking at a way to start up my vpn from our remote backup site to the office when backuppc starts a job. I googled around for quite a bit and saw some people were using  a script in place of the pingcmd parameter. I have tried that bu

[BackupPC-users] Run VPN script before backup - PingCmd?

2021-07-12 Thread Rob Morin
Hello all... I was looking at a way to start up my vpn from our remote backup site to the office when backuppc starts a job. I googled around for quite a bit and saw some people were using a script in place of the pingcmd parameter. I have tried that but i cant get it to work, as well as stop t