PDA

View Full Version : backup failing



brandonj
February 4th, 2011, 12:09 PM
I've been trying to solve a backup problem on one of my servers and I can't seem to find the problem.
There were tons of permission problems that I believe I resolved but I'm still getting this error:


Fri Feb 4 07:24:28 2011: amgtar: pid 25009 ruid 502 euid 502 version 3.1.1: start at Fri Feb 4 07:24:28 2011
Fri Feb 4 07:24:28 2011: amgtar: version 3.1.1
Fri Feb 4 07:24:28 2011: amgtar: pid 25009 ruid 502 euid 502 version 3.1.1: rename at Fri Feb 4 07:24:28 2011
Fri Feb 4 07:24:28 2011: amgtar: GNUTAR-PATH /bin/tar
Fri Feb 4 07:24:28 2011: amgtar: GNUTAR-LISTDIR /var/lib/amanda/gnutar-lists
Fri Feb 4 07:24:28 2011: amgtar: ONE-FILE-SYSTEM yes
Fri Feb 4 07:24:28 2011: amgtar: SPARSE yes
Fri Feb 4 07:24:28 2011: amgtar: NO-UNQUOTE no
Fri Feb 4 07:24:28 2011: amgtar: ATIME-PRESERVE no
Fri Feb 4 07:24:28 2011: amgtar: ACLS no
Fri Feb 4 07:24:28 2011: amgtar: SELINUX no
Fri Feb 4 07:24:28 2011: amgtar: XATTRS no
Fri Feb 4 07:24:28 2011: amgtar: CHECK-DEVICE yes
Fri Feb 4 07:24:28 2011: amgtar: SIZE ^ *Total bytes written: [0-9][0-9]*
Fri Feb 4 07:24:28 2011: amgtar: IGNORE .$
Fri Feb 4 07:24:28 2011: amgtar: IGNORE changed as we read it$
Fri Feb 4 07:24:28 2011: amgtar: IGNORE : Directory is new$
Fri Feb 4 07:24:28 2011: amgtar: IGNORE : Directory has been renamed
Fri Feb 4 07:24:28 2011: amgtar: NORMAL ^could not open conf file
Fri Feb 4 07:24:28 2011: amgtar: NORMAL ^Elapsed time:
Fri Feb 4 07:24:28 2011: amgtar: NORMAL ^Throughput
Fri Feb 4 07:24:28 2011: amgtar: NORMAL : socket ignored$
Fri Feb 4 07:24:28 2011: amgtar: NORMAL : File .* shrunk by [0-9][0-9]* bytes, padding with zeros
Fri Feb 4 07:24:28 2011: amgtar: NORMAL : Cannot add file .*: No such file or directory$
Fri Feb 4 07:24:28 2011: amgtar: NORMAL : Error exit delayed from previous errors
Fri Feb 4 07:24:28 2011: amgtar: Spawning "/bin/tar /bin/tar --create --verbose --file - --directory / --one-file-system --listed-incremental /var/lib/amanda/gnutar-lists/aclinux-ns1__0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/amgtar._.20110204072428.exclude ." in pipeline
Fri Feb 4 07:25:34 2011: amgtar: 82: size(|): Total bytes written: 2122444800 (2.0GiB, 31MiB/s)
Fri Feb 4 07:25:34 2011: amgtar: after /bin/tar / wait
Fri Feb 4 07:25:34 2011: amgtar: amgtar: /bin/tar: pid 25010
Fri Feb 4 07:25:34 2011: amgtar: /bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072428000.debugFri Feb 4 07:25:34 2011: amgtar: sendbackup: size 2072700
Fri Feb 4 07:25:34 2011: amgtar: sendbackup: end

As well here is the e-mail that gets sent out after the backup attempt

Hostname: aclinux-backup01
Org : Standard_FS_DAILY
Config : Standard_FS_DAILY
Date : February 4, 2011

These dumps were to tape Standard_FS_DAILY-089.
The next tape Amanda expects to use is: Standard_FS_DAILY-011.
FAILURE DUMP SUMMARY:
aclinux-ns1 / lev 0 FAILED [/bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072215000.debug]
aclinux-ns1 / lev 0 FAILED [/bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072428000.debug]



STATISTICS:
Total Full Incr.
-------- -------- --------
Estimate Time (hrs:min) 0:07
Run Time (hrs:min) 0:32
Dump Time (hrs:min) 0:22 0:16 0:06
Output Size (meg) 9128.7 7624.5 1504.2
Original Size (meg) 24604.0 18431.3 6172.7
Avg Compressed Size (%) 37.1 41.4 24.4 (level:#disks ...)
Filesystems Dumped 30 5 25 (1:25)
Avg Dump Rate (k/s) 7041.1 8164.1 4148.7

Tape Time (hrs:min) 0:10 0:08 0:02
Tape Size (meg) 8516.5 7012.3 1504.2
Tape Used (%) 0.4 0.3 0.1 (level:#disks ...)
Filesystems Taped 31 6 25 (1:25)
(level:#parts ...)
Parts Taped 31 6 25 (1:25)
Avg Tp Write Rate (k/s) 14282.5 14447.9 13558.8

USAGE BY TAPE:
Label Time Size % Nb Nc
Standard_FS_DAILY-089 0:10 8516M 0.4 31 31

FAILED DUMP DETAILS:
/-- aclinux-ns1 / lev 0 FAILED [/bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072215000.debug]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/lib64/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
| Total bytes written: 2122444800 (2.0GiB, 31MiB/s)
sendbackup: error [/bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072215000.debug]
sendbackup: size 2072700
sendbackup: end
\--------
/-- aclinux-ns1 / lev 0 FAILED [/bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072428000.debug]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/lib64/amanda/application/amgtar restore [./file-to-restore]+
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
| Total bytes written: 2122444800 (2.0GiB, 31MiB/s)
sendbackup: error [/bin/tar exited with status 2: see /var/log/amanda/client/Standard_FS_DAILY/amgtar.20110204072428000.debug]
sendbackup: size 2072700
sendbackup: end
\--------

NOTES:
planner: Full dump of aclinux-auth02:/ promoted from 1 day ahead.
taper: Will write new label `Standard_FS_DAILY-089' to new tape
taper: tape Standard_FS_DAILY-089 kb 8720898 fm 31 [OK]
big estimate: aclinux-auth02 / 0
est: 1010272M out 801721M


DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-MB OUT-MB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- -------------------------------------- ---------------
aclinux-agil / 1 26 6 22.5 0:05 1324.4 0:00 60370.0
aclinux-auth / 0 5070 1042 20.6 2:01 8785.5 1:04 16672.3
aclinux-auth / 0 3130 783 25.0 1:22 9767.6 0:55 14576.7
aclinux-back / 0 5188 3194 61.6 9:24 5800.3 4:03 13457.6
aclinux-db1. / 1 27 7 27.1 0:02 3505.4 0:01 7382.0
aclinux-db2. / 1 21 5 22.8 0:02 2529.5 0:01 4873.0
aclinux-dev0 / 1 99 35 34.9 0:07 4746.3 0:03 11836.0
aclinux-djan / 1 35 5 14.8 0:03 1695.1 0:00 52670.0
aclinux-lega / 1 58 9 14.8 0:04 2437.8 0:00 88460.0
aclinux-log0 / 1 30 5 18.2 0:03 1800.7 0:01 5543.0
aclinux-log0 /logs 1 344 228 66.2 0:17 13443.0 0:12 19449.0
aclinux-log0 /logs 1 4 0 3.9 0:01 181.1 0:01 152.0
aclinux-memc / 0 1891 656 34.7 1:06 10213.4 0:44 15276.3
aclinux-msb. / 1 28 5 18.5 0:04 1243.6 0:01 5316.0
aclinux-ns1. / 0 612 -- PARTIAL 0:42 14925.0
aclinux-ns2. / 1 19 4 22.9 0:03 1631.9 0:01 4426.0
aclinux-open / 1 369 62 16.9 0:26 2486.9 0:04 15954.5
aclinux-open / 1 48 15 31.5 0:04 3480.2 0:00 154720.0
aclinux-open / 1 239 33 13.7 0:08 4293.3 0:02 16808.0
aclinux-open / 1 48 15 31.2 0:04 3581.3 0:01 15450.0
aclinux-php5 / 1 24 5 21.7 0:03 2130.1 0:00 53650.0
aclinux-redi / 1 63 20 31.9 0:04 4771.0 0:02 10226.5
aclinux-rsvp / 1 24 6 22.8 0:03 1849.9 0:00 57160.0
aclinux-sear / 1 215 18 8.3 0:08 2409.6 0:02 9104.5
aclinux-webd / 1 450 14 3.2 0:07 2107.8 0:02 7288.0
aclinux-word / 0 3152 725 23.0 2:03 6029.0 0:49 15156.4
aclinux-zabb / 1 102 30 29.4 0:05 5575.3 0:02 15286.0
sqladmin-aws / 1 184 14 7.7 2:26 99.8 0:01 14620.0
updates.foxf / 1 167 23 14.0 0:09 2544.1 0:02 11940.0
updates.foxf /oracle 1 3539 938 26.5 1:29 10827.2 1:13 13162.0
updates.foxf -epo/centos 1 10 1 9.8 0:03 276.1 0:01 965.0

(brought to you by Amanda version 3.1.3)


Any help would be appreciated.