[Bacula-users] feature request: more compression methods

2007-08-03 Thread Dimitrios
It would be nice if there were more compression methods available. I understand 
that Bacula is mostly used with tape drivers which do hardware compression, but 
those of us using file/disk storage would get a real benefit out of it.

For example, RAR and BZIP2 can achieve an amazingly high compression ratio on 
very large files, 20% or more compared to (the very old) GZIP.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Client make file

2007-08-03 Thread tanveer haider
OS : Solaris 10
Bacula:2.0.3

I try to install bacula client with configure option given below
./configure --enable-client-only

compile is successfull,but when i issue  make it show following
#make
make:not found

the directory contain Makefile,after changing permission when I try to
execute it ,it display error permission denied
what should I do

-- 
regards ,
Tanveer Haider Baig
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BACULA Starting Problem

2007-08-03 Thread John Drescher
 I am facing a problem when trying to start Bacula on my Linux server for the
 first time. The below problem is showing:

 # /etc/init.d/bacula start
 Starting the Bacula Storage daemon
 Starting the Bacula File daemon
 Starting the Bacula Director daemon
 02-Aug 07:31 bacula-dir:  Fatal error: Could not open database bacula.
 02-Aug 07:31 bacula-dir:  Fatal error: mysql.c:169 Unable to connect to
 MySQL server.
 Database=bacula User=bacula
 It is probably not running or your password is incorrect.
 02-Aug 07:31 bacula-dir ERROR TERMINATION
 Please correct configuration file: /home/bacula/bin/bacula-dir.conf


 Please note that it is possible to login to the bacula database with
 user=bacula.

 The OS: rhel3 u5
 The installed Bacula release is 1.36.2
Wow that is a 2 year old version of bacula. The current release is 2.0.3.

 The Database is MySQL, version: 4.1.22-standard

 Your feedback is highly appreciated.

Did you run bacula scripts to create and initialize the bacula database?

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] BACULA Starting Problem

2007-08-03 Thread Hisham WAKED
Hi All,

I am facing a problem when trying to start Bacula on my Linux server for the 
first time. The below problem is showing:

# /etc/init.d/bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
02-Aug 07:31 bacula-dir:  Fatal error: Could not open database bacula.
02-Aug 07:31 bacula-dir:  Fatal error: mysql.c:169 Unable to connect to MySQL 
server. 
Database=bacula User=bacula
It is probably not running or your password is incorrect.
02-Aug 07:31 bacula-dir ERROR TERMINATION
Please correct configuration file: /home/bacula/bin/bacula-dir.conf


Please note that it is possible to login to the bacula database with 
user=bacula.

The OS: rhel3 u5
The installed Bacula release is 1.36.2
The Database is MySQL, version: 4.1.22-standard

Your feedback is highly appreciated.

Many Thanks in advance,
HisH
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula: Tape mounting problem

2007-08-03 Thread Hisham WAKED
Hi All.

Bacula is running since ever on my server with Tape Storage. I had a hardware 
problem, and when the server restarted, I started to receive the following 
problem while Bacula is trying to run a job:

02-Aug 03:40 myserver-dir: Start Backup JobId 227, Job=jobA.2007-08-02_03.40.00
02-Aug 03:40 myserver-sd: Volume 1 previously written, moving to end of data.
02-Aug 03:46 myserver-sd: jobA.2007-08-02_03.40.00 Error: Unable to position to 
end of data on device /dev/st0. ERR=dev.c:494 ioctl MTEOM error on /dev/st0. 
ERR=Input/output error.


The list volumes command shows:

*list volumes
Using default Catalog name=MyCatalog DB=bacula
Pool: Default
+-++---++--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | VolBytes   | VolFiles | VolRetention | 
Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---++--+--+-+--+---+---+-+
|   1 | 1  | Error | 14,725,619,789 |  199 |   31,536,000 | 
  0 |0 | 1 | DLT7000   | 2007-08-02 03:46:57 |
|   2 | Vol0002| Append|  0 |0 |   31,536,000 | 
  0 |0 | 0 | DLT7000   | -00-00 00:00:00 |
+-++---++--+--+-+--+---+---+-+


Any help is more than appreciated.

Thanks in advance,
HisH-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client make file

2007-08-03 Thread Malcolm Hunter

On Fri, August 3, 2007 12:23 pm, tanveer haider wrote:
 OS : Solaris 10
 Bacula:2.0.3

 I try to install bacula client with configure option given below
 ./configure --enable-client-only

 compile is successfull,but when i issue  make it show following
 #make
 make:not found

You need to install make for Solaris.

Regards,
Malcolm
-- 
Web Development, Technical Copy-Editing  Proofreading

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula: Tape mounting problem

2007-08-03 Thread John Drescher
 Not that I think John meant this, but least anyone conclude that in
 all cases: status == ERROR means you must recyle, it does not.


 Sometimes the status gets set to ERROR and you can simply reset the
 status to APPEND (via the bconsole command: UPDATE VOLUME).  This
 used to happen regularly when three was a VOLUME FILES count error
 (the Catalog would think there were 6 files in the Volume, when the
 real count was something else; e.g. 3 or 7).

Thanks Dan. I knew in his case that the tape was corrupted but in the
second example I did not know that setting the tape to append would
work. I have had this happen a few times with a specific windows 2003
server and I just ended up reusing the tapes.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ongoing mount problems

2007-08-03 Thread Brian Debelius
John Drescher wrote:
 I am having problems with 2.1.28( and all previous versions).   The
 problem is that Bacula loads the correct tape from the autochanger, but
 then asks for that tape to be mounted.  I then have to release or
 unmount, and then mount the same tape again to have it continue.   After
 I do this the jobs continue normally.

 
 Have you tried just issuing a mount when it does that? I had this
 happen a few times in the past (like 1 time per 1000 successful
 mounts) and issuing a mount always got bacula to recognize the tape.
 Does this happen very often?

 John
   
I have tried just issuing mount.   It doesn't work, but I forget what 
the message was, right now.  I can't get it to continue until I release 
the drive, and remount the same tape.  This has happened several times 
this week, with this 2.1.28 version, and once or twice this week with 
another system running 2.1.10.

For a refresher..Windows 2003 director, and SD.  Exabyte VXA-172 
Packetloader Autochanger

brian

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula: Tape mounting problem

2007-08-03 Thread Dan Langille
On 3 Aug 2007 at 11:00, John Drescher wrote:

  Hi John/All.
 
  Thanks John for your prompt response.
 
  Is there any solution for this case, or should I replace this tape
  with a new one? Since it is not convenient to use the btape command
  and loosing all the data on the tape.
 

 When a tape is in Error status you can not append. To reuse the tape
 you must recycle the tape (removing any backup jobs on the tape) if
 you want to add data to the tape.

I can see how this advice applies to this situation.  IIRC, the 
server crashed while data was being added to the tape.

Not that I think John meant this, but least anyone conclude that in 
all cases: status == ERROR means you must recyle, it does not.

Sometimes the status gets set to ERROR and you can simply reset the 
status to APPEND (via the bconsole command: UPDATE VOLUME).  This 
used to happen regularly when three was a VOLUME FILES count error 
(the Catalog would think there were 6 files in the Volume, when the 
real count was something else; e.g. 3 or 7).

In this particular case, there is a good chance that the data on the 
tape is corrupted or incomplete.  This could be tested by running a 
restore on the tape.

For Hisham WAKED, if there is data on the tape you wish to retain 
(e.g. other backups), you could use UPDATE VOLUME to mark the tape as 
FULL (thus making it unavailable for future backups).  The tape would 
then go through the regular retention period mechanisms and come up 
for recycling in the fullness of time.  Your choice...

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula: Tape mounting problem

2007-08-03 Thread John Drescher
On 8/3/07, Hisham WAKED [EMAIL PROTECTED] wrote:


 Hi All.

 Bacula is running since ever on my server with Tape Storage. I had a
 hardware problem, and when the server restarted, I started to receive the
 following problem while Bacula is trying to run a job:

 02-Aug 03:40 myserver-dir: Start Backup JobId 227,
 Job=jobA.2007-08-02_03.40.00
 02-Aug 03:40 myserver-sd: Volume 1 previously written, moving to end of
 data.
 02-Aug 03:46 myserver-sd: jobA.2007-08-02_03.40.00 Error: Unable to position
 to end of data on device /dev/st0. ERR=dev.c:494 ioctl MTEOM error on
 /dev/st0. ERR=Input/output error.


 The list volumes command shows:

 *list volumes
 Using default Catalog name=MyCatalog DB=bacula
 Pool: Default
 +-++---++--+--+-+--+---+---+-+
 | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |
 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
 |
 +-++---++--+--+-+--+---+---+-+
 |   1 | 1  | Error | 14,725,619,789 |  199 |
 31,536,000 |   0 |0 | 1 | DLT7000   | 2007-08-02 03:46:57 |
 |   2 | Vol0002| Append|  0 |0 |
 31,536,000 |   0 |0 | 0 | DLT7000   | -00-00 00:00:00 |
 +-++---++--+--+-+--+---+---+-+


I have seen this even with the current version of bacula. If the
bacula server reboots while writing to the tape drive the tape it is
using will be marked as Error because it will not be cleanly closed.
This is normal.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Ongoing mount problems

2007-08-03 Thread Brian Debelius
Hi

I am having problems with 2.1.28( and all previous versions).   The 
problem is that Bacula loads the correct tape from the autochanger, but 
then asks for that tape to be mounted.  I then have to release or 
unmount, and then mount the same tape again to have it continue.   After 
I do this the jobs continue normally.

brian


*update slots
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
The defined Storage resources are:
 1: Disk0
 2: Disk1
 3: Tape
Select Storage resource (1-3): 3
Connecting to Storage daemon Tape at elkton.intelesys.local:9103 ...
3306 Issuing autochanger slots command.
Device Packetloader0 has 10 slots.
Connecting to Storage daemon Tape at elkton.intelesys.local:9103 ...
3306 Issuing autochanger list command.
Catalog record for Volume A009 updated to reference slot 7.
Volume CLNA0002 not found in catalog. Slot=10 InChanger set to zero.
Catalog record for Volume A003 updated to reference slot 6.  
IT IS IN THE DRIVE
=
03-Aug 00:24 elkton-sd: 3304 Issuing autochanger load slot 6, drive 0 
comman

03-Aug 00:25 elkton-sd: 3305 Autochanger load slot 6, drive 0, status 
is OK.
03-Aug 00:25 elkton-sd: 3301 Issuing autochanger loaded? drive 0 command.
03-Aug 00:25 elkton-sd: 3302 Autochanger loaded? drive 0, result is 
Slot 6.
03-Aug 00:25 elkton-sd: Please mount Volume A003 or label a new 
one for:
Job:  Ellicott.2007-08-03_00.01.00
Storage:  VXA-172 (Tape0)
Pool: Tape-daily
Media type:   X10
03-Aug 01:25 elkton-sd: Please mount Volume A003 or label a new 
one for:
Job:  Ellicott.2007-08-03_00.01.00
Storage:  VXA-172 (Tape0)
Pool: Tape-daily
Media type:   X10
03-Aug 03:25 elkton-sd: Please mount Volume A003 or label a new 
one for:
Job:  Ellicott.2007-08-03_00.01.00
Storage:  VXA-172 (Tape0)
Pool: Tape-daily
Media type:   X10
03-Aug 07:25 elkton-sd: Please mount Volume A003 or label a new 
one for:
Job:  Ellicott.2007-08-03_00.01.00
Storage:  VXA-172 (Tape0)
Pool: Tape-daily
Media type:   X10
03-Aug 07:25 elkton-sd: Please mount Volume A003 or label a new 
one for:
Job:  Ellicott.2007-08-03_00.01.00
Storage:  VXA-172 (Tape0)
Pool: Tape-daily
Media type:   X10
*unmount
The defined Storage resources are:
 1: Disk0
 2: Disk1
 3: Tape
Select Storage resource (1-3): 3
3307 Issuing autochanger unload slot 6, drive 0 command.
3001 Device VXA-172 (Tape0) unmounted.
*mount
The defined Storage resources are:
 1: Disk0
 2: Disk1
 3: Tape
Select Storage resource (1-3): 3
Enter autochanger slot: 6
3301 Issuing autochanger loaded? drive 0 command.
3302 Autochanger loaded? drive 0, result: nothing loaded.
3304 Issuing autochanger load slot 6, drive 0 command.
3305 Autochanger load slot 6, drive 0, status is OK.
3301 Issuing autochanger loaded? drive 0 command.
3302 Autochanger loaded? drive 0, result is Slot 6.
3001 Device VXA-172 (Tape0) is mounted with Volume A003


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula: Tape mounting problem

2007-08-03 Thread Hisham WAKED
Hi John/All.

Thanks John for your prompt response.

Is there any solution for this case, or should I replace this tape with a new 
one? Since it is not convenient to use the btape command and loosing all the 
data on the tape.

P.S: I tried to restore a job from the tape, and it was successful. Only when 
trying to append on it where I am facing the problems.


Awaiting your feedback.

Many Thanks,
HishaM
  - Original Message - 
  From: John Drescher 
  To: Hisham WAKED 
  Cc: bacula-users@lists.sourceforge.net 
  Sent: Friday, August 03, 2007 4:25 PM
  Subject: Re: [Bacula-users] Bacula: Tape mounting problem


  On 8/3/07, Hisham WAKED [EMAIL PROTECTED] wrote:
  
  
   Hi All.
  
   Bacula is running since ever on my server with Tape Storage. I had a
   hardware problem, and when the server restarted, I started to receive the
   following problem while Bacula is trying to run a job:
  
   02-Aug 03:40 myserver-dir: Start Backup JobId 227,
   Job=jobA.2007-08-02_03.40.00
   02-Aug 03:40 myserver-sd: Volume 1 previously written, moving to end of
   data.
   02-Aug 03:46 myserver-sd: jobA.2007-08-02_03.40.00 Error: Unable to position
   to end of data on device /dev/st0. ERR=dev.c:494 ioctl MTEOM error on
   /dev/st0. ERR=Input/output error.
  
  
   The list volumes command shows:
  
   *list volumes
   Using default Catalog name=MyCatalog DB=bacula
   Pool: Default
   
+-++---++--+--+-+--+---+---+-+
   | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |
   VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
   |
   
+-++---++--+--+-+--+---+---+-+
   |   1 | 1  | Error | 14,725,619,789 |  199 |
   31,536,000 |   0 |0 | 1 | DLT7000   | 2007-08-02 03:46:57 |
   |   2 | Vol0002| Append|  0 |0 |
   31,536,000 |   0 |0 | 0 | DLT7000   | -00-00 00:00:00 |
   
+-++---++--+--+-+--+---+---+-+
  
  
  I have seen this even with the current version of bacula. If the
  bacula server reboots while writing to the tape drive the tape it is
  using will be marked as Error because it will not be cleanly closed.
  This is normal.

  John-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ongoing mount problems

2007-08-03 Thread John Drescher
 I am having problems with 2.1.28( and all previous versions).   The
 problem is that Bacula loads the correct tape from the autochanger, but
 then asks for that tape to be mounted.  I then have to release or
 unmount, and then mount the same tape again to have it continue.   After
 I do this the jobs continue normally.

Have you tried just issuing a mount when it does that? I had this
happen a few times in the past (like 1 time per 1000 successful
mounts) and issuing a mount always got bacula to recognize the tape.
Does this happen very often?

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula: Tape mounting problem

2007-08-03 Thread John Drescher
 Hi John/All.

 Thanks John for your prompt response.

 Is there any solution for this case, or should I replace this tape with a
 new one? Since it is not convenient to use the btape command and loosing all
 the data on the tape.

When a tape is in Error status you can not append. To reuse the tape
you must recycle the tape (removing any backup jobs on the tape) if
you want to add data to the tape.

 P.S: I tried to restore a job from the tape, and it was successful. Only
 when trying to append on it where I am facing the problems.

Both are expected results for a tape in this state.

Consult the docs on how to manually recycle a tape:

http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html#SECTION00258

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] volumes in other magazines always marked as ERROR state when using vchanger

2007-08-03 Thread Mike Follwerk - T²BF
Hi Carsten,

Carsten Ralle schrieb:
 I had a similar problem and solved it by changing the MySQL database
 manually in the background via a script, in your case you'd need to
 update the Slot, InChanger, Changer and VolStatus and may be the Enabled
 column using two scripts mount magazine 1 and mount magazine 2,
 including some email notification.

hmm, that is of course a solution. However, it sounds a little like
spanning horses in front of a car because the motor doesn't work. ;)

 Better solution would be of course to implement a change magazine
 message to bacula itself, in case I missed so configuration statements
 please let me know !

As far as I understand it this is what the inchanger flag for volumes
is for. In my understanding, as long as this flag is 0 bacula should not
try to make the autochanger load the volume, because it is known not to
be in the changer. I am half willing to call this a bug by now, because
it is pretty clear:

(volume names changed and unnecessary information left out for better
readability)

2 magazines, mag0 and mag1
2 volumes in each magazine, vol1 and vol2.

before error:
volume name |  status  | inchanger | slot
mag0-vol1  APPEND11
mag0-vol2  APPEND12
mag1-vol1  APPEND01
mag1-vol2  APPEND02

now a backup job starts that fills all volumes in mag0 and still needs
more space. Apparently it tries to load the volumes that have
inchanger set to 0, and when it does not find them it marks them as
erroneous. (see error messages stated in original posting).

after error:
volume name |  status  | inchanger | slot
mag0-vol1   FULL 11
mag0-vol2   FULL 12
mag1-vol1  ERROR 00
mag1-vol2  ERROR 00

As you can see, the slot information for the volumes that are not in the
changer get deleted too. In my understanding, this would even happen to
people who use a real tape changer with magazines, not just the virtual
one. If it does, it most certainly is not desirable behaviour. Could
anyone perhaps confirm or deny this, and maybe post a snippet of your
config? Maybe Carsten and me are just missing some config option...

Best Regards
Mike Follwerk

-- 

T²BF IT Services GbR
Daniel Blömer, Mike Follwerk, Marcus Teske
Marie-Curie-Str. 1
D-53359 Rheinbach

Umsatzsteuer-Identifikationsnummer
gem. § 27 a Umsatzsteuergesetz:DE 238268154

Tel. +492226 / 87 21 40
Fax: +492226 / 87 21 49
http://www.tbf-it.de/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] sqlite and mysql

2007-08-03 Thread Dan Langille
On 3 Aug 2007 at 17:15, [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: Dan Langille [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: bacula-users@lists.sourceforge.net
 Sent:   03  2007 08:30
 Subject: Re: [Bacula-users] sqlite and mysql
 
 
  On 3 Aug 2007 at 6:48, [EMAIL PROTECTED] wrote:
 
  I have bacula 2.0.3 installed with sqlite on a machine that also
  has mysql on it
 
  for some reason when the bacula works, mysql has trouble working.
 
  Please define has trouble working.

Please do not top post.

When you say has trouble working, what do you mean?

  any suggestions?
 
  What OS are you using?

 Trustix 2.2

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] SQLite db problems with install

2007-08-03 Thread Philip Clifton
Hi, I'm trying to get Bacula 2.0.3 up and running on a 64-bit server 
running CentOS5.  I installed using the rpm packages, and ran the 
database initialization scripts as indicated, but when I try to start 
the director, I get the following message:

Starting the Bacula Director daemon
03-Aug 12:33 bacula-dir:  Fatal error: Database not created or server 
not running.
03-Aug 12:33 bacula-dir:  Fatal error: Could not open Catalog 
MyCatalog, database bacula.
03-Aug 12:33 bacula-dir:  Fatal error: Database not created or server 
not running.
03-Aug 12:33 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

Any ideas what I might be overlooking here?  bacula.db was created in 
/var/bacula, and appears to have been populated with table info.

-- 
Philip Clifton [EMAIL PROTECTED]
4-8-4/IntuiWORX - Intuitive, Innovative Software Development
http://www.intuiworx.com
Toll Free:   1-800-267-1708
Chattanooga, TN: (423) 443-3972 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] sqlite and mysql

2007-08-03 Thread benny
mysql queries get stuck when bacula start working.

- Original Message - 
From: Dan Langille [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Sent: יום שישי 03 אוגוסט 2007 17:20
Subject: Re: [Bacula-users] sqlite and mysql


On 3 Aug 2007 at 17:15, [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: Dan Langille [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: bacula-users@lists.sourceforge.net
 Sent:   03  2007 08:30
 Subject: Re: [Bacula-users] sqlite and mysql


  On 3 Aug 2007 at 6:48, [EMAIL PROTECTED] wrote:
 
  I have bacula 2.0.3 installed with sqlite on a machine that also
  has mysql on it
 
  for some reason when the bacula works, mysql has trouble working.
 
  Please define has trouble working.

Please do not top post.

When you say has trouble working, what do you mean?

  any suggestions?
 
  What OS are you using?

 Trustix 2.2

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php




-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] sqlite and mysql

2007-08-03 Thread benny
Trustix 2.2

- Original Message - 
From: Dan Langille [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Sent: יום שישי 03 אוגוסט 2007 08:30
Subject: Re: [Bacula-users] sqlite and mysql


 On 3 Aug 2007 at 6:48, [EMAIL PROTECTED] wrote:

 I have bacula 2.0.3 installed with sqlite on a machine that also has
 mysql on it

 for some reason when the bacula works, mysql has trouble working.

 Please define has trouble working.

 any suggestions?

 What OS are you using?

 -- 
 Dan Langille - http://www.langille.org/
 Available for hire: http://www.freebsddiary.org/dan_langille.php


 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature Request: A new status type for expired backups

2007-08-03 Thread Ruben Lopez
Item 1:   Create a new backup status type for expired backups 
(max-delay-time surpased)
  Date:   03 August 2007
  Origin: [EMAIL PROTECTED]
  Status:
  What:   Create a new backup status type different from 'A' to be able 
to distinguish backups canceled by the user and canceled automatically 
by the bacula program (because of max-delay-time)
  Why:It is very confusing for the system administrators to see 
canceled backups and be unable to know if they expired or were canceled 
intentionally by another administrator.
  Notes:  A workaround in the mean time, substract the start time and 
scheduled time and compare with the maximum delay time of the job. 
Anyway, this won't work if the maximum delay time is changed by some 
administrator.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] sql on remote machine

2007-08-03 Thread Omer Faruk Sen

 Is it possible to use sql (mysql actually) backend that resides on a remote 
machine? If the answer is yes can some one point me to an URL
that details this because I couldn't able to find after searching it on net.

Best Regards.




   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] sql on remote machine

2007-08-03 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Omer Faruk Sen wrote:
  Is it possible to use sql (mysql actually) backend that resides on a remote 
 machine? If the answer is yes can some one point me to an URL
 that details this because I couldn't able to find after searching it on net.

Yes, it is possible. You just need to create the database there (check
the make_mysql_tables script) and then change the catalog entries in
bacula-dir accordingly.

Greetings,
  Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFGs4V52Vs+MkscAyURAjMzAKCihwK/1/LMwefVAmZqCf9cMewOQQCggPNG
t82Jr+DJsRx1nDSiAd1Iu+g=
=WzWd
-END PGP SIGNATURE-


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] switch from sqlite to mysql

2007-08-03 Thread benny
Hi 

I have bacula 2.0.3 installed on trustix 2.2 with sqlite.

I would like to change to mysql.
I don't really care about the data that is already in the sqlite db.

How can I make bacula use mysql instead of sqlite?

Thanks-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] switch from sqlite to mysql

2007-08-03 Thread Dan Langille
On 3 Aug 2007 at 23:15, [EMAIL PROTECTED] wrote:

 I have bacula 2.0.3 installed on trustix 2.2 with sqlite.
 
 I would like to change to mysql.
 I don't really care about the data that is already in the sqlite db.
 
 How can I make bacula use mysql instead of sqlite?

You will need to reinstall, with the MySQL option, instead of the 
SQLite option.

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] switch from sqlite to mysql

2007-08-03 Thread Dan Langille
On 3 Aug 2007 at 23:40, [EMAIL PROTECTED] wrote:

 - Original Message - 
 From: Dan Langille [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: bacula-users@lists.sourceforge.net
 Sent:   03  2007 23:41
 Subject: Re: [Bacula-users] switch from sqlite to mysql
 
 
  On 3 Aug 2007 at 23:15, [EMAIL PROTECTED] wrote:
 
  I have bacula 2.0.3 installed on trustix 2.2 with sqlite.
 
  I would like to change to mysql.
  I don't really care about the data that is already in the sqlite
  db.
 
  How can I make bacula use mysql instead of sqlite?
 
  You will need to reinstall, with the MySQL option, instead of the
  SQLite option.

Please do not top-post.

 Re-installing won't erase my conf files right?

I am not familiar with how you installed, so I cannot answer that.  
The safe bet is to save them.  Any decent packaging/installation 
system will not overwrite existing configuration files.

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] switch from sqlite to mysql

2007-08-03 Thread benny
Re-installing won't erase my conf files right?

- Original Message - 
From: Dan Langille [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Sent: יום שישי 03 אוגוסט 2007 23:41
Subject: Re: [Bacula-users] switch from sqlite to mysql


 On 3 Aug 2007 at 23:15, [EMAIL PROTECTED] wrote:

 I have bacula 2.0.3 installed on trustix 2.2 with sqlite.

 I would like to change to mysql.
 I don't really care about the data that is already in the sqlite db.

 How can I make bacula use mysql instead of sqlite?

 You will need to reinstall, with the MySQL option, instead of the
 SQLite option.

 -- 
 Dan Langille - http://www.langille.org/
 Available for hire: http://www.freebsddiary.org/dan_langille.php


 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup to a disk, limited space

2007-08-03 Thread Martin Simmons
 On Thu, 2 Aug 2007 10:45:33 +0300, Dimitrios  said:
 
 I'd like to backup my web server to my local system. So far everything seems
 to work fine, i've setup encryption via TLS (certificates, etc) and the
 services running under Fedora 7.
 
 Unfortunately, there is one thing that i don't quite understand while
 reading the manual. I don't understand how to reserve 20 gigs of harddisk
 space for backups.
 
 In other words, i'd like to force bacula to use /var/spool/bacula to store
 my backups and to make sure it uses maximum 20 gigs. Once those are filled,
 it should reuse them over and over again.
 
 My pool looks like this, but i'm not sure if its doing what i described:
 
 Pool {
   Name = Default
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 365 days
   Maximum Volumes = 1
   Maximum Volume Bytes = 20g
 }
 
 Any help would be appreciated.

That is a bad configuration because bacula only recycles complete volumes, so
it will no recycle the 20g volume until all of it has reached its retention
period.

You probably want

Maximum Volumes = 20
Maximum Volume Bytes = 1g

__Martin

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] waiting to reserve a device?

2007-08-03 Thread Martin Simmons
 On Thu, 2 Aug 2007 02:19:58 -0400 (EDT), Charles Sprickman said:
 
 Also, how can I view what the scheduler thinks it should be doing next? 
 list jobs doesn't seem to peer into the future...

status dir days=n

__Martin

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] single error = tape useless

2007-08-03 Thread Martin Simmons
 On Thu, 02 Aug 2007 13:49:10 +0200, Carsten Ralle said:
 
 I've been struggling with Bacula for a single backup installation for
 almost 4 months now. Although installation and configuration are well
 documented I'm still confused by two problems we can't get solved:
 
 1. Even with brand new tapes, on two different tape drives, using
 continuous cleaning cycles, the tapes that used to store between 11.5
 and 13 GB uncompressed data on a windows machine only take about 8 GB
 using bacula (same drive, same tapes).
 
 Following the advice to switch off software compression when hardware
 compression is enabled, we run tests with following results (always the
 same fileset of 23 GB uncompressed data)
 
 hw-compress  sw-compress  spool size  data/tape  total # of tapes used
 on  on   14 GB   8.2 GB  1.7
 on  off  23 GB  12.9 GB  1.8
 
 so we use the installation with both sw and hw compression turned on, as
 it gives us better performance and less tapes/backup.
 
 Why is it impossible to store more then 8 GB on a 12/24GB tape. Again:
 we ran the tests on multiple different drives (HP15xx and Sony
 DDS3-drives).

The problem is that DDS hw compression is not very good.  In particular, when
you use sw compression as well, the data written to tape actually gets
expanded by the hw compression so your 8.2 GB of input gets written as 12 GB
on the tape!

Have you tried with hw compression off and sw compression on?


 2. Up to now a verify at level VolumeToCatalog always (!) brings up at
 least one error of the type Error: block.c:317 Volume data error at
 3:2817! Block checksum mismatch in block=2817 len=64512: calc=8fe728a4
 blk=bd217fe3 in the middle of the tape.
 After that bacula dupms the whole remaining file list into an email
 message of about 30MB in size.
 
 - Is there any way to make Bacula stop to send the file list while keep
 on sending email notifications ?

If your mailcommand uses bsmtp, then you can set the -l option.


 - How can it be, that a single error renders the whole tape of a backup
 useless ? Why does bacula not continue to verify the other 80% of a
 backup and tells something like block error while reading ..., missing
 files  ?

Hmm, I thought it would continue.  Are there any other errors after the
checksum mismatch?  Can you try restarting the bacula-sd with the -p option?

__Martin

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users