Amanda-Users

backing up machine over slow line fails every time

2004-01-05 22:26:35
Subject: backing up machine over slow line fails every time
From: Palle Girgensohn <girgen AT pingpong DOT net>
To: amanda-users AT amanda DOT org
Date: Tue, 06 Jan 2004 04:25:14 +0100
Hi,

One of the machines we backup is on a different network, so I've set it up with amanda just like all our local machines, and instead of dump I used tar and created a list of the most important files.

Problem is, almost everytime it fails.

A full backup is supposed to take around 3:50 hours to transfer on the 2 megabit network connection. This is what amstatus says, and it is correct. Only after a couple of hours the backups becomes slower and slower, until it finally halts completely. Sometimes sooner than other times, but it very seldom succeeds (it has happened).

I've run this backup for a while just to see if it would improve, and fiddled with the settings over and over, but nothing seems to help.

Any ideas?

/Palle

amanda.conf enclosed.

logs:

server side:
------------
FAIL dumper my.client.name /usr/local/www/server 20040101 0 [data read: Connection reset by peer]
 sendbackup: start [my.client.name:/usr/local/www/server level 0]
 sendbackup: info BACKUP=/usr/bin/tar
 sendbackup: info RECOVER_CMD=/usr/bin/tar -f... -
 sendbackup: info end


and from amdump:
----------------
planner: time 0.240: setting up estimates for my.client.name:/usr/local/www/server
my.client.name:/usr/local/www/server overdue 21 days for level 0
setup_estimate: my.client.name:/usr/local/www/server: command 0, options:
planner: time 17.717: got result for host my.client.name disk /usr/local/www/server: 0 -> 4827980K, 2 -> 2714450K, 3 -> 2701770K
 0: my.client.name /usr/local/www/server
pondering my.client.name:/usr/local/www/server... next_level0 -21 last_level 2 (due for level 0) (picking inclevel for degraded mode)
 my.client.name /usr/local/www/server pri 22 lev 0 size 4827980
DUMP my.client.name fffffeff9ffe0f /usr/local/www/server 20040101 22 0 1970:1:1:0:0:0 4827980 33644 2 2003:12:3:2:53:47 2714450 10757
 pumpa.ping /usr/local/www/s lv 0 t 33644 s  4828012 p 22
 pumpa.ping /usr/local/www/s lv 0 t 33644 s  4828012 p 22
driver: send-cmd time 875.227 to dumper3: FILE-DUMP 03-00004 /dumps/0/20040101/my.client.name._usr_local_www_server.0 my.client.name fffffeff9ffe0f /usr/local/www/server NODEVICE 0 1970:1:1:0:0:0 512000 GNUTAR 1867846 |;auth=bsd;index;include-list=.amanda.includes; driver: send-cmd time 7983.029 to dumper3: CONTINUE /dumps/1/20040101/my.client.name._usr_local_www_server.0 512000 2960506



client side:
------------
sendbackup: debug 1 pid 21209 ruid 10 euid 10: start at Thu Jan 1 03:54:35 2004
/usr/local/libexec/amanda/sendbackup: version 2.4.4
 parsed request as: program `GNUTAR'
                    disk `/usr/local/www/server'
                    device `/usr/local/www/server'
                    level 0
                    since 1970:1:1:0:0:0
options `|;auth=bsd;index;include-list=.amanda.includes;'
sendbackup: try_socksize: send buffer size is 65536
sendbackup: time 0.000: stream_server: waiting for connection: 0.0.0.0.3703
sendbackup: time 0.000: stream_server: waiting for connection: 0.0.0.0.3704
sendbackup: time 0.000: stream_server: waiting for connection: 0.0.0.0.3705
sendbackup: time 0.000: waiting for connect on 3703, then 3704, then 3705
sendbackup: time 0.061: stream_accept: connection from my.server.ip.3230
sendbackup: time 0.068: stream_accept: connection from my.server.ip.3231
sendbackup: time 0.074: stream_accept: connection from my.server.ip.3232
sendbackup: time 0.074: got all connections
sendbackup-gnutar: time 0.090: doing level 0 dump as listed-incremental to /usr/local/var/amanda/gnutar-lists/my.client.name_usr_local_www_server_0.new sendbackup-gnutar: time 0.123: doing level 0 dump from date: 1970-01-01 0:00:00 GMT sendbackup: time 0.145: spawning /usr/local/libexec/amanda/runtar in pipeline sendbackup: argument list: GNUTAR --create --file - --directory /usr/local/www/server --one-file-system --listed-incremental /usr/local/var/amanda/gnutar-lists/my.client.name_usr_local_www_server_0.ne w --sparse --ignore-failed-read --totals --files-from /tmp/amanda/sendbackup._usr_local_www_server.20040101035435.include
sendbackup-gnutar: time 0.146: /usr/local/libexec/amanda/runtar: pid 21212
sendbackup: time 0.150: started index creator: "/usr/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'" sendbackup: time 30376.851: 124: strange(?): sendbackup: index tee cannot write [Broken pipe]
sendbackup: time 30376.851: index tee cannot write [Broken pipe]
sendbackup: time 30376.851: pid 21211 finish time Thu Jan  1 12:20:52 2004
sendbackup: time 30376.872: error [/usr/bin/tar got signal 13]
sendbackup: time 30376.872: pid 21209 finish time Thu Jan  1 12:20:52 2004

Attachment: amanda.conf
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>