Koozali.org: home of the SME Server

backup to tape failed

miceni

backup to tape failed
« on: February 04, 2003, 10:13:39 AM »
HI, I'm trying to use 4GB compaq SCSI tabe backup for SME backup, but it doesn't work. Can someone guess why doesn't it ?

here is my daily log :

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Doing level 0 backup of all using dump
| Retensioning tape...
| Rewinding & erasing tape...
| Creating index key 200302040205.25
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
At block 17.
|------------------------------------------------
| File number 1, index key 200302040205.25
| Backup of: /
| Date of this level 0 backup: Tue Feb 04 02:05:25 2003
| 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: Tue Feb  4 02:05:26 2003
  DUMP: Dumping /dev/sda5 (/) to standard output
  DUMP: Added inode 7 to exclude list (resize inode)
  DUMP: Label: /
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 1055968 tape blocks.
  DUMP: Volume 1 started with block 1 at: Tue Feb  4 02:05:40 2003
  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.
|------------------------------------------------
| Backup start: Tue Feb 04 02:05:25 2003
| Backup end:   Tue Feb 04 02:06:11 2003
|------------------------------------------------
At block 17.
|------------------------------------------------
| File number 2, index key 200302040205.25
| Backup of: /boot
| Date of this level 0 backup: Tue Feb 04 02:06:21 2003
| Date of last level 0 backup: the epoch
|------------------------------------------------
| (dump -0 -b 10 -a -f - /boot | gzip -4) | buffer -m 3m -s 10k -u 100 -t -p \
|  75 -B -o /dev/nst0
|------------------------------------------------
  DUMP: Date of this level 0 dump: Tue Feb  4 02:06:21 2003
  DUMP: Dumping /dev/sda1 (/boot) to standard output
  DUMP: Added inode 7 to exclude list (resize inode)
  DUMP: Label: /boot
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 2976 tape blocks.
  DUMP: Volume 1 started with block 1 at: Tue Feb  4 02:06:21 2003
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Volume 1 completed at: Tue Feb  4 02:06:25 2003
  DUMP: Volume 1 2960 tape blocks (2.89MB)
  DUMP: Volume 1 took 0:00:04
  DUMP: Volume 1 transfer rate: 740 kB/s
  DUMP: 2960 tape blocks (2.89MB)
  DUMP: finished in 4 seconds, throughput 740 kBytes/sec
  DUMP: Date of this level 0 dump: Tue Feb  4 02:06:21 2003
  DUMP: Date this dump completed:  Tue Feb  4 02:06:25 2003
  DUMP: Average transfer rate: 740 kB/s
  DUMP: DUMP IS DONE
buffer (writer): write of data failed: Input/output error
bytes to write=10240, bytes written=-1, total written          0K
|------------------------------------------------
| Backup start: Tue Feb 04 02:06:21 2003
| Backup end:   Tue Feb 04 02:06:25 2003
|------------------------------------------------
At block 17.
|------------------------------------------------
| Rewinding...
| Compressing log (all.0.20030204.gz)
| Linking all.latest.gz -> all.0.20030204.gz
|------------------------------------------------

File  Contents    (tape index 200302040205.25)
-----------------------------------------------
0  
1   level 0 / Tue Feb 04 02:05:25 2003 dump+gzip from compaq
2   level 0 /boot Tue Feb 04 02:06:21 2003 dump+gzip from compaq

Des Dougan

Re: backup to tape failed
« Reply #1 on: February 04, 2003, 10:48:48 AM »
Try the backup again without removing the tape. If it now works, you have a common flexbackup problem.

Charlie Brady posted a fix some time ago on the FTP site at /pub/e-smith/dev/5.6dev/updates. I tested it and it fixed the problem for me. N.B. Although it's in the 5.6 directory, I'm running 5.1.2, and it works fine for that version too.


Des Dougan

P.S. I switched over the Christmas holidays to Shad Lords' excellent Arkeia contribution (www.lordsfam.net). Well worth a look, especially if you also install the Windows or Linux GUI front-ends.

miceni

Re: backup to tape failed
« Reply #2 on: February 05, 2003, 10:19:37 AM »
Hi,

I'd like to try the fix, but there isn't anymore in  the /dev directory. Could you give me the name or any other location to get it ?

thanks, Miceni

Des Dougan

Re: backup to tape failed
« Reply #3 on: February 06, 2003, 05:05:51 AM »
Miceni,

It looks like it's in the 5.6 ISO (flexbackup-0.9.8-07es.noarch.rpm). If you haven't got that yet, let me know off-list and I'll email it to you (it's only 38k). It definitely works on < 5.6.


Des