Koozali.org: home of the SME Server

Flexbackup -toc option

kitkat

Flexbackup -toc option
« on: March 17, 2002, 08:24:04 PM »
Hi,

I enabled the backup to tape, and when doing the copmmand "flexbackup -toc"
I get this error;

__________________________________________________
[root@fshome /root]# flexbackup -toc

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
Error setting block size
Neither of these commands worked:
  mt -f /dev/nst0 setblk 0
  mt -f /dev/nst0 defblksize 0
__________________________________________________
Here is what I get when doing the command "flexbackup -toc all;

[root@fshome /root]# flexbackup -toc all

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
Error setting block size
Neither of these commands worked:
  mt -f /dev/nst0 setblk 0
  mt -f /dev/nst0 defblksize 0
__________________________________________________

I want to see what the tape contains.

Thanks

-Kit

kitkat

Re: Flexbackup -toc option
« Reply #1 on: March 17, 2002, 08:33:08 PM »
How stupid of me.
I wasn't on the right system when doing the command.
I did it on the correct system and here was the result;
_______________________________________________________________
[root@home /root]# flexbackup -toc

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| ERROR: This tape doesn't have an index! (use -erase?)
|------------------------------------------------
_______________________________________________________________
That did not work so I did the command "flexbackup -toc all";

[root@home /root]# flexbackup -toc all

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Trying "mt defblksize" instead of "mt setblk"
| Listing all in database
|------------------------------------------------

File  Contents    (tape index 200203162253.58)
-----------------------------------------------
0  
1   level 0 / Sat Mar 16 22:54:02 2002 dump+gzip from home
2   level 0 /boot Sun Mar 17 00:45:34 2002 dump+gzip from home
_______________________________________________________________

Sorry to have disturbed anyone.

-Kit