Tha was just an example script, it does work for the record ( i create a systemstate backup Before and dump it after backup).

Anyway I get connection reset by peer even with a simle script such as:

  Run Script {
Command = "del /Q \"C:\\Program Files\\MySQL\\MySQL Server 5.7\\Backup\\MySQL.bak\""
    Runs When = after
    Fail Job On Error = No
  }


Il 17/07/2017 18:18, Bruno Friedmann ha scritto:
it seems you ask windows to delete the running vss state. l don't know if this 
can work ?


On July 17, 2017 9:50:02 AM GMT+02:00, Cristian Mammoli 
<cristian.mamm...@gmail.com> wrote:
05-Jul 21:48 srvbkp-dir JobId 54311: Fatal error: Network error with
FD during Backup: ERR=Connection reset by peer
05-Jul 21:48 srvbkp-dir JobId 54311: Error: Bareos srvbkp-dir 16.2.4
(01Jul16):

I can confirm that the issue is with Client Run After Job such as:

  Run Script {
    Command = "wbadmin delete systemstatebackup -keepversions:0 -quiet"
    Runs When = before
    Fail Job On Error = No
  }

I commented out all the script like this and had no issues so far.
Obviously this is not a solution...

I'm pretty sure this has nothing to do with routers since I noticed it
happens even in the same network.

So to recap these are the conditions:
It doesn't happen with Linux clients but only Windows (2008R2 to 2012R2
tested)
Windows firewall on/off doesn't matter
Heartbeat interval does not help
It happens with "normal" mode, passive clients, and client initiated
connections
It happens even if server and client are in the same network
It only happens if there is a "Client Run After Job" script
I tried updating vmware tools and nic drivers

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to