Re: [Bacula-users] Backup MS Exchange

2007-02-07 Thread Silver Salonen
On Wednesday 07 February 2007 09:33, Ralf Winkler wrote:
 Hello all,
 
 i need to update a exchange server, which is not the problem.
 
 But i have to backup the server in a way that i can restore single mail
 accounts, or, what will be better, restore a single mail.
 In commmercial products you can get a plugin to backup and restore so called
 bricks in Exchange.
 Anybody has a solution how to do the same thing with bacula?
 
 Best regards,
 Ralf

Hi.

Wouldn't the solution be to use ntbackup to backup systemstate and information 
store and back those files up with Bacula afterwards? At least I'm doing it..

Silver

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet quirks

2007-02-07 Thread Ralf Ertzinger
Hi.

On Tue, 6 Feb 2007 19:28:40 GMT, Martin Simmons wrote:

 No, you can't use [] like that in a regexp -- it is for matching
 single characters, not strings.  There is no not operator in
 regexps.

Actually there is, if you happen to use perl compatible REs (if bacula
does that I do not know).

regexdir = /home/[^/]+/(?!Movies|Music|Pictures])/.*


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems appending on FreeBSD

2007-02-07 Thread Andrea Venturoli
Hello.

I thought this must be a faq, but my research did not provide anything
that useful...

I've been using Bacula on FreeBSD for quite a while and I always had one
problem: I can run multiple jobs and append them to the same tape, as
long as I do this at once. If I remove the tape and insert it again, or
do any other operation, I'll get:

 06-Feb 17:58 bacula-dir: Start Backup JobId 1981, 
 Job=BackupCatalog.2007-02-06_17.56.5
 06-Feb 17:58 bacula-sd: Volume Tape41 previously written, moving to end of 
 data.
 06-Feb 17:59 bacula-sd: BackupCatalog.2007-02-06_17.56.57 Error: I cannot 
 write on Volume Tape41 because:
 The number of files mismatch! Volume=5 Catalog=6
 06-Feb 17:59 bacula-sd: Marking Volume Tape41 in Error in Catalog.
 06-Feb 18:00 bacula-sd: Job BackupCatalog.2007-02-06_17.56.57 waiting. Cannot 
 find any appendable volumes.
 Please use the label  command to create a new Volume for:
 Storage:  DDS-4 (/dev/nsa0)
 Media type:   DDS-4
 Pool: Tapes

I always lived with this since I knew older FreeBSD releases where
problematic. However, I have now migrated to FreeBSD 6.2 and bacula
2.0.1, so I guess it should be possible to solve this.

My tape is a SONY SDT-11000 and I have the following in my bacula-sd.conf:

 Device {
   Name = DDS-4
   Description = DDS-4 for FreeBSD
   Media Type = DDS-4
   Archive Device = /dev/nsa0
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = yes
   Offline On Unmount = no
   Hardware End of Medium = no
   BSF at EOM = yes
   Backward Space Record = no
   Fast Forward Space File = no
   TWO EOF = yes
 }


I've tried restore and they work.
Any hint?

  bye  Thanks
av.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Advice for disk and tape backup plan

2007-02-07 Thread Arno Lehmann
Hi,

I'm following your discussion for a while now...

On 2/7/2007 3:54 AM, Don MacArthur wrote:
 I think some of the code contains what might be a good solution.  

What you want seems to be he ability to copy volumes,possibly to another 
SD, and keep complete catalog information about both copies.

That part is probably rather simple to code (says another non-programmer 
:-) because a big part of what is needed already exists with the 
migration jobs.

 Right now, when a scheduled backup issues a mount request for a tape, it
 doesn't matter what tape I load as long as it meets the requirements to
 be used.  If it asks me for volume123 from pool xyz, and I load
 volume456 from pool xyz the job will run (again, assuming the status of
 the tape is correct and there aren't any other problems like file number
 mismatch).  
 
 I'm haven't coded for ... years, but I wonder if the same logic that
 allows the director or storage daemon to determine that it didn't get
 what it asked for (volume123), but did get what it wanted (a qualified
 volume), could be applied to this situation.  That is, read the label,
 query for the file and version, and if the mounted volume has the file,
 rock and roll.  If not, explain it to the operator and iterate the mount
 request.  
 
 Yes?

As far as I understand, the restore part is what will be most difficult 
to solve; currently, Bacula is not able to choose from different copies 
of a job. This would have to be thought through first.

The user interface to such a function would be quite straightforward as 
you outline, but the key problem lies behind the scenes.

I assume that job copies will be implemented some day, but we'd need a 
capable programmer for that... There is a feature request dealing with 
copies already, by the way.

Many details need to be worked out before implementation can begin, I 
assume. Three main areas might be:
- Deciding which volumes / jobs to restore from: A concept of a 'volume 
cost' representing the efort needed to access volumes wil be helpful. 
For example, define the cost for disk based volumes to be lower than 
that of tapes stored locally, and the cost of off-site tapes would be 
highes.
First, the DIR has to learn that there can be multiple copies of one 
job, though - this is not something it understands today, I think.
- Moving data without expiring the catalog information about the source 
job. This should be rather simple.
- Allowing the transfer of data from one SD to another one. Today, IIRC, 
migration only works inside one SD. That is ok for migration from disk 
to tape, but fore real copies one will want the ability to create 
off-site volumes directly, i.e. copy from a local disk volume to a 
remote tape.

I imagine that the first and the last item will require most of the 
implemetation time, and I'm qute sure that I overlooked many interesting 
things ;-)

Anyway, that discussion probably belongs to the -devel list.

Today, if you want copies of jobs or volumes, you have only two choices: 
Run the jobs twice, to different storage devices, and be prepared for 
differences between jobs and manual decision which one to use for 
restores. Or copy the volumes outside of Baculas scope, using simple 
file copies for disk volumes, tape-to-tape dumps for tape volumes, or 
use bcopy. In any case, you'll have to manage the copies manually, too, 
but you will have identical copies.

Anyway, this mainly repeats what has been written in this thread before. 
What I find most interesting, though: Is one you intersted enough in the 
job copy feature to sponsor it or to implement it himself? I'm quite 
sure you'll get support from Kern and the other developers, and I'm also 
quite sure that many users of Bacula will be very grateful...

Arno

 
 On Tue, 2007-02-06 at 18:31 -0800, Tauren Mills wrote:
 
This sounds like a reasonable approach.  If I request to restore a
particular object and the exact object version exists on multiple
volumes, it really doesn't matter which volume it is restored from.
As long as that object gets restored, I will be happy.  Of course, it
could make my life easier if bacula would automatically choose a
volume that was mounted, such as a disk volume over a tape volume.  Or
if I'm doing a manual restore, it could ask me interactively which
volume to restore from, suggesting one that is mounted if available.

The bottom line is that it would have information about both copies of
the same object, and then logic could be added to choose which one to
restore.  That logic could be very simple, such as restore from the
first volume in the list that contains the object or more
sophisticated such as restore from a volume that contains the object,
give preference to disk volumes over tape volumes.

Of course, I haven't looked at any of the bacula code, so these are
just perceptions from the outside as a user.  Those with more
experience with the internals may see issues that I do not at this
time.

On 2/6/07, Don MacArthur 

Re: [Bacula-users] End of media error

2007-02-07 Thread Arno Lehmann
Hello,

On 2/7/2007 10:53 AM, Chris Boyd wrote:
   I'm running SuSE SLES 9.0 with bacula 1.36.3.
 When the tape gets to around 240G I get an end of media error. Now the 
 tape drive is a Dell 110T SDLT 320 and the tapes are Dell 160G/320G so 
 it should not be full.

If you follow the manufacturers marketing blah... the assumed 
compression ratio of 2:1 is usually much too optimistic. A more 
resonable value is 1.5:1 which quite neatly fits to your results.

 I have checked and Max Vol Jobs/Files/Bytes are 
 set to 0.
 It shows the volume as Full in list media.
 Here's the status message

That looks ok, as far as the tape drive is concerned.

Arno

  
 27-Jan 09:09 hq-dir: Start Backup JobId 3030, 
 Job=s05-full-backup.2007-01-26_21.00.03
 27-Jan 09:30 hq-sd: End of Volume friday_16 at 241:5985 on device 
 /dev/nst0. Write of 64512 bytes got -1.
 27-Jan 09:30 hq-sd: Re-read of last block succeeded.
 27-Jan 09:30 hq-sd: End of medium on Volume friday_16 
 Bytes=239,430,032,697 Blocks=3,711,405 at 27-Jan-2007 09:30.
 27-Jan 09:30 hq-dir: Recycled volume friday_17
 27-Jan 09:30 hq-sd: Please mount Volume friday_17 on Storage Device 
 110T for Job s05-full-backup.2007-01-26_21.00.03
 27-Jan 09:56 S05: s05-full-backup.2007-01-26_21.00.03 Fatal error: 
 ..\filed\../../filed/backup.c:477 Network send error 32768 to SD. ERR=An 
 existing connection was forcibly closed by the remote host.
  
 27-Jan 09:53 hq-dir: s05-full-backup.2007-01-26_21.00.03 Error: Bacula 
 1.36.3 (22Apr05): 27-Jan-2007 09:53:28
   JobId:  3030
   Job:s05-full-backup.2007-01-26_21.00.03
   Backup Level:   Full
   Client: S05
   FileSet:S05 Set 2006-05-03 16:22:49
   Pool:   WeeklyPool
   Storage:110T
   Start time: 27-Jan-2007 09:09:42
   End time:   27-Jan-2007 09:53:28
   FD Files Written:   1
   SD Files Written:   0
   FD Bytes Written:   43,343,446,016
   SD Bytes Written:   0
   Rate:   16505.5 KB/s
   Software Compression:   None
   Volume name(s): friday_16
   Volume Session Id:  4
   Volume Session Time:1169832470
   Last Volume Bytes:  1
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  Error
   SD termination status:  Waiting for mount
   Termination:*** Backup Error ***
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Database race condition on concurrent jobs?

2007-02-07 Thread Alan Brown


Version: 1.39.34-1 + 2.0.1 spooling patch(privately supplied by Kern)

Mysql 4.1.20 (but I don't think this matters overly)


It looks like there's a database race somewhere, as I'm seeing stuff like 
this every 2-3 days when a bunch of concurrent and simultaneously 
scheduled jobs are running:


06-Feb 22:34 msslay-sd: Volume AHIG0017 previously written, moving to end
of data.
06-Feb 22:34 msslay-sd: Cluster-common.2007-02-06_22.30.00 Error: I cannot
write on Volume AHIG0017 because:
The number of files mismatch! Volume=1 Catalog=0
06-Feb 22:34 msslay-sd: Marking Volume AHIG0017 in Error in Catalog.
06-Feb 22:34 msslay-dir: Cluster-common.2007-02-06_22.30.00 Fatal error:

Other Concurrently started jobs on the same volume finish OK and finish 
after the error is logged.

This only happens when there are several jobs concurrently using the same 
volume and only seems to happen when the jobs were all started 
simultaneously (ie off the same schedule).

The number of files mismatch can happen with any number of files 
on the tape (I've seen it at ~200-201 for instance) and I've seen the 
Volume vs Catalog difference go as high as 3 files.


Possibly related:


I've also occasionally seen jobs using the same pool ignore a volume 
already in use by other concurrent jobs and load up another (purged) 
volume from the pool - This is irritating:

  I have Volume Use Duration = 7 days on all tapes (after that they go
  into the data safe) and it sometimes results in 200Gb LTO tapes being
  marked as used with 40Mb (or less!) of data on them.

  It can result in bacula recycling and then demanding a tape which is not
  in the changer when there's plenty of space on an existing appendable
  volume.

This only happens when there are more than 3-4 jobs running on the same 
pool and happens despite Prefer mounted volumes = yes.

Is it possible that this behaviour is related to maximum concurrent jobs 
for each drive within the changer? (I have these set to 10 for the changer 
and 5 for each drive if addresses individually)


I can't see any mention of this in the Changelog, so I assume the 
behaviour is still there in 2.0.2


Is anyone else seeing this behaviour?

Kern, is this a bug?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Extracting the Windows Installer is possible ...

2007-02-07 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I just found out that extracting the files from the Windows Installer
(NSIS) without running it is indeed possible. If I recall correctly,
somebody asked the list for the possibility to do that.

You will need 7-Zip 4.42 or higher (available from http://www.7-zip.org/
) which states the following in its release notes:

- - ISO and NSIS support

Greetings,
Michel

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

iD8DBQFFybDE2Vs+MkscAyURAqy/AKC94l+F8JlaRRo5oKXoqel88nkwbgCfTggd
NXs3IlScHCnW1O8CaUZaJYU=
=QUvl
-END PGP SIGNATURE-

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Doing a backup only once

2007-02-07 Thread Alan Brown
On Tue, 6 Feb 2007, David Romerstein wrote:

 That, in essence, is why I first installed bacula - to backup roughly 2TB
 of data just once (my file count is *significantly* higher than yours,
 though - on the order of 200 million files across 10s of thousands of
 directories).

For what it's worth, Bacula copes quite happily with one fileset here 
that's just under 1Tb and just over 5 million files - both on backup and 
on individual file restore.

I'm backing up just under 20Tb and about 20 million files overall, with a 
runtime of abour 20 hours per Tb on full backup (spooling+flushing)

Because of the way Bacula spools and flushes, I can backup 2 1Tb 
filesystems in the same period on the same tape drive.

There's no net gain from trying 3 concurrent full backups on one tape 
drive even though the drive spends a lot of time idle with 2, as the 
source RAID arrays can't keep up with that much load (they're great at 
streaming, but slow down if required to seek a lot - as happens when 
reading 2 filesystems off the same device). This may change as I add more 
arrays...


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Want to run dbcheck but can't because of database size

2007-02-07 Thread James Cort
Dear All,

My database has grown in size to the point where it's now 18GB.

I'd like to see if that can be pruned at all, but unfortunately my box 
only has 1GB of RAM and dbcheck fails rather horribly with an out of 
memory error when doing check for orphaned file records:

Checking for orphaned File entries. This may take some time!
Query failed: SELECT File.FileId,Job.JobId FROM File LEFT OUTER JOIN Job 
ON (File.JobId=Job.JobId) WHERE Job.JobId IS NULL: ERR=out of memory for 
query result

Even with 20GB of swap this doesn't help in the slightest.  I notice 
that it doesn't use anywhere near that amount of swap before running out 
of memory, though - perhaps the per-process memory limit is the problem?

Has anyone encountered (and more importantly solved) a similar problem 
in the past?


James Cort
-- 
U4EA Technologies
http://www.u4eatech.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet quirks

2007-02-07 Thread Stephan Ebelt
Hello,

On Tuesday 06 February 2007 20:28, Martin Simmons wrote:
  regexdir = /home/.*/[^Movies|^Music|^Pictures]/.*
 
  (though, this doesnt work yet)

 No, you can't use [] like that in a regexp -- it is for matching single
 characters, not strings.  There is no not operator in regexps.

there is. Ie this works

egrep /home/.*/[^Pictures] pathlist.file

the only problem is it would also _not_ match /home/user/iPctures because of 
the nature of []... I have not tried this with bregex because I prefer your 
solution below.

  Somehow I am stuck here. Can someone see a more simple approach to get
  _only_ those three directories from each home in the system? Or do I have
  to write a script?

 This does most of what you want:

 FileSet {
   Name = data-users-media

   Include {

   Options {
 signature = md5
 wilddir  = /home/*/Movies
 wild = /home/*/Movies/*
 wilddir  = /home/*/Music
 wild = /home/*/Music/*
 wilddir  = /home/*/Pictures
 wild = /home/*/Pictures/*
   }

   Options {
 wild = /home/*/*
 Exclude = yes
   }

   File = /home
   }
 }

this does the trick. Thanks a lot.

 The only problem is that it also includes everything directly in /home, but
 that may not matter.

not that I can see. The wild = /home/*/* directive also seems to 
match /home/* for a reason that I do not quite understand.

Adding wilddir = /home/* to the include block selects all dirs directly 
in /home, which indicates that everything was selected by the File = /home 
directive... also removing the exclude block selects everything (both tested 
with estimate).

So /home/* must be dropped in the /home/*/* match IMHO.

Stephan

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] job level question

2007-02-07 Thread Alan Brown
On Tue, 6 Feb 2007, Aaron Knister wrote:

 How does bacula handle the relationship between full jobs and
 incrementals? In terms of volume retention, does it realize that even
 though a tape's recycle flag is set, and it is configured to be
 autopruned that a full backup contained on that tape is required for
 current incrementals of that job?

If a full backup is purged, all its dependencies (differentials and 
incrementals) are purged too.

If that was the current full backup, the next incremental will immediately 
be promoted to full.

Anyone who doesn't have at least one full backup at all times (including 
after just having purged a full backup) is doing themselves a great 
disservice as they are exposing themselves to a window of total data loss 
until a new full backup has been made - AND put in a safe place.

Personally I rely on having 3 full backups on tape, in case at least one 
set goes bad...


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Want to run dbcheck but can't because of database size

2007-02-07 Thread Juan Luis Frances
What version of bacula?

I had the same problems with 1.38.5.  I attach my dirty patch.


El Wednesday 07 February 2007 12:15:50 James Cort escribió:
 Dear All,

 My database has grown in size to the point where it's now 18GB.

 I'd like to see if that can be pruned at all, but unfortunately my box
 only has 1GB of RAM and dbcheck fails rather horribly with an out of
 memory error when doing check for orphaned file records:

 Checking for orphaned File entries. This may take some time!
 Query failed: SELECT File.FileId,Job.JobId FROM File LEFT OUTER JOIN Job
 ON (File.JobId=Job.JobId) WHERE Job.JobId IS NULL: ERR=out of memory for
 query result

 Even with 20GB of swap this doesn't help in the slightest.  I notice
 that it doesn't use anywhere near that amount of swap before running out
 of memory, though - perhaps the per-process memory limit is the problem?

 Has anyone encountered (and more importantly solved) a similar problem
 in the past?


 James Cort
--- bacula-1.38.5-patched/src/tools/dbcheck.c	2006-04-20 16:10:01.0 +0200
+++ bacula-1.38.5/src/tools/dbcheck.c	2005-08-10 18:35:37.0 +0200
@@ -712,7 +712,7 @@
printf(_(Checking for orphaned File entries. This may take some time!\n));
query = SELECT File.FileId,Job.JobId FROM File 
LEFT OUTER JOIN Job ON (File.JobId=Job.JobId) 
-   WHERE Job.JobId IS NULL limit 30;
+   WHERE Job.JobId IS NULL;
if (verbose  1) {
   printf(%s\n, query);
}
@@ -720,32 +720,20 @@
   exit(1);
}
printf(_(Found %d orphaned File records.\n), id_list.num_ids);
-   while ( id_list.num_ids != 0 ) {
- if (name_list.num_ids  verbose  yes_no(_(Print them? (yes/no): ))) {
-for (int i=0; i  id_list.num_ids; i++) {
-   bsnprintf(buf, sizeof(buf),
-   SELECT File.FileId,File.JobId,Filename.Name FROM File,Filename 
-   WHERE File.FileId=%u AND File.FilenameId=Filename.FilenameId, id_list.Id[i]);
-   if (!db_sql_query(db, buf, print_file_handler, NULL)) {
+   if (name_list.num_ids  verbose  yes_no(_(Print them? (yes/no): ))) {
+  for (int i=0; i  id_list.num_ids; i++) {
+ bsnprintf(buf, sizeof(buf),
+SELECT File.FileId,File.JobId,Filename.Name FROM File,Filename 
+WHERE File.FileId=%u AND File.FilenameId=Filename.FilenameId, id_list.Id[i]);
+ if (!db_sql_query(db, buf, print_file_handler, NULL)) {
 printf(%s\n, db_strerror(db));
-   }
-}
- }
- 
- if (fix  id_list.num_ids  0) {
-printf(_(Deleting %d orphaned File records.\n), id_list.num_ids);
-delete_id_list(DELETE FROM File WHERE FileId=%u, id_list);
- }
-query = SELECT File.FileId,Job.JobId FROM File 
- LEFT OUTER JOIN Job ON (File.JobId=Job.JobId) 
- WHERE Job.JobId IS NULL limit 30;
- if (verbose  1) {
-printf(%s\n, query);
- }
- if (!make_id_list(query, id_list)) {
-exit(1);
- }
- printf(_(Found %d orphaned File records.\n), id_list.num_ids);
+ }
+  }
+   }
+
+   if (fix  id_list.num_ids  0) {
+  printf(_(Deleting %d orphaned File records.\n), id_list.num_ids);
+  delete_id_list(DELETE FROM File WHERE FileId=%u, id_list);
}
 }
 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Thread Hijacking (was Re: multiple file devices)

2007-02-07 Thread Alan Brown
On Tue, 6 Feb 2007, Ryan Novosielski wrote:

 Thread Hijacking on a mailing list or newsgroup

 Many people find that they are scolded on a list or newsgroup for thread
 hijacking despite the fact that they changed the subject line, which
 would seem to them to create a new thread. Most news and mail readers
 use other headers such as References: to track and build the thread of
 messages by message ID, and changing the subject line does not change
 the actual threading in many news or email readers.

Please bear in mind that References: is only a standard header for 
Usenet (It's in the never-completed RFC1023bis) and there are no 
applicable standards for mail clients using it.

Mail clients threading off In-Reply-To can have all sorts of threading 
issues as it's not a standard header and many clients don't insert it.

I used to get heated under the collar about threading issues but realised 
10 years ago that there wasn't much point... :)





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Single tape drive visible to multiple hosts

2007-02-07 Thread Alan Brown
On Tue, 6 Feb 2007, John Drescher wrote:

 Bacula sends the data directly from the filedaemon on each client to
 the storage daemon with out going through the director (main bacula
 server).

If network speed is an issue, one can always configure IP-over-san...



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bweb and freeBSD

2007-02-07 Thread Gabriel Puliatti
Hello, I'm running bweb on FreeBSD, using the latest Bacula (2.0.1).
The problem I have is that, while I can run jobs from the gnome
console, and scheduled jobs run, when I try to look at a Defined Job,
the dropdown box is empty, and I can't run, enable or disable a job.

Thanks in advance.

-- 
The Public is merely a multiplied me.
-- Mark Twain

Gabriel Puliatti
[EMAIL PROTECTED]
predius.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula dir wont start

2007-02-07 Thread Jim
I have no Idea what might have happened but I can't get the bacula-dir to
start. I have been running bacula for about 6 months now and recently
upgraded my dir and fd's to 2.01 and all was working fine. Yesterday I
reloaded my wife's computer and went to bacula to restore her document
folder, upon the first try it seemed to work great but didn't find the
files, well I realized I sent them to the wrong machine, no problem I could
just copy them from that machine but I wanted to make sure I had this
restore thing down using it to restore to a fresh installed os. I was using
ocm webmin to restore and at one point, since I couldn't seem to get it
working I brought up the wx-console to see what the status was and suddenly
I got an error saying that the dir was not running and do I want to
continue. I have not been able to get the dir running since. At first it
gave me some lines of code to check in the dir.conf file which hadn't
changed from the last start but weren't mission critical so I changed them
and expected it to start but now that I have everything set to work it still
does not start and gives me no errors.  This is on a centos 4.4 machine,
what can I do to force bacula to give me some sort of info about why it
doesn't start? Oh and the SD and FD on this box start it is just the dir
that doesn't. Thanks

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cant configure Bacula 2.0.2: Error: Unable to find Gnome 2 installation

2007-02-07 Thread Michael Bates

Dear Bacula

I can't configure Bacula on my server running Ubuntu 6.10.  The error that I
get is Unable to find Gnome 2 installation

I am new to Bacula and so please excuse any obvious oversight.

The command that run is as follows:

[EMAIL PROTECTED]:/home/michael/Michaels_Stuff/Bacula/bacula-2.0.2#./configure
   --sbindir=$HOME/bacula/bin
--sysconfdir=$HOME/bacula/bin --with-pid-dir=$HOME/bacula/bin
--with-subsys-dir=$HOME/bacula/bin
--with-sqlite3=$HOME/depkgs/sqlite3 --enable-gnome
--with-working-dir=$HOME/bacula/bin/working --with-dump-email=
[EMAIL PROTECTED] [EMAIL PROTECTED] --with-smtp-host=
smtp.gmail.com
checking for true... /bin/true
checking for false... /bin/false
configuring for bacula 2.0.2 (28 January 2007)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for g++... /usr/bin/g++
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for echo... /bin/echo
checking for cmp... /usr/bin/cmp
checking for tbl... /usr/bin/tbl
checking for ar... /usr/bin/ar
checking for openssl... /usr/bin/openssl
checking for mtx... /usr/sbin/mtx
checking for dd... /bin/dd
checking for mkisofs... /usr/bin/mkisofs
checking for python... /usr/bin/python
checking for growisofs... /usr/bin/growisofs
checking for dvd+rw-mediainfo... /usr/bin/dvd+rw-mediainfo
checking for dvd+rw-format... /usr/bin/dvd+rw-format
checking for pkg-config... /usr/bin/pkg-config
checking for wx-config... wx-config
checking for cdrecord... /usr/bin/cdrecord
checking for pidof... /bin/pidof
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for Operating System Distribution... done
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt... (cached) /usr/bin/msgfmt
configure: error: Unable to find Gnome 2 installation
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RedHat 9 rpm packages

2007-02-07 Thread Scott Barninger
Hello,

I would like a bit of feedback. There are still a few apparent users of
RedHat 9 based upon sourceforge download statistics. It would seem to me
that the time has come to discontinue those packages (no panic, I am
building 2.0.2 right now). Only the basic command line programs will
still build, all of the gui stuff is locked out. Is anyone planning to
continue this distribution into the reasonable future? Or should we plan
to end support in some time frame?

Scott


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] feature request For next years vote - NDMPv5

2007-02-07 Thread Florian Heigl
Hi all,

I'm still unsubscribed from the bacula lists from my holiday last may,
so I missed the vote this year, but according to the web site this is
just the right time to submit. :)



anyway...

Item  41:  NDMP Support
  Date:   20070204
  Origin: Florian Heigl [EMAIL PROTECTED]
  Status:

  What:   Add basic NDMP support to Bacula Director

  Why:NDMP is used for offloading the transfer of actual backup
data from the backup host, which is only controlling the media and
storing metadata (i.e. filenames, sizes, ...)
This is a feature which offers great performance benefits (think
100MB/s instead 2MB/s ) of  when dealing with large amounts of very
small files and especially needed for 'appliances', i.e. NetAPP.
It's a standard protocol thus supporting it will mean support for a
range of new devices.
Lastly, I've seen 4 people asking about bacula and NDMP support just
over the last 4 weeks in different web forums. so every thread that
comes up has one person asking about NDMP.

  Notes:  I think this should be not too hard to implement and interesting too.
 Probably not too much new code has to be written, as bacula already
has the fd split into another component.
 This must also work for restores :)

 Note below ---
 Example with each components job:
 director: initiate session with appliance via ndmp
 director: tell sd to tell jukebox to put a tape into a free drive
connected to the appliance
 sd: put the tape in
 director: tell appliance to mount tape and check label
 appliance: tells director it doesn't find a tape
 director: tells sd to put in another tape
 director: emails operator to pick up the dropped tape
 director: tell appliance to mount tape and check label
 appliance: tells director label and ready and mounted
  director: tells appliance what to backup
  appliance: backs up what's requested to tape and streams everything
besides pure data to director.
- Note right here 
When I think about it, the tape is still to be written in a
bacula-native format, so a certain bit of information is missing
somewhere in the above. But I suppose whoever picks this will know it
anyway. otherwise I'll dig into the specifications on request.


Regards,
Florian


-- 
'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How can Novell contribute

2007-02-07 Thread Hugh Pettitt
Warning: Top post

Hi Kern,

Cool. I'm glad to hear that you running SUSE10.2! FYI, Peugeot has confirmed 
that they will be migrating to Linux workstations.

Thanks so much for your quick reply. I am not the developer,however,  I am 
putting a developer on copy of this mail as he interested in contributing but 
was not sure concerning the protocol to get in touch with the community.

His name is Dean Giles and I will let him take it from there.

Thanks again,

-Hugh


 On Tue, Jan 30, 2007 at  4:42 PM, in message
[EMAIL PROTECTED], Kern Sibbald [EMAIL PROTECTED] wrote:



 Hello,
 
 
 On Tuesday 30 January 2007 14:29, Hugh Pettitt wrote:
 Hi All,

 We have several government organisations who are pro open source and would
 like us, Novell, to invest time in the Bacula community to help exand the
 functionalities of the Bacula code.
 
 That would be very welcome.  I'm a SuSE 10.2 user and pleased that SuSE has 
 packaged Bacula and distributes it with their releases. 
 

 Could you please tell me what the procedure is to become involved in the
 community?  I would also like to know if possible, which members that would
 be interested in interfacing with a Novell engineering who could help on
 the API side of things.
 
 You can get a good amount of information by reading at least the beginning 
 of 
 the Developer's manual, which you can find on the web site: 
 http://www.bacula.org/developers/index.html  It discusses the process of 
 starting and implementing a project.  It also discusses how to become 
 a developer and have write access to the CVS -- since I have found Bacula 
 developers to be very careful with their commits, it is a rather open system 
 
 once a project is defined and approved.
 
 If you have a particular project you would like to work on, then the best is 
 
 to discuss it with me, copying the bacula-devel list, where most all 
 development activities take place.  If you don't have a particular project, 
 you can find the current list of projects in the main directory of the 
 bacula 
 CVS on Source Forge. The file is named projects.  It has been ordered in 
 the priority that users voted on a few weeks ago.  The priority is an 
 indication of what users want and not an absolute since each requires a 
 design and programmer(s).
 
 One of the weak points of Bacula is that it essentially has no API for 
 interfacing to it.  I hope that over the next few years, this can be 
 corrected.  Any help in this area (as you mentioned) would be much 
 appreciated.
 
 It would help a lot if you could indicate more in detail what feature(s) you 
 
 would like to provide help with.  You can send your comments directly to me, 
 
 or preferably to me and copy the bacula-devel list, to which you or someone 
 should subscribe to become a part of the community ...
 
 Thanks for your interest in Bacula.
 
 Best regards,
 
 Kern
 
 
 

 King Regards,







 Hugh Pettitt

 Director Integrated Services
 Novell France
 [EMAIL PROTECTED]
 phone:+33 1 55 62 50 59
 mobile:+33 6 82 82 78 92

 Novell @ Salon Solutions Linux
 du 30/01 au 01/01 -   CNIT Paris La Défense -   Hall Marie-  Curie / Niveau 
 -  
 2


 Novell, Inc.
 Software for the Open Enterprise
 www.novell.com/open











 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula version 2.0.2 released to Source Forge

2007-02-07 Thread Scott Barninger
My rpms are out, Felix and Patti should follow soon.

On Tue, 2007-01-30 at 23:09 +0100, Kern Sibbald wrote:
 Hello,
 
 I have just uploaded the source tar files and Win32 binaries for Bacula 
 version 2.0.2 to the Bacula release area of Source Forge.  Most of the rpms 
 will be following this coming weekend.  
 
 This is a bug fix update to version 2.0.1.  
 
 Please note that to the best of my knowledge this release has regrettably not 
 been built or tested on Solaris or FreeBSD, and will remain so until someone 
 steps forward to do the testing.  The same applies to the Win32 binaries.
 
 Best regards,
 
 Kern
 
 The changes in this release  (since 2.0.1) include the following:
 28Jan08
 kes  Fix maxruntime bug #621.
 27Jan07
 kes  Get current main CVS .specs for RedHat, SuSE, Mandrake.
 26Jan07
 ebl  Implement the include JobID in spool file name project.
 kes  Reorder projects file in order determined by Jan 2007 vote.
 kes  Fix open of SQLite3 db where user does not have write permission
  so that DIR does not crash. Fixes bug #761.
 25Jan07
 kes  Change 'Device not configured to autolabel' from INFO
  to WARNING.
 kes  Fix jobq.c to restart failed jobs when Reschedule Times = 0
  which should restart an indefinite # of times.
 kes  Fix configure --help to print --with-mysql[=DIR]. Same for
  other DIR specifications.
 23Jan07
 rn   Fix msvc build problems. Fix bacula.dll exports for msvc build.
  Fix path quoting in SQLite scripts.
  Fix problems with SHGetFolderPath.
 19Jan07
 kes  Create patches/2.0.1-restart.patch. Fixes bug #755.
 18Jan07
 kes  Fix Job restart on error bug that promotes an Inc to a Full
  backup.  This should fix bug #755.
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/bacula-devel
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] TLS configuration and BB

2007-02-07 Thread Pierre Bernhardt
Hello,

without TLS configuration for sd connection I have not registred
problems.

But after adding TLS configuration I get Message

Volume data error at 0:1! Wanted block-id: BB02, got . Buffer discarded

after labeling tapes.

With btape I cannot see any problem. All looks fine. Backup and restore
looks good, too.

If I deactiave the TLS I didn't get further the message.
Because of no registered problem with TLS I have enable again.
Still have no problem with tested recovering procedures.

Any idea what we/me can do to investiagate/fix this problem?

Tape drive is a sony SDT-9000 DDS3 tape.
Datacompression is enabled and Blocksize is 0 (auto).

Bacula is release 2.0.2 from debian packages on debian etch (kernel
2.6.18-3-686)

--
MfG...
Pierre Bernhardt


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bug? It is possible to purge running jobs

2007-02-07 Thread Pierre Bernhardt
Hello,

I've seen some minutes ago that purging running jobs
is possible. The job will finish with error message:

starflake_test.2007-02-04_09.43.30 Warning: Error getting job record for stats:
sql_get.c:293 No Job found for JobId 7

Possible a bug or a feature ;-)

MfG...
Pierre Bernhardt


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Library without barcode reader and cleaning cartrige defined in one slot

2007-02-07 Thread Pierre Bernhardt
Hello,

I have a Libra-8 tape library without an barcode reader.
This have 8 slots.
I want to use one slot defined a cleaning cartrige slot
(slot 8).

As I understand the documention I can use only  simulating
barcode by setting labels in mtx-changer on all slots.
But I will use only slot 8 and the other slots(1-7) should
discover by update scan command.

Can I change mtx-changer script so only slot 8 gives a CLN-
barcode back and all other are empty?
Or should I use only update slot=1-7 scan and mount cleaning
cartrige by mount command?

MfG...


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fixed ip binding for bacula daemons?

2007-02-07 Thread Florian Heigl
Hi,

I'm currently working on clustering bacula (howto follows as all
quirks are removed)
My requirement is running a bacula fd on each of the cluster nodes,
and one for the cluster package. If someone thinks, this makes no
sense, I'd be also glad to hear why.

For the meantime I'm mostly concerned with making bacula listen to a
specific ip.
# netstat -na | grep LISTE | grep 910
[...]
tcp0  0 0.0.0.0:91010.0.0.0:*
 LISTEN
tcp0  0 0.0.0.0:91020.0.0.0:*
 LISTEN
tcp0  0 0.0.0.0:91030.0.0.0:*
 LISTEN

I haven't found out where I could influence that, how do I achieve this?

Florian

-- 
'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Problems

2007-02-07 Thread Ronald Watts
I ahve installed Bacula 2.0.1 server to Red Hat EL4 Kernel 2.7.xx and after 
following all of the steps properly and installing everything  properly, 
including the sqlite3 database and using all of the default configurations, 
however, when I go to ./bacula start..nothing happens. It says that it is 
starting but when I do a ./bacula status..it says that all of the services 
(FD, DIR, SD) are stopped. When I tried this on my Red Hat 9 the same thing 
happened. Maybe I am doing somthing wrong...I tried version 1.38.11 as well 
as 2.0.1 with no result.

1- Does anyone know of a fix for bacula services that do not start after 
installation? I installed as root as well as a regular user with the same 
problem.

2- Could someone also send some instructions as to how to do this properly.

3- Also, someone please let me know what is the correct stable version of 
bacula to install. Should I install 1.38.11 or 2.0.2 or 2.0.1?

Thank you

_
Invite your Hotmail contacts to join your friends list with Windows Live 
Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula is not using available tapes

2007-02-07 Thread Brent
Hi there, 

I have been using Bacula for a couple of years now to back up 
nearly a tereabyte of information.
We do full backups on the weekends, and differential backups on weekdays.

The problem comes from the fact that a full backup takes nearly 4 tapes, 
and we don't seem to be able to predict which tapes it will call for
 before going home for the weekend.  Inevitably we will get a long 
list of Backup Failed notices, because it can't find the tape it wants,
and have to drive into the office to change tapes - even though
 there are perfectly good tapes in the autochanger ready to be used.

Any advice on how to better predict which tapes will be called for, 
and ensure the correct ones are in 
the drive?

Thanks, alot
Brent.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] back up on demand

2007-02-07 Thread Heinz Ulrich Stille
On Tuesday 06 February 2007 16:52, [EMAIL PROTECTED] wrote:
 Is there something I can add to the config that will allow the director,
 or client to sense that the other has come on-line, and trigger a backup?

Not what I'd consider a clean solution, but if you have access to the DHCP
server, you could watch the log files and start a script when a new lease
is handed out. Or better yet, watch for name server messages if dhcp is
set up to update the dns.

MfG, Ulrich

-- 
Heinz Ulrich Stille / Tel.: +49-541-9400473 / Fax: +49-541-9400450
Tammen Gmbh / Wilhelmstraße 16 / D-49076 Osnabrück / www.tammen.de
Osnabrück HRB 15366 / Geschäftsführer: Dipl.-Kfm. Rolf Tammen


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Want to run dbcheck but can't because of database size

2007-02-07 Thread Juan Luis Frances
Now the correct patch, sorry ;-)

El Wednesday 07 February 2007 12:29:40 Juan Luis Frances escribió:
 What version of bacula?

 I had the same problems with 1.38.5.  I attach my dirty patch.

 El Wednesday 07 February 2007 12:15:50 James Cort escribió:
  Dear All,
 
  My database has grown in size to the point where it's now 18GB.
 
  I'd like to see if that can be pruned at all, but unfortunately my box
  only has 1GB of RAM and dbcheck fails rather horribly with an out of
  memory error when doing check for orphaned file records:
 
  Checking for orphaned File entries. This may take some time!
  Query failed: SELECT File.FileId,Job.JobId FROM File LEFT OUTER JOIN Job
  ON (File.JobId=Job.JobId) WHERE Job.JobId IS NULL: ERR=out of memory for
  query result
 
  Even with 20GB of swap this doesn't help in the slightest.  I notice
  that it doesn't use anywhere near that amount of swap before running out
  of memory, though - perhaps the per-process memory limit is the problem?
 
  Has anyone encountered (and more importantly solved) a similar problem
  in the past?
 
 
  James Cort
--- bacula-1.38.5/src/tools/dbcheck.c	2005-08-10 18:35:37.0 +0200
+++ bacula-1.38.5-patched/src/tools/dbcheck.c	2006-04-20 16:10:01.0 +0200
@@ -712,7 +712,7 @@
printf(_(Checking for orphaned File entries. This may take some time!\n));
query = SELECT File.FileId,Job.JobId FROM File 
LEFT OUTER JOIN Job ON (File.JobId=Job.JobId) 
-   WHERE Job.JobId IS NULL;
+   WHERE Job.JobId IS NULL limit 30;
if (verbose  1) {
   printf(%s\n, query);
}
@@ -720,20 +720,32 @@
   exit(1);
}
printf(_(Found %d orphaned File records.\n), id_list.num_ids);
-   if (name_list.num_ids  verbose  yes_no(_(Print them? (yes/no): ))) {
-  for (int i=0; i  id_list.num_ids; i++) {
- bsnprintf(buf, sizeof(buf),
-SELECT File.FileId,File.JobId,Filename.Name FROM File,Filename 
-WHERE File.FileId=%u AND File.FilenameId=Filename.FilenameId, id_list.Id[i]);
- if (!db_sql_query(db, buf, print_file_handler, NULL)) {
+   while ( id_list.num_ids != 0 ) {
+ if (name_list.num_ids  verbose  yes_no(_(Print them? (yes/no): ))) {
+for (int i=0; i  id_list.num_ids; i++) {
+   bsnprintf(buf, sizeof(buf),
+   SELECT File.FileId,File.JobId,Filename.Name FROM File,Filename 
+   WHERE File.FileId=%u AND File.FilenameId=Filename.FilenameId, id_list.Id[i]);
+   if (!db_sql_query(db, buf, print_file_handler, NULL)) {
 printf(%s\n, db_strerror(db));
- }
-  }
-   }
-
-   if (fix  id_list.num_ids  0) {
-  printf(_(Deleting %d orphaned File records.\n), id_list.num_ids);
-  delete_id_list(DELETE FROM File WHERE FileId=%u, id_list);
+   }
+}
+ }
+ 
+ if (fix  id_list.num_ids  0) {
+printf(_(Deleting %d orphaned File records.\n), id_list.num_ids);
+delete_id_list(DELETE FROM File WHERE FileId=%u, id_list);
+ }
+query = SELECT File.FileId,Job.JobId FROM File 
+ LEFT OUTER JOIN Job ON (File.JobId=Job.JobId) 
+ WHERE Job.JobId IS NULL limit 30;
+ if (verbose  1) {
+printf(%s\n, query);
+ }
+ if (!make_id_list(query, id_list)) {
+exit(1);
+ }
+ printf(_(Found %d orphaned File records.\n), id_list.num_ids);
}
 }
 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Want to run dbcheck but can't because of database size

2007-02-07 Thread Alan Brown
On Wed, 7 Feb 2007, James Cort wrote:

 I'd like to see if that can be pruned at all, but unfortunately my box
 only has 1GB of RAM and dbcheck fails rather horribly with an out of
 memory error when doing check for orphaned file records:

More ram is cheap, if your box can fit it...


 Checking for orphaned File entries. This may take some time!
 Query failed: SELECT File.FileId,Job.JobId FROM File LEFT OUTER JOIN Job
 ON (File.JobId=Job.JobId) WHERE Job.JobId IS NULL: ERR=out of memory for
 query result

 Even with 20GB of swap this doesn't help in the slightest.

Assuming Mysql:

Look in /etc/my.cnf for memlock and comment it out, or set it to FALSE.

The memlock directive prevents Mysql being swapped out.

  I notice
 that it doesn't use anywhere near that amount of swap before running out
 of memory, though - perhaps the per-process memory limit is the problem?

This should probably go in the infrequently asked questions somewhere as 
it took several days to solve why mysql was refusing to startup.

AB

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Want to run dbcheck but can't because of database size

2007-02-07 Thread Alan Brown
On Wed, 7 Feb 2007, Juan Luis Frances wrote:

 What version of bacula?

 I had the same problems with 1.38.5.  I attach my dirty patch.

I had a more elegant solution for dbcheck which I keep meaning to
send to Kern and it keeps getting buried.

Basically it just uses Select count() for counting the entries and 
delete where for erasing them.

This puts all the load back into mysql where the indexes can be effective, 
vs getting a large readout and then individually erasing possibly 10s of 
millions of orphan files.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RedHat 9 rpm packages

2007-02-07 Thread Alan Brown
On Sat, 3 Feb 2007, Scott Barninger wrote:

 I would like a bit of feedback. There are still a few apparent users of
 RedHat 9 based upon sourceforge download statistics.

We still have Rh6 and 7 boxes in service here

 It would seem to me that the time has come to discontinue those packages

I have no objection for -sd and -dir going away, but it'd be good to keep 
static (2.2/2.4 and 2.6 kernel) -fds around for otherwise unsupported 
dostributions - this would cover far more than just the cases in hand.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Want to run dbcheck but can't because of database size

2007-02-07 Thread James Cort
Juan Luis Frances wrote:
 What version of bacula?

 I had the same problems with 1.38.5.  I attach my dirty patch.

   
Should have mentioned: it's 1.38.9 and running a Postgres backend.

Your patch should work though, as dbcheck.c hasn't changed between those 
two versions.  I'll give it a go.


Many thanks,

James Cort
-- 
U4EA Technologies
http://www.u4eatech.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula is not using available tapes

2007-02-07 Thread Arno Lehmann
Hello,

On 2/5/2007 4:07 PM, Brent wrote:
 Hi there, 
 
 I have been using Bacula for a couple of years now to back up 
 nearly a tereabyte of information.
 We do full backups on the weekends, and differential backups on weekdays.
 
 The problem comes from the fact that a full backup takes nearly 4 tapes, 
 and we don't seem to be able to predict which tapes it will call for
  before going home for the weekend.  Inevitably we will get a long 
 list of Backup Failed notices, because it can't find the tape it wants,
 and have to drive into the office to change tapes - even though
  there are perfectly good tapes in the autochanger ready to be used.
 
 Any advice on how to better predict which tapes will be called for, 
 and ensure the correct ones are in 
 the drive?

Interesting.

You forgot to tell us which version of Bacula you use... but as far as I 
know, the Accept Any Volume directive did always work or rather did 
always apply, even if you set tit to 'No'.

This is what I can tell from experience: Bacula, starting with at least 
1.37, accepts any suitable volme in the autochanger and does not insist 
on what it asks for.

But you must not forget to keep the catalog up to date after a tape 
change - i.e. 'update slots [scan] storage=whatever' in bconsole.

Arno

 Thanks, alot
 Brent.
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Problems

2007-02-07 Thread Arno Lehmann
Hello,

On 2/5/2007 2:51 AM, Ronald Watts wrote:
 I ahve installed Bacula 2.0.1 server to Red Hat EL4 Kernel 2.7.xx and after 
 following all of the steps properly and installing everything  properly, 
 including the sqlite3 database and using all of the default configurations, 
 however, when I go to ./bacula start..nothing happens. It says that it is 
 starting but when I do a ./bacula status..it says that all of the services 
 (FD, DIR, SD) are stopped. When I tried this on my Red Hat 9 the same thing 
 happened. Maybe I am doing somthing wrong...I tried version 1.38.11 as well 
 as 2.0.1 with no result.
 
 1- Does anyone know of a fix for bacula services that do not start after 
 installation? I installed as root as well as a regular user with the same 
 problem.

Try calling the components one by one from the shell and use debug 
output. Like '/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -d 200 -f' 
See what that results in.

If that works, you'll have to check the start scripts - I don't run RH.

 2- Could someone also send some instructions as to how to do this properly.

All the necessary information is in the manual. If there's a problem 
with the packages you should report that to the packager - after making 
sure it's relly not only a configuration issue on your end.

 3- Also, someone please let me know what is the correct stable version of 
 bacula to install. Should I install 1.38.11 or 2.0.2 or 2.0.1?

Whatever you prefer... 1.38 is more thoroughly tested, but 2.0 has 
features you might want.

In any case, don't use sqlite as the catalog backend. It's slow and, 
compared to the other 2 options, can produce funny problems. There are 
people out there saying sqlite is ok for test purposes, but you should 
use PostgreSQL or MySQL in production.

Arno

 Thank you
 
 _
 Invite your Hotmail contacts to join your friends list with Windows Live 
 Spaces 
 http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fixed ip binding for bacula daemons?

2007-02-07 Thread Arno Lehmann
Hello,

On 2/4/2007 10:34 PM, Florian Heigl wrote:
 Hi,
 
 I'm currently working on clustering bacula (howto follows as all
 quirks are removed)

That sounds interesting...

 My requirement is running a bacula fd on each of the cluster nodes,
 and one for the cluster package. If someone thinks, this makes no
 sense, I'd be also glad to hear why.
 
 For the meantime I'm mostly concerned with making bacula listen to a
 specific ip.
 # netstat -na | grep LISTE | grep 910
 [...]
 tcp0  0 0.0.0.0:91010.0.0.0:*
  LISTEN
 tcp0  0 0.0.0.0:91020.0.0.0:*
  LISTEN
 tcp0  0 0.0.0.0:91030.0.0.0:*
  LISTEN
 
 I haven't found out where I could influence that, how do I achieve this?

There's a feature request regarding that... you can influence it with 
the editor of your choice and the build tools :-)

I'm sure everybody would be very thankful if you implemented that 
feature so soon after the votes :-)

Arno

 Florian
 

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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup MS Exchange

2007-02-07 Thread James Harper
 i need to update a exchange server, which is not the problem.
 
 But i have to backup the server in a way that i can restore single
mail
 accounts, or, what will be better, restore a single mail.
 In commmercial products you can get a plugin to backup and restore so
 called bricks in Exchange.

A brick level backup is one of those things that all commercial backup
products seem to do, but all acknowledge as being a bad idea. It is
slow, error prone, and you really need a full copy of the database
anyway so you end up with double the data.

Only a few days ago someone was complaining that the server in the
office was going slow, and I checked and at 10am the backup (Veritas
Backup Exec) was still running. The backup included a database backup
and a brick level backup of our Exchange server. The entire backup was
taking 12 hours, 8 hours of which was spent performing a brick level
backup of the Exchange server. The other 4 hours was spent doing the
exchange database backup (15gb), filesystem backup (~25gb) and SQL
database backups (~3gb).

 Anybody has a solution how to do the same thing with bacula?

I have never ever tried this, but it _may_ be possible to swing it
somehow via the M: drive that Exchange 2000 seems to create and is a
filesystem mapping of the Exchange database. I'm not sure if Exchange
2003 includes such a thing though.

James

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to know which job was restored?

2007-02-07 Thread Ruben Lopez
Hi,

I am trying to figure out which Job was was restored from the 
information that bacula gives in the bconsole and in the database. I can 
see how many files, how much space was restored, when was restored, and 
if it was succesfull, but I don't know which Job was being restored.

Is there any way of linking the restore job with the actual job that was 
restored?

Thanks in advance

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fixed ip binding for bacula daemons?

2007-02-07 Thread Alan Brown
On Sun, 4 Feb 2007, Florian Heigl wrote:

 I'm currently working on clustering bacula (howto follows as all quirks 
 are removed) My requirement is running a bacula fd on each of the 
 cluster nodes, and one for the cluster package. If someone thinks, this 
 makes no sense, I'd be also glad to hear why.

It makes sense to me.

Do you mean cluster as in IP-failover, or full clustering, where all 
the nodes can see and use common filesystems such as GFS?

It would be great to have backups able to follow the virtual IP of the 
fileservers.

It would be even better if one can say backup filesystem $FOO using one 
of this group of -FD clients


See http://www.bacula.org/?page=projects

Your requirements match item 37
If common filesystems are involved then you may want item 31 too.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] back up on demand

2007-02-07 Thread James Harper
 
 Is there something I can add to the config that will allow the
director,
 or client to sense that the other has come on-line, and trigger a
backup?
 very often users take their laptops home, and can miss multiple
backups.
 Some sort of on-line trigger would be a great help.

On of the projects voted on recently was for a way for the FD to
initiate a backup. I think it did pretty well in the voting, but I may
be wrong. Either way, it doesn't exist yet and so doesn't help you if
you want a solution now.

Alternatively have a look at the following section of the manual:
http://bacula.org/rel-manual/Bacula_Console.html#SECTION0022800
00 (hope that comes through okay with line wrapping etc. You should
be able to run the backup this way either as part of a startup script on
the laptop, or from a more sophisticated script on the director (maybe
using 'expect'?) that can do a 'status client=' based on a schedule (eg
15 minutely?) until such time as it gets a valid response, at which
point the backup will run.

James


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [SPAM] Re: Single tape drive visible to multiple hosts

2007-02-07 Thread Alan O'Keefe
Thanks Alan and John

Network backups is a possibility, we have an excellent network, I'm just 
looking for the most efficient solution.

Thanks for your help.

Regards
Alan

Alan Brown wrote:
 On Tue, 6 Feb 2007, John Drescher wrote:

 Bacula sends the data directly from the filedaemon on each client to
 the storage daemon with out going through the director (main bacula
 server).

 If network speed is an issue, one can always configure IP-over-san...



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Doing a backup only once

2007-02-07 Thread Kern Sibbald
On Wednesday 07 February 2007 12:15, Alan Brown wrote:
 On Tue, 6 Feb 2007, David Romerstein wrote:
  That, in essence, is why I first installed bacula - to backup roughly 2TB
  of data just once (my file count is *significantly* higher than yours,
  though - on the order of 200 million files across 10s of thousands of
  directories).

 For what it's worth, Bacula copes quite happily with one fileset here
 that's just under 1Tb and just over 5 million files - both on backup and
 on individual file restore.

 I'm backing up just under 20Tb and about 20 million files overall, with a
 runtime of abour 20 hours per Tb on full backup (spooling+flushing)

 Because of the way Bacula spools and flushes, I can backup 2 1Tb
 filesystems in the same period on the same tape drive.

 There's no net gain from trying 3 concurrent full backups on one tape
 drive even though the drive spends a lot of time idle with 2, as the
 source RAID arrays can't keep up with that much load (they're great at
 streaming, but slow down if required to seek a lot - as happens when
 reading 2 filesystems off the same device). This may change as I add more
 arrays...

Eric, Marc, and I are working on a few tricks to make this even faster :-)



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Conversion from CVS to Subversion (svn)

2007-02-07 Thread Kern Sibbald
Hello,

As you probably know Robert and I (mostly Robert) have been working on 
converting the CVS repository into a Subversion repository.  The conversion 
is now complete.

Bottom line:
- The CVS is deactivated and can no longer be accessed (I think).
- The Bacula page on Source Forge now has links in the Code menu item 
   to the SVN Browser, and information about SVN, i.e. how to checkout
   the repository.
- The repository is organized a bit differently from before, and if you 
   checkout the the whole Bacula project, you will get the code to everything.

   I.e.:

svn checkout https://bacula.svn.sourceforge.net/svnroot/bacula bacula

   gets the following:

 branches/
  Branch-1.32a/
  ...
  Branch-2.0/
  import/
  vendor/
tags/
  Release-1.1/
  ...
  Release-2.0.2/
trunk/
  bacula/
  docs/
  gui/
  regress/
  rescue/
  
- To get the equivalent of a module or project as in the CVS, you need to
  checkout a subdirectory.  E.g only the Bacula source code:

svn checkout https://bacula.svn.sourceforge.net/svnroot/bacula/trunk/bacula \
   bacula

I previously sent out an email with more detail on using svn, so please refer 
to that if necessary.  In the next few days, I will update the links on the 
web site as well as the developer's guide to reflect the change over to 
Subversion.

The release procedure will be slightly different from how we did it under 
CVS -- much more flexible, and for those needing to work on a release branch 
(developers or packagers), getting the branch and working on it is vastly 
simplified.  All this, I will explain in the developer's guide in due course 
(a few days to a week or two ...).

The new Subversion database is now open for read for everyone, and write for 
all those developer's who have submitted an FLA.  If you have submitted an 
FLA and I missed authorizing write permission for you, please let me know.  
If you are a developer and have recently submitted an FLA, please let me 
know, and I will ensure you have write permission on the repository.

Thanks for the nice work Robert :-)

Best regards,

Kern

PS: Robert has also prepared more useful information concerning Subversion, 
and I include it below:



Here are some interesting statistics from the conversion:

cvs2svn Statistics:
--
Total CVS Files:  3286
Total CVS Revisions: 28924
Total Unique Tags:  63
Total Unique Branches:  11
CVS Repos Size in KB:   232421
Total SVN Commits:4116
First Revision Date:Tue Apr 23 12:42:57 2002
Last Revision Date: Tue Feb  6 06:37:57 2007

The new Subversion repository size on my machine:

4.0Kbacula-tst/dav
12K bacula-tst/locks
40K bacula-tst/hooks
16K bacula-tst/conf
190Mbacula-tst/db/revs
17M bacula-tst/db/revprops
4.0Kbacula-tst/db/transactions
206Mbacula-tst/db
206Mbacula-tst

In your final announcement you might want to include the following
information:

Main Subversion Page
http://subversion.tigris.org

Subversion Book
http://svnbook.red-bean.com

Subversion Clients
http://subversion.tigris.org/project_packages.html

(For Windows users the TortoiseSVN package is awesome)

GUI UNIX client link
http://rapidsvn.tigris.org/

I've included the list of Subversion features stolen from their web-site.

Subversion's Features
=

Most current CVS features
-
Subversion is meant to be a better CVS, so it has most of CVS's features.
Generally, Subversion's interface to a particular feature is similar to
CVS's, except where there's a compelling reason to do otherwise.

Directories, renames, and file meta-data are versioned
--
Lack of these features is one of the most common complaints against CVS.
Subversion versions not only file contents and file existence, but also
directories, copies, and renames. It also allows arbitrary metadata
(properties) to be versioned along with any file or directory, and
provides a mechanism for versioning the `execute' permission flag on files.

Commits are truly atomic

No part of a commit takes effect until the entire commit has succeeded.
Revision numbers are per-commit, not per-file; log messages are attached to
the revision, not stored redundantly as in CVS.

Apache network server option, with WebDAV/DeltaV protocol.
--
Subversion can use the HTTP-based WebDAV/DeltaV protocol for network
communications, and the Apache web server to provide repository-side network
service. This gives Subversion an advantage over CVS in interoperability,
and provides various key features for free: authentication, wire
compression, and basic repository browsing.

Standalone server option

Subversion also offers a standalone server option using a custom protocol
(not everyone wants to run Apache 2.x). The standalone 

[Bacula-users] not all files on client being backed up

2007-02-07 Thread Raphael Bouskila
Hello all,

I'm having a really weird problem--not all of the files on my clients
are being backed up. I'm not sure what's causing it, and in fact can't
seem to see any pattern among what's being backed up and what's not.
Maybe I'm missing something obvious, but I could use a pointer!

Here's what's actually on a sample client:
[EMAIL PROTECTED] storage]# ls -la
total 36
drwxrwxrwx   5 root root  4096 Jan 30 14:50 .
drwxr-xr-x  25 root root  4096 Jan 26 16:40 ..
drwx--   2 root root 16384 Aug 19  2005 lost+found
drwxr-xr-x   3 user1 cnd   4096 Jan 30 14:51 user1
drwx--  15 user2cnd   4096 Sep 22 17:00 user2

Here's what I get on bacula on the server (doing a  5: Select the
most recent backup for a client restore)

$ dir
drwxr-xr-x   3 user1 cnd 4096  2007-01-30 14:51:02 */storage/user1/

I don't think this is a permissions problem, however, since on another client:

[EMAIL PROTECTED] storage]# ls -la
total 3473328
drwxrwxrwx  4 root  root   4096 Oct 30 10:38 .
drwxr-xr-x  3 root  root  0 Feb  7 08:23 ..
drwx--  2 root  root  16384 Sep 12  2005 lost+found
-rw-r--r--  1 user3  cnd 3267888 Oct 30 10:38 M.avi
-rw-r--r--  1 root  root 3549913276 Jun 29  2006 tarfile.tgz
drwxr-xr-x  8 user4 cnd4096 Sep  8 11:24 user4

$ dir
--   0 root root   0  1969-12-31 19:00:00  /storage/user4/

so, even though there are read permissions to everyone on tarfile.tgz
and M.avi, neither are being backed up.

I'm using bacula 1.36, and otherwise am quite happy with my current
setup, so unless this is a bacula 1.3x issue that can only be resolved
by upgrading, I'd prefer not to go to 2 just yet.

To be specific about my setup:
Server:
Debian sarge, kernel 2.6.8
1.36.2 (installed from the debian apt packages)
HP Utrium 230 LTO 1 tape drive

Clients:
Fedora 4 and up, 2.6 kernels
1.38.11 (installed from the bacula-client rpm file for Fedora) on the clients

Any ideas would be much appreciated!

 -raph

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bug? It is possible to purge running jobs

2007-02-07 Thread Kern Sibbald
On Sunday 04 February 2007 13:05, Pierre Bernhardt wrote:
 Hello,

 I've seen some minutes ago that purging running jobs
 is possible. The job will finish with error message:

 starflake_test.2007-02-04_09.43.30 Warning: Error getting job record for
 stats: sql_get.c:293 No Job found for JobId 7

 Possible a bug or a feature ;-)

User error.


 MfG...
 Pierre Bernhardt


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet quirks

2007-02-07 Thread Martin Simmons
 On Wed, 7 Feb 2007 12:18:09 +0100, Stephan Ebelt said:
 
 Hello,
 
 On Tuesday 06 February 2007 20:28, Martin Simmons wrote:
 regexdir = /home/.*/[^Movies|^Music|^Pictures]/.*
  
   (though, this doesnt work yet)
 
  No, you can't use [] like that in a regexp -- it is for matching single
  characters, not strings.  There is no not operator in regexps.
 
 there is. Ie this works
 
   egrep /home/.*/[^Pictures] pathlist.file
 
 the only problem is it would also _not_ match /home/user/iPctures because of 
 the nature of []... I have not tried this with bregex because I prefer your 
 solution below.

Right, and /home/user/Plausible, /home/user/impossible etc.  Anything
beginning with P, i, c, etc will behave the same, which is almost certainly
not wanted.


   Somehow I am stuck here. Can someone see a more simple approach to get
   _only_ those three directories from each home in the system? Or do I have
   to write a script?
 
  This does most of what you want:
 
  FileSet {
Name = data-users-media
 
Include {
 
Options {
  signature = md5
  wilddir  = /home/*/Movies
  wild = /home/*/Movies/*
  wilddir  = /home/*/Music
  wild = /home/*/Music/*
  wilddir  = /home/*/Pictures
  wild = /home/*/Pictures/*
}
 
Options {
  wild = /home/*/*
  Exclude = yes
}
 
File = /home
}
  }
 
 this does the trick. Thanks a lot.
 
  The only problem is that it also includes everything directly in /home, but
  that may not matter.
 
 not that I can see. The wild = /home/*/* directive also seems to 
 match /home/* for a reason that I do not quite understand.

That's not what happens for me -- e.g. if a file (not directory) called
/home/bogus exists then it will be backed up, which indicates that it does not
match /home/*/* (as expected).


 Adding wilddir = /home/* to the include block selects all dirs directly 
 in /home, which indicates that everything was selected by the File = /home 
 directive... also removing the exclude block selects everything (both tested 
 with estimate).

Yes, adding wilddir = /home/* will recursively match all dirs (but not
files) underneath /home.

__Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can someone shed some light on this error?

2007-02-07 Thread Brian Debelius
Ok, my fault.  Windows doesnt have /opt or /etc.  I completely 
overlooked that.  I changed to the correct path, and it works.

I also had to defineMinimum Block Size = 1024;   Maximum Block Size 
= 1024; in the device, since the VXA drive did not respond to the mt 
defblksize command.

All good now.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem when running out of space in my tape

2007-02-07 Thread matiasb
What can I do when the tape fills, making other jobs wait indefinitely  
(Until I change the tape)? (My Bacula is 1.36.3)
I came up with two soloutions:
1) Setting Max start delay for the tape jobs, so when the tape fills  
they are eventually canceled and Bacula can run the disk jobs.
2) Setting Maximum Concurrent Jobs to 10. Using priorities, I can  
manage to have the disk jobs run before the tape jobs.
 An example: I set Maximum Concurrent jobs to 10. I have 5 disk  
jobs and 5 tape jobs every day.
 1st day: The 5 disk jobs run first. Then the 5 tape jobs. The  
first tape job fills the tape, hanging the other jobs.
 2nd day: 10 new jobs arrive. There are 5 tape jobs waiting  
execution (The ones from the previous day). Since Maximum Concurrent  
jobs is set to 10, the 5 disk jobs can execute (**). Then the 5 new  
tape jobs try to execute, but they have to wait for the tape.
 3th day: Now, although there are 10 possible jobs to be run  
concurrently, they all are waiting execution because the tape is full.  
And I have 10 new jobs arriving...

 I tried to prove the 2nd option, but (**) fails. That is, the  
disk jobs don't run, although they could (Because of the Maximum  
concurrent jobs set to 10)

 Obviously, the problem here is that I have to be more aware of my  
tape state and be alert when it is about to filling :-)
 But, I'd like to ask:
 1) What other solutions have you found to this problem?
 2) Do you know why (**) fails?

Thank you

Matias



This message was sent using IMP, the Internet Messaging Program.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] schedule on different pools

2007-02-07 Thread Darien Hager

On Feb 4, 2007, at 4:12 AM, Pierre Bernhardt wrote:

 I have different pools created:

 Daily for incremental backups
 Weeklyfor differential backups
 Monthly   for full backups

 If a Daily job executes and a full backup must be saved the bu
 schould go automatically to the monthly pool. For Differential
 it should use the Weekly pool.

 So I've configured the following schedule directive in director
 configuration.

 Schedule {
   Name = Cycle
   Run = Level = Full 1st sun at 18:35
   Run = Level = Differential Full Pool = Monthly 2nd-5th sun at 18:35
   Run = Level = Incremental Full Pool = Monthly Differential Pool =  
 Weekly
 mon-sat at 18:35
 }

 But the problem is, it will not work as I guess.

 Where is the mistake?

I can think of one issue which I encountered--if you do a  
Differential or Incremental backup but no prior Full backup exists,  
it becomes upgraded to Full. Because of this, you can possibly have a  
Full backup done on any day, at least when you're starting out.

Myself, I realized I didn't care so much about whether it was a daily/ 
weekly/monthly backup, but actually I wanted to separate them by  
their level, so my pools are full/diff/incr instead. If this is the  
case for you, I would suggest you look at these three Job/JobDefs  
directives:

Full Backup Pool = pool-resource-name
Differential Backup Pool = pool-resource-name
Incremental Backup Pool = pool-resource-name

These will override the pool specification depending on the level of  
the backup. Using all three of them makes Pool =  redundant. When  
using them, I could remove the pool specifications from my schedule.


--
--Darien A. Hager
[EMAIL PROTECTED]
Mobile: (206) 734-5666



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Can someone shed some light on this error?

2007-02-07 Thread Brian Debelius
OS: Windows 2003
Tape Drive: Exabyte VXA-172 using Exabyte drivers
Changer: Exabyte Packetloader 1x10 using Exabyte drivers

mtx-changer works.

C:\Program Files\Bacula\binbtape -c bacula-sd.conf VXA-172
Tape block granularity is 1024 bytes.
btape: ../../stored/butil.c:286 Using device: VXA-172 for writing.
06-Feb 15:46 btape: 3301 Issuing autochanger loaded? drive 0 command.
06-Feb 15:46 btape: 3991 Bad autochanger loaded? drive 0 command: 
ERR=Unknown error.
Results=The system cannot find the path specified.

06-Feb 15:46 btape: 3301 Issuing autochanger loaded? drive 0 command.
06-Feb 15:46 btape: 3991 Bad autochanger loaded? drive 0 command: 
ERR=Unknown error.
Results=The system cannot find the path specified.

btape: ../../stored/btape.c:368 open device VXA-172 (Tape0): OK
*



-
bacula-sd.confAutochanger {
  Name = Packetloader0
  Device = VXA-172
  Changer Device = Changer0
  Changer Command = /etc/bacula/mtx-changer %c %o %s %a %d
}

Device {
  Name = VXA-172
  Drive Index =0
  Device Type = Tape
  Archive Device = Tape0
  Changer Device = Changer0
  LabelMedia = yes
  AutomaticMount = no
  AlwaysOpen = no
  RemovableMedia = yes 
  RandomAccess = no
  Media Type = X10
  Autochanger = yes
  Autoselect = yes
  Changer Command = /opt/bacula/etc/mtx-changer %c %o %s %a %d
}


---


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] not all files on client being backed up

2007-02-07 Thread Arno Lehmann
Hi,

On 2/7/2007 2:32 PM, Raphael Bouskila wrote:
 Hello all,
 
 I'm having a really weird problem--not all of the files on my clients
 are being backed up. I'm not sure what's causing it, and in fact can't
 seem to see any pattern among what's being backed up and what's not.
 Maybe I'm missing something obvious, but I could use a pointer!
 
 Here's what's actually on a sample client:
 [EMAIL PROTECTED] storage]# ls -la
 total 36
 drwxrwxrwx   5 root root  4096 Jan 30 14:50 .
 drwxr-xr-x  25 root root  4096 Jan 26 16:40 ..
 drwx--   2 root root 16384 Aug 19  2005 lost+found
 drwxr-xr-x   3 user1 cnd   4096 Jan 30 14:51 user1
 drwx--  15 user2cnd   4096 Sep 22 17:00 user2
 
 Here's what I get on bacula on the server (doing a  5: Select the
 most recent backup for a client restore)
 
 $ dir
 drwxr-xr-x   3 user1 cnd 4096  2007-01-30 14:51:02 */storage/user1/
 
 I don't think this is a permissions problem, however, since on another client:

I think the last backup you selected was not a full one, but rather an 
incremental or differential one.

I suppose there simply weren't any changes to data in user2 since the 
last backup of a higher level.

You can use one of the other, more suitable, restore options. Probably 
first use 2, 7, or 11 would help you.

Arno

 [EMAIL PROTECTED] storage]# ls -la
 total 3473328
 drwxrwxrwx  4 root  root   4096 Oct 30 10:38 .
 drwxr-xr-x  3 root  root  0 Feb  7 08:23 ..
 drwx--  2 root  root  16384 Sep 12  2005 lost+found
 -rw-r--r--  1 user3  cnd 3267888 Oct 30 10:38 M.avi
 -rw-r--r--  1 root  root 3549913276 Jun 29  2006 tarfile.tgz
 drwxr-xr-x  8 user4 cnd4096 Sep  8 11:24 user4
 
 $ dir
 --   0 root root   0  1969-12-31 19:00:00  /storage/user4/
 
 so, even though there are read permissions to everyone on tarfile.tgz
 and M.avi, neither are being backed up.
 
 I'm using bacula 1.36, and otherwise am quite happy with my current
 setup, so unless this is a bacula 1.3x issue that can only be resolved
 by upgrading, I'd prefer not to go to 2 just yet.
 
 To be specific about my setup:
 Server:
 Debian sarge, kernel 2.6.8
 1.36.2 (installed from the debian apt packages)
 HP Utrium 230 LTO 1 tape drive
 
 Clients:
 Fedora 4 and up, 2.6 kernels
 1.38.11 (installed from the bacula-client rpm file for Fedora) on the clients
 
 Any ideas would be much appreciated!
 
  -raph
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] client daemon

2007-02-07 Thread Jason King
I have bacula-dir, bacula-sd and bacula-fd running on the same server 
for testing purposes. For some reason, when I do a status all, the 
director can NEVER connect to the file-daemon. From my reading it 
appears that I have my file-daemon configured wrong but I don't know 
where it is configured wrong. What kind of entry should I have in my 
director and what should the file-daemon config file look like to make 
sure the director can communicate with the file-daemon.

Jason

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows Daemon Stopping

2007-02-07 Thread Jason King
I'm trying to run the Windows File-Daemon on a Windows 2003 Storage 
Edition server but the service will not run. It starts up...but 2 
seconds later it stops again. Anyone else have this issue with Windows?

Jason

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Single tape drive visible to multiple hosts

2007-02-07 Thread John Drescher
 Bacula sends the data directly from the filedaemon on each client to
 the storage daemon with out going through the director (main bacula
 server).

I wanted to clarify one thing. The storage daemon is run on the
machine that holds the tape drive. As a result of this design I
believe bacula does the minimal network transfer but not exactly what
you were describing.


Here is a diagram of the interaction of these three services:
http://bacula.org/dev-manual/What_is_Bacula.html#SECTION0048

John

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RedHat 9 rpm packages

2007-02-07 Thread Kern Sibbald
On Saturday 03 February 2007 19:39, Scott Barninger wrote:
 Hello,

 I would like a bit of feedback. There are still a few apparent users of
 RedHat 9 based upon sourceforge download statistics. It would seem to me
 that the time has come to discontinue those packages (no panic, I am
 building 2.0.2 right now). Only the basic command line programs will
 still build, all of the gui stuff is locked out. Is anyone planning to
 continue this distribution into the reasonable future? Or should we plan
 to end support in some time frame?

I would like to see us support as many systems as possible.

However, since we are not a commercial service and receive very few donations, 
I would say that we should minimize building systems to those that have some 
reasonable download statistics (say at least 50) and for which you have a 
build machine available. 

IMO, users who are running older systems can either stay with the Bacula they 
have installed on that system (if possible) or upgrade by building from 
source.  If there is enough demand for old systems, I could see some Bacula 
user adopting that system and releasing it himself, or following your build 
guidelines and releasing it in the appropriate contrib area.




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How cancel automatically a job after x hours

2007-02-07 Thread Eric Piollet
Ok thanks a lot !!!
With only this parameter Max Run Time = 1h, my  job is cancelled after 
1 hour

 

Aaron Knister a écrit :
 Uncomment the following line-

 #Max Run Time = 1h

 I believe this defines the maximum amount of time the job will run. 
 However if the job is running and goes for longer than 2 hours it will 
 be killed. You may want to edit your RunBeforeJob script to check 
 for the tape mt -f /dev/nst0 status and if it's not there return a 
 non-zero exit code and the job won't run.



 Eric Piollet wrote:
 I use Bacula 2.0.2, my backup plan is ok, pool  volume well 
 configured (Turn Monday - Friday).
 But  i can't  resolv one problem :
 If one day , the job can't start because  we 've  forgotten to put 
 the DAT, the job wait and wait until we put the DAT.
 I would to have an automatically cancel job after 1 or 2 hours .
 If you have an answser ... (thank you for advance)


 a part of my bacula-dir.conf :

   Name = MyBackup
   Type = Backup
   Client = messagerie-fd
   FileSet = Full Set
   Schedule = WeeklyCycle
   Storage = DAT72-052
   Messages = Standard
   Pool = Default
   RunBeforeJob = /opt/lampp/libexec/bacula/bin/mount.sh
   Write Bootstrap = /opt/lampp/libexec/bacula/bin/working/MyBackup.bsr
   Max Start Delay = 2h
   #Max Run Time = 1h
   Max Wait Time = 1h





 - 

 Using Tomcat but need to do more? Need to support web services, 
 security?
 Get stuff done quickly with pre-integrated technology to make your 
 job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache 
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ubuntu and Bacula 2.0.x

2007-02-07 Thread José Luis Tallón
Michel Meyers wrote:
 Eric Andrews wrote:
  Hi Michel

  Thanks for getting back so soon - I hope this helps, if you need more
  info, please shout.

  Please tell me where I am going wrong.
 [snip]

   bacula-director-sqlite3 depends on libc6 (= 2.3.6-6); however:
Version of libc6 on system is 2.3.6-0ubuntu20.2.

 Your (Ubuntu's?) verison of libc6 is too low. The same goes for libgcc1,
 libssl0.9.8 and libstdc++6 and you're missing libsqlite3-0 too:

   bacula-director-sqlite3 depends on libgcc1 (= 1:4.1.1-12); however:
Version of libgcc1 on system is 1:4.0.3-1ubuntu5.
   bacula-director-sqlite3 depends on libsqlite3-0 (= 3.3.8); however:
Package libsqlite3-0 is not installed.
   bacula-director-sqlite3 depends on libssl0.9.8 (= 0.9.8c-1); however:
Version of libssl0.9.8 on system is 0.9.8a-7ubuntu0.3.
   bacula-director-sqlite3 depends on libstdc++6 (= 4.1.1-12); however:
Version of libstdc++6 on system is 4.0.3-1ubuntu5.
  dpkg: error processing bacula-director-sqlite3 (--install):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   bacula-director-sqlite3
  [EMAIL PROTECTED]:/backup-200701 #

 Note that the Debian packages were probably built against Debian
 unstable or testing, which seems to have newer versions of the packages
 than the Ubuntu version you're using. You'll have to try to find the
 newer versions of these packages for your Ubuntu install and install the
 missing ones (don't ask me how, I really know nothing of Ubuntu apart
 the basic workings of apt and dpkg, which are the same on Debian),
 otherwise those Bacula packages will not install.
Even though some things *might* break, you can perfectly mix-and-match
packages from Ubuntu and Debian... while upgrading at the same time: my
suggestion is as follows, include a Debian *testing* repository in your
/etc/apt/sources.list and do an apt-get -f install

I assume installing from a repository would help you a bit... contact me
privately and I'll give you the URL for my company's semi-public repo.

(Soon to contain debs for 2.0.2 :-)
(sorry for the delay, guys)


J.L.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Advice for disk and tape backup plan

2007-02-07 Thread Don MacArthur
Thanks Arno, you always seem to have very helpful insights.  These
features would definitely represent a step up in complexity, and
functionality.  

Honestly, I'd love the restore-from-one-of-several-copies feature even
if I had to choose which volume to use for the restore from a list of
candidate presented on a menu, and wait for the more complex
prioritization code to come out as a separate module/code
block/whatever...

I'm guessing there are shops that fit the scenario of copying between
SDs, but I'm guessing the majority would be pleased to be able to do it
within a single SD and, also, wait for the multi-SD functionality as a
separate project.  

Again, thanks for your many contributions to the list; I've benefited
from your knowledge several times.

If I had the skills or the $$ I'd be part of the solution in a New York
minute (instantly).  

On Wed, 2007-02-07 at 10:46 +0100, Arno Lehmann wrote:
 Hi,
 
 I'm following your discussion for a while now...
 
 On 2/7/2007 3:54 AM, Don MacArthur wrote:
  I think some of the code contains what might be a good solution.  
 
 What you want seems to be he ability to copy volumes,possibly to another 
 SD, and keep complete catalog inform- Deciding which volumes / jobs to 
 restore from: A concept of a 'volume 
 cost' representing the efort needed to access volumes wil be helpful. 
 For example, define the cost for disk based volumes to be lower than 
 that of tapes stored locally, and the cost of off-site tapes would be 
 highes.ation about both copies.
 
 That part is probably rather simple to code (says another non-programmer 
 :-) because a big part of what is needed already exists with the 
 migration jobs.
 
  Right now, when a scheduled backup issues a mount request for a tape, it
  doesn't matter what tape I load as long as it meets the requirements to
  be used.  If it asks me for volume123 from pool xyz, and I load
  volume456 from pool xyz the job will run (again, assuming the status of
  the tape is correct and there aren't any other problems like file number
  mismatch).  
  
  I'm haven't coded for ... years, but I wonder if the same logic that
  allows the director or storage daemon to determine that it didn't get
  what it asked for (volume123), but did get what it wanted (a qualified
  volume), could be applied to this situation.  That is, read the label,
  query for the file and version, and if the mounted volume has the file,
  rock and roll.  If not, explain it to the operator and iterate the mount
  request.  
  
  Yes?
 
 As far as I understand, the restore part is what will be most difficult 
 to solve; currently, Bacula is not able to choose from different copies 
 of a job. This would have to be thought through first.
 
 The user interface to such a function would be quite straightforward as 
 you outline, but the key problem lies behind the scenes.
 
 I assume that job copies will be implemented some day, but we'd need a 
 capable programmer for that... There is a feature request dealing with 
 copies already, by the way.
 
 Many details need to be worked out before implementation can begin, I 
 assume. Three main areas might be:
 - Deciding which volumes / jobs to restore from: A concept of a 'volume 
 cost' representing the efort needed to access volumes wil be helpful. 
 For example, define the cost for disk based volumes to be lower than 
 that of tapes stored locally, and the cost of off-site tapes would be 
 highes.
 First, the DIR has to learn that there can be multiple copies of one 
 job, though - this is not something it understands today, I think.
 - Moving data without expiring the catalog information about the source 
 job. This should be rather simple.
 - Allowing the transfer of data from one SD to another one. Today, IIRC, 
 migration only works inside one SD. That is ok for migration from disk 
 to tape, but fore real copies one will want the ability to create 
 off-site volumes directly, i.e. copy from a local disk volume to a 
 remote tape.
 
 I imagine that the first and the last item will require most of the 
 implemetation time, and I'm qute sure that I overlooked many interesting 
 things ;-)
 
 Anyway, that discussion probably belongs to the -devel list.
 
 Today, if you want copies of jobs or volumes, you have only two choices: 
 Run the jobs twice, to different storage devices, and be prepared for 
 differences between jobs and manual decision which one to use for 
 restores. Or copy the volumes outside of Baculas scope, using simple 
 file copies for disk volumes, tape-to-tape dumps for tape volumes, or 
 use bcopy. In any case, you'll have to manage the copies manually, too, 
 but you will have identical copies.
 
 Anyway, this mainly repeats what has been written in this thread before. 
 What I find most interesting, though: Is one you intersted enough in the 
 job copy feature to sponsor it or to implement it himself? I'm quite 
 sure you'll get support from Kern and the other developers, and I'm also 
 

Re: [Bacula-users] Bacula dir wont start

2007-02-07 Thread Arno Lehmann
Hi,

On 1/31/2007 7:02 AM, Jim wrote:
 
 
 I have no Idea what might have happened but I can’t get the bacula-dir 
 to start. I have been running bacula for about 6 months now and recently 
 upgraded my dir and fd’s to 2.01 and all was working fine. Yesterday I 
 reloaded my wife’s computer and went to bacula to restore her document 
 folder, upon the first try it seemed to work great but didn’t find the 
 files, well I realized I sent them to the wrong machine, no problem I 
 could just copy them from that machine but I wanted to make sure I had 
 this restore thing down using it to restore to a fresh installed os. I 
 was using ocm webmin to restore and at one point, since I couldn’t seem 
 to get it working I brought up the wx-console to see what the status was 
 and suddenly I got an error saying that the dir was not running and do I 
 want to continue. I have not been able to get the dir running since. At 
 first it gave me some lines of code to check in the dir.conf file which 
 hadn’t changed from the last start but weren’t mission critical so I 
 changed them and expected it to start but now that I have everything set 
 to work it still does not start and gives me no errors.  This is on a 
 centos 4.4 machine, what can I do to force bacula to give me some sort 
 of info about why it doesn’t start? Oh and the SD and FD on this box 
 start it is just the dir that doesn’t. Thanks
 

I'll start sending you some punctuation and line feeds vie mail :-)

What errors exactly do you get when you start the DIR from the shell, 
like in '/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -f'? (Change 
the paths to fit your installation!)

Which version of Bacula?

What does the configuration file look like?

After you supply that information I'm sure we can help.

Arno

 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] schedule on different pools

2007-02-07 Thread Arno Lehmann
Hello,

On 2/4/2007 1:12 PM, Pierre Bernhardt wrote:
 Hello,
 
 I have different pools created:
 
 Daily for incremental backups
 Weeklyfor differential backups
 Monthly   for full backups
 
 If a Daily job executes and a full backup must be saved the bu
 schould go automatically to the monthly pool. For Differential
 it should use the Weekly pool.
 
 So I've configured the following schedule directive in director
 configuration.
 
 Schedule {
   Name = Cycle
   Run = Level = Full 1st sun at 18:35
   Run = Level = Differential Full Pool = Monthly 2nd-5th sun at 18:35

   Run = Level = Incremental Full Pool = Monthly Differential Pool = Weekly
 mon-sat at 18:35
 }
 
 But the problem is, it will not work as I guess.
 
 Where is the mistake?

What do you expect the Full I marked above to do?

Apart from that, you've done the same I did for quite some time, and 
which worked flawless.

Today, I prefer to set the pools for the backup levels in the job 
definition, and link the pools to the storage device in the pool setup.

That is not possible with 1.36, by the way.

Arno

 MfG...
 Pierre Bernhardt
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Advice for disk and tape backup plan

2007-02-07 Thread Michael Nelson
On Wed, February 7, 2007 7:51 am, Don MacArthur wrote:
 Thanks Arno, you always seem to have very helpful insights.

I agree.  Arno is knowledgeable, helpful, and seemingly always in good
cheer.  Bravo, Arno!

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cant configure Bacula 2.0.2: Error: Unable to findGnome 2 installation

2007-02-07 Thread Jeronimo Zucco
You can use:

/configure --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc/bacula 
--with-scriptdir=/etc/bacula --enable-smartalloc --with-mysql 
--with-working-dir=/var/bacula --with-pid-dir=/var/run 
--with-subsys-dir=/var/lock/subsys --enable-conio --with-openssl

Michael Bates escreveu:
 Dear Bacula

 I can't configure Bacula on my server running Ubuntu 6.10.  The error 
 that I get is Unable to find Gnome 2 installation

 I am new to Bacula and so please excuse any obvious oversight.

 The command that run is as follows:

 [EMAIL PROTECTED]:/home/michael/Michaels_Stuff/Bacula/bacula-2.0.2# 
 ./configure --sbindir=$HOME/bacula/bin 
 --sysconfdir=$HOME/bacula/bin --with-pid-dir=$HOME/bacula/bin 
 --with-subsys-dir=$HOME/bacula/bin 
 --with-sqlite3=$HOME/depkgs/sqlite3 --enable-gnome 
 --with-working-dir=$HOME/bacula/bin/working --with-dump-email= 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 --with-smtp-host=smtp.gmail.com http://smtp.gmail.com
 checking for true... /bin/true
 checking for false... /bin/false
 configuring for bacula 2.0.2 (28 January 2007)
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking whether gcc and cc understand -c and -o together... yes
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking whether gcc needs -traditional... no
 checking for g++... /usr/bin/g++
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for ranlib... ranlib
 checking for mv... /bin/mv
 checking for rm... /bin/rm
 checking for cp... /bin/cp
 checking for sed... /bin/sed
 checking for echo... /bin/echo
 checking for cmp... /usr/bin/cmp
 checking for tbl... /usr/bin/tbl
 checking for ar... /usr/bin/ar
 checking for openssl... /usr/bin/openssl
 checking for mtx... /usr/sbin/mtx
 checking for dd... /bin/dd
 checking for mkisofs... /usr/bin/mkisofs
 checking for python... /usr/bin/python
 checking for growisofs... /usr/bin/growisofs
 checking for dvd+rw-mediainfo... /usr/bin/dvd+rw-mediainfo
 checking for dvd+rw-format... /usr/bin/dvd+rw-format
 checking for pkg-config... /usr/bin/pkg-config
 checking for wx-config... wx-config
 checking for cdrecord... /usr/bin/cdrecord
 checking for pidof... /bin/pidof
 checking for gawk... gawk
 checking for gawk... /usr/bin/gawk
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-pc-linux-gnu
 checking for Operating System Distribution... done
 checking whether make sets $(MAKE)... yes
 checking whether NLS is requested... yes
 checking for msgfmt... /usr/bin/msgfmt
 checking for gmsgfmt... /usr/bin/msgfmt
 checking for xgettext... /usr/bin/xgettext
 checking for msgmerge... /usr/bin/msgmerge
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for shared library run path origin... done
 checking for CFPreferencesCopyAppValue... no
 checking for CFLocaleCopyCurrent... no
 checking whether NLS is requested... yes
 checking for GNU gettext in libc... yes
 checking whether to use NLS... yes
 checking where the gettext function comes from... libc
 checking for msgfmt... (cached) /usr/bin/msgfmt
 configure: error: Unable to find Gnome 2 installation

 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   


-- 
Jeronimo Zucco
LPIC-1 Linux Professional Institute Certified
Núcleo de Processamento de Dados
Universidade de Caxias do Sul

http://jczucco.blogspot.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

Re: [Bacula-users] client daemon

2007-02-07 Thread Darien Hager

On Feb 7, 2007, at 6:44 AM, Jason King wrote:

 I have bacula-dir, bacula-sd and bacula-fd running on the same server
 for testing purposes. For some reason, when I do a status all, the
 director can NEVER connect to the file-daemon. From my reading it
 appears that I have my file-daemon configured wrong but I don't know
 where it is configured wrong. What kind of entry should I have in my
 director and what should the file-daemon config file look like to make
 sure the director can communicate with the file-daemon.

Does it give an error message or reason it cannot connect? If you  
could post it here... If it gives no message, you can try starting up  
the Director and/or FD on the command line with -f -d200 and it  
will give you some nice debug output to read.

I have a similar problem, but I think it has something to do with how  
I'm using TLS and Certificate Authority stuff.

--
--Darien A. Hager
[EMAIL PROTECTED]
Mobile: (206) 734-5666



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fixed ip binding for bacula daemons?

2007-02-07 Thread Martin Simmons
 On Wed, 07 Feb 2007 13:14:19 +0100, Arno Lehmann said:
 
 Hello,
 
 On 2/4/2007 10:34 PM, Florian Heigl wrote:
  Hi,
  
  I'm currently working on clustering bacula (howto follows as all
  quirks are removed)
 
 That sounds interesting...
 
  My requirement is running a bacula fd on each of the cluster nodes,
  and one for the cluster package. If someone thinks, this makes no
  sense, I'd be also glad to hear why.
  
  For the meantime I'm mostly concerned with making bacula listen to a
  specific ip.
  # netstat -na | grep LISTE | grep 910
  [...]
  tcp0  0 0.0.0.0:91010.0.0.0:*
   LISTEN
  tcp0  0 0.0.0.0:91020.0.0.0:*
   LISTEN
  tcp0  0 0.0.0.0:91030.0.0.0:*
   LISTEN
  
  I haven't found out where I could influence that, how do I achieve this?
 
 There's a feature request regarding that... you can influence it with 
 the editor of your choice and the build tools :-)

I think listening on a particular IP address is already implemented by the
DirAddress directive (and similarly for the other daemons).  The feature
request is for outgoing connections to originate on a particular IP.

__Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client daemon

2007-02-07 Thread Jason King
Fantastic...Windows gave no messages except that is just stop 
unexpectedly but the flag options helped me understand that I had a 
configuration file issue. Thanks

Jaosn

Darien Hager wrote:
 On Feb 7, 2007, at 6:44 AM, Jason King wrote:

   
 I have bacula-dir, bacula-sd and bacula-fd running on the same server
 for testing purposes. For some reason, when I do a status all, the
 director can NEVER connect to the file-daemon. From my reading it
 appears that I have my file-daemon configured wrong but I don't know
 where it is configured wrong. What kind of entry should I have in my
 director and what should the file-daemon config file look like to make
 sure the director can communicate with the file-daemon.
 

 Does it give an error message or reason it cannot connect? If you  
 could post it here... If it gives no message, you can try starting up  
 the Director and/or FD on the command line with -f -d200 and it  
 will give you some nice debug output to read.

 I have a similar problem, but I think it has something to do with how  
 I'm using TLS and Certificate Authority stuff.

 --
 --Darien A. Hager
 [EMAIL PROTECTED]
 Mobile: (206) 734-5666



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Getting No Data

2007-02-07 Thread Jason King
I've got my director communicating with ALL of my remote servers (file 
daemons) correctly. Doing a *stat and checking on the clients gives me 
the client information. I setup the jobs in the diretors config file and 
tried to run the backup. The backup starts and ends within about 5 
seconds and doesn't backup ANY data on ANY of the servers. What could I 
have done wrong?

Jason

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Conversion from CVS to Subversion (svn)

2007-02-07 Thread Robert Nelson
One minor clarification below

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:bacula-devel-
 [EMAIL PROTECTED] On Behalf Of Kern Sibbald
 Sent: Wednesday, February 07, 2007 5:24 AM
 To: bacula-devel; bacula-users
 Subject: [Bacula-devel] Conversion from CVS to Subversion (svn)
 
 Hello,
 
 As you probably know Robert and I (mostly Robert) have been working on
 converting the CVS repository into a Subversion repository.  The
 conversion
 is now complete.
 
 Bottom line:
 - The CVS is deactivated and can no longer be accessed (I think).

The CVS tree is still accessible at the old paths, it just can't be updated
because write access has been removed from all the developers.  It is still
possible to browse it using the original url:

http://bacula.cvs.sourceforge.net/bacula

This is useful if you need to refer back to one of the obsolete directories
that weren't migrated to Subversion.

 - The Bacula page on Source Forge now has links in the Code menu item
to the SVN Browser, and information about SVN, i.e. how to checkout
the repository.
 - The repository is organized a bit differently from before, and if you
checkout the the whole Bacula project, you will get the code to
 everything.
 



[Rest removed]





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How cancel automatically a job after x hours

2007-02-07 Thread Support
Eric

You may want to look at

Max Start Delay = NN hours etc

The job must start in NN hours from when scheduled or it will be canceled.

Stephen Carr

Eric Piollet wrote:
 Ok thanks a lot !!!
 With only this parameter Max Run Time = 1h, my  job is cancelled after
 1 hour



 Aaron Knister a écrit :
 Uncomment the following line-

 #Max Run Time = 1h

 I believe this defines the maximum amount of time the job will run.
 However if the job is running and goes for longer than 2 hours it will
 be killed. You may want to edit your RunBeforeJob script to check
 for the tape mt -f /dev/nst0 status and if it's not there return a
 non-zero exit code and the job won't run.



 Eric Piollet wrote:
 I use Bacula 2.0.2, my backup plan is ok, pool  volume well
 configured (Turn Monday - Friday).
 But  i can't  resolv one problem :
 If one day , the job can't start because  we 've  forgotten to put
 the DAT, the job wait and wait until we put the DAT.
 I would to have an automatically cancel job after 1 or 2 hours .
 If you have an answser ... (thank you for advance)


 a part of my bacula-dir.conf :

   Name = MyBackup
   Type = Backup
   Client = messagerie-fd
   FileSet = Full Set
   Schedule = WeeklyCycle
   Storage = DAT72-052
   Messages = Standard
   Pool = Default
   RunBeforeJob = /opt/lampp/libexec/bacula/bin/mount.sh
   Write Bootstrap =
 /opt/lampp/libexec/bacula/bin/working/MyBackup.bsr
   Max Start Delay = 2h
   #Max Run Time = 1h
   Max Wait Time = 1h





 -

 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your
 job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users






 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Getting No Data

2007-02-07 Thread Darien Hager

On Feb 7, 2007, at 2:37 PM, Jason King wrote:

 I've got my director communicating with ALL of my remote servers (file
 daemons) correctly. Doing a *stat and checking on the clients gives me
 the client information. I setup the jobs in the diretors config  
 file and
 tried to run the backup. The backup starts and ends within about 5
 seconds and doesn't backup ANY data on ANY of the servers. What  
 could I
 have done wrong?

I assume the backup failed with an error message? If so, could you  
post it here?

Check that the information the director has for the storage daemon is  
valid. For instance, you cannot tell the director that the storage  
daemon is localhost, because the director gives that information to  
the clients and for them localhost is the wrong computer. This kind  
of error doesn't prevent the director from contacting all your  
clients, but it would prevent the clients from connecting to the  
storage daemon.

--
--Darien A. Hager
[EMAIL PROTECTED]



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Win32 mtx-changer.cmd and single drive

2007-02-07 Thread Erich Prinz
(sorry for the dupe - used the wrong email account and the dist list  
bounced it back)

Hi Robert,

I'm setting up v 2.0.2 on a Win 2003 box and needing to use Alexander  
Kuehn's script written in the Tips section.

What I'm needing help on is to:

1. validate the path info along with variables is correct AND
2. how to add the virtual database for the slots as shown below in  
Alexander's example shown here to the mtx-changer.cmd file.

Device {
Name=DDS3
Archive Device = # use yours not mine! ;)/dev/nsa0
Changer Device = # not really required/dev/nsa0
Changer Command = # use this (maybe change the path)!
  /usr/local/bin/mtx-changer %o %a %S
Maximum Changer Wait = 3d  # 3 days in seconds
AutomaticMount = yes;  # mount on start
AlwaysOpen = yes;  # keep device locked
Media Type = DDS3  # it's just a name
RemovableMedia = yes;  #
Offline On Unmount = Yes;  # keep this too
Label media = Yes; #
}
As the script has to emulate the complete wisdom of a mtx-changer it  
has an internal database containing where which tape is stored, you  
can see this on the following line:

labels=VOL-0001 VOL-0002 VOL-0003 VOL-0004 VOL-0005 VOL-0006
VOL-0007 VOL-0008 VOL-0009 VOL-0010 VOL-0011 VOL-0012

 
-

I have modified the Device config to this:

#
Device {
   Name = DDS-4#
   Media Type = DDS-4
   Changer Command = C:\\Program Files\\Bacula\\bin %o %a %s
   Maximum Changer Wait = 12h
   Device Type = Tape
   Archive Device = Tape0
   AutomaticMount = yes   # when device opened, read it
   AlwaysOpen = yes
   RemovableMedia = yes
   Offline On Unmount = yes
   RandomAccess = no
   Label media = yes
#  Alert Command = tapeinfo -f %c | findstr TapeAlert
}


Thanks,

Erich



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] not all files on client being backed up

2007-02-07 Thread Raphael Bouskila
Oops; sent this wrong.
---

Huh, it didn't show up with option 2 (Search for a file):

   Enter Filename (no path):M.avi
   No results to list.

But it did with option 7:

   Enter full filename: /storage/M.avi
   Enter full filename:
   Bootstrap records written to /var/lib/bacula/restore.bsr

   The job will require the following Volumes:

  CND-015

   1 file selected to be restored.

which is nice, but doesn't really help me if I don't know the fully
qualified name of all files on a client. Maybe I'm entering the query
wrong in #2? (Oh, and there's no option 11, at least not in my
version.)

thanks again!

 -raph

On 2/7/07, Raphael Bouskila [EMAIL PROTECTED] wrote:
 Huh, it didn't show up with option 2 (Search for a file):

 Enter Filename (no path):M.avi
 No results to list.

 But it did with option 7:

 Enter full filename: /storage/M.avi
 Enter full filename:
 Bootstrap records written to /var/lib/bacula/restore.bsr

 The job will require the following Volumes:

CND-015

 1 file selected to be restored.

 which is nice, but doesn't really help me if I don't know the fully
 qualified name of all files on a client. Maybe I'm entering the query
 wrong in #2? (Oh, and there's no option 11, at least not in my
 version.)

 thanks again!

  -raph

 On 2/7/07, Arno Lehmann [EMAIL PROTECTED] wrote:
  Hi,
 
  On 2/7/2007 2:32 PM, Raphael Bouskila wrote:
   Hello all,
  
   I'm having a really weird problem--not all of the files on my clients
   are being backed up. I'm not sure what's causing it, and in fact can't
   seem to see any pattern among what's being backed up and what's not.
   Maybe I'm missing something obvious, but I could use a pointer!
  
   Here's what's actually on a sample client:
   [EMAIL PROTECTED] storage]# ls -la
   total 36
   drwxrwxrwx   5 root root  4096 Jan 30 14:50 .
   drwxr-xr-x  25 root root  4096 Jan 26 16:40 ..
   drwx--   2 root root 16384 Aug 19  2005 lost+found
   drwxr-xr-x   3 user1 cnd   4096 Jan 30 14:51 user1
   drwx--  15 user2cnd   4096 Sep 22 17:00 user2
  
   Here's what I get on bacula on the server (doing a  5: Select the
   most recent backup for a client restore)
  
   $ dir
   drwxr-xr-x   3 user1 cnd 4096  2007-01-30 14:51:02 
   */storage/user1/
  
   I don't think this is a permissions problem, however, since on another 
   client:
 
  I think the last backup you selected was not a full one, but rather an
  incremental or differential one.
 
  I suppose there simply weren't any changes to data in user2 since the
  last backup of a higher level.
 
  You can use one of the other, more suitable, restore options. Probably
  first use 2, 7, or 11 would help you.
 
  Arno
 
   [EMAIL PROTECTED] storage]# ls -la
   total 3473328
   drwxrwxrwx  4 root  root   4096 Oct 30 10:38 .
   drwxr-xr-x  3 root  root  0 Feb  7 08:23 ..
   drwx--  2 root  root  16384 Sep 12  2005 lost+found
   -rw-r--r--  1 user3  cnd 3267888 Oct 30 10:38 M.avi
   -rw-r--r--  1 root  root 3549913276 Jun 29  2006 tarfile.tgz
   drwxr-xr-x  8 user4 cnd4096 Sep  8 11:24 user4
  
   $ dir
   --   0 root root   0  1969-12-31 19:00:00  
   /storage/user4/
  
   so, even though there are read permissions to everyone on tarfile.tgz
   and M.avi, neither are being backed up.
  
   I'm using bacula 1.36, and otherwise am quite happy with my current
   setup, so unless this is a bacula 1.3x issue that can only be resolved
   by upgrading, I'd prefer not to go to 2 just yet.
  
   To be specific about my setup:
   Server:
   Debian sarge, kernel 2.6.8
   1.36.2 (installed from the debian apt packages)
   HP Utrium 230 LTO 1 tape drive
  
   Clients:
   Fedora 4 and up, 2.6 kernels
   1.38.11 (installed from the bacula-client rpm file for Fedora) on the 
   clients
  
   Any ideas would be much appreciated!
  
-raph
  
   -
   Using Tomcat but need to do more? Need to support web services, security?
   Get stuff done quickly with pre-integrated technology to make your job 
   easier.
   Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

[Bacula-users] Network error with FD during Backup

2007-02-07 Thread Florian Schürfeld
Hi there,

when i try to backup a remote host, i get

Fatal error: Network error with FD during Backup: ERR=Connection reseted
by peer
08-Feb 07:25 bacula-dir: heidi_bkup.2007-02-08_06.24.56 Fatal error: No
Job status returned from FD.

This occures after a duration of one hour. The uplink to the remote site
is quite good (34 mbit). 
My Bacula 2.0 Server is in the DMZ behind a SonicWall.
What i need to know by now is, is the FD or the SD terminating the
connection ???

-- 
Florian Schürfeld [EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users