Bacula-users

Re: [Bacula-users] list files backed up on a tape

2014-07-15 11:42:18
Subject: Re: [Bacula-users] list files backed up on a tape
From: "Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" <uthra.r.rao AT nasa DOT gov>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 15 Jul 2014 15:36:39 +0000

I was able to get a get a listing of the files on my tape with the command that Ana Emília M. Arruda suggested.

 

I had to first stop bacula-sd daemon

I then ran the following command:

 

#./bls -V B01206L5 /dev/nst0

 

This gave me a listing of all the files on this tape. Please note that “bls” utility has other options we can use for example to read the label, to read the block etc..

 

Thank You.

Uthra

 

 

 

From: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Sent: Tuesday, July 08, 2014 3:33 PM
To: bacula-users AT lists.sourceforge DOT net
Subject: list files backed up on a tape

 

I run bacula  5.2.12 with LTO5 tape drives. While running a full backup of a client the tape in the pool had a media error so it wrote only 350MB on it and marked it “FULL” with a media error. The backup proceeded to the next available tape in the pool. I would like to get a list of files it has backed up on the bad tape (350MB).  Is there an easy way to get this listing?

 

******************************************************************

New volume "B01206L5" mounted on device "Drive-1" (/dev/nst0) at 08-Jul-2014 01:12.

host-sd

Error: block.c:608 Write error at 0:1368 on device "Drive-1" (/dev/nst0). ERR=Input/output error.

 

Error: Error writing final EOF to tape. This Volume may not be readable.

dev.c:1566 ioctl MTWEOF error on "Drive-1" (/dev/nst0). ERR=Input/output error.

host-sd End of medium on Volume "B01206L5" Bytes=358,351,872 Blocks=1,367 at 08-Jul-2014 01:12.

3307 Issuing autochanger "unload slot 13, drive 0" command.

****************************************************************

 

Thank you.

Uthra

 

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>