[Bacula-users] backup through firewall - timeout

2012-09-10 Thread Gary Stainburn
Hi folks.

I've got a problem whereby my email and web servers sometimes fail to backup.

These two servers are inside the DMZ and backup to the server inside my LAN.

The problem appears to be the inactivity on the connection after the data has 
been backed up while the database is being updated. Does anyone have any 
suggestions on what I can do?

Gary

22-Aug 19:05 eddie1-dir JobId 15691: shell command: run 
BeforeJob /etc/bacula/jobcheck.sh ollie-fd
22-Aug 19:05 eddie1-dir JobId 15691: BeforeJob: PING 10.5.1.3 (10.5.1.3) 56
(84) bytes of data.
22-Aug 19:05 eddie1-dir JobId 15691: BeforeJob: 64 bytes from 10.5.1.3: 
icmp_req=1 ttl=63 time=0.386 ms
22-Aug 19:05 eddie1-dir JobId 15691: BeforeJob: 
22-Aug 19:05 eddie1-dir JobId 15691: BeforeJob: --- 10.5.1.3 ping 
statistics ---
22-Aug 19:05 eddie1-dir JobId 15691: BeforeJob: 1 packets transmitted, 1 
received, 0% packet loss, time 0ms
22-Aug 19:05 eddie1-dir JobId 15691: BeforeJob: rtt min/avg/max/mdev = 
0.386/0.386/0.386/0.000 ms
22-Aug 19:05 eddie1-dir JobId 15691: Start Backup JobId 15691, 
Job=ollie.2012-08-22_19.05.01_30
22-Aug 19:05 eddie1-dir JobId 15691: Using Device LeedsStorage
22-Aug 19:05 ollie-fd JobId 15691: DIR and FD clocks differ by -4 seconds, FD 
automatically compensating.
22-Aug 19:05 mo-sd JobId 15691: Spooling data ...
22-Aug 19:07 ollie-fd JobId 15691:  Could not stat /var/named: ERR=No 
such file or directory
22-Aug 20:13 mo-sd JobId 15691: Job write elapsed time = 01:08:18, Transfer 
rate = 660.7 K Bytes/second
22-Aug 20:13 mo-sd JobId 15691: Committing spooled data to Volume leeds1214. 
Despooling 2,710,694,300 bytes ...
22-Aug 20:13 mo-sd JobId 15691: User defined maximum volume capacity 
5,368,709,120 exceeded on device LeedsStorage (/var/bacula/leeds).
22-Aug 20:13 mo-sd JobId 15691: End of medium on Volume leeds1214 
Bytes=5,368,704,792 Blocks=83,223 at 22-Aug-2012 20:13.
22-Aug 20:13 eddie1-dir JobId 15691: There are no more Jobs associated with 
Volume leeds1325. Marking it purged.
22-Aug 20:13 eddie1-dir JobId 15691: All records pruned from 
Volume leeds1325; marking it Purged
22-Aug 20:13 eddie1-dir JobId 15691: Recycled volume leeds1325
22-Aug 20:13 mo-sd JobId 15691: Labeled new Volume leeds1325 on 
device LeedsStorage (/var/bacula/leeds).
22-Aug 20:13 mo-sd JobId 15691: Wrote label to prelabeled Volume leeds1325 
on device LeedsStorage (/var/bacula/leeds)
22-Aug 20:13 mo-sd JobId 15691: New volume leeds1325 mounted on 
device LeedsStorage (/var/bacula/leeds) at 22-Aug-2012 20:13.
22-Aug 20:14 mo-sd JobId 15691: Despooling elapsed time = 00:00:52, Transfer 
rate = 52.12 M Bytes/second
22-Aug 20:14 mo-sd JobId 15691: Sending spooled attrs to the Director. 
Despooling 396,467 bytes ...
22-Aug 21:18 eddie1-dir JobId 15691: Fatal error: Network error with FD during 
Backup: ERR=Connection timed out
22-Aug 21:18 eddie1-dir JobId 15691: Fatal error: No Job status returned from 
FD.
22-Aug 21:18 eddie1-dir JobId 15691: Error: Bacula eddie1-dir 5.0.3 (04Aug10): 
22-Aug-2012 21:18:38
  Build OS:   i386-redhat-linux-gnu redhat 
  JobId:  15691
  Job:ollie.2012-08-22_19.05.01_30
  Backup Level:   Incremental, since=2012-08-22 00:15:44
  Client: ollie-fd 5.0.3 (30Aug10) i686-pc-linux-gnu,redhat,
  FileSet:Linux Full 2012-08-13 19:05:00
  Pool:   Leeds (From Job resource)
  Catalog:MyCatalog (From Client resource)
  Storage:mo-leeds (From Job resource)
  Scheduled time: 22-Aug-2012 19:05:01
  Start time: 22-Aug-2012 19:05:08
  End time:   22-Aug-2012 21:18:38
  Elapsed time:   2 hours 13 mins 30 secs
  Priority:   7
  FD Files Written:   0
  SD Files Written:   1,434
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   2,707,746,944 (2.707 GB)
  Rate:   0.0 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Accurate:   no
  Volume name(s): leeds1214|leeds1325
  Volume Session Id:  5
  Volume Session Time:1345645144
  Last Volume Bytes:  2,063,844,654 (2.063 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Backup Error ***


-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

Re: [Bacula-users] backup through firewall - timeout

2012-09-10 Thread Thomas Lohman
 Hi folks.

 I've got a problem whereby my email and web servers sometimes fail to backup.

 These two servers are inside the DMZ and backup to the server inside my LAN.

 The problem appears to be the inactivity on the connection after the data has
 been backed up while the database is being updated. Does anyone have any
 suggestions on what I can do?

 Gary

Gary,

Take a look at the Heartbeat Interval options for the client and storage 
configurations.  More than likely your firewall/router is dropping the 
connection due to inactivity.  How fast it's doing this will depend on 
the configuration and the network load so you may need to experiment 
with different interval settings.

hope this helps,


--tom

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users