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-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