I run a weekly backup, via the server manager, to a Seagate Travan 5 tape drive on a new server. While I had the server in test mode, it backed up successfully. I recently migrated my production set up to the new hardware and customized te hbackup to run weekly. Over the last several weeks, each time the backup runs, it fails:
|------------------------------------------------
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200203030403.27
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
At block 1.
|------------------------------------------------
| File number 1, index key 200203030403.27
| Backup of: /
| Date of this level 0 backup: Sun Mar 03 04:03:30 2002
| Date of last level 0 backup: the epoch
|------------------------------------------------
| (dump -0 -b 10 -a -f - / | gzip -4) | buffer -m 3m -s 10k -u 100 -t -p 75 -B \
| -o /dev/nst0
|------------------------------------------------
DUMP: Date of this level 0 dump: Sun Mar 3 04:03:30 2002
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/md1 (/) to standard output
DUMP: Label: none
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 2848604 tape blocks.
DUMP: Volume 1 started at: Sun Mar 3 04:06:00 2002
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
buffer (writer): write of data failed: Input/output error
bytes to write=10240, bytes written=-1, total written 10K
DUMP: Broken pipe
DUMP: The ENTIRE dump is aborted.
However, if I run the backup again from the command line (/sbin/e-smith/backup), it works. I've seen the same behaviour each time over the past 3 weekends. Can anyone shed any light on why this is happening? I would have thought an erase operation (seen at the beginning of the backup output) would have resolved any header issues.
Des Dougan