>>>>> On Fri, 07 Apr 2006 10:43:30 -0400, Emery Guevremont <[EMAIL PROTECTED]> 
>>>>> said:
> 
> I have a weird problem. I'm trying to restore some files from a tape 
> backup taken a few months ago.
> 
> The problem is that the files aren't on the tape. If I use the query 
> command in bconsole to find out which tape has the files, it says the 
> files are on tape GKN079. If I check the "last date written" field for 
> tape GKN079 it says Dec. 23rd 2005. I can also confirm the files I'm 
> trying to restored when backed up on dec. 18 and dec. 20.
> 
> Now when I use the bls command to list the different jobs contained on 
> the tape, it stops at a job done on dec. 15. This is the last entry from 
> my bls command:
> 
> JobId             : 9417
> VerNum            : 11
> PoolName          : BDDump
> PoolType          : Backup
> JobName           : VMDBDmaitre-BDDump
> ClientName        : vmdbdmaitre-fd
> Job (unique name) : VMDBDmaitre-BDDump.2005-12-14_20.05.11
> FileSet           : BDDump-fs
> JobType           : B
> JobLevel          : I
> JobFiles          : 531
> JobBytes          : 5,129,941,915
> StartBlock        : 0
> EndBlock          : 4,463
> StartFile         : 55
> EndFile           : 54
> JobErrors         : 0
> JobStatus         : T
> Date written      : 15-Dec-2005 08:15
> bls: Got EOF at file 61  on device /dev/nst0, Volume "GKN079"
> bls: End of Volume at file 61 on device /dev/nst0, Volume "GKN079"
> bls: End of all volumes.
> End of physical tape.
> 
> What I'm wondering is where are the jobs that were done between dec. 15, 
> 2005 and dec. 23, 2005?
> 
> I've also used the bls command to list the files on tape and the last 
> file on tape dates back to dec. 15. Here's how bls end after listing my 
> files:
> 
> End Session Record: VolSessionId=153 VolSessionTime=1134158972 
> JobId=9417 DataLen=209
> bls: Got EOF at file 61  on device /dev/nst0, Volume "GKN079"
> bls: End of Volume at file 61 on device /dev/nst0, Volume "GKN079"
> bls: End of all volumes.
> Unknown Record: VolSessionId=0 VolSessionTime=0 JobId=0 DataLen=0
> 4417 files found.
> 
> What does unknown record mean?
> 
> Whether I look at the logs or on bconsole, no errors ever happened with 
> the backups between dec. 15 and dec. 23. Everything indicates my backups 
> should be on tape GKN079, but I don't see it on the tape. Is the tape 
> dying? BTW I also tried reading the tape on a different drive, and I got 
> the same result.

I suggest you post the output of running

select * from jobmedia where mediaid=xx;

from the bconsole sql command, where xx is the mediaid of GKN079.  Also, what
is the jobid of the job you are trying to restore?

__Martin


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to