I have one client that I am backing up through an SSH tunnel. This turns
out to be quite unreliable; the connection errors out after a while.
Sometimes it lasts a whole hour, but in my most recent attempt, the
connection collapsed after only 7 minutes. I have never been able to
complete a full backup, although I usually come close. Now I am trying
to track down exactly what is actually happening.
In the log file below, it looks as if 8 minutes into the job, the
director can no longer communicate with the fd, and nearly at the same
time, the SD also no longer hears from the FD. Is my interpretation
correct that this means that the SSH tunnel has disappeared?
bacula-dir and bacula-sd both run on the local machine; bacula-fd is on
the remote machine.
16-Mar 12:25 local-dir JobId 1730: BeforeJob: run command
"/usr/local/sbin/nagiosscheduledowntime remote.client.com"
16-Mar 12:25 local-dir JobId 1730: BeforeJob: run command
"/usr/local/sbin/sshbacula remote.client.com"
16-Mar 12:25 local-dir JobId 1730: BeforeJob: Starting SSH-tunnel to
remote.client.com...
16-Mar 12:26 local-dir JobId 1730: Start Backup JobId 1730,
Job=remote.client.com.2009-03-16_12.25.03
16-Mar 12:26 local-dir JobId 1730: Using Device "eSATADisk3"
16-Mar 12:26 remote.client.com-fd JobId 1730: ClientRunBeforeJob: run
command "/usr/local/sbin/backupdbs"
16-Mar 12:26 remote.client.com-fd JobId 1730: ClientRunBeforeJob:
Backing up information_schema into
/var/local/mysqlbackups/information_schema.mysql
16-Mar 12:26 remote.client.com-fd JobId 1730: ClientRunBeforeJob:
Backing up mysql into /var/local/mysqlbackups/mysql.mysql
16-Mar 12:26 localsd-sd JobId 1730: Labeled new Volume
"remote.client.com-fd_remote.client.com_20090315195025_Full.bacula" on
device "eSATADisk3" (/misc/BACKUP3).
16-Mar 12:26 localsd-sd JobId 1730: Wrote label to prelabeled Volume
"remote.client.com-fd_remote.client.com_20090315195025_Full.bacula" on
device "eSATADisk3" (/misc/BACKUP3)
16-Mar 12:26 local-dir JobId 1730: Max Volume jobs exceeded. Marking
Volume
"remote.client.com-fd_remote.client.com_20090315195025_Full.bacula" as Used.
16-Mar 12:34 local-dir JobId 1730: Fatal error: Network error with FD
during Backup: ERR=No data available
16-Mar 12:34 localsd-sd JobId 1730: Fatal error: append.c:259 Network
error on data channel. ERR=No data available
16-Mar 12:34 localsd-sd JobId 1730: Job write elapsed time = 00:07:47,
Transfer rate = 45.33 K bytes/second
16-Mar 12:34 localsd-sd JobId 1730: Error: bsock.c:444 Read error from
client:127.0.0.2:36643: ERR=No data available
16-Mar 12:34 localsd-sd JobId 1730: Job
remote.client.com.2009-03-16_12.25.03 marked to be canceled.
16-Mar 12:34 local-dir JobId 1730: Fatal error: No Job status returned
from FD.
16-Mar 12:34 local-dir JobId 1730: Error: Bacula local-dir 2.4.2
(26Jul08): 16-Mar-2009 12:34:07
Build OS: x86_64-unknown-linux-gnu suse 5.x
JobId: 1730
Job: remote.client.com.2009-03-16_12.25.03
Backup Level: Full
Client: "remote.client.com-fd" 2.4.2 (26Jul08)
x86_64-redhat-linux-gnu,redhat,
FileSet: "Linux Stripped Set" 2009-03-16 12:25:57
Pool: "Full-remote.client.com-Pool" (From Job
FullPool override)
Storage: "Disk3-remote.client.com" (From user selection)
Scheduled time: 16-Mar-2009 12:25:14
Start time: 16-Mar-2009 12:26:19
End time: 16-Mar-2009 12:34:07
Elapsed time: 7 mins 48 secs
Priority: 10
FD Files Written: 0
SD Files Written: 157
FD Bytes Written: 0 (0 B)
SD Bytes Written: 21,173,379 (21.17 MB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Storage Encryption: no
Volume name(s):
remote.client.com-fd_remote.client.com_20090315195025_Full.bacula
Volume Session Id: 20
Volume Session Time: 1237010075
Last Volume Bytes: 21,194,553 (21.19 MB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: Error
SD termination status: Error
Termination: *** Backup Error ***
--
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About
Office: 866-642-7116
http://www.4nettech.com
This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information herein is
intended only for use by the intended recipient(s) named above. If you have
received this transmission in error, please notify the sender immediately and
permanently delete the e-mail and any copies, printouts or attachments thereof.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|