Hi,

I have Bareos running without any problems for over a couple of years now.

Since beginning of July I am getting random failed backup jobs.

It is the well known error: Fatal error: Network error with FD during Backup: 
ERR=Connection reset by peer

Typical symptoms:
-Backup job runs completely until the last file
-Backup job does not seem to do much during 2 minutes
-After those two minutes the backup ends with the error.

Some weeks ago, I upgraded all clients, director and storage deamon to the 
latest version, 16.2.4. Updating didn't resolve this issue.

- The clients are Centos5 64-bit and Centos7 64-bit. Both clients have the 
symptoms.
- The clients are backed up via the internet: so over a 
The larger the job, the bigger the chance that the backup ends in an error. 
However, there is no fixed 'threshold' above which backup jobs fail.
I have enabled the heartbeat option, see the config snippets below.
All the hosts use file encryption during backup.

Director config:
----------------

# Typical client
Client {
    Name = ibis
    Address = ibis.example.com
    Password = "secret"
    # Nodig om de verbinding open te houden
    Heartbeat Interval = 60
    Catalog = MyCatalog
}
# Director
Director {
  Name = albatros-dir
  DIRport = 9101
  QueryFile = "/usr/libexec/bacula/query.sql"
  Maximum Concurrent Jobs = 10
  Password = "secret"
  Messages = Daemon
  Heartbeat interval = 60

  # De storage devices limiteren hier de concurrent jobs
  Maximum concurrent jobs = 30

}
# Albatros FileStore (disk)
Storage {
  Name = File
  Address = name.of.server
  SDPort = 9103
  Password = "secret"
  Device = albatros-fs
  Media Type = File
  Heartbeat interval = 60
}

===============================

Typical client config:

# List Directors who are permitted to contact this File daemon
#
Director {
  Name = albatros-dir
  Password = "secret"
}

FileDaemon {

  Name = grutto-fd
  FDport = 9102
  Pid Directory = /var/lib/bareos
  Maximum Concurrent Jobs = 20
  Heartbeat Interval = 60
  Maximum Network Buffer Size = 65536

  PKI Signatures = Yes
  PKI Encryption = Yes
  PKI Keypair = "/etc/bareos/client.pem"
  PKI Master Key = "/etc/bareos/master.cert"
  PKI Cipher = aes128

}

Messages {
  Name = Standard
  director = bacula-dir = all, !skipped, !restored
}

====================

Storage config:


Storage {                             # definition of myself
  Name = albatros-sd
  SDPort = 9103                  # Director's port
  Heartbeat interval = 60
  Maximum Concurrent Jobs = 20

  tls enable = yes
  tls certificate = /etc/pki/tls/certs/server.crt
  tls key = /etc/pki/tls/private/server.key
  tls ca certificate file = /etc/pki/tls/certs/cacert.crt

}

Director {
  Name = albatros-dir
  Password = "pFgL7nc1"
}

Director {
  Name = albatros-mon
  Password = "pFgL7nc1"
  Monitor = yes
}

Device {
  Name = albatros-fs
  Media Type = File
  Archive Device = /shares/bareos-store
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  LabelMedia = yes;
  Maximum concurrent jobs = 1;
  Maximum Network Buffer Size = 65535;
}

Device {
  Name = SDLT1-1
  Media Type = SDLT1
  Archive Device = /dev/nst0
  RemovableMedia = yes;
  RandomAccess = no;
  Maximum Network Buffer size = 65535;
  Maximum block size = 262144

  Spool Directory = "/shares/userdata/bacula-spool"
  Maximum concurrent jobs = 1;
  AlwaysOpen = no;
  AutomaticMount = yes;
  Volume poll interval = 2 minutes;
  Offline on unmount = yes;
  Close on poll = yes;

}

Messages {
  Name = Standard
  director = albatros-dir = all
}

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to