Koozali.org: home of the SME Server

flexbackup: "this tape doesn't have an index"

Michael Doerner

flexbackup: "this tape doesn't have an index"
« on: September 16, 2000, 11:59:40 AM »
Hi,

I seem to have a problem with flexbackup. I assume it's just my fault (misunderstanding of "-help" due to my bad English?) but I can't figure it out.

For testing I have done:

1. flexbackup -newtape
2. flexbackup -fs /log    (where log is a small directory only)
... with the following output:
|------------------------------------------------
| Positioning tape at file number 1
|------------------------------------------------
At block 3.
|------------------------------------------------
| buffer -m 3m -s 64k -u 100 -t -p 75 -B -i /dev/nst0 | afio -t -z -D \
|  /usr/bin/flexbackup -P gzip -Q -d -Q -q -Z -v -b 64k -
|------------------------------------------------
-rw-r--r--  1 root     root           77 Sep 13 20:04:43 2000 //--CONTROL_FILE/flexbackup.volume_header_info

Volume Label:
level 0 /log Wed Sep 13 20:04:43 2000 afio+gzip from linux01

drwxrwxrwx  1 root     root              Sep 13 19:55:14 2000 .
-rw-rw-rw-  1 root     root         1151 Apr 18 21:59:05 2000 ltar.log
-rw-rw-rw-  1 root     root          149 Apr 18 18:04:13 2000 errors
-rw-rw-rw-  1 root     root          172 Apr 18 07:27:35 2000 exclude.V
-rw-rw-rw-  1 root     root            0 Apr 18 07:31:27 2000 TT_OK
-rw-rw-rw-  1 root     root          139 Apr 19 00:05:44 2000 Backup_Apr.18
afio: 2k+350 bytes read in 2 seconds. The operation was successful.
|------------------------------------------------
At block 5.
|------------------------------------------------

... which looks all good to me.

But whenever I try to look at a tape's contents/index with

flexbackup -toc

it will say

ERROR! This tape doesn't have an index! (use -erase?)

and I don't know why?

When I do a flexbackup -toc all

it says:
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Listing all in database
|------------------------------------------------

File  Contents    (tape index 200009131951.54)
-----------------------------------------------
0  


File  Contents    (tape index 200009132004.40)
-----------------------------------------------
0  
1   level 0 /log Wed Sep 13 20:04:43 2000 afio+gzip from linux01

which means that second tape should be OK, shouldn't it?
I have tried it on 2 different systems, one is using afio, the other one dump.
Both show exactly the same result/problem.

Any help with that?
Kind Regards,
Michael Doerner