[Bacula-users] Connection reset by peer

2012-10-16 Thread Константин Поветкин
Hi, all!

After a while backup job reports: Socket error. Err = Connection reset by peer.

I`ve read 
http://wiki.bacula.org/doku.php?id=faq#my_backup_starts_but_dies_after_a_while_with_connection_reset_by_peer_error
 and comments on this mail list.

Both FD and DIR are in one broadcast domain and one collision domain( there is 
no router between hosts ).

File daemon is on Windows 2003 x86.

What reasons could lead to such behaviour?


With best regards,
system administrator
PJSC Kiev jewellery factory
Kostiantyn Povietkin.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Basic questions on bacula usage.

2012-10-08 Thread Константин Поветкин
Hi, everybody!

First of all, please forgive me for my questions if its are covered somewhere, 
I`ve not found any answer.
It`s my first e-mail to this list.


1.   I have a problem with storage manager.
There are some long-playing jobs( databases backup ). All machines are Windows 
2003, one is x86, two are x86_64.
These jobs always end with error: Socket error, ERR = connection timed out.

Is there any way to check out what are the reasons of such behavior?
Or does anybody know how to correct this error?

Bacula Storage Daemon config:

Storage { # definition of myself
  Name = www-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Heartbeat Interval = 120
  Client Connect Wait = 14400
}

Director {
  Name = www-dir
  Password = password
}

Director {
  Name = www-mon
  Password = password
  Monitor = yes
}

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /home/backup
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

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

Win 2003 client config:

FileDaemon {# this is me
  Name = srv-sql
  FDport = 9102# where we listen for the director
  WorkingDirectory = C:\\Program Files\\Bacula\\working
  Pid Directory = C:\\Program Files\\Bacula\\working
# Plugin Directory = C:\\Program Files\\Bacula\\plugins
  Maximum Concurrent Jobs = 10
}

Director {
  Name = www-dir
  Password = password
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = www-dir = all, !skipped, !restored
}

A snippet of log for this error:


08-Окт 06:38 srv-sql02 JobId 316: ClientRunBeforeJob: 
C:\WINDOWS\system32e:\backup\7z.exe a -aoa -t7z -mx5 
e:\backup\goods\goods_bacula_sql.7z e:\backup\goods\goods_bacula.bak

08-Окт 08:31 www-dir JobId 316: Fatal error: Socket error on ClientRunBeforeJob 
command: ERR=Connection timed out

08-Окт 08:31 www-dir JobId 316: Fatal error: Client srv-sql02 RunScript 
failed.

08-Окт 08:31 www-dir JobId 316: Fatal error: Network error with FD during 
Backup: ERR=Connection timed out

08-Окт 08:31 www-dir JobId 316: Fatal error: No Job status returned from FD.


2.   Is there any method to make bacula to run several jobs at a time? Or 
is it possible at all?


With best regards,
system administrator
PJSC Kiev jewellery factory
Kostiantyn Povietkin.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Running several jobs at a time

2012-10-08 Thread Константин Поветкин
Please give me an example, if it`s possible, how to make bacula to run several 
jobs at a time.
How is it possible to check if jobs are executing concurrent?

Current config of my bacula-dir instance:

Director {# define myself
  Name = www-dir
  DirAddress = backup.tradehouse.local
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/libexec/bacula/query.sql
  WorkingDirectory = /var/lib/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 20
  Password = password # Console password
  Messages = Daemon
}

Current config of my bacula-sd instance:

Storage { # definition of myself
  Name = www-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Heartbeat Interval = 120
  Client Connect Wait = 14400
}



With best regards,
system administrator
PJSC Kiev jewellery factory
Kostiantyn Povietkin.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users