Martin Simmons wrote:

Thanks for the answer.



> Did the system pass all of the the btape tests from the Testing Your Tape
> Drive With Bacula chapter of the manual?

It did at the time bacula was first installed (on FreeBSD 4.x). I 
updated to 6.2, so I run them again after your request (that's the 
reason it took so long to answer :-):
_ test 1 fails in the "tar t" phase, but that seems to be a (known?) 
problem with tar; in fact pax can read what "tar c" created;
_ test 3 gives several warnings, but in the end "succeeds";
_ all other test work perfectly.



> If it did, it might be useful to find out what that tape contains by doing
> 
> bls -c bacula-sd.conf -j -V'*' /dev/nsa0

Here it is:

# bls -c /usr/local/etc/bacula-sd.conf -j -V'*' /dev/nsa0
bls: match.c:249 add_fname_to_include prefix=0 gzip=0 fname=/
bls: butil.c:283 Using device: "/dev/nsa0" for reading.
08-Feb 11:22 bls: Ready to read from volume "*" on device "DDS-4" 
(/dev/nsa0).
Volume Record: File:blk=0:1 SessId=2 SessTime=1170507971 JobId=2 DataLen=165
End Job Session Record: File:blk=3:5232 SessId=2 SessTime=1170507971 
JobId=1972
    Date=06-Feb-2007 15:55:03 Level=F Type=B Files=122,364 
Bytes=34,134,798,291 Errors=0 Status=T
Begin Job Session Record: File:blk=4:1 SessId=6 SessTime=1170507971 
JobId=1978
    Job=CentralinoBackup.2007-02-06_17.42.44 Date=06-Feb-2007 17:42:51 
Level=F Type=B
End Job Session Record: File:blk=4:959 SessId=6 SessTime=1170507971 
JobId=1978
    Date=06-Feb-2007 17:43:37 Level=F Type=B Files=3 Bytes=61,681,781 
Errors=0 Status=T
Begin Job Session Record: File:blk=5:1 SessId=7 SessTime=1170507971 
JobId=1979
    Job=SqlsrvBackup.2007-02-06_17.44.10 Date=06-Feb-2007 17:44:17 
Level=F Type=B
End Job Session Record: File:blk=5:7109 SessId=7 SessTime=1170507971 
JobId=1979
    Date=06-Feb-2007 17:48:49 Level=F Type=B Files=57 Bytes=457,557,952 
Errors=0
Status=T
08-Feb 11:54 bls: End of Volume at file 6 on device "DDS-4" (/dev/nsa0), 
Volume
"*"
08-Feb 11:54 bls: End of all volumes.



> Also, the output of
> 
> select * from jobmedia
>  where mediaid=(select mediaid from media where volumename='Tape41')
>  order by startfile;
> 
> would tell is what Bacula thinks it contains.

Here it is again:


bacula=> select * from jobmedia where mediaid=(select mediaid from media 
where volumename='Tape41') order by startfile;
  jobmediaid | jobid | mediaid | firstindex | lastindex | startfile | 
endfile | startblock | endblock | volindex | copy
------------+-------+---------+------------+-----------+-----------+---------+------------+----------+----------+------
        2698 |  1972 |     403 |      99912 |    108622 |         0 | 
     0 |          1 |    15499 |       33 |    0
        2699 |  1972 |     403 |     108622 |    116328 |         1 | 
     1 |          0 |    15499 |       34 |    0
        2700 |  1972 |     403 |     116328 |    121570 |         2 | 
     2 |          0 |    15499 |       35 |    0
        2701 |  1972 |     403 |     121570 |    122364 |         3 | 
     3 |          0 |     5231 |       36 |    0
        2705 |  1978 |     403 |          1 |         3 |         4 | 
     4 |          0 |      958 |        1 |    0
        2706 |  1979 |     403 |          1 |        57 |         5 | 
     5 |          0 |     7108 |        1 |    0
(6 rows)



Where do I go from here?


  bye & Thanks
        av.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to