Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
 
 I have only ever used Amanda with the tar backend (never dump), so I can
 only speak to that.  Amanda's tar backend works exclusively with, and
 requires, GNU tar.  Amanda uses GNU tar's listed incremental mode.  See
 http://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html
 for details.

tar's listed incremental mode is seriously broken; at  least  it  was
when  I  tried  to  use  it  -  espeicially  when  combined  with the
--one-file-system option. Basicly it may omit whole directories,  and
different  ones depending if you use relative or absolute path names.
I've been told at that time that one must not  use  --one-file-system
and  --listed-incremental  in one call, which makes this unusable for
any bigger systems with mounted partitions.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
CAUTION:  The Mass of This Product Contains the Energy Equivalent  of
85 Million Tons of TNT per Net Ounce of Weight.


---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restoring windows fils from a fileset with backslash

2006-03-22 Thread Rene Brask Sørensen

Hi all

I have quite a big problem restoring a windows fileset, I can't traverse 
the filetree bacula builds but when I search for the file I want to 
restore I can find it. It seems like my problem comes from my fileset 
definition where I have used a backslash instead of a front slash.


how can I restore the file ? can I just fit the fileset definition and 
then restore the file ?


please help

Best regards

René


---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Properly set indexs for MySQL

2006-03-22 Thread Gavin Conway

Hi Kern,

I did notice the difference when looking at the two installs I have 
here. Here is the output from the two;


Debian Sarge 3.1 Bacula 1.36.2 (installed from the debian stable tree)

+---+++--+-+---+-+--++--++-+
| Table | Non_unique | Key_name   | Seq_in_index | Column_name | 
Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |

+---+++--+-+---+-+--++--++-+
| File  |  0 | PRIMARY|1 | FileId  | 
A |26781364 | NULL | NULL   |  | BTREE  | |
| File  |  1 | FilenameId |1 | FilenameId  | 
A |  653204 | NULL | NULL   |  | BTREE  | |
| File  |  1 | FilenameId |2 | PathId  | 
A |  686701 | NULL | NULL   |  | BTREE  | |

+---+++--+-+---+-+--++--++-+


Debian Sarge 3.1 Bacula 1.38.5 (installed from source)

+---++--+--+-+---+-+--++--++-+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation 
| Cardinality | Sub_part | Packed | Null | Index_type | Comment |

+---++--+--+-+---+-+--++--++-+
| File  |  0 | PRIMARY  |1 | FileId  | A 
|   0 | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId|1 | JobId   | A 
|NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId_2  |1 | JobId   | A 
|NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId_2  |2 | PathId  | A 
|NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId_2  |3 | FilenameId  | A 
|NULL | NULL | NULL   |  | BTREE  | |

+---++--+--+-+---+-+--++--++-+


Can anyone else running Debian Sarge 3.1 and the package in the debian 
stable tree confirm my findings? If they can then I'm quite concerned 
that this installation will have been deployed to clients.  Is there an 
easy way to add the missing indexes to the default install?


Thanks,
Gavin Conway

--
UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG
Tel: 08700 681 333  -  Fax: 01527 851 301  -  AS: 20547
[EMAIL PROTECTED]  -  www.uksolutions.co.uk




Kern Sibbald wrote:


Hello Gavin,

I suspect that you might be experiencing some serious performance problems.  A more 
appropriate set of indicies is probably something like what I have:


mysql show indexes from File;
+---++--+--+-+---+-+--++--++-+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | 
Cardinality | Sub_part | Packed | Null | Index_type | Comment |
+---++--+--+-+---+-+--++--++-+
| File  |  0 | PRIMARY  |1 | FileId  | A | 
1345013 | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId|1 | JobId   | A |  
  NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId_2  |1 | JobId   | A |  
  NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId_2  |2 | PathId  | A |  
  NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId_2  |3 | FilenameId  | A |  
  NULL | NULL | NULL   |  | BTREE  | |
+---++--+--+-+---+-+--++--++-+
5 rows in set (0.00 sec)

which is the default installation.

On Tuesday 21 March 2006 18:14, Gavin Conway wrote:
 


Barry,

This may be of some use;

mysql show indexes from File;
+---+++--+-+---
+-+--++--++-+

| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
| Cardinality | Sub_part | Packed | Null | Index_type | Comment |

+---+++--+-+---

Re: [Bacula-users] restoring windows fils from a fileset with backslash

2006-03-22 Thread Arno Lehmann

Hello,

On 3/22/2006 10:29 AM, Rene Brask Sørensen wrote:

Hi all

I have quite a big problem restoring a windows fileset, I can't traverse 
the filetree bacula builds but when I search for the file I want to 
restore I can find it. It seems like my problem comes from my fileset 
definition where I have used a backslash instead of a front slash.


Quite possible...

how can I restore the file ? can I just fit the fileset definition and 
then restore the file ?


Well, I'd recommend correcting the file set as soon as possible, but 
that will _not_ fix existing backups. For your current problem, you 
could try to locate the file in question in the catalog database and 
manually create a bootstrap file for it.


I never tried this, but I'm quite sure that it should be possible and, 
in case that file is really important, it's definitely worh the effort. 
You could also try to use bextract to dump a whole tapes contents to a 
local disk, I think.


Arno


please help

Best regards

René


---
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=kkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de



---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Properly set indexs for MySQL

2006-03-22 Thread Carlo Agrusti
I have installed debian packages downloaded from sourceforge (Bacula
1.36.3-2), which have been packed by the same maintainer of
1.36.2-2Sarge1, and I have still another index table:

+---++--+--+-+---+-+--++--++-+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
| Cardinality | Sub_part | Packed | Null | Index_type | Comment |
+---++--+--+-+---+-+--++--++-+
| File  |  0 | PRIMARY  |1 | FileId  | A
 |  550866 | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId|1 | JobId   | A
 |NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId|2 | PathId  | A
 |NULL | NULL | NULL   |  | BTREE  | |
| File  |  1 | JobId|3 | FilenameId  | A
 |NULL | NULL | NULL   |  | BTREE  | |
+---++--+--+-+---+-+--++--++-+
4 rows in set (0.00 sec)

P.S. I apologize for the very bad quoting, but couldn't find a better form.

cheers,
Carlo - a brand new Bacula user

Gavin Conway ha scritto lo scorso 22/03/2006 10:36:
 Hi Kern,
 
 I did notice the difference when looking at the two installs I have
 here. Here is the output from the two;
 
 Debian Sarge 3.1 Bacula 1.36.2 (installed from the debian stable tree)
 
 +---+++--+-+---+-+--++--++-+
 
 | Table | Non_unique | Key_name   | Seq_in_index | Column_name |
 Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 +---+++--+-+---+-+--++--++-+
 
 | File  |  0 | PRIMARY|1 | FileId  |
 A |26781364 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | FilenameId |1 | FilenameId  |
 A |  653204 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | FilenameId |2 | PathId  |
 A |  686701 | NULL | NULL   |  | BTREE  | |
 +---+++--+-+---+-+--++--++-+
 
 
 
 Debian Sarge 3.1 Bacula 1.38.5 (installed from source)
 
 +---++--+--+-+---+-+--++--++-+
 
 | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
 | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 +---++--+--+-+---+-+--++--++-+
 
 | File  |  0 | PRIMARY  |1 | FileId  | A
 |   0 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId|1 | JobId   | A
 |NULL | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2  |1 | JobId   | A
 |NULL | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2  |2 | PathId  | A
 |NULL | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2  |3 | FilenameId  | A
 |NULL | NULL | NULL   |  | BTREE  | |
 +---++--+--+-+---+-+--++--++-+
 
 
 
 Can anyone else running Debian Sarge 3.1 and the package in the debian
 stable tree confirm my findings? If they can then I'm quite concerned
 that this installation will have been deployed to clients.  Is there an
 easy way to add the missing indexes to the default install?
 
 Thanks,
 Gavin Conway
 



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Pool problem (drowned)

2006-03-22 Thread Ger Apeldoorn
Op woensdag 22 maart 2006 11:01, schreef Arno Lehmann:
Hi,

 The only idea I have is that you still have volumes with the (by now)
 wrong MediaType setting. Have you restarted the DIR and the SDs? Also,
 keep in mind that the volume metadata is stored in the catalog and you
 have to manually update it.

I restarted DIR and SD after configuring it and deleted the volumes with the 
wrong MediaType setting. 

What I find most peculiar is that if I run the job manually, everything is 
ok.. It only affects the ones started through the schedule

Ger



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Properly set indexs for MySQL

2006-03-22 Thread Kern Sibbald
Hello,

On Wednesday 22 March 2006 10:36, Gavin Conway wrote:
 Hi Kern,

 I did notice the difference when looking at the two installs I have
 here. Here is the output from the two;

 Debian Sarge 3.1 Bacula 1.36.2 (installed from the debian stable tree)

 +---+++--+-+---
+-+--++--++-+

 | Table | Non_unique | Key_name   | Seq_in_index | Column_name |

 Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 +---+++--+-+---
+-+--++--++-+

 | File  |  0 | PRIMARY|1 | FileId  |

 A |26781364 | NULL | NULL   |  | BTREE  | |

 | File  |  1 | FilenameId |1 | FilenameId  |

 A |  653204 | NULL | NULL   |  | BTREE  | |

 | File  |  1 | FilenameId |2 | PathId  |

 A |  686701 | NULL | NULL   |  | BTREE  | |
 +---+++--+-+---
+-+--++--++-+


 Debian Sarge 3.1 Bacula 1.38.5 (installed from source)

 +---++--+--+-+---+-
+--++--++-+

 | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
 | Cardinality | Sub_part | Packed | Null | Index_type | Comment |

 +---++--+--+-+---+-
+--++--++-+

 | File  |  0 | PRIMARY  |1 | FileId  | A
 |   0 | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId|1 | JobId   | A
 |NULL | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2  |1 | JobId   | A
 |NULL | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2  |2 | PathId  | A
 |NULL | NULL | NULL   |  | BTREE  | |
 | File  |  1 | JobId_2  |3 | FilenameId  | A
 |NULL | NULL | NULL   |  | BTREE  | |

 +---++--+--+-+---+-
+--++--++-+


 Can anyone else running Debian Sarge 3.1 and the package in the debian
 stable tree confirm my findings? If they can then I'm quite concerned
 that this installation will have been deployed to clients.  Is there an
 easy way to add the missing indexes to the default install?

It is quite possible that some older installations do not have all the proper 
indexes.  I'm not convinced that you need confirmation, you just need to add 
the missing indexes providing you are having performance problems or as a 
matter of precaution.  There is a chapter in the manual that has a section 
that specifically addresses performance and indexes -- probably the MySQL 
chapter. It provides details of how to create the indexes ...


-- 
Best regards,

Kern

  (
  /\
  V_V


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Properly set indexs for MySQL

2006-03-22 Thread Kern Sibbald
On Wednesday 22 March 2006 11:11, Carlo Agrusti wrote:
 I have installed debian packages downloaded from sourceforge (Bacula
 1.36.3-2), which have been packed by the same maintainer of
 1.36.2-2Sarge1, and I have still another index table:

 +---++--+--+-+---+-
+--++--++-+

 | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
 | Cardinality | Sub_part | Packed | Null | Index_type | Comment |

 +---++--+--+-+---+-
+--++--++-+

 | File  |  0 | PRIMARY  |1 | FileId  | A
 |
  |  550866 | NULL | NULL   |  | BTREE  | |
 |
 | File  |  1 | JobId|1 | JobId   | A
 |
  |NULL | NULL | NULL   |  | BTREE  | |
 |
 | File  |  1 | JobId|2 | PathId  | A
 |
  |NULL | NULL | NULL   |  | BTREE  | |
 |
 | File  |  1 | JobId|3 | FilenameId  | A
 |
  |NULL | NULL | NULL   |  | BTREE  | |

 +---++--+--+-+---+-
+--++--++-+ 4 rows in
 set (0.00 sec)

 P.S. I apologize for the very bad quoting, but couldn't find a better form.

The above is probably quite OK, as you have individual indexes on all the 
important columns.  If mine were like that, I wouldn't change it unless I 
were having performance problems ...


 cheers,
 Carlo - a brand new Bacula user

 Gavin Conway ha scritto lo scorso 22/03/2006 10:36:
  Hi Kern,
 
  I did notice the difference when looking at the two installs I have
  here. Here is the output from the two;
 
  Debian Sarge 3.1 Bacula 1.36.2 (installed from the debian stable tree)
 
  +---+++--+-+-
 --+-+--++--++-+
 
  | Table | Non_unique | Key_name   | Seq_in_index | Column_name |
 
  Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment
  |
  +---+++--+-+-
 --+-+--++--++-+
 
  | File  |  0 | PRIMARY|1 | FileId  |
 
  A |26781364 | NULL | NULL   |  | BTREE  |
  |
 
  | File  |  1 | FilenameId |1 | FilenameId  |
 
  A |  653204 | NULL | NULL   |  | BTREE  |
  |
 
  | File  |  1 | FilenameId |2 | PathId  |
 
  A |  686701 | NULL | NULL   |  | BTREE  |
  |
  +---+++--+-+-
 --+-+--++--++-+
 
 
 
  Debian Sarge 3.1 Bacula 1.38.5 (installed from source)
 
  +---++--+--+-+---
 +-+--++--++-+
 
  | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation
  | Cardinality | Sub_part | Packed | Null | Index_type | Comment |
 
  +---++--+--+-+---
 +-+--++--++-+
 
  | File  |  0 | PRIMARY  |1 | FileId  | A
  |   0 | NULL | NULL   |  | BTREE  | |
  | File  |  1 | JobId|1 | JobId   | A
  |NULL | NULL | NULL   |  | BTREE  | |
  | File  |  1 | JobId_2  |1 | JobId   | A
  |NULL | NULL | NULL   |  | BTREE  | |
  | File  |  1 | JobId_2  |2 | PathId  | A
  |NULL | NULL | NULL   |  | BTREE  | |
  | File  |  1 | JobId_2  |3 | FilenameId  | A
  |NULL | NULL | NULL   |  | BTREE  | |
 
  +---++--+--+-+---
 +-+--++--++-+
 
 
 
  Can anyone else running Debian Sarge 3.1 and the package in the debian
  stable tree confirm my findings? If they can then I'm quite concerned
  that this installation will have been deployed to clients.  Is there an
  easy way to add the missing indexes to the default install?
 
  Thanks,
  Gavin Conway

 ---
 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=lnkkid=110944bid=241720dat=121642
 

[Bacula-users] Bacula version 1.38.6

2006-03-22 Thread Kern Sibbald
Hello,

I will probably be releasing Bacula version 1.38.6 this weekend.  If any of 
you are using 1.38.6-beta6, I would recommend that you apply the attached 
patch, which corrects a mutex initialization bug.  This bug probably only 
affects *BSD users.  If you are not currently having problems, you can 
probably wait for the official release. More details on the patch and how to 
apply it are in the patch file.

-- 
Best regards,

Kern

  (
  /\
  V_V

This patch fixes a bug where a mutex was used before it
was initialized. This apparently was no problem for Linux,
but created a crash on Win32, and would probably also cause
problems on FreeBSD and other OSes with strict mutex checks.

Apply it to the 1.38.6-beta6 source directory with the
following:

  cd bacula-1.38.6-beta6
  patch -p0 1.38.6-beta6-mutex.patch
  make
  make install


Index: src/lib/jcr.c
===
RCS file: /cvsroot/bacula/bacula/src/lib/jcr.c,v
retrieving revision 1.75.2.6
retrieving revision 1.75.2.7
diff -u -u -r1.75.2.6 -r1.75.2.7
--- src/lib/jcr.c	14 Mar 2006 21:41:41 -	1.75.2.6
+++ src/lib/jcr.c	21 Mar 2006 11:33:43 -	1.75.2.7
@@ -4,7 +4,7 @@
  *
  *  Kern E. Sibbald, December 2000
  *
- *  Version $Id: jcr.c,v 1.75.2.6 2006/03/14 21:41:41 kerns Exp $
+ *  Version $Id: jcr.c,v 1.75.2.7 2006/03/21 11:33:43 kerns Exp $
  *
  *  These routines are thread safe.
  *
@@ -229,8 +229,8 @@
jcr-job_end_push.init(1, false);
jcr-sched_time = time(NULL);
jcr-daemon_free_jcr = daemon_free_jcr;/* plug daemon free routine */
-   jcr-inc_use_count();
jcr-init_mutex();
+   jcr-inc_use_count();
jcr-JobStatus = JS_Created;   /* ready to run */
jcr-VolumeName = get_pool_memory(PM_FNAME);
jcr-VolumeName[0] = 0;


Re: [Bacula-users] Turning compression on and off automatically

2006-03-22 Thread Alan Brown

On Tue, 21 Mar 2006, Bill Moran wrote:


For performance reasons, we'd like to have gzip turned off during tape
backups, but for space reasons: on during disk backups.


Does reiserfs V4 have compression modules yet?

Just a thought which would give you an easy way of doing it.

AB



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Pool problem (drowned)

2006-03-22 Thread Arno Lehmann

Hi,

On 3/22/2006 11:31 AM, Ger Apeldoorn wrote:

Op woensdag 22 maart 2006 11:01, schreef Arno Lehmann:
Hi,



The only idea I have is that you still have volumes with the (by now)
wrong MediaType setting. Have you restarted the DIR and the SDs? Also,
keep in mind that the volume metadata is stored in the catalog and you
have to manually update it.



I restarted DIR and SD after configuring it and deleted the volumes with the 
wrong MediaType setting. 

What I find most peculiar is that if I run the job manually, everything is 
ok.. It only affects the ones started through the schedule


Ok, so please use the 'show job=xxx' command. If you don't see the 
problem please post the resulting output, perhaps someone else sees 
what's wrong.


Arno


Ger



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 1.36.2-2sarge1 on Debian stable

2006-03-22 Thread Daehenoc
Hi all,

Daehenoc wrote:
 Yup, they are the same. Do these passwords need quotes
 surrounding them or should I remove the quotes that were present
 in the default configuration files?

 Quotes in Bacula config files are standard What's between these
 quotes is a single string ones.  They're superfluous when you don't
 have spaces in the parameter.  Which incidently means you need to
 escape any embeded quotes (\).  AFAIK, anyway.
 
 OK I've gone through the config files and set all Password fields to the
 same password, and removed the trailing '# Director password' strings
 that were present on some Password lines.
 
 I'm getting the same error!
 
 There must be a trick that I'm missing, this is a vanilla install on
 Debian stable, does anyone know of anything else that I could try!?

I've run bconsole -t 999 and here is the output:

# bconsole -d 999
bconsole: parse_conf.c:753 Enter parse_config()
bconsole: parse_conf.c:755 parse_config pass 1
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:180 Item=name def=no defval=0
bconsole: parse_conf.c:180 Item=description def=no defval=0
bconsole: parse_conf.c:180 Item=dirport def=yes defval=9101
bconsole: parse_conf.c:180 Item=address def=no defval=0
bconsole: parse_conf.c:180 Item=password def=no defval=0
bconsole: parse_conf.c:180 Item=enablessl def=yes defval=0
bconsole: parse_conf.c:761 parse got token=T_BOB
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for name
bconsole: mem_pool.c:127 sm_get_pool_memory give 8090ca0 to parse_conf.c:347
bconsole: mem_pool.c:221 free_pool_memory 8090ca0 pool=4 from
parse_conf.c:352
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for dirport
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for address
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for password
bconsole: parse_conf.c:761 parse got token=T_EOB
bconsole: parse_conf.c:830 T_EOB = define new resource
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:755 parse_config pass 2
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:180 Item=name def=no defval=0
bconsole: parse_conf.c:180 Item=description def=no defval=0
bconsole: parse_conf.c:180 Item=dirport def=yes defval=9101
bconsole: parse_conf.c:180 Item=address def=no defval=0
bconsole: parse_conf.c:180 Item=password def=no defval=0
bconsole: parse_conf.c:180 Item=enablessl def=yes defval=0
bconsole: parse_conf.c:761 parse got token=T_BOB
bconsole: parse_conf.c:761 parse got token=T_EOL
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for name
bconsole: mem_pool.c:111 sm_get_pool_memory reuse 8090ca0 to
parse_conf.c:347
bconsole: mem_pool.c:221 free_pool_memory 8090ca0 pool=4 from
parse_conf.c:352
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for dirport
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for address
bconsole: parse_conf.c:761 parse got token=T_IDENTIFIER
bconsole: parse_conf.c:803 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:810 calling handler for password
bconsole: parse_conf.c:761 parse got token=T_EOB
bconsole: parse_conf.c:830 T_EOB = define new resource
bconsole: parse_conf.c:761 parse got token=T_EOL
No record for 1001 console
Director: name=newlagaan-dir address=newlagaan DIRport=9101
bconsole: parse_conf.c:863 Leave parse_config()
Connecting to Director newlagaan:9101
bconsole: bnet.c:698 Current host[ipv4:192.168.0.3:9101] All
host[ipv4:192.168.0.3:9101]
bconsole: bnet.c:952 who=Director daemon host=newlagaan port=9101
bconsole: mem_pool.c:127 sm_get_pool_memory give 8091868 to bnet.c:957
bconsole: mem_pool.c:127 sm_get_pool_memory give 8091a98 to bnet.c:958
bconsole: watchdog.c:71 Initialising NicB-hacked watchdog thread
bconsole: watchdog.c:184 Registered watchdog 0x8091cc8, interval 300 one
shot
bconsole: btimers.c:169 Start 

Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread Arno Lehmann

Hello,

On 3/21/2006 9:39 PM, John Goerzen wrote:

Hello,

I have been using Amanda for backup for quite a few years now.  I'm
interested in Bacula and have read through most of the (large!) manual.
Bacula looks like a nice piece of software, but there are several things
that concern me about it.

1) In the manual, it states that if you move files into an existing
directory or move a while directory into the backup fileset after a Full
backup, those files will probably not be backed up by an Incremental.
That's concerning to me and seems a huge hole -- files are moved or
renamed all the time in our environment, and we would want them to still
be backed up.  Some other places in the manual, it suggests to copy
instead of move/rename directories.  But with a user base of several
hundred people, some of which aren't all that computer-savvy, that is
almost impossible.  In the Win32 area, it had another warning about the
same problem, with no apparent workaround other than to copy it.  Again,
a serious problem.  It seems that, as a temporary solution anyway, it
would be easy enough to just treat files inside moved/renamed
directories as new and back them up.


The temporary solution you suggest is part of what would be needed to 
implement a final soultion :-)


The problem there is not a conceptual one, it's rather that nobody 
implemented it yet. As you note, all the necessary data is available, 
it's only necessary to modify the FD to check each file against the 
catalog database, and for that purpose, I think, the DIR-FD-protocol 
needs to be modified. I think this is a rather large project.



2) I'm concerned that incremental and differential backups don't notice
deleted files.  When we restore from that, we could wind up with
thousands of deleted or renamed files -- *not* an exact image of the
system as of the last backup.  That also is a large problem.


See above...


3) We perform backups overnight, when no operators are here, so as to
minimize performance impact on our users.  We have enough data that it
is not possible to fit a full backup of every filesystem onto a single
tape.  However, it is possible to stagger the full backups so that we
guarantee each filesystem is backed up with a full backup once every
three days.  Amanda will automatically handle that staggering for us.
Can Bacula?


Not automatically. Instead, Bacula can use spooling, it can use 
autochangers, and it allows you to set up schedules as you want them. In 
the future, Bacula will allow job migration, opening up the whole new 
world of D2D2T backups.



4) Amanda has a nice degraded mode.  If the tape drive is offline, or
there is no tape in the drive, or the tape in the drive is not suitable
for backup, Amanda will run all incremental backups and store them to
disk.  The next morning when the operators arrive, they can correct the
problem and run amflush to move the data out to tape.  I notice that
Bacula has the ability to spool data to disk, but it doesn't appear to
be able to do that in a nice fashion in the presence of a tape error.
Correct?


Depends. Usually, tape errors result in the request for a new tape, and 
won't break running jobs. Once all data is spooled, it will wait until a 
usable tape is mounted and then continue despooling.



5) More generally, I am concerned about this notion of continuing to
append to a tape until it is full.  We would not know in advance when a
tape will fill up.  Simply waiting for the operator to swap tapes, and
then continuing with the backup, is not a workable solution for
performance reasons since we can't run backups during the day.  We would
be left with missing a night's backup.  Is there any better way we could
use Bacula's nifty append features in our setup?


Well, there are quite a number of ways to automatically mark a tape as 
Used, i.e. no longer appendable. Which one you chose depends on your needs.



6) And even more generally, are people actually using Bacula in medium
to large organizations?


There are setups I consider large. I know of some multi-TB setups, and I 
think you can find reports in the mailing lists about the problems 
native with such setups, like backup runs that take days and catalogs 
that grow beyond what the database handles without tweaking.



 Reading about how the author's test network is
using token ring, how some sites only have to swap tapes once a month,
and how many are able to keep using the same tape day after day makes me
think that Bacula may not really be suited for a situation in which we
store terabytes of information and back up dozens of machines.  Is that
an incorrect assumption?


I'd say so... swapping tapes only once a month or reusing the same tape 
over and over should, IMO, only be mentioned in the section Things to 
avoid if you want a Backup :-)


Arno


Thanks for all your work on Bacula and its manual.

-- John Goerzen



---
This SF.Net email is sponsored by xPML, a 

Re: [Bacula-users] Turning compression on and off automatically

2006-03-22 Thread Arno Lehmann

Hello,

On 3/21/2006 7:36 PM, Bill Moran wrote:

We have a number of filesets that get backed up both to tape and to
disk.

For performance reasons, we'd like to have gzip turned off during tape
backups, but for space reasons: on during disk backups.

It doesn't look as if there's a way to specify such a thing, aside from
creating seperate filesets - customized for the backup media.  Am I
missing anything?



I think there's no such option as you need.

But I think having the option to change the comprosseion option during 
job setup would be a good enhancement for the python interface.


This would require write access to the file set resource during the 
JobStart event, I think, and seeing how complicate a FileSet resource is 
it would be best to have an object with the appropriate methods and 
attributes.


Arno
--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unsubscribe from list

2006-03-22 Thread ola Lindergård
mvh//Ola


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread Alan Brown




That is correct. This feature is being worked on but for now, Bacula
restores ALL files, including deleted and renamed ones.


Most backup software works this way.


3) We perform backups overnight, when no operators are here, so as to
minimize performance impact on our users.  We have enough data that it
is not possible to fit a full backup of every filesystem onto a single
tape.


Can't you afford an autochanger?

If not, it is not difficult to write definition files to stage full 
backups for different machines through the week.



6) And even more generally, are people actually using Bacula in medium
to large organizations?  Reading about how the author's test network is
using token ring, how some sites only have to swap tapes once a month,
and how many are able to keep using the same tape day after day makes me
think that Bacula may not really be suited for a situation in which we
store terabytes of information and back up dozens of machines.  Is that
an incorrect assumption?


That is an incorrect assumption. I've read testimonials of people
backing up multiple TBs with Bacula on the list here.


Case in point - my setup is currently backing up approx 20TB of storage 
(SAN attached), along with a dozen smaller standalone machines (ethernet). 
This is being done using a Neo 4020 60 slot/2 drive LTO2 library (OEMed 
with a HP badge)



Other admins have reported backing up even larger amounts of data and 
using even larger libraries.


For the standalone machines, we cycle the tapes every 3 months in a GFS+1 
pattern - 200GB LTO2 tapes last about a week and are forcibly closed if 
not full at the end of 7 days. There are _always_ at least 3 complete 
backup cycles in the data safe (Site policy is that standalone machines 
are regarded as disposable and all data is carried on the SAN. These 
backups are primarily for fast recovery of OSes.)



Personally, I cannot understand people in a business environment reusing 
the same tape or tapes every other day, from the point of view of both 
real disaster recovery (tapes which are not in data safes, or offsite burn 
just as easily as the rest of the computing equipment) and archival file 
recovery.


My favourite example of the necessity of keeping archive data is the telco 
which turned out to have been backing up corrupt configuration data and 
had to go back 9 MONTHS in order to find a valid initial configuration 
which could be used as a start point (end result - telephone service 
completely unavailable over a 3 day period for more than 200,000 people, 
plus 6 weeks of disruptions as changelogs were spooled back into the 
switching equipment)



Of course, most large organizations will rather pay for commercial 
software (read Data Protector, Netbackup or TSM) than try open source 
software, but in theory, Bacula should work for them too. Just a few 
examples:


Bacula's featureset far exceeds that of many commercial packages, 
including more than a few which end up costing tens of thousands of 
dollars/euro in a large setup.



By far the biggest set of postings on this list revolves around fileset 
definition questions, which is understandable given the complexity of the 
questions. In larger backup sets the issues become less complex as it 
tends to simply become backup everything


The second most common set of queries revolves around people trying to 
provide reliable backups with inadequate amounts of hardware, requiring 
more operator intervention.


(These days actual compilations questions are rare, thanks to the
 widespread (and very welcome) availability of precompiled packages)


Quite simply: In a professional environment, if your full overnight 
backups do not fit on a single tape then you either need an adequately 
sized changer or larger tapes. Simple economic calculations will show that 
staff costs will easily exceed that of adequate hardware in short order 
when intervention is continuously required.



That does not apply for hobbyist environments: At home I use a DAT drive, 
am prepared to change tapes as required and am also aware of the inherent 
unreliability of the medium - I'm also quite ruthless about discarding 
tapes which generate errors. If I didn't have a DAT, I'd probably be using 
several USB external disk drives, in order to be able to keep at least one 
full backup offsite (and will likely go that way when the DAT drive 
finally dies)



Bacula itself is very much set-and-forget for most people and a setup 
which requires continual operator intervention is likely poorly thought 
out in the first place.


AB



---
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=lnkkid=110944bid=241720dat=121642
___

Re: [Bacula-users] Pool problem (drowned)

2006-03-22 Thread Ger Apeldoorn
I'll just go eat my hat...

This was in my config file

JobDefs {
  Name = DefaultNASJob
  Type = Backup
  Level = Differential
  Client = beagle-fd
  FileSet = beagle
  Schedule = WeeklyCycle
  Storage = FileNAS
  Messages = Standard
  Pool = NAS-Files
  Priority = 10
}

The schedule should be WeeklyNASCycle In the WeeklyCycle, the pool was 
overruled with Pool=Monthly/Weekly/Daily... 

Doh! 

Anyway, that was the explanation that it only went wrong when using a 
schedule... I was using the wrong one!

Arno, thanks a lot for your help!

Greetings,
Ger.

Op woensdag 22 maart 2006 12:35, schreef Arno Lehmann:
 Hi,

 On 3/22/2006 11:31 AM, Ger Apeldoorn wrote:
  Op woensdag 22 maart 2006 11:01, schreef Arno Lehmann:
  Hi,
 
 The only idea I have is that you still have volumes with the (by now)
 wrong MediaType setting. Have you restarted the DIR and the SDs? Also,
 keep in mind that the volume metadata is stored in the catalog and you
 have to manually update it.
 
  I restarted DIR and SD after configuring it and deleted the volumes with
  the wrong MediaType setting.
 
  What I find most peculiar is that if I run the job manually, everything
  is ok.. It only affects the ones started through the schedule

 Ok, so please use the 'show job=xxx' command. If you don't see the
 problem please post the resulting output, perhaps someone else sees
 what's wrong.

 Arno

  Ger
 
 
 
  ---
  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=lnkkid=110944bid=241720dat=121642
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: Announcing Bacuview-1.3, now with MySQL support

2006-03-22 Thread John Kodis
Thanks for the report Mark.  I'm glad to hear that Bacuview is working
well for you in a production installation, particularly since I don't
use MySQL in production, and so have only a small dummy MySQL database
to test against here.

Since Fedora Core 5 was released a couple days ago, I'll go through a
complete installation of Bacuview on that platform, and insure that
I've addressed the rough spots in the installation instructions that
you've reported.

I've had other requests for some type of query by filename feature.
I'll probably put this in place in the not-too-distant future, but I
have a few other query clean-ups in mind that I'd like to get to
first.  As for extending this into a complete front-end for the
restoration process, at this point I'd prefer to stick with query and
reporting functions, and as you suggest, let bconsole and friends
handle the restores (but then, prior to a few months ago, I had no
idea that I'd be developing an application like Bacuview to begin
with, so you never know!)

-- John Kodis.

On Tue, Mar 21, 2006 at 10:18:15AM -0800, Mark Nienberg wrote:
 John Kodis wrote:
 I've just released version 1.3 of the Bacuview web application to
 its home on RubyForge, http://bacuview.rubyforge.org/, where you can
 go for screen shots and to read the NEWS, ChangeLog, and INSTALL
 files.
 
 In addition to the usual minor bug fixes, this release has one fairly
 major improvement: It now supports Bacula installations that use MySQL
 as their database engine.  
 
 All that's needed to support a MySQL database is to set the adapter to
 mysql in the config/database.yml file.  Bacuview picks this up and
 performs behind-the-scenes magic to deal with the naming differences
 between Postgres and MySQL databases.
 
 I'd be happy to answer any questions that you have, and to hear of any
 suggestions that you have for this project.  I hope that you find it
 useful.
 
 Thank you for this.  I installed it yesterday from scratch.  Here are 
 some suggestions for the INSTALL page.
 
 
 RUBY
 
 
 In this section you should also describe installation of IRB.  I don't 
 know if this gets installed as part of building ruby from source, but in 
 Fedora Core 4 it is a separate rpm package and you need
 yum install irb.
 
 I don't know if it was necessary, but I also installed the rpms for 
 ruby-devel and ruby-mysql.
 
 GEM INSTALL
 ---
 
 For mysql users you can skip the gem install postgres and instead do 
 gem install mysql.  If that fails (it did for me) you can try
 gem install mysql --with-mysql-config=/usr/lib/mysql/mysql_config or 
 something similar.  Frankly, I tried so many things that I'm not sure 
 what finally worked.
 
 
 Is there any chance this program could be extended to allow file 
 searches within the database?  I'd love to be able to enter a partial 
 name of a file and get back a list of all occurrences of that name along 
 with the file dates and the jobs that contain it.  Then I could go to 
 bconsole and jump right to the correct job for restoration.
 
 Ultimately, could it be a complete front end for file restoration?
 
 Thanks again,
 Mark Nienberg
 
 
 
 ---
 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=lnkkid=110944bid=241720dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula rescue cd alternative ?

2006-03-22 Thread Mikael Kermorgant
Hello,

I'm using bacula 1.38.5 on around 20 machines and I have some
questions concerning disaster recovery.

a) The rescue cdrom
I'd like to use the bacula client shipped on the Knoppix but the
version is 1.36.2.
Will there be a version conflict in case of a restore from my 1.38.5
bacula server ?
Do you know another livecds containing bacula client ?

Besides, I remember having read Kern writing of a different approach
for the livecd. If I'm correct, the aim was to build a generic rescue
cd. Is this project burried ?

b)  In case of disaster on the bacula server, the documentation
mentions 2 solutions :

   1. Bring up static versions of your Director, Catalog, and Storage daemon.
   2. Move your server to another machine.

I wondered if a third solution based on a full backup on one tape and
a statically compiled bextract would work ? If so, it could be a
cheap arhiving solution (just a copy of a volume with a full backup
on dvd or another hard disk).

Thanks in advance,
--
Mikael Kermorgant


---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backing up MS SQL Server

2006-03-22 Thread hikari
Hi Peeps,

Anyone here have any experience of backing up a MS SQL Server?
Right now I've got the Agent doing a full backup of all the databaes
to disk based backup files, before the bacula job is scheduled to
run; I'm wondering if anyone knows/is using a more elegant solution.

-- 
Chris


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula rescue cd alternative ?

2006-03-22 Thread Kern Sibbald
On Wednesday 22 March 2006 14:06, Mikael Kermorgant wrote:
 Hello,

 I'm using bacula 1.38.5 on around 20 machines and I have some
 questions concerning disaster recovery.

 a) The rescue cdrom
 I'd like to use the bacula client shipped on the Knoppix but the
 version is 1.36.2.
 Will there be a version conflict in case of a restore from my 1.38.5
 bacula server ?

Any version 1.38.x should be fine, but there is very little chance that a 
1.36.x client will work with a 1.38.x Dir/SD.

 Do you know another livecds containing bacula client ?

The Bacula rescue disk.


 Besides, I remember having read Kern writing of a different approach
 for the livecd. If I'm correct, the aim was to build a generic rescue
 cd. Is this project burried ?

As far as I know, it works fine.  It has saved me hours of restoring on 
several occasions.  I am not sure that it really can be built on all systems 
since I only have Fedora FC4 on which to test ...

The advantage of the Bacula rescue over other livecd's is that it has handy 
scripts for repartitioning and formatting your hard disk as it was prior to 
any problem -- should you need to replace it or start from scratch.


 b)  In case of disaster on the bacula server, the documentation
 mentions 2 solutions :

1. Bring up static versions of your Director, Catalog, and Storage
 daemon. 2. Move your server to another machine.

 I wondered if a third solution based on a full backup on one tape and
 a statically compiled bextract would work ? If so, it could be a
 cheap arhiving solution (just a copy of a volume with a full backup
 on dvd or another hard disk).

That should work, but if you have more than one Volume or more than only one 
Full backup on your Volume, you should probably also save a bootstrap file 
written during the backup with your static bextract, and in any case, you 
will need a copy of your bacula-sd.conf file as well (to save time 
re-creating one).

Please read the Restore chapter of the development manual -- it has a lot of 
tips and ideas.


 Thanks in advance,
 --
 Mikael Kermorgant


 ---
 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
___ Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread John Goerzen
On Wed, Mar 22, 2006 at 09:23:46AM +0100, Wolfgang Denk wrote:
 tar's listed incremental mode is seriously broken; at  least  it  was
 when  I  tried  to  use  it  -  espeicially  when  combined  with the
 --one-file-system option. Basicly it may omit whole directories,  and
 different  ones depending if you use relative or absolute path names.
 I've been told at that time that one must not  use  --one-file-system
 and  --listed-incremental  in one call, which makes this unusable for
 any bigger systems with mounted partitions.

All I can say is that I've never had a problem with it, at least in the
way Amanda is calling it.  Amanda of course has control over giving it
absolute or relative path names, and of using --one-file-system or
passing it --exclude rules.

Amanda with the GNU tar backend really does seem to Do The Right Thing,
in my experience anyway.

-- John



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] problem with one client

2006-03-22 Thread Ted Serreyn








I have a group of machines that get backed up with bacula. However,
one new machine is giving me problems. The backups appear to begin, but fail.



22-Mar 08:15 sns-mgmt-fd:
Sns-mgmt-all.2006-03-22_08.10.28 Fatal error:
c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/backup.c:500 Network
send error to SD. ERR=Input/output error 22-Mar 08:15 sns-mgmt-fd:
Sns-mgmt-all.2006-03-22_08.10.28 Error:
c:\cygwin\home\kern\bacula\k\src\win32\lib\../../lib/bnet.c:393 Write error
sending len to Storage daemon:vm:9103: ERR=Input/output error 22-Mar 08:17
vm-dir: Sns-mgmt-all.2006-03-22_08.10.28 Error: Bacula 1.38.5 (18Jan06):





The box is a win2k-SP4 box. All boxes are defined verify
similar in the network, running bacula 1.38.5 on server, 1.38.4 (windows
build?) on the client.



Where do I start to debug this further? Ideas on the error.



Network connectivity is fine, other clients can write fine
to the storage daemon.





-- 
Ted
Serreyn
Phone: 262-432-0260 Fax: 262-432-0232
Serreyn Network Services,
LLC http://www.serreyn.com/










Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread John Goerzen
On Wed, Mar 22, 2006 at 09:20:49AM +0100, Wolfgang Denk wrote:
 Another isse I see is the also metnioned feature to back  up  files
 based  on the time stamps alone. This does not catch any renames, and
 it also does not catch NEW files with old time stamps  (like  when  I
 download some stuff from the net preserving the original timestamps).
 This is BAD.

Hmm.  Wouldn't the ctime be set to the time at which you downloaded the
file, and wouldn't Bacula be able to notice it based on the ctime then?

If not, that does sound bad.

-- John



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread Kern Sibbald
On Wednesday 22 March 2006 04:53, John Goerzen wrote:
 On Tue, Mar 21, 2006 at 11:29:08PM +0100, Kern Sibbald wrote:
  Hello,
 
  I'll let real users such as Michel Meyers and others answer most of the
  questions for you, but I thought I'd throw in a few minor comments.

 Hi Kern,

 Thanks for taking the time to reply personally and for all your work on
 Bacula.

 Also, I've got to say that we've all decided that Bacula has the best
 slogan of any backup program we've ever seen ;-)

  Unless I am mistaken, Amanda mostly uses certain Unix programs like tar
  for backing up and restoring data.  If that is the case, then it (Amanda)
  suffers from exactly the same problem -- in fact a large number of
  problems such as Bacula base backups on the date/time stamps, which is
  the origin of the problem.

 I have only ever used Amanda with the tar backend (never dump), so I can
 only speak to that.  Amanda's tar backend works exclusively with, and
 requires, GNU tar.  Amanda uses GNU tar's listed incremental mode.  See
 http://www.gnu.org/software/tar/manual/html_node/Incremental-Dumps.html
 for details.

 In short, tar notes every file's name, inode number, and [cm]time in a
 separate file when performing the full backup.  When performing
 incremental backups, it compares the state of the filesystem to the
 recorded state and does what it needs to to update the state.

 It also puts a list of all files in each backed up directory into the
 archive with every operation.  When extracting an incremental archive,
 when using -G (which amanda can), tar will actually delete files from
 the host filesystem that weren't present at the time of the backup.

 So, this solves both the problem of leaving deleted files around and the
 problem of not noticing renamed/moved files.  Since Bacula appears to
 already have essentially that information in its Catalog, it seems that
 it already has the tools to accomplish the same thing.

Thanks for filling me in on the ins and outs of GNU tar.   Hopefully, the 
Bacula project to resolve these problems will pop to the top of the list of 
the list soon -- it is project #3 the highest priority project that is not 
yet started (#1 is essentially complete, and #2 is about 50-80% complete).


   Reading about how the author's test network is
   using token ring,
 
  I don't know where this quote came from, but I don't have a token ring,
  and I have never had one.

 I was sure I saw that in rel-bacula.pdf, but on looking now, I can't
 find it.  Must have been mistaken.  Sorry about that.

 Thanks,

 -- John

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restoring windows fils from a fileset with backslash

2006-03-22 Thread Erich Prinz


Manually creating a bootstrap record: how?! Inquiring minds want to  
know!


I created a client record and inadvertently left out the bootstrap  
directive. No problem since it was a local test machine, but given my  
ability to really hose things up it would be super to have a way to  
'recover' from my own mistakes.


Erich

On Mar 22, 2006, at 4:05 AM, Arno Lehmann wrote:


Hello,

On 3/22/2006 10:29 AM, Rene Brask Sørensen wrote:

Hi all
I have quite a big problem restoring a windows fileset, I can't  
traverse the filetree bacula builds but when I search for the file  
I want to restore I can find it. It seems like my problem comes  
from my fileset definition where I have used a backslash instead  
of a front slash.


Quite possible...

how can I restore the file ? can I just fit the fileset definition  
and then restore the file ?


Well, I'd recommend correcting the file set as soon as possible,  
but that will _not_ fix existing backups. For your current problem,  
you could try to locate the file in question in the catalog  
database and manually create a bootstrap file for it.


I never tried this, but I'm quite sure that it should be possible  
and, in case that file is really important, it's definitely worh  
the effort. You could also try to use bextract to dump a whole  
tapes contents to a local disk, I think.


Arno


please help
Best regards
René
---
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=kkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de



---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Potential concerns about Bacula

2006-03-22 Thread Michel Meyers

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Goerzen wrote:

On Wed, Mar 22, 2006 at 12:11:10PM +, Alan Brown wrote:

That is correct. This feature is being worked on but for now, Bacula
restores ALL files, including deleted and renamed ones.

Most backup software works this way.


Then most backup software is broken.  Perhaps Bacula can be better.


Usually that software is designed with the recovery of 'as much as
possible data' in mind, not with the 'recover the state of date X'. It
works for most people (I'd rather have too much restored than not enough).

That said, the feature is on the 'todo list' for Bacula (as Kern already
mentioned)


3) We perform backups overnight, when no operators are here, so as to
minimize performance impact on our users.  We have enough data that it
is not possible to fit a full backup of every filesystem onto a single
tape.

Can't you afford an autochanger?


Well, it hasn't been necessary since Amanda can schedule everything
nicely for us.  It's beginning to sound like if we want to use Bacula,
we'd have to do a full backup every night.  I'll have to look into it
some more, I suppose.


Again: Bacula will not try to avoid tape mounts. Apart from AMANDA, I
know of no backup system that does (and AFAIK AMANDA does it because it
can't, or at least couldn't in the past, span backups accross multiple
tapes). You can manually tell the system when to do full backups for
what, but you still risk exceeding the size of a tape (if the volume
grows too much). The only way to be 100% sure that you won't need to
manually mount a tape is to:
- - stay with AMANDA (which obviously does it very well for you)
- - throw hardware at the problem (huge tapes that you'll never manage to
fill with a single full backup, or an autochanger)


Quite simply: In a professional environment, if your full overnight
backups do not fit on a single tape then you either need an adequately
sized changer or larger tapes. Simple economic calculations will show that
staff costs will easily exceed that of adequate hardware in short order
when intervention is continuously required.


Now in your environment, though, you were not worrying about offsite
backups and also were using a single tape for a whole week.  I'm a
little confused about what you're suggesting here.


That always depends on the environment. For example, in mine I do the
backups during the day (so that somebody IS on site to change the tape
when Bacula requests it). This is bound to change (we just received our
first Autochanger, I still have to unpack and install it) and then
backups will be moved to the night (with tape moves being done
independently during the day).


At our site, our policy has been to, each morning, take the most recent
backup tapes offsite.  Offsite means a waterproof, fireproof safe
deposit box in a bank's vault.  That way, if disaster should strike, our
most recent backup would be available offsite.


In the other envirnment that I have (separate company which doesn't use
Bacula), we have that too only that our backups run on a fixed schedule
and span tapes (the bot just ejects the ones that should leave and
operators take them away to the vault and feed the bot with the ones
that come back from it). Having an autochanger and your full backups
span more than one tape does not prevent a DR setup where tapes go off-site.


Bacula itself is very much set-and-forget for most people and a setup
which requires continual operator intervention is likely poorly thought
out in the first place.


Depends: If you do off-site vaulting, you need continual operator
intervention to cycle the tapes, but that happens independantly of the
backups (ie not while they're running).

Greetings,
  Michel

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32) - GPGrelay v0.959

iD8DBQFEIW0b2Vs+MkscAyURAikMAJ9qJmea2ApwhgqQbRMF/5m1r++opACeMsKT
OhfUqFB41QE52uSisKdN+PA=
=rx3g
-END PGP SIGNATURE-


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RunBeforeJob Directive

2006-03-22 Thread Barry Benowitz








Hi all,



Can you provide more than one RunBeforeJob
directive to a single Job? This would be very handy to avoid unnecessarily
complicated scripts.



Thanks in advance.







Barry Benowitz

Raritan Computer

(732) 764 8886 x1362

[EMAIL PROTECTED]










RE: [Bacula-users] RunBeforeJob Directive

2006-03-22 Thread AGYNAMIX Torsten Uhlmann



Hi Barry,

in the mean time have a look at my little script. I 
called it run.sh and call it in a RunBeforeJob directive. The names of the other 
scripts are its parameters.
Maybe it's useful:

#!/bin/sh

SCRIPT_PATH=/usr/local/bacula/scripts:/usr/local/bacula/agy-scripts

PATH=$SCRIPT_PATH:$PATH

for i in $@do echo "running $i" 
$i RC=$? if [ $RC -ne 0 ] 
then echo "error $RC running $i" 
exit $RC fidone
regards,
Torsten
--Torsten UhlmannAGYNAMIX(R). Sheltering 
Talent.Phone: +49 3721 
273445Fax: +49 3721 273446Mobile: +49 177 
5261680Web: http://www.agynamix.de 


  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Barry 
  BenowitzSent: Wednesday, March 22, 2006 5:13 PMTo: 
  bacula-users@lists.sourceforge.netSubject: [Bacula-users] 
  RunBeforeJob Directive
  
  
  Hi 
  all,
  
  Can you provide more than one 
  RunBeforeJob directive to a single Job? This would be very handy to avoid 
  unnecessarily complicated scripts.
  
  Thanks in 
  advance.
  
  
  
  Barry 
  Benowitz
  Raritan 
  Computer
  (732) 764 8886 
  x1362
  [EMAIL PROTECTED]
  


[Bacula-users] Debian Sarge - Bacula configuration

2006-03-22 Thread Simmel



Hi guys,

I'd love to ask a few questions if I may 
:-)

I'm quite new to Bacula and tried to set it up on a 
test server using Debian Sarge (stable). I got some understanding problems 
though, and I hope you can help me with my "brainfarts".

Okay first of all, let me sum up the facts 
again.

On the server side

There is a director (may be more then 
one)   
-Bacula-dir.conf
There is a storage (same 
here)-Bacula-sd.conf
There is a database  


  - It's a postgres DBin Debian 
(AFAIK mentioned/configured in bacula-dir.conf)

On the client side

There is a file deamon  


 - Bacula-fd.conf

I have setup 2 PCs here im my lab and I'm trying to 
get it started. What I'd like to do is "just simply" do a complete backup from 
my host to the server. The server (in this scenario) should be running 
allserver daemons/parts, so to speak director, storage and database (all 
in one).

The client should be backed up completly and in 
addition to that I'd like (to try) to be able to install the client from bare 
metal with the floppy discs (talking about desaster recovery). After I've 
achieved that, I'd like to use SSL (I found a HowTo that covers that quite 
okay).

But I alreadystumble over the main config 
files. I've read the documentation (apt-get bacula-doc) quite a few 
timesand found out that there need to be crossreferences, which I don't 
quite get yet. I hope I can get some clarification from you guys (would be 
awesome).

I'm totally new to this topic and I' having a hard 
time with the comments, I don't find them very usefull.

Questions:

1. The easy way. Is there someone out there usinf 
Debianwho'd be willing to share his experience with me in form of a set of 
working configs with documentations. OR do you know a place where I can find a 
step by step Howto to get at least the main feature up and running. 


The only useful infos I've found where those. http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html(unfortunately 
this ones for BSD, but the command lines in the config file look about the 
same), I tried it and failed miserably. The director won't even start up. There 
was nothing written into the syslog file while tailing it :-/ Bad 
luck.

About the secure connection I found this http://www.bacula.org/rel-manual/Bacula_TLS.html#_ChapterStart61if 
someone is interessted in it?

I restored the old files then (in the config files 
it reads that you only would've to setup a Fileset and it should work on the 
spot). But, aiks, it won't do either the director deamon won't start up. 
D*mned!


2. The hard way. If 1. won't work may I post the 
original config files here with my/more questions? Would that be 
okay?


3. FQDN - is this really necessary or is it also 
possible to use the IP address. I tried both :-/


I'm sorry for not being more precise at the moment, 
hope I don't get flamed for it. I'd be willing to do a HowTo if someone helps me 
out, so that next time you could direct Debian User to the docu I made. I'll 
have to do it anyhow for my preoject here:-) so why not translate it into 
English, no problemo Sir.


Thanks in advance for your response,
Simmel or Jens








[Bacula-users] Re: Potential concerns about Bacula

2006-03-22 Thread Carles Bou

Hi John,

From my point of view your issue nº2 is an enhacement. I generally need to restore deleted files by a user like 
doc's, cad files or image files.

(as i understand)



John Goerzen wrote:

Hello,

I have been using Amanda for backup for quite a few years now.  I'm
interested in Bacula and have read through most of the (large!) manual.
Bacula looks like a nice piece of software, but there are several things
that concern me about it.

1) In the manual, it states that if you move files into an existing
directory or move a while directory into the backup fileset after a Full
backup, those files will probably not be backed up by an Incremental.
That's concerning to me and seems a huge hole -- files are moved or
renamed all the time in our environment, and we would want them to still
be backed up.  Some other places in the manual, it suggests to copy
instead of move/rename directories.  But with a user base of several
hundred people, some of which aren't all that computer-savvy, that is
almost impossible.  In the Win32 area, it had another warning about the
same problem, with no apparent workaround other than to copy it.  Again,
a serious problem.  It seems that, as a temporary solution anyway, it
would be easy enough to just treat files inside moved/renamed
directories as new and back them up.

2) I'm concerned that incremental and differential backups don't notice
deleted files.  When we restore from that, we could wind up with
thousands of deleted or renamed files -- *not* an exact image of the
system as of the last backup.  That also is a large problem.

3) We perform backups overnight, when no operators are here, so as to
minimize performance impact on our users.  We have enough data that it
is not possible to fit a full backup of every filesystem onto a single
tape.  However, it is possible to stagger the full backups so that we
guarantee each filesystem is backed up with a full backup once every
three days.  Amanda will automatically handle that staggering for us.
Can Bacula?

4) Amanda has a nice degraded mode.  If the tape drive is offline, or
there is no tape in the drive, or the tape in the drive is not suitable
for backup, Amanda will run all incremental backups and store them to
disk.  The next morning when the operators arrive, they can correct the
problem and run amflush to move the data out to tape.  I notice that
Bacula has the ability to spool data to disk, but it doesn't appear to
be able to do that in a nice fashion in the presence of a tape error.
Correct?

5) More generally, I am concerned about this notion of continuing to
append to a tape until it is full.  We would not know in advance when a
tape will fill up.  Simply waiting for the operator to swap tapes, and
then continuing with the backup, is not a workable solution for
performance reasons since we can't run backups during the day.  We would
be left with missing a night's backup.  Is there any better way we could
use Bacula's nifty append features in our setup?

6) And even more generally, are people actually using Bacula in medium
to large organizations?  Reading about how the author's test network is
using token ring, how some sites only have to swap tapes once a month,
and how many are able to keep using the same tape day after day makes me
think that Bacula may not really be suited for a situation in which we
store terabytes of information and back up dozens of machines.  Is that
an incorrect assumption?

Thanks for all your work on Bacula and its manual.

-- John Goerzen



---
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=lnkkid=110944bid=241720dat=121642




---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Turning compression on and off automatically

2006-03-22 Thread Mark Nienberg

Bill Moran wrote:

We have a number of filesets that get backed up both to tape and to
disk.

For performance reasons, we'd like to have gzip turned off during tape
backups, but for space reasons: on during disk backups.

It doesn't look as if there's a way to specify such a thing, aside from
creating seperate filesets - customized for the backup media.  Am I
missing anything?

I do weekly full backups to tape and daily incrementals to disk, so I 
have the same issue.  If I do create separate filesets, one with 
compression and one without, will the incrementals really work as 
incrementals or will the first one be promoted to full I wonder.


Mark



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: Turning compression on and off automatically

2006-03-22 Thread Bill Moran
On Wed, 22 Mar 2006 09:46:45 -0800
Mark Nienberg [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
  We have a number of filesets that get backed up both to tape and to
  disk.
  
  For performance reasons, we'd like to have gzip turned off during tape
  backups, but for space reasons: on during disk backups.
  
  It doesn't look as if there's a way to specify such a thing, aside from
  creating seperate filesets - customized for the backup media.  Am I
  missing anything?
  
 I do weekly full backups to tape and daily incrementals to disk, so I 
 have the same issue.  If I do create separate filesets, one with 
 compression and one without, will the incrementals really work as 
 incrementals or will the first one be promoted to full I wonder.

My assumption was that having seperate filesets would cause it not
to see them as the same files - thus the tape backups would not be
considered as part of the ondisk backups.

In our scenario, that's fine.  We want the ondisk backups to work
independently of the tape backups, since the tapes are archived off
site.

My concern about duplicating the filesets is twofold:
1) Error-prone when changes are made (i.e. machines added/removed)
2) namespace pollution (i.e. when doing a run from bconsole)
   and the possible human errors involved with such pollution.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Debian Sarge - Bacula configuration

2006-03-22 Thread Arno Lehmann

Hello,

On 3/22/2006 5:42 PM, Simmel wrote:


Hi guys,
 
I'd love to ask a few questions if I may :-)


Sure.

I'm quite new to Bacula and tried to set it up on a test server using 
Debian Sarge (stable). I got some understanding problems though, and I 
hope you can help me with my brainfarts.
 
Okay first of all, let me sum up the facts again.
 
On the server side
 
There is a director (may be more then one)-  Bacula-dir.conf
There is a storage (same 
here) -  Bacula-sd.conf
There is a database -  It's 
a postgres DB in Debian (AFAIK mentioned/configured in bacula-dir.conf)
 
On the client side
 
There is a file deamon -
Bacula-fd.conf


Right.

I have setup 2 PCs here im my lab and I'm trying to get it started. What 
I'd like to do is just simply do a complete backup from my host to the 
server. The server (in this scenario) should be running all server 
daemons/parts, so to speak director, storage and database (all in one).
 
The client should be backed up completly and in addition to that I'd 
like (to try) to be able to install the client from bare metal with the 
floppy discs (talking about desaster recovery). After I've achieved 
that, I'd like to use SSL (I found a HowTo that covers that quite okay).
 
But I already stumble over the main config files. I've read the 
documentation (apt-get bacula-doc) quite a few times and found out that 
there need to be crossreferences, which I don't quite get yet. I hope I 
can get some clarification from you guys (would be awesome).
 
I'm totally new to this topic and I' having a hard time with the 
comments, I don't find them very usefull.


I find this astonishing. Admittedly, I never used a debian packaged 
installation, but instead, when I first encountered Bacula, I started 
with a blank DIR configuration and, reading the manual, managed to get a 
working setup rather easily.


If you can't start the DIR with the sample configuration, just work 
through the manual. To start the DIR, you need nly a limited set of 
configuration sections:


Director, Messages, Catalog and probably Pool. I feel that the sample 
configuration with a very limited number of changes should be sufficient 
to start the DIR with a configuration tailored to your sites needs.



If you start the DIR with the -t option and it doesn't report an error 
then you should be able to start it, create a console configuration, and 
connect to the DIR.


And you should only need one Job, one Client, and one Storage section.

2. The hard way. If 1. won't work may I post the original config files 
here with my/more questions? Would that be okay?


Sure. But please try to strip the configuration down to the minimum, try 
it and report any error messages. I don't think that the DIR refuses to 
start without giving some sort of reason for it. If there are no 
messages, and you verified that no DIR process is running, retry 
starting the DIR, with debug output enabled: -d 50 should give you lots 
of messages on the terminal.


Only after you've got the DIR running work on the SD and FD setup, and 
Jobs and Filesets etc.



3. FQDN - is this really necessary or is it also possible to use the IP 
address. I tried both :-/


Should work both, and you can even use a non-fully qualified domain name 
but should know what you do then.


 
I'm sorry for not being more precise at the moment, hope I don't get 
flamed for it.


Usually you won't see many flames here (and I hope this list stay like 
that).


More precise error descriptions would be very helpful, though...

I'd be willing to do a HowTo if someone helps me out, so 
that next time you could direct Debian User to the docu I made. I'll 
have to do it anyhow for my preoject here :-) so why not translate it 
into English, no problemo Sir.


Well, if you think it's necessary...

Arno

 
 
Thanks in advance for your response,

Simmel or Jens
 
 
 
 
 
 


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: Turning compression on and off automatically

2006-03-22 Thread Arno Lehmann

Hello,

On 3/22/2006 7:46 PM, Bill Moran wrote:

On Wed, 22 Mar 2006 09:46:45 -0800
Mark Nienberg [EMAIL PROTECTED] wrote:



Bill Moran wrote:


We have a number of filesets that get backed up both to tape and to
disk.

For performance reasons, we'd like to have gzip turned off during tape
backups, but for space reasons: on during disk backups.

It doesn't look as if there's a way to specify such a thing, aside from
creating seperate filesets - customized for the backup media.  Am I
missing anything?



I do weekly full backups to tape and daily incrementals to disk, so I 
have the same issue.  If I do create separate filesets, one with 
compression and one without, will the incrementals really work as 
incrementals or will the first one be promoted to full I wonder.



My assumption was that having seperate filesets would cause it not
to see them as the same files - thus the tape backups would not be
considered as part of the ondisk backups.


Correct.


In our scenario, that's fine.  We want the ondisk backups to work
independently of the tape backups, since the tapes are archived off
site.


Good for you, then :-)


My concern about duplicating the filesets is twofold:
1) Error-prone when changes are made (i.e. machines added/removed)
2) namespace pollution (i.e. when doing a run from bconsole)
   and the possible human errors involved with such pollution.


Two good points.

Think about includes.

By the way: Your signature sounds as though I'm just committing a major 
offense. Which is simply nonsense, especially if you write to mailing 
lists...


Arno

--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] where is Bacula webstats?

2006-03-22 Thread Dan Langille
where is Bacula webstats?

http://www.buks-island.org/2006/02/21/30 is not responding.  Anyone 
have any idea where it's gone?

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: no diference between full and inc backup, i'm lost....[solved]

2006-03-22 Thread Carles Bou

Some one has send me a mail telling that bacula only supports datetime encoding 
in US format
i've changed this parameter in the postgresql.conf and bacula is running right!!

Will this be solved in futures versions? Because i don't want to have 1 
postgresql server
running only for bacula, and another for my apps.

I'll take a look into the postgresql doc to see if a can set this only for 1 DB.

Thk's a lot to the list.



Carles Bou wrote:

yes, her's part of my bacula-dir conf and bacula-fd.
I'm not posting the SD conf because files are writed on the tapechanger

=bacula-dir==
JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  Client = kaneda-fd
  Schedule = WeeklyCycle
  Messages = Standard
  Pool = Default
  Priority = 10
}

# i'm writing bsr 2 times because i've 2 hard drives (SYSTEM and RAID)
Job {
  Name = Copia_Raid
  JobDefs = DefaultJob
  FileSet = Datos
  Storage = PowerVault-122T
  Write Bootstrap = /var/lib/bacula/Copia_Raid.bsr
  Write Bootstrap = /mnt/raid/bacula/Copia_Raid.bsr
  Priority = 10
}


FileSet {
  Name = Datos
  Include {
Options {
  signature = MD5
}
File = /mnt/raid/admin
  }
Exclude{
File = *.recycle/*
File = *.[Ee][Xx][Ee]
File = *.[Dd][Ll][Ll]
File = *.[Ee][Rr][Rr]
File = *.[Ll][Nn][Kk]
File = *.[Dd][Ww][Ll]
File = *.[Dd][Cc][Ee]
File = *.[Ll][Oo][Gg]
File = *.[Bb][Aa][Kk]
File = *.[Tt][Mm][Pp]
File = *.[Dd][Cc][Ee]
File = *.[Ll][Dd][Bb]
}
}

Schedule {
  Name = WeeklyCycle
  Run = Full 1st sat at 0:01
  Run = Differential 2nd-5th sat at 0:01
  Run = Incremental mon-fri at 23:05
}

===bacula-fd==


FileDaemon {
  Name = kaneda-fd
  FDport = 9102
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}


SQL Query on table file==
fileid#fileindex#jobid#pathid#filenameid#markid#lstat#md5
29#29#1#2#29#0#gR + IH/ B A A A BhC gAA Q BDBcJn BAiZEM BDwWXY A A 
C#3++vPj+tNUl/F4+DU+++mC
4122#29#2#2#29#0#gR + IH/ B A A A BhC gAA Q BDBcJn BAiZEM BDwWXY A A 
C#3++vPj+tNUl/F4+DU+++mC


as you can see same fileid same lstat backuped 2 times.



Sebastian Stark wrote:


Can you post the job and fileset resources regarding this?


On 19.03.2006, at 03:14, Carles Bou wrote:


i'm running bacula 1.38.5 on gentoo with postgresql, as DB backend.

i don't know why, but bacula is always copying all files in the set

i've loocked at stat output and files, no change between 2 backups

files are holded in reiserFS (hardware RAID-5)

no virus scanner running

i've droped DB, re-instaled bacula and nothing change.

What can i do?

thk's in advance and sorry for my english





---
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=lnkkid=110944bid=241720dat=121642





---
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=lnkkid=110944bid=241720dat=121642




---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: no diference between full and inc backup, i'm lost....[solved]

2006-03-22 Thread Arno Lehmann

Hello,

On 3/22/2006 10:19 PM, Carles Bou wrote:
Some one has send me a mail telling that bacula only supports datetime 
encoding in US format
i've changed this parameter in the postgresql.conf and bacula is running 
right!!


Will this be solved in futures versions? Because i don't want to have 1 
postgresql server

running only for bacula, and another for my apps.


To track work on this bug, you can use the bug tracking system at 
bugs.bacula.org. Your bug is number 571.


You can easily ensure to be notified of all state changes of this bug.

Arno

I'll take a look into the postgresql doc to see if a can set this only 
for 1 DB.


Thk's a lot to the list.



Carles Bou wrote:


yes, her's part of my bacula-dir conf and bacula-fd.
I'm not posting the SD conf because files are writed on the tapechanger

=bacula-dir==
JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  Client = kaneda-fd
  Schedule = WeeklyCycle
  Messages = Standard
  Pool = Default
  Priority = 10
}

# i'm writing bsr 2 times because i've 2 hard drives (SYSTEM and RAID)
Job {
  Name = Copia_Raid
  JobDefs = DefaultJob
  FileSet = Datos
  Storage = PowerVault-122T
  Write Bootstrap = /var/lib/bacula/Copia_Raid.bsr
  Write Bootstrap = /mnt/raid/bacula/Copia_Raid.bsr
  Priority = 10
}


FileSet {
  Name = Datos
  Include {
Options {
  signature = MD5
}
File = /mnt/raid/admin
  }
Exclude{
File = *.recycle/*
File = *.[Ee][Xx][Ee]
File = *.[Dd][Ll][Ll]
File = *.[Ee][Rr][Rr]
File = *.[Ll][Nn][Kk]
File = *.[Dd][Ww][Ll]
File = *.[Dd][Cc][Ee]
File = *.[Ll][Oo][Gg]
File = *.[Bb][Aa][Kk]
File = *.[Tt][Mm][Pp]
File = *.[Dd][Cc][Ee]
File = *.[Ll][Dd][Bb]
}
}

Schedule {
  Name = WeeklyCycle
  Run = Full 1st sat at 0:01
  Run = Differential 2nd-5th sat at 0:01
  Run = Incremental mon-fri at 23:05
}

===bacula-fd==


FileDaemon {
  Name = kaneda-fd
  FDport = 9102
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}


SQL Query on table file==
fileid#fileindex#jobid#pathid#filenameid#markid#lstat#md5
29#29#1#2#29#0#gR + IH/ B A A A BhC gAA Q BDBcJn BAiZEM BDwWXY A A 
C#3++vPj+tNUl/F4+DU+++mC
4122#29#2#2#29#0#gR + IH/ B A A A BhC gAA Q BDBcJn BAiZEM BDwWXY A A 
C#3++vPj+tNUl/F4+DU+++mC


as you can see same fileid same lstat backuped 2 times.



Sebastian Stark wrote:


Can you post the job and fileset resources regarding this?


On 19.03.2006, at 03:14, Carles Bou wrote:


i'm running bacula 1.38.5 on gentoo with postgresql, as DB backend.

i don't know why, but bacula is always copying all files in the set

i've loocked at stat output and files, no change between 2 backups

files are holded in reiserFS (hardware RAID-5)

no virus scanner running

i've droped DB, re-instaled bacula and nothing change.

What can i do?

thk's in advance and sorry for my english





---
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=lnkkid=110944bid=241720dat=121642






---
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=lnkkid=110944bid=241720dat=121642





---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] where is Bacula webstats?

2006-03-22 Thread Arno Lehmann

Dan,

no idea, but this mail also goes to Michael's mail address (and I hope I 
picked the right one :-) so he should be informed... looks like his 
business mail address, so it might take up to 12 hours till he can see 
this, though.


Arno

On 3/22/2006 10:17 PM, Dan Langille wrote:

where is Bacula webstats?

http://www.buks-island.org/2006/02/21/30 is not responding.  Anyone 
have any idea where it's gone?




--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: no diference between full and inc backup, i'm lost....[solved]

2006-03-22 Thread Kern Sibbald
On Wednesday 22 March 2006 22:19, Carles Bou wrote:
 Some one has send me a mail telling that bacula only supports datetime
 encoding in US format i've changed this parameter in the postgresql.conf
 and bacula is running right!!

 Will this be solved in futures versions? 

I hope there is some PostgreSQL solution for this, because it is *extremely* 
unlikely that I will add any code to Bacula that tries to interpret foreign 
language date formats.

 Because i don't want to have 1 
 postgresql server running only for bacula, and another for my apps.

 I'll take a look into the postgresql doc to see if a can set this only for
 1 DB.

Hopefully you or someone will find a solution.


 Thk's a lot to the list.

 Carles Bou wrote:
  yes, her's part of my bacula-dir conf and bacula-fd.
  I'm not posting the SD conf because files are writed on the tapechanger
 
  =bacula-dir==
  JobDefs {
Name = DefaultJob
Type = Backup
Level = Incremental
Client = kaneda-fd
Schedule = WeeklyCycle
Messages = Standard
Pool = Default
Priority = 10
  }
 
  # i'm writing bsr 2 times because i've 2 hard drives (SYSTEM and RAID)
  Job {
Name = Copia_Raid
JobDefs = DefaultJob
FileSet = Datos
Storage = PowerVault-122T
Write Bootstrap = /var/lib/bacula/Copia_Raid.bsr
Write Bootstrap = /mnt/raid/bacula/Copia_Raid.bsr
Priority = 10
  }
 
 
  FileSet {
Name = Datos
Include {
  Options {
signature = MD5
  }
  File = /mnt/raid/admin
}
  Exclude{
  File = *.recycle/*
  File = *.[Ee][Xx][Ee]
  File = *.[Dd][Ll][Ll]
  File = *.[Ee][Rr][Rr]
  File = *.[Ll][Nn][Kk]
  File = *.[Dd][Ww][Ll]
  File = *.[Dd][Cc][Ee]
  File = *.[Ll][Oo][Gg]
  File = *.[Bb][Aa][Kk]
  File = *.[Tt][Mm][Pp]
  File = *.[Dd][Cc][Ee]
  File = *.[Ll][Dd][Bb]
  }
  }
 
  Schedule {
Name = WeeklyCycle
Run = Full 1st sat at 0:01
Run = Differential 2nd-5th sat at 0:01
Run = Incremental mon-fri at 23:05
  }
 
  ===bacula-fd==
 
 
  FileDaemon {
Name = kaneda-fd
FDport = 9102
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
  }
 
 
  SQL Query on table file==
  fileid#fileindex#jobid#pathid#filenameid#markid#lstat#md5
  29#29#1#2#29#0#gR + IH/ B A A A BhC gAA Q BDBcJn BAiZEM BDwWXY A A
  C#3++vPj+tNUl/F4+DU+++mC
  4122#29#2#2#29#0#gR + IH/ B A A A BhC gAA Q BDBcJn BAiZEM BDwWXY A A
  C#3++vPj+tNUl/F4+DU+++mC
 
  as you can see same fileid same lstat backuped 2 times.
 
  Sebastian Stark wrote:
  Can you post the job and fileset resources regarding this?
 
  On 19.03.2006, at 03:14, Carles Bou wrote:
  i'm running bacula 1.38.5 on gentoo with postgresql, as DB backend.
 
  i don't know why, but bacula is always copying all files in the set
 
  i've loocked at stat output and files, no change between 2 backups
 
  files are holded in reiserFS (hardware RAID-5)
 
  no virus scanner running
 
  i've droped DB, re-instaled bacula and nothing change.
 
  What can i do?
 
  thk's in advance and sorry for my english
 
  ---
  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=lnkkid=110944bid=241720dat=121642
 
  ---
  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=lnkkid=110944bid=241720dat=121642

 ---
 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=lnkkid=110944bid=241720dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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=lnkkid=110944bid=241720dat=121642
___

[Bacula-users] Grrr,

2006-03-22 Thread Jose de Paula Eufrasio Junior
So, installed bacula again, using debian sarge packages. All
configured ok, but I'm having some problems with the Autochanger.
Using the latest debian sarge packages and a Dell PowerVault 132T

That's part of the output when I issue label barcodes:

-- snip --
Sending label command for Volume 01 Slot 1 ...
3301 Issuing autochanger loaded drive 0 command.
3302 Autochanger loaded drive 0, result: nothing loaded.
3304 Issuing autochanger load slot 1, drive 0 command.
3992 Bad autochanger load slot 1, drive 0: ERR=Child died from
signal 15: Termination.
Label command failed for Volume 01.
Sending label command for Volume 02 Slot 2 ...
3301 Issuing autochanger loaded drive 0 command.
3991 Bad autochanger loaded drive 0 command: ERR=Child died from
signal 15: Termination.
3304 Issuing autochanger load slot 2, drive 0 command.
3992 Bad autochanger load slot 2, drive 0: ERR=Child died from
signal 15: Termination.
Label command failed for Volume 02.
-- snip --

I can use mtx-changer on the command line and it works ok, tried with
bacula-sd running as 'bacula' and 'root' and even in debug mode. Looks
like btimers.c gives a KILL on somehting, but I'm not that good on
debugging...

Any help will be welcome.

--
Jose de Paula Eufrasio Junior [EMAIL PROTECTED]
aka coredump
http://coredump.osimortais.com.br


---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Disabling Client

2006-03-22 Thread Craig Dupree
From looking at the Docs, and through the archives I think I can 
disable a client's backup by commenting out the Schedule line like this:


Job {
Name = frodo
Type = Backup
Level = incremental
Client = frodo
FileSet = windows
Storage = tape0
#   Schedule = WeeklyCycle-FRODO
Pool = Default
Messages = Standard
}

Am I wrong, or perhaps am I supposed to doing something else in addition 
to this?  I'd like to disable this client while I re-build it as a Linux 
system.  The client continues to be backed up, and I'm afraid that if I 
proceed with the upgrade, all of my other systems will be delayed in 
backing up.


--

 /^^^\  Craig Dupree,   Systems Analyst
/~O~O~\ [EMAIL PROTECTED] ITS, User Services
\  U  / (512)471 - 5358 UNIX Tech. Support
-oOo---oOo- (512)625 - 0321(pg) The University of Texas at 
Austin

[EMAIL PROTECTED](pg email)
Democracy is two wolves and a sheep voting on what to have for dinner.
Liberty is two wolves attempting to have a sheep for dinner and
finding a well-informed, well-armed sheep.



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling Client

2006-03-22 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
  From looking at the Docs, and through the archives I think I can 
 disable a client's backup by commenting out the Schedule line like this:

We put  all  client  related  definitions  (Job,  FileSet,  Schedule,
Client) in a separate file (include-hostname.conf) which we include
in  bacula-dir.conf; with such a setup it is easy judt to comment out
the include statement.

And it makes the config file much more readable...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
You can only live once, but if you do it right, once is enough.


---
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=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling Client

2006-03-22 Thread Rowdy

Craig Dupree wrote:
 From looking at the Docs, and through the archives I think I can 
disable a client's backup by commenting out the Schedule line like this:


Job {
Name = frodo
Type = Backup
Level = incremental
Client = frodo
FileSet = windows
Storage = tape0
#   Schedule = WeeklyCycle-FRODO
Pool = Default
Messages = Standard
}

Am I wrong, or perhaps am I supposed to doing something else in addition 
to this?  I'd like to disable this client while I re-build it as a Linux 
system.  The client continues to be backed up, and I'm afraid that if I 
proceed with the upgrade, all of my other systems will be delayed in 
backing up.




I found that I had to comment the Job and the Client sections for the
machine to be excluded.

Rowdy


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Disabling Client

2006-03-22 Thread Craig Dupree
Never mind.  My bad.  When I upgraded, I installed into a new version 
specific directory.  The original person who installed bacula used / as 
the install prefix, so out of habit, I went to /etc/bacula/ to make the 
config edits, rather than the version specific directory where I had 
moved the con figs and updated them.


Apologies all.

--

 /^^^\  Craig Dupree,   Systems Analyst
/~O~O~\ [EMAIL PROTECTED] ITS, User Services
\  U  / (512)471 - 5358 UNIX Tech. Support
-oOo---oOo- (512)625 - 0321(pg) The University of Texas at 
Austin

[EMAIL PROTECTED](pg email)
Democracy is two wolves and a sheep voting on what to have for dinner.
Liberty is two wolves attempting to have a sheep for dinner and
finding a well-informed, well-armed sheep.



Rowdy wrote:

Craig Dupree wrote:
 From looking at the Docs, and through the archives I think I can 
disable a client's backup by commenting out the Schedule line like this:


Job {
Name = frodo
Type = Backup
Level = incremental
Client = frodo
FileSet = windows
Storage = tape0
#   Schedule = WeeklyCycle-FRODO
Pool = Default
Messages = Standard
}

Am I wrong, or perhaps am I supposed to doing something else in 
addition to this?  I'd like to disable this client while I re-build it 
as a Linux system.  The client continues to be backed up, and I'm 
afraid that if I proceed with the upgrade, all of my other systems 
will be delayed in backing up.




I found that I had to comment the Job and the Client sections for the
machine to be excluded.

Rowdy



---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Defining a FileSet

2006-03-22 Thread Andrus Naulainen

Hello

I have problem with defining a FileSet. Let's say I want to backup just 
one directory for every user in the machine. It's c:/Documents and 
Settings/*/My Documents where * indicates the user name. As I 
understand I have to use Options where Exclude expression is set to 
yes and exclude all other directories except My Documents. I thought 
that RegexDir = ^c:/Documents and Settings/*/[^(My Documents)] will 
do, but using Regex expression gave me an error  message that Regex is 
not available in the system.


Any tips, how to solve missing regex problem or maybe I even don't need 
it and there are another way to solve my FileSet problem?



Version of my bacula director - Version: 1.36.2 (28 February 2005)

   Include{
  Options{
 RegexDir = ^c:/Documents and Settings/*/[^(My Documents)]
 Exclude = yes
   }
  File = c:/Documents and Settings/
   }

23-Mar 09:26 varund-dir: Start Backup JobId 1811, 
Job=andrusJ.2006-03-23_09.26.42
23-Mar 09:26 andrus-fd: andrusJ.2006-03-23_09.26.42 Fatal error: REGEX 
^.?*$ compile error. ERR=REGEX not available on this system.
23-Mar 09:26 varund-dir: andrusJ.2006-03-23_09.26.42 Fatal error: Socket 
error from Filed on Include command: ERR=No data available
23-Mar 09:26 varund-dir: andrusJ.2006-03-23_09.26.42 Error: Bacula 
1.36.2 (28Feb05): 23-Mar-2006 09:26:45



Andrus


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Grrr,

2006-03-22 Thread Michel Meyers

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jose de Paula Eufrasio Junior wrote:

So, installed bacula again, using debian sarge packages. All
configured ok, but I'm having some problems with the Autochanger.
Using the latest debian sarge packages and a Dell PowerVault 132T

That's part of the output when I issue label barcodes:

-- snip --
Sending label command for Volume 01 Slot 1 ...
3301 Issuing autochanger loaded drive 0 command.
3302 Autochanger loaded drive 0, result: nothing loaded.
3304 Issuing autochanger load slot 1, drive 0 command.
3992 Bad autochanger load slot 1, drive 0: ERR=Child died from
signal 15: Termination.
Label command failed for Volume 01.
Sending label command for Volume 02 Slot 2 ...
3301 Issuing autochanger loaded drive 0 command.
3991 Bad autochanger loaded drive 0 command: ERR=Child died from
signal 15: Termination.
3304 Issuing autochanger load slot 2, drive 0 command.
3992 Bad autochanger load slot 2, drive 0: ERR=Child died from
signal 15: Termination.
Label command failed for Volume 02.
-- snip --

I can use mtx-changer on the command line and it works ok, tried with
bacula-sd running as 'bacula' and 'root' and even in debug mode. Looks
like btimers.c gives a KILL on somehting, but I'm not that good on
debugging...


It might be a timeout. Can you post the debug output?

In addition to that: How does your Autochanger Device look in your
configuration? You could try what's mentioned in this posting (found on
gmane while searching for Child died from signal 15:
http://article.gmane.org/gmane.comp.sysutils.backup.bacula.general/19533

Maybe it applies to you.

Greetings,
Michel

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32) - GPGrelay v0.959

iD8DBQFEIlF02Vs+MkscAyURAv92AJ41yS7npiOtK7LS26ezHLTkC0VxaACg/ewk
c8TGg7T1dvTim3jAOrEMjhc=
=4ObI
-END PGP SIGNATURE-


---
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=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users