Koozali.org: home of the SME Server

Friday backup - always wrong

Gaetan

Friday backup - always wrong
« on: July 01, 2002, 08:57:32 PM »
Hi,

I have set up E-Smith so a backup is done every day of the week at 2h00 am.
Monday, Tuesday, Wednesday, Thursday night backups are well ok BUT when it comes to Friday one, it never works.
I have changed the Friday backup tape thinking that the tape could be the problem. I still have the same problem. Here is the 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 200206290203.10
| Tape #0
| Filesystems = / /boot
|------------------------------------------------
At block 0.
|------------------------------------------------
| File number 1, index key 200206290203.10
| Backup of: /
| Date of this level 0 backup: Sat Jun 29 02:06:07 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: Sat Jun 29 02:06:07 2002
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/sda6 (/) to standard output
  DUMP: Label: none
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 1193742 tape blocks.
  DUMP: Volume 1 started at: Sat Jun 29 02:06:13 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.
|------------------------------------------------
| Backup start: Sat Jun 29 02:06:07 2002
| Backup end:   Sat Jun 29 02:12:16 2002
|------------------------------------------------
At block 0.
|------------------------------------------------
| File number 2, index key 200206290203.10
| Backup of: /boot
| Date of this level 0 backup: Sat Jun 29 02:12:26 2002
| 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: Sat Jun 29 02:12:26 2002
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/sda1 (/boot) to standard output
  DUMP: Label: none
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 5988 tape blocks.
  DUMP: Volume 1 started at: Sat Jun 29 02:12:26 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          0K
  DUMP: Broken pipe
  DUMP: The ENTIRE dump is aborted.
|------------------------------------------------
| Backup start: Sat Jun 29 02:12:26 2002
| Backup end:   Sat Jun 29 02:12:28 2002
|------------------------------------------------
At block 0.
|------------------------------------------------
| Rewinding...
| Compressing log (all.0.20020629.gz)
| Linking all.latest.gz -> all.0.20020629.gz
|------------------------------------------------

File  Contents    (tape index 200206290203.10)
-----------------------------------------------
0  
1   level 0 / Sat Jun 29 02:06:07 2002 dump+gzip from e-smith
2   level 0 /boot Sat Jun 29 02:12:26 2002 dump+gzip from e-smith


Can someone tell me what to do ?

Nathan Fowler

Re: Friday backup - always wrong
« Reply #1 on: July 01, 2002, 11:37:50 PM »
Looks like a bad tape.

Des Dougan

Re: Friday backup - always wrong
« Reply #2 on: July 02, 2002, 01:18:48 AM »
The problem is a bug, as yet unresolved, which I reported a while ago. You will note that the tape is at block 0. If you run the backup again, without taking the tape out, it will work. That said, you also noted it ran OK on the other days of the week. Do you leave the tape in the drive and only change it on Fridays?


Des Dougan

Gaetan

Re: Friday backup - always wrong
« Reply #3 on: July 02, 2002, 12:52:25 PM »
I actually leave the tape in the drive ... The backup is programmed to start on Friday night (Saturday morning at 02H00 am) ... Then the tape stays in the drive until I come back in the office on Monday morning .... Which means that the backup is also done (on the same tape) Sunday AM and Monday AM.
Even then, the backup does NOT work.

Hope this is clear ....