[Bacula-users] Tar and Bacula doesn't work together.

2011-05-03 Thread obviously
Thanks guys, bls helped me out :) 

In fact, when I was waiting for an answer, I found bls myself :)

I am going to give a look at bscan.

*Sorry for my English...

+--
|This was sent by tijshooyber...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tar and Bacula doesn't work together.

2011-05-02 Thread obviously
Hi all

My first post here. So don't shoot me if I say/do stupid things.

I got a problem with Bacula. The version I use is 2.4.4 on debian etch.

My Bacula runs smootly, everything seems to work.

But now, when I try to execute a tar command I get some errors.

The error:

user:/etc/init.d# tar -tvf /dev/nst0
tar: /dev/nst0: Cannot open: Device or resource busy
tar: Error is not recoverable: exiting now

I discovered that the storage-daemon blocks the tape drive. So when I stop the 
daemon, i get:

user:/etc/init.d# tar -tvf /dev/nst0
tar: /dev/nst0: Cannot read: Cannot allocate memory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

How can I solve this and is there a tool to see the tapes content when the 
daemon is running without using bconsole?

If you need meer info or configs: ask! :)

+--
|This was sent by tijshooyber...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tar and Bacula doesn't work together.

2011-05-02 Thread John Drescher
 My first post here. So don't shoot me if I say/do stupid things.

 I got a problem with Bacula. The version I use is 2.4.4 on debian etch.

 My Bacula runs smootly, everything seems to work.

 But now, when I try to execute a tar command I get some errors.

 The error:

 user:/etc/init.d# tar -tvf /dev/nst0
 tar: /dev/nst0: Cannot open: Device or resource busy
 tar: Error is not recoverable: exiting now


If you issue the unmount command in bacula it will release the tape
drive from bacula's control. Then you can use external tools. Remember
after you are done with external tools to mount the tape in bacula
using the mount command otherwise bacula will prompt you on the next
backup for user intervention.


 I discovered that the storage-daemon blocks the tape drive. So when I stop 
 the daemon, i get:

 user:/etc/init.d# tar -tvf /dev/nst0
 tar: /dev/nst0: Cannot read: Cannot allocate memory
 tar: At beginning of tape, quitting now
 tar: Error is not recoverable: exiting now

 How can I solve this and is there a tool to see the tapes content when the 
 daemon is running without using bconsole?


Bacula does not write tapes in tar format. You can use bls and bscan
to look at bacula tapes.

John

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tar and Bacula doesn't work together.

2011-05-02 Thread Steve Ellis
On 5/2/2011 1:48 AM, obviously wrote:
 Hi all

 My first post here. So don't shoot me if I say/do stupid things.

 I got a problem with Bacula. The version I use is 2.4.4 on debian etch.
Since 2.4.4 is now nearly 4 years old, you really ought to try a more 
recent version.
 My Bacula runs smootly, everything seems to work.

 But now, when I try to execute a tar command I get some errors.



 How can I solve this and is there a tool to see the tapes content when the 
 daemon is running without using bconsole?

Bacula tapes are not in a format that tar understands--the only 
meaningful way to find out what is on the tapes is either with bconsole, 
bscan, bls, or some SQL commands against the database backend that you 
are using. Of these, by far the easiest is bconsole.  Reading the tapes 
to see what is on them (i.e. using bscan or bls) is hugely slow compared 
to using the database to get that information.  If your database is 
missing what you need (either due to misconfig or disaster recovery), 
then bscan can help you.

Hope this helps,

-se


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users