Bacula-users

Re: [Bacula-users] Volume Status is Full instead of Purge

2013-09-24 04:39:17
Subject: Re: [Bacula-users] Volume Status is Full instead of Purge
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: Deepak <deepak AT palincorporates DOT com>
Date: Tue, 24 Sep 2013 10:09:16 +0200
Hello,

2013/9/24 Deepak <deepak AT palincorporates DOT com>
(...)
1) I have removed complete mysql database using drop_mysql_tables and
then created new tables using make_mysql_table command . Every thing
is clean now in database except one thing. When I am checking director
with status director command in bconsole. then stiil it is showing
lots of old jobs entries. Why it is happening?

below is output of status director command.


*status director
backup-dir Version: 5.2.12 (12 September 2012)
x86_64-unknown-linux-gnu redhat Enterprise release
Daemon started 23-Sep-13 15:30. Jobs: run=29, running=0 mode=0,0
  Heap: heap=172,032 smbytes=191,848 max_bytes=11,904,773 bufs=598
max_bufs=2,543

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================

Full           Backup    10  25-Sep-13 00:40    CONFIG          A00041L4
Full           Backup    10  25-Sep-13 01:10    CONFIG          A00041L4
Full           Backup    12  25-Sep-13 03:30    Catalog
CatalogBackup0005
====

Running Jobs:
Console connected at 24-Sep-13 11:39
Console connected at 24-Sep-13 11:41
Console connected at 24-Sep-13 11:59
No Jobs running.
====

Terminated Jobs:
  JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================

     17  Full          0         0   Error    23-Sep-13 22:15 CONFIG


If you point to the "Terminated Jobs" section of the status director command then this information is stored in *.state (at Working Directory) file not in database. You can remove it.
 

2) second issue I am facing with huge logs which lin_tape driver is
sending to /var/log/messages file while writing data on tapes, it is
also sending lots of logs while reading data too. these things are
making my messages file very huge to maintain. Please tell me some way
to handle this.


I recommend to not use lin_tape driver, because it generates problems with Bacula and is not supported. I recommend to use standard st driver instead of lin_tape.
 
best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users