[Bacula-users] tapeinfo under windows

2007-01-10 Thread Andreas Lüdtke
Hi,

I'm trying to configure the tape alert (Alert Command) for my DLT drive under 
Windows 2003
Server. I ran the following command on the command line:

tapeinfo -f DeviceName

the result is always:

cannot open SCSI device 'DeviceName' - No such file or directory

I read in the archive (may 2006) that Robert Nelson has ported the mtx package 
to windows.
So I assume that this program should work under windows, but what is the 
correct
DeviceName to use it under windows?

Thanks

Andreas


-
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


Re: [Bacula-users] Ideas for restore job to test backups

2007-01-10 Thread Christoph Klünter
Hi all,

On Tuesday 09 January 2007 18:02, Misty Stanley-Jones wrote:
 I'm looking for some ideas about how to create a Restore job such that a
 random file, from a random client, from a random backup (which has not been
 pruned, obviously) will be picked to be restored.  I have been just
 arbitrarily choosing a file to restore, but it will never be even close to
 random, and isn't really a great way to test the backups.
Great Idea.



 Someone on the IRC channel got me started with the following query:

 select * from File order by RAND() limit 1




 This just gives me the FileId, and I would need to join with another table
 to get the file name and which client it belongs to.  But is there a better
 way to approach this?
From the Bacula Manual about restore :
7: Enter a list of files to restore:
 If you prefix the filename with a question mark (?), then the filename will 
be interpreted as an SQL table name, and Bacula will include the rows of that 
table in the list to be restored. The table must contain the JobId in the 
first column and the FileIndex in the second column. This table feature is 
intended for external programs that want to build their own list of files to 
be restored.

JobID and FileIndex are columns of File. Just build a temp Table or whatever.



 Also, I would like to be able to schedule this restore to happen once per
 week.  Is that possible?
Kern Sibbald wrote:
However, it is possible to schedule an Admin job that calls a RunScript that 
then scripts the restore with bconsole.


And then let nagios check if the files really got restored.
something like find /mnt/restore -ctime -6
Awesome.

Cheers,
Christoph
-- 
NMMN - New Media Markets  Networks GmbH

http://www.nmmn.com               Tel.: +49 40 284 118 -0
Langbehnstrasse 6                 Technische Hotline   -700
22761 Hamburg                     Fax:                 -999

-
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


Re: [Bacula-users] FD running as non-root

2007-01-10 Thread Martin Simmons
 On Tue, 09 Jan 2007 16:52:41 -0500, Dan Langille said:
 
 This issue came up on IRC yesterday.  The statement in question is at 
 http://www.bacula.org/rel-manual/Bacula_Security_Issues.html :
 
 The Clients (bacula-fd) must run as root to be able to access all 
 the system files.
 
 Someone wanted to run FD as non-root. I replied that would be fine 
 provided the UID/GID has permission to access all the files you want 
 to backup.  I propose to replace the quoted sentence with:
 
 The Clients (bacula-fd) must run as whatever GID/UID is necessary to 
 access whatever files you wish to backup. In addition, if you wish to 
 restore over existing files, bacula-fd will require sufficient 
 permission to do that.  In most cases, this means root.
 
 Comments?

Restore will also be limited for new files, always setting the owner to the
user that is running bacula-fd and similarly for the group.

__Martin

-
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


Re: [Bacula-users] Building directory tree is very slowly

2007-01-10 Thread Alan Brown
On Tue, 9 Jan 2007, Ondrej PLANKA wrote:

 It sounds silly, but add individual indexes for JobId, PathId and FilnameId 
 as well as the 3-way one.
 
 Ok, do you have some tip, how can I add individual indexes? Because I think, 
 my indexes are OK or not?

ALTER TABLE File ADD INDEX [name] {column} ;

so...

ALTER TABLE File ADD INDEX file_jobid_idx JobId ;
ALTER TABLE File ADD INDEX file_pathid_idx PathId ;
ALTER TABLE File ADD INDEX file_filenameid_idx FilenameId ;


-
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


Re: [Bacula-users] Ideas for restore job to test backups

2007-01-10 Thread Arno Lehmann
Hi,

On 1/10/2007 10:20 AM, Christoph Klünter wrote:
...
Also, I would like to be able to schedule this restore to happen once per
week.  Is that possible?
 
 Kern Sibbald wrote:
 However, it is possible to schedule an Admin job that calls a RunScript that 
 then scripts the restore with bconsole.
 
 
 And then let nagios check if the files really got restored.
 something like find /mnt/restore -ctime -6
 Awesome.

Don't forget the diff with the original file...

Arno

 Cheers,
 Christoph

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


-
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


Re: [Bacula-users] Ideas for restore job to test backups

2007-01-10 Thread Christoph Klünter
  And then let nagios check if the files really got restored.
  something like find /mnt/restore -ctime -6
  Awesome.

 Don't forget the diff with the original file...
The original file might have changed since the last backup or might be on
a host which is not accessible by nagios. What about using the MD5sum in the
database ? Would that be reliable ?

Cheers, 
 Christoph
-- 
NMMN - New Media Markets  Networks GmbH

http://www.nmmn.com               Tel.: +49 40 284 118 -0
Langbehnstrasse 6                 Technische Hotline   -700
22761 Hamburg                     Fax:                 -999

-
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


[Bacula-users] Buffalo TeraStation

2007-01-10 Thread Sim Zacks
Has anyone used Bacula with Buffalo TeraStation?

Is there any way to load the storage daemon onto the TeraStation, or
would I have to mount the TeraStation disks onto another box and run
the storage daemon from there?

Thank You
Sim


-
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


Re: [Bacula-users] tapeinfo under windows

2007-01-10 Thread Erich Prinz
Substitute DeviceName for the name the OS gives the drive.

On a Windows box you'll find it here:

Computer Manager  Device Manager  Tape Drives  [your branded  
model]  Properties  Tape Symbolic Name (this is where you'll find  
what the OS calls it)

and TapeInfo will work just fine for you.

Erich

On Jan 10, 2007, at 3:19 AM, Andreas Lüdtke wrote:

 Hi,

 I'm trying to configure the tape alert (Alert Command) for my DLT  
 drive under Windows 2003
 Server. I ran the following command on the command line:

   tapeinfo -f DeviceName

 the result is always:

   cannot open SCSI device 'DeviceName' - No such file or directory

 I read in the archive (may 2006) that Robert Nelson has ported the  
 mtx package to windows.
 So I assume that this program should work under windows, but what  
 is the correct
 DeviceName to use it under windows?

 Thanks

   Andreas


 -- 
 ---
 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



-
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


[Bacula-users] backing up outlook, outlookExpress or thunderbird

2007-01-10 Thread Jaime Ventura
Hello,
Does anyone have any experience backing up outlook, outlookExpress 
or thunderbird files with bacula VSS?
Does those applications support VSS?
Whenever o search for outlook vss only exchange related results 
are returned :(
Thanks,
 Jaime
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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


Re: [Bacula-users] backing up outlook, outlookExpress or thunderbird

2007-01-10 Thread John Drescher
On 1/10/07, Jaime Ventura [EMAIL PROTECTED] wrote:
 Hello,
 Does anyone have any experience backing up outlook, outlookExpress
 or thunderbird files with bacula VSS?
 Does those applications support VSS?
 Whenever o search for outlook vss only exchange related results
 are returned :(
 Thanks,
  Jaime
 --

I know for a fact that outlook XP and outlook 2003 supports that as I
have tested leaving outlook open while a  backup is in progress and on
top of that I have several users that never close outlook and this
does not cause bacula any problems. I have also verified that
restoring outlook files that were created in this way works fine.

John

-
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


Re: [Bacula-users] Building directory tree is very slowly

2007-01-10 Thread Thomas Glatthor
for a 2,500,000 file-job my machine needs ~ 15 minutes
the databasequery is finished after ~1 minute,
but the director needs 14 minutes to build the tree or whatever happens
in this time .
also is the dir only using one cpu for his work, instead of four.

i don't think that the database is the problem.

Regards
Thomas


Alan Brown schrieb:
 On Tue, 9 Jan 2007, Ondrej PLANKA wrote:
 
 It sounds silly, but add individual indexes for JobId, PathId and FilnameId 
 as well as the 3-way one.

 Ok, do you have some tip, how can I add individual indexes? Because I think, 
 my indexes are OK or not?
 
 ALTER TABLE File ADD INDEX [name] {column} ;
 
 so...
 
 ALTER TABLE File ADD INDEX file_jobid_idx JobId ;
 ALTER TABLE File ADD INDEX file_pathid_idx PathId ;
 ALTER TABLE File ADD INDEX file_filenameid_idx FilenameId ;
 
 
 -
 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

-- 
IC3S Information, Computer und Solartechnik AG
Bäckerbarg 6, 22889 Tangstedt, Germany

Telefon+49.4109.555.121
Telefax+49.4109.555.57
E-Mail  [EMAIL PROTECTED]
Webhttp://www.ic3s.de/

Vorstand: Jan Behrmann (Vorsitzender), Stefan Fehlauer
Aufsichtsrat: Sven Niklasson (Vorsitzender)
Dresdner Bank (200 800 00), Kto. 0123 9582 00
Commerzbank (200 400 00), Kto. 8540 288
Amtsgericht Kiel HRB 7590
UST.IdNr. DE184532766

-
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


Re: [Bacula-users] Building directory tree is very slowly

2007-01-10 Thread Steve Thompson
On Wed, 10 Jan 2007, Thomas Glatthor wrote:

 for a 2,500,000 file-job my machine needs ~ 15 minutes
 the databasequery is finished after ~1 minute,
 but the director needs 14 minutes to build the tree or whatever happens
 in this time .
 also is the dir only using one cpu for his work, instead of four.

 i don't think that the database is the problem.

I have also noticed the very same thing: when doing a restore from a
2,000,000-file job (for both 1.38.1 and 2.0.0) the initial SQL activity is
over with pretty quickly, but then the director is CPU-bound for minutes
at a stretch with no I/O being performed.

Steve

Steve Thompson E-mail:  [EMAIL PROTECTED]
Voyager Software LLC   Web: http://www.vgersoft.com
39 Smugglers Path  VSW Support: [EMAIL PROTECTED]
Ithaca, NY 14850
  186,300 miles per second: it's not just a good idea, it's the law


-
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


Re: [Bacula-users] Example config using the disk-changer autochanger?

2007-01-10 Thread Josh Fisher
I posted a howto and script for using removable hard drives as a virtual 
autoloader on 2006-12-12 that may help. It works essentially the same 
way whether using removable or fixed drive(s).

Joshua Colson wrote:
 Does anyone have an example of a working configuration using the
 disk-changer script for a virtual tape library setup? I've been working
 non-stop for 3 days trying to get a working configuration and although
 I'm making progress (I can unload a tape, if it is manually loaded) I'm
 pulling my hair out trying to figure it out?

 Thanks.

 --
 Joshua Colson


 -
 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

   


-
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


[Bacula-users] Behavior to expect?: appendable tape not in autochanger...

2007-01-10 Thread Flak Magnet
I'm using an autochanger and a scratch pool for new volumes.

Each month I remove from the autochanger all the tapes from one backup 
job that uses the CADArchive pool.  They are stored off-site.  Right 
now the backup spans two disks with the 2nd one about 1/2 full.

When a job runs that needs a tape from the CADArchive pool, will Bacula:

1. Detect that there are no CADArchive volumes in the autochanger, 
relabel one from the Scratch pool and run the job using that relabeled tape.

2. Notice that there is an appendable volume from the CADArchive pool, 
ask for it and wait until it's loaded or the maxwait time is reached.

#1 is how I think it will behave, and how I want it to behave.

If #2 is the behavior I should expect, what do I do to close the 
appendable volume so Bacula will use a new tape from the Scratch pool?

--Tim
(This message is also serving to test my ability to send to the list.  I 
couldn't before because my  mailhost had no postmaster addy.)

-
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


[Bacula-users] Snapshots - now ready

2007-01-10 Thread Dan Langille
Folks,

I previously mentioned that I provide daily snapshots of the Bacula 
code through http://www.langille.org/

These snapshots have now been moved to http://snapshots.bacula.org/

Snapshots are taking just before midnight EST.  The lastest snapshot 
is available through a constant URL found on the main page.  
Historical snapshots are available from the archives directory.  The 
snapshots will be useful to those want to test out the latest version 
without using CVS.

The plan is to run the regresssion scripts each night and have the 
results available on the website.  Such regression tests go a long 
way towards keep the product reliable and stable.  Problems are 
quickly highlighted.  At present, my time is short, so if anyone 
wants to help out in designing and putting together the automation of 
the regressions scripts, please get in touch.  Ideally, we could do 
this on multiple platforms and centralizing the results.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-
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


[Bacula-users] Pool of storage daemons/devices?

2007-01-10 Thread Joshua Colson
Is it possible to configure a backup Job to write to any available
storage device? For instance, assume I have two (or more) tape drives
without an autochanger. Is there a way to associate the two drives in a
pool that the backup job can then point to, such that it will use
whichever drive is available? Or another possible scenario is having two
storage servers and pooling them both among the defined jobs.

Thanks for any insight provided.

--
Joshua Colson


-
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


Re: [Bacula-users] Pool of storage daemons/devices?

2007-01-10 Thread Alan Brown
On Wed, 10 Jan 2007, Joshua Colson wrote:

 Is it possible to configure a backup Job to write to any available
 storage device?

Similarly, a pool of clients which have access to the same filesets.
(I've brought this one up before, but a pool is the bext way of describing 
it - think clustered filesystems)


-
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


Re: [Bacula-users] FD running as non-root

2007-01-10 Thread mark . bergman


In the message dated: Wed, 10 Jan 2007 10:39:22 GMT,
The pithy ruminations from Martin Simmons on 
Re: [Bacula-users] FD running as non-root were:
=  On Tue, 09 Jan 2007 16:52:41 -0500, Dan Langille said:
=  
=  This issue came up on IRC yesterday.  The statement in question is at 
=  http://www.bacula.org/rel-manual/Bacula_Security_Issues.html :
=  
=  The Clients (bacula-fd) must run as root to be able to access all 
=  the system files.
=  
=  Someone wanted to run FD as non-root. I replied that would be fine 
=  provided the UID/GID has permission to access all the files you want 
=  to backup.  I propose to replace the quoted sentence with:
=  
=  The Clients (bacula-fd) must run as whatever GID/UID is necessary to 
=  access whatever files you wish to backup. In addition, if you wish to 
=  restore over existing files, bacula-fd will require sufficient 
=  permission to do that.  In most cases, this means root.
=  
=  Comments?
= 
= Restore will also be limited for new files, always setting the owner to the
= user that is running bacula-fd and similarly for the group.

Hmmm I'm strongly in favor of privilege separation, and I like the idea of
running the fd as a non-root user (perhaps group disk?). Anyway, I wonder if
this will introduce problems if the user who can read files cannot also
create special attributes (ACLs, Linux immutable files, Solaris door files,
device special files, etc.).

There may be a lot of corner cases (very OS specific) that will 
require testing if the FD is run as a non-root user.

Mark
= 
= __Martin




Mark Bergman  [EMAIL PROTECTED]
System Administrator
Section of Biomedical Image Analysis 215-662-7310
Department of Radiology,   University of Pennsylvania

http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu



The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader of 
this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.

-
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


[Bacula-users] FOSDEM talk

2007-01-10 Thread Kern Sibbald
Hello,

I have now posted my latest version of the presentation that I am scheduled to 
give at FOSDEM in February.   You can find it on the Bacula web site by 
following the Presentations menu item,  or simply go to:

www.bacula.org/presentations/Bacula-FOSDEM-talk-24Feb07.pdf

Please note that it is now a bit over 700KB.  The presentation itself consists 
of 33 slides (I haven't yet timed it) that I hope to present in 30 minutes, 
followed by a 10 minute live demo of bweb, and terminated by a 10 minute 
question and answer session.

The last 10 slides of the above mentioned pdf file contain some screenshots of 
bweb that might interest some of you.  Unfortunately, they are just 
screenshots with no explanation, so it is not at all equivalent to the demo, 
but you will probably get the idea.

Thanks for the previous comments that a number of you made.  If you have any 
additional comments, please don't hesitate to make them known.

Best regards,

Kern

PS: if the timing of the talk is OK, this is pretty much what I will be going 
with, though I will review the slides a few more times for consistency, 
spelling, ...

-
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


Re: [Bacula-users] tapeinfo under windows

2007-01-10 Thread Andreas Lüdtke
Thanks Erich,

my windows 2003 SBS doesn't show a tab page named Tape Symbolic Name for the 
DLT drive.
Nevertheless, I could run the tapeinfo program in a dos box while the Bacula 
Storage
Service was stopped:

D:\Programme\Bacula\bintapeinfo -f tape0
Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'DLT-V4  '
...

But when I run a job I get still this message:

10-Jan 18:40 pthh-fs-sd: Alert: cannot open SCSI device 'tape0' - Permission 
denied
10-Jan 18:40 pthh-fs-sd: 3997 Bad alert command: tapeinfo -f tape0 | findstr 
TapeAlert:
ERR=Unknown error. 

Do I have to stop the Bacula Storage Service before the tapeinfo.exe can work? 
Obviously I
have to restart the service after tapeinfo.exe was executed.
If this is true, the documentation should be updated and the setup should 
reflect this
when the default config files are created.

Does the stopping/starting of the Bacula Storage Service inside of a running 
job has any
other impact I do not see in the moment?

Any help is much appreciated

Andreas

 -Original Message-
 From: Erich Prinz [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 10, 2007 3:10 PM
 To: Andreas Lüdtke
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] tapeinfo under windows
 
 Substitute DeviceName for the name the OS gives the drive.
 
 On a Windows box you'll find it here:
 
 Computer Manager  Device Manager  Tape Drives  [your branded  
 model]  Properties  Tape Symbolic Name (this is where you'll find  
 what the OS calls it)
 
 and TapeInfo will work just fine for you.
 
 Erich
 
 On Jan 10, 2007, at 3:19 AM, Andreas Lüdtke wrote:
 
  Hi,
 
  I'm trying to configure the tape alert (Alert Command) for my DLT  
  drive under Windows 2003
  Server. I ran the following command on the command line:
 
  tapeinfo -f DeviceName
 
  the result is always:
 
  cannot open SCSI device 'DeviceName' - No such file or directory
 
  I read in the archive (may 2006) that Robert Nelson has ported the  
  mtx package to windows.
  So I assume that this program should work under windows, 
 but what  
  is the correct
  DeviceName to use it under windows?
 
  Thanks
 
  Andreas
 
 
  
 --
  
  ---
  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
 
 


-
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


[Bacula-users] Problem w/ Verification after Bacula upgrade

2007-01-10 Thread Doug Sampson
Hi folks,

I'm seeing a problem in that prior to the Bacula 2.0 upgrade, I was able to
run a verify job on the current day's tape data to ensure that the tape can
be read as well as verifying the tape data reflects the data on the server's
HDs. However, after the upgrade to 2.0 from 1.38.11 (or so), the verify job
asks for the previous day's tape instead of the current day's tape.

In short, this is what I do:

1) backup data on server
2) verify server data on tape
3) backup catalog
4) verify catalog backup on tape

bacula-dir.conf given below:

#
#  For Bacula release 1.36.2 (28 February 2005) -- freebsd 5.3-RELEASE-p10
#
#  You might also want to change the default email address
#   from root to your address.  See the mail and operator
#   directives in the Messages resource.
#

Director {# define myself
  Name = orion-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/local/share/bacula/query.sql
  WorkingDirectory = /var/db/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 1
  Password = S74WYGhYW24bD55KwtkQgsL3JPW+lVnFwXHKfbOlLEP+ #
Console password
  Messages = Daemon
}

#
# Job Definitions
#
# By default, this job will back up to tape
Job {
  Name = Orion
  Type = Backup
  Client = orion-fd
  FileSet = Full Set
  Schedule = DataBackupCycle
  Storage = DDS-3
  Messages = Standard
  Pool = Default
# This creates a backup of ACLs of the directories to be backed up
# RunBeforeJob = /root/acl-backup.sh
# uncomment the line below if you wish to skip this job for a day- must
comment
# this before the day you want this to run! 
#  RunBeforeJob = /root/_file_does_not_exist.sh
#  RunBeforeJob = /usr/local/etc/start_of_backup.sh
#  Write Bootstrap = /home/bacula/working/Orion.bsr
  Write Bootstrap = /var/db/bacula/Orion.bsr
  Max Start Delay = 22h
  Priority = 10
  SpoolData = no
}

# Backup the catalog database (after the nightly save)
Job {
  Name = BackupCatalog
  Type = Backup
  Client = orion-fd
  Level = Full
  FileSet = Catalog
  Schedule = CatalogBackupCycle
  Storage = DDS-3
  Messages = Standard
  Pool = Default
# uncomment the line below if you wish to skip this job for a day- must
comment
# this before the day you want this to run! 
#  RunBeforeJob = /root/_file_does_not_exist.sh
  # This creates an ASCII copy of the catalog
  RunBeforeJob = /usr/local/share/bacula/make_catalog_backup bacula bacula
  # This deletes the copy of the catalog
  RunAfterJob  = /usr/local/share/bacula/delete_catalog_backup
  Write Bootstrap = /var/db/bacula/BackupCatalog.bsr
  Max Start Delay = 22h
  Priority = 13   # run after main backup
}

# Verify file consistency between data  tape
Job {
  Name = VerifyData
  Type = Verify
  Client = orion-fd
  Level = VolumeToCatalog
  FileSet = Full Set
  Schedule = VerifyDataBackupCycle
  Storage  = DDS-3
  Messages = Standard
  Pool = Default
# uncomment the line below if you wish to skip this job for a day- must
comment
# this before the day you want this to run! 
#  RunBeforeJob = /root/_file_does_not_exist.sh
  Max Start Delay = 22h
  Priority = 11
}

# Verify file consistency between catalog  tape
Job {
  Name = VerifyCatalog
  Type = Verify
  Client = orion-fd
  Level = VolumeToCatalog
  FileSet = Catalog
  Schedule = VerifyCatalogBackupCycle
  Storage  = DDS-3
  Messages = Standard
  Pool = Default
# uncomment the line below if you wish to skip this job for a day- must
comment
# this before the day you want this to run! 
#  RunBeforeJob = /root/_file_does_not_exist.sh
  RunAfterJob = /usr/local/etc/end_of_backup.sh
  Max Start Delay = 22h
  Priority = 14
}

# Standard Restore template, to be changed by Console program
Job {
  Name = RestoreFiles
  Type = Restore
  Client = orion-fd 
  FileSet = Full Set  
#  Storage = File  
  Storage = DDS-3  
  Pool = Default
  Messages = Standard
  Where = /tmp/bacula-restores
}


#
# File Set Definitions
#
# List of files to be backed up
FileSet {
  Name = Full Set
  Include {
Options {
  signature = MD5
  aclsupport = yes
  compression = GZIP6
  HFS Plus Support = yes 
  wilddir = /proc
  wilddir = /tmp
  wildfile = /.journal
  wildfile = /.fsck
  wildfile = /var/db/bacula/bacula.sql
  wilddir = /usr/local/pgsql/data/base 
  wildfile = /var/db/bacula/bacula.db-journal
  wilddir = /usr/local/pgsql/erp/latest_snapshot 
  exclude = yes
}
#
#  Put your list of files here, preceded by 'File =', one per line
#or include an external list with:
#
#File = file-name
#
#  Note: / backs up everything on the root partition.
#if you have other partitons such as /usr or /home
#you will probably want to add them too.
#
#  By default this is defined to point to the Bacula build
#directory to give a reasonable FileSet to backup to
#disk storage during initial testing.
#
#File = 

Re: [Bacula-users] tapeinfo under windows

2007-01-10 Thread Erich Prinz
I'm new to the world of Bacula + Tapes so some of this is new and  
fresh for me.

Kill any process that might be accessing the drive - this means  
bacula-sd, bacula-dir, and any OTHER backup software that may be  
running as a service (eg Backup Exec, NT Backup, etc..) wanting to  
connect to the drive. That will clear up the permissions problem for  
you.

Then attempt access to the drive.

I had no luck with Bacula writing to the DAT-72 on the unit I was  
working on, but the DLT you have should work.

Erich


On Jan 10, 2007, at 12:07 PM, Andreas Lüdtke wrote:

 Thanks Erich,

 my windows 2003 SBS doesn't show a tab page named Tape Symbolic  
 Name for the DLT drive.
 Nevertheless, I could run the tapeinfo program in a dos box while  
 the Bacula Storage
 Service was stopped:

 D:\Programme\Bacula\bintapeinfo -f tape0
 Product Type: Tape Drive
 Vendor ID: 'QUANTUM '
 Product ID: 'DLT-V4  '
 ...

 But when I run a job I get still this message:

 10-Jan 18:40 pthh-fs-sd: Alert: cannot open SCSI device 'tape0' -  
 Permission denied
 10-Jan 18:40 pthh-fs-sd: 3997 Bad alert command: tapeinfo -f tape0  
 | findstr TapeAlert:
 ERR=Unknown error.

 Do I have to stop the Bacula Storage Service before the  
 tapeinfo.exe can work? Obviously I
 have to restart the service after tapeinfo.exe was executed.
 If this is true, the documentation should be updated and the setup  
 should reflect this
 when the default config files are created.

 Does the stopping/starting of the Bacula Storage Service inside of  
 a running job has any
 other impact I do not see in the moment?

 Any help is much appreciated

 Andreas

 -Original Message-
 From: Erich Prinz [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 10, 2007 3:10 PM
 To: Andreas Lüdtke
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] tapeinfo under windows

 Substitute DeviceName for the name the OS gives the drive.

 On a Windows box you'll find it here:

 Computer Manager  Device Manager  Tape Drives  [your branded
 model]  Properties  Tape Symbolic Name (this is where you'll find
 what the OS calls it)

 and TapeInfo will work just fine for you.

 Erich

 On Jan 10, 2007, at 3:19 AM, Andreas Lüdtke wrote:

 Hi,

 I'm trying to configure the tape alert (Alert Command) for my DLT
 drive under Windows 2003
 Server. I ran the following command on the command line:

 tapeinfo -f DeviceName

 the result is always:

 cannot open SCSI device 'DeviceName' - No such file or directory

 I read in the archive (may 2006) that Robert Nelson has ported the
 mtx package to windows.
 So I assume that this program should work under windows,
 but what
 is the correct
 DeviceName to use it under windows?

 Thanks

 Andreas



 --
 
 ---
 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




 -- 
 ---
 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



-
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


Re: [Bacula-users] error message analysis

2007-01-10 Thread Aaron Knister
I've seen input/output errors on my tape drive in 3 instances-

1) yes a failed tape
2) there is no tape in the drive
3) the joy that is errors on your SCSI chain (assuming your tape  
drive is SCSI attached. try sacrificing a goat to your SCSI host bus  
adapter...)

What kind of tape drive are you using?

-Aaron

On Jan 9, 2007, at 7:59 AM, James P. Kinney III wrote:

 Is this a failed tape error message?

 09-Jan 07:57 test-sd: database.2007-01-07_23.05.00 Error: block.c:940
 Read error at file:blk 0:0 on device VXA2 (/dev/nst0).
 ERR=Input/output error.
 -- 
 James P. Kinney III
 CEO  Director of Engineering
 Local Net Solutions,LLC
 770-493-8244
 http://www.localnetsolutions.com

 GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
 [EMAIL PROTECTED]
 Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
 -- 
 ---
 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


-
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


[Bacula-users] Pools of storage devices?

2007-01-10 Thread Joshua Colson
Is it possible to configure a backup Job to write to any available
storage device? For instance, assume I have two (or more) tape drives
without an autochanger. Is there a way to associate the two drives in a
pool that the backup job can then point to, such that it will use
whichever drive is available? Or another possible scenario is having two
storage servers and pooling them both among the defined jobs.

Thanks for any insight provided.

-- 
Joshua Colson [EMAIL PROTECTED]
iNation, LLC


-
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


Re: [Bacula-users] Problem w/ Verification after Bacula upgrade

2007-01-10 Thread Kern Sibbald
Hello,

If you re-work this just a bit, I'll take a look at it.  However, as it 
stands, it is just too complicated and doesn't have all the info I need.

Please do the following:

1. If two jobs are failing in a similar way, simplify it and just report one 
of them, the simplest one.

2. You start OK with what you want to do.

3. Next add a brief description of what happens (or add it in line where you 
describe what you want).

4. Next show the output from the backup job that completes.

5. Then show the output from the verify that fails.

6. Briefly describe any important points about the failure

7. Add your .conf files as attachments.

Note, verify jobs are not used very much so are not tested and could well be 
broken, especially since the way in which Bacula obtains Pool and Storage 
information has been rather extensively modified.  The exception to that is 
Verify Catalog, which I use as a security tripware feature for my server 
and development machine, and which I am sure works.

Regards,

Kern


On Wednesday 10 January 2007 19:29, Doug Sampson wrote:
 Hi folks,
 
 I'm seeing a problem in that prior to the Bacula 2.0 upgrade, I was able to
 run a verify job on the current day's tape data to ensure that the tape can
 be read as well as verifying the tape data reflects the data on the server's
 HDs. However, after the upgrade to 2.0 from 1.38.11 (or so), the verify job
 asks for the previous day's tape instead of the current day's tape.
 
 In short, this is what I do:
 
 1) backup data on server
 2) verify server data on tape
 3) backup catalog
 4) verify catalog backup on tape
 
 bacula-dir.conf given below:
 
 #
 #  For Bacula release 1.36.2 (28 February 2005) -- freebsd 5.3-RELEASE-p10
 #
 #  You might also want to change the default email address
 #   from root to your address.  See the mail and operator
 #   directives in the Messages resource.
 #
 
 Director {# define myself
   Name = orion-dir
   DIRport = 9101# where we listen for UA connections
   QueryFile = /usr/local/share/bacula/query.sql
   WorkingDirectory = /var/db/bacula
   PidDirectory = /var/run
   Maximum Concurrent Jobs = 1
   Password = S74WYGhYW24bD55KwtkQgsL3JPW+lVnFwXHKfbOlLEP+ #
 Console password
   Messages = Daemon
 }
 
 #
 # Job Definitions
 #
 # By default, this job will back up to tape
 Job {
   Name = Orion
   Type = Backup
   Client = orion-fd
   FileSet = Full Set
   Schedule = DataBackupCycle
   Storage = DDS-3
   Messages = Standard
   Pool = Default
 # This creates a backup of ACLs of the directories to be backed up
 # RunBeforeJob = /root/acl-backup.sh
 # uncomment the line below if you wish to skip this job for a day- must
 comment
 # this before the day you want this to run! 
 #  RunBeforeJob = /root/_file_does_not_exist.sh
 #  RunBeforeJob = /usr/local/etc/start_of_backup.sh
 #  Write Bootstrap = /home/bacula/working/Orion.bsr
   Write Bootstrap = /var/db/bacula/Orion.bsr
   Max Start Delay = 22h
   Priority = 10
   SpoolData = no
 }
 
 # Backup the catalog database (after the nightly save)
 Job {
   Name = BackupCatalog
   Type = Backup
   Client = orion-fd
   Level = Full
   FileSet = Catalog
   Schedule = CatalogBackupCycle
   Storage = DDS-3
   Messages = Standard
   Pool = Default
 # uncomment the line below if you wish to skip this job for a day- must
 comment
 # this before the day you want this to run! 
 #  RunBeforeJob = /root/_file_does_not_exist.sh
   # This creates an ASCII copy of the catalog
   RunBeforeJob = /usr/local/share/bacula/make_catalog_backup bacula bacula
   # This deletes the copy of the catalog
   RunAfterJob  = /usr/local/share/bacula/delete_catalog_backup
   Write Bootstrap = /var/db/bacula/BackupCatalog.bsr
   Max Start Delay = 22h
   Priority = 13   # run after main backup
 }
 
 # Verify file consistency between data  tape
 Job {
   Name = VerifyData
   Type = Verify
   Client = orion-fd
   Level = VolumeToCatalog
   FileSet = Full Set
   Schedule = VerifyDataBackupCycle
   Storage  = DDS-3
   Messages = Standard
   Pool = Default
 # uncomment the line below if you wish to skip this job for a day- must
 comment
 # this before the day you want this to run! 
 #  RunBeforeJob = /root/_file_does_not_exist.sh
   Max Start Delay = 22h
   Priority = 11
 }
 
 # Verify file consistency between catalog  tape
 Job {
   Name = VerifyCatalog
   Type = Verify
   Client = orion-fd
   Level = VolumeToCatalog
   FileSet = Catalog
   Schedule = VerifyCatalogBackupCycle
   Storage  = DDS-3
   Messages = Standard
   Pool = Default
 # uncomment the line below if you wish to skip this job for a day- must
 comment
 # this before the day you want this to run! 
 #  RunBeforeJob = /root/_file_does_not_exist.sh
   RunAfterJob = /usr/local/etc/end_of_backup.sh
   Max Start Delay = 22h
   Priority = 14
 }
 
 # Standard Restore template, to be changed by Console program
 Job {
   Name = RestoreFiles
   Type = Restore
   Client = orion-fd  

Re: [Bacula-users] Pools of storage devices?

2007-01-10 Thread Kern Sibbald
On Wednesday 10 January 2007 17:51, Joshua Colson wrote:
 Is it possible to configure a backup Job to write to any available
 storage device? For instance, assume I have two (or more) tape drives
 without an autochanger. 

Yes.

 Is there a way to associate the two drives in a 
 pool that the backup job can then point to, such that it will use
 whichever drive is available? 

Yes

 Or another possible scenario is having two 
 storage servers and pooling them both among the defined jobs.

I'm not sure what this means, but I imagine the answer is no.

 
 Thanks for any insight provided.
 

You simply specify multiple Storage resources on your Storage = directive, 
where each one is separated by commas.

In version 2.0.0, any Storage = specified in a Pool will override what is 
specified in the Job resource.

Downside to using multiple Storage specifications:

1. It is not well tested, and I doubt it is documented yet.
2. It works only with multiple devices on the *same* storage daemon.
3. If the devices have different media types, you will not be able to easily 
restore files.  Bacula only automatically handles a single media type for 
restoring (currently).  There is code to do this, but I doubt it works yet.
4. During a restore, the Volumes will most likely be requested on the last 
storgae device that wrote to the volume.
5. Once a backup Job has selected a drive, all subsequent Volumes needed to 
complete writing the data for that Job will use the same drive (i.e. it will 
not switch drives within a job -- yet).

-
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


Re: [Bacula-users] error message analysis

2007-01-10 Thread Kern Sibbald
On Tuesday 09 January 2007 15:30, Aaron Knister wrote:
 I've seen input/output errors on my tape drive in 3 instances-
 
 1) yes a failed tape
 2) there is no tape in the drive
 3) the joy that is errors on your SCSI chain (assuming your tape  
 drive is SCSI attached. try sacrificing a goat to your SCSI host bus  
 adapter...)

I would also add:

4. If there is a blank tape (never written) in the drive

 
 What kind of tape drive are you using?
 
 -Aaron
 
 On Jan 9, 2007, at 7:59 AM, James P. Kinney III wrote:
 
  Is this a failed tape error message?
 
  09-Jan 07:57 test-sd: database.2007-01-07_23.05.00 Error: block.c:940
  Read error at file:blk 0:0 on device VXA2 (/dev/nst0).
  ERR=Input/output error.
  -- 
  James P. Kinney III
  CEO  Director of Engineering
  Local Net Solutions,LLC
  770-493-8244
  http://www.localnetsolutions.com
 
  GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
  [EMAIL PROTECTED]
  Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
  -- 
  ---
  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
 
 
 -
 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
 

-
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


[Bacula-users] My $.02 worth of well-deserved praise for Bacula.

2007-01-10 Thread Flak Magnet
Back in December I got Bacula up and running on a Solaris 8 machine 
using a Quantum Suplerloader 3 autochanger that's equipped with both 
magazines and a single LT03 drive.

Bacula is running great, doing it's job wonderfully.  It's capabilities, 
robustness, flexibility and ease of use far exceeds those of the Legato 
software we were using with our old tape drive.

Thank you, Mr. Sibbald for a great product.  I've contacted the PHBs 
here at work to get you some form of support, be it a donation of $$ or 
hardware.

-
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


Re: [Bacula-users] Building Bacula bacula-2.0.0 on Fedora Core 5

2007-01-10 Thread Kern Sibbald
Hello,

You will surely get better help by asking on the bacula-users list.

However, what I do note is that you are attempting to configure three 
databases, and Bacula works with only one of those three.  

If you want to use SQLite3 then I believe that you need to say something like:

 ./configure --with-sqlite3

but then either the manual or the list can answer that definitively.

Regards,

Kern


On Wednesday 10 January 2007 09:48, John Summerfield wrote:
 Briefly, I have this tarball:
 -rw-r--r-- 1 summer summer 2488471 Jan 10 
07:33 /home/summer/downloads/bacula-2.0.0.tar.gz
 I untarred it thus:
 tar xzpf /home/summer/downloads/bacula-2.0.0.tar.gz;cd bacula-2.0.0/
 After some trials, reading and installing stuff I got to this:
 
strace -f -o /tmp/config-trace ./configure  --enable-gnome 
--enable-tray-monitor --with-postgresql=/usr --with-mysql --with-sqlite
 
 strace tells me where it's looking and for what.
 
 It fails this way:
 checking for MySQL support... yes
 checking for SQLite3 support... no
 checking for SQLite support... no
 configure: error: Unable to find sqlite.h in standard locations
 [EMAIL PROTECTED] bacula-2.0.0]$
 For this reason:
 [EMAIL PROTECTED] bacula-2.0.0]$ grep sqlite.h /tmp/config-trace
 10887 stat64(/usr/local/include/sqlite.h, 0xbfae3c18) = -1 ENOENT (No such 
file or directory)
 10887 stat64(/usr/include/sqlite.h, 0xbfae3b58) = -1 ENOENT (No such file 
or directory)
 10887 stat64(/include/sqlite.h, 0xbfae3a98) = -1 ENOENT (No such file or 
directory)
 [EMAIL PROTECTED] bacula-2.0.0]$
 
 But:
 [EMAIL PROTECTED] bacula-2.0.0]$ rpm -qa sql\*
 sqlite-devel-3.3.3-1.2
 sqlite-3.3.3-1.2
 [EMAIL PROTECTED] bacula-2.0.0]$
 
 And:
 [EMAIL PROTECTED] bacula-2.0.0]$ ls /usr/include/*sqlite*.h
 /usr/include/sqlite3.h
 [EMAIL PROTECTED] bacula-2.0.0]$
 
 which looks a bit shonky to me, but there it is.
 
 I'm guessing this has implications for FC6 and, importantly to Adam T and 
David B, RHEL5.
 
 I'll build sans sqlite for now.
 
 
 -- 
 
 
 
 Cheers
 John Summerfield
 

-
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


[Bacula-users] for the devs: client-table uname

2007-01-10 Thread Thomas Glatthor
Hi,

what have i to expect in the uname-column of the client-table?
the devel-docs describe it as uname -a (yet unused).
(unused by bacula, but maybe used by a user)

uname -a on my workstation:
Linux hostname 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19 EST 2006 i686 i686 
i386 GNU/Linux

uname's from my 1.38.11 clients:
Windows 2000,MVS,NT 5.0.2195
Windows Server 2003,MVS,NT 5.2.3790
i386-pc-solaris2.10,solaris,5.10
i686-pc-linux-gnu,redhat,8.0
i486-pc-linux-gnu,debian,testing/unstable
i686-redhat-linux-gnu,redhat,Enterprise 3.0
sparc-sun-solaris2.10,solaris,5.10

fd-arch,os-name,os-version ?


uname's from my 2.0.0 clients:
2.0.0 (04Jan07) i486-pc-linux-gnu,debian,4.0
2.0.0 (04Jan07) sparc-sun-solaris2.8,solaris,5.8
2.0.0 (04Jan07) Linux,Cross-compile,Win32   = win2003 server
2.0.0 (04Jan07) Linux,Cross-compile,Win32   = win2k server

fd-version,x, ???

none of them looks like `uname -a`,
why is the win32-os-version lost?
maybe i want to do something with my clients depending on the os-version and 
platform or clients version 


(its nice to see the fd-version in the table, but on win32 i miss the 
os-version.
and i'm sure what to expect in the next bacula-release)


Regards

Thomas


-
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


[Bacula-users] Optimizing bacula in large filesystems

2007-01-10 Thread Alan Davis


The servers that I am backing up with bacula have on the order of 11TB
of data 4.5 million files.

The data resides on NAS appliances that are incapable of running the
bacula FD natively so I'm forced to back the data up over GbE and NFS
mounted on the server that is running DIR, SD, FD and the db.



The server is a 2cpu 2+GHz Xeon Solaris 10 x86 server with 4GB of RAM.



It's currently taking 36+ hours from the start of the backup job to when
the first files are written to tape.

This makes it difficult to do incremental backups in a reasonable
timeframe.



I've seen mention here on the list of others backing up multi-terabyte
servers - I'm looking for suggestions on how to optimize and speed up
the backup process.



Thanks!



Alan







Alan Davis

Senior Architect

Ruckus Network, Inc.

703.464.6578 (o)

410.365.7175 (m)

[EMAIL PROTECTED]

alancdavis AIM





-
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


Re: [Bacula-users] Job verification bootstrap files

2007-01-10 Thread David Clymer

On Thu, 2007-01-04 at 14:37 -0500, David Clymer wrote:
 I've been trying to get Volume2catalog verification working, and thus
 far, have met with failure.
 
 The verify job is attempting to use the wrong volume in the right
 storage device. From error output (below), it seems looks to me as if
 all the verify jobs are using and overwriting the same bootstrap file,
 and thus only the last verify succeeds. 
 
 Even though I have a different bootstrap file specified in each job 
 verify job, the verify jobs continue to use /var/lib/bacula/restore.bsr
 rather than the path I've configured
 
 The problem only occurs when I run these jobs via a schedule. I can run
 them manually without problems.
 
 I have restarted the director and storage daemons.
 
 Am I doing something wrong, or just misunderstanding how this is
 supposed to work?
 
 Software: bacula 1.36, mysql 4.1, debian sarge


I have recreated this issue with bacula 1.38, mysql 5, debian etch.

My guess is that it is a config issue rather than a bug that has
survived two bacula releases. However, I can't seem to identify what I'm
doing wrong.

-davidc

--
This is a story of twin Siamese kittens, or, more specifically, of their
shared appendage; it is a tail of two kitties. -David Bubenik
(Dishonorable mention 2002 Bulwer-Lytton Bad Fiction Contest)


-
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


Re: [Bacula-users] FOSDEM talk

2007-01-10 Thread Erik P. Olsen
Kern Sibbald wrote:
 Hello,
 
 I have now posted my latest version of the presentation that I am scheduled 
 to 
 give at FOSDEM in February.   You can find it on the Bacula web site by 
 following the Presentations menu item,  or simply go to:
 
 www.bacula.org/presentations/Bacula-FOSDEM-talk-24Feb07.pdf
 
One line in your presentation reads:

Rescue CDROM for bare metal recovery

Is this feature really ready for production?

-- 
Erik P. Olsen, Civilingeniør, MSc
Solsortvej 30, DK-2000 Frederiksberg, Denmark
Phone: +45 38346480, Fax: +45 32106480, Mobil: +45 40765300

-
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


Re: [Bacula-users] for the devs: client-table uname

2007-01-10 Thread Kern Sibbald
On Wednesday 10 January 2007 22:03, Thomas Glatthor wrote:
 Hi,
 
 what have i to expect in the uname-column of the client-table?
 the devel-docs describe it as uname -a (yet unused).
 (unused by bacula, but maybe used by a user)
 
 uname -a on my workstation:
 Linux hostname 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19 EST 2006 i686 
i686 i386 GNU/Linux
 
 uname's from my 1.38.11 clients:
 Windows 2000,MVS,NT 5.0.2195
 Windows Server 2003,MVS,NT 5.2.3790
 i386-pc-solaris2.10,solaris,5.10
 i686-pc-linux-gnu,redhat,8.0
 i486-pc-linux-gnu,debian,testing/unstable
 i686-redhat-linux-gnu,redhat,Enterprise 3.0
 sparc-sun-solaris2.10,solaris,5.10
 
 fd-arch,os-name,os-version ?
 
 
 uname's from my 2.0.0 clients:
 2.0.0 (04Jan07) i486-pc-linux-gnu,debian,4.0
 2.0.0 (04Jan07) sparc-sun-solaris2.8,solaris,5.8
 2.0.0 (04Jan07) Linux,Cross-compile,Win32   = win2003 server
 2.0.0 (04Jan07) Linux,Cross-compile,Win32   = win2k server
 
 fd-version,x, ???
 
 none of them looks like `uname -a`,

No none of them are a uname -a.  That is old documentation.

 why is the win32-os-version lost?

Yes, I hadn't noticed that since none of my Windows backups has failed for a 
long time, I never looked at it closely.  

Somehow that was lost during the conversion I imagine.  I'll put it on my list 
of things to look at.  The precise system info is far more important for 
support than where/how the program was compiled.

 maybe i want to do something with my clients depending on the os-version and 
platform or clients version 
 
 
 (its nice to see the fd-version in the table, but on win32 i miss the 
os-version.

As far as I am concerned the OS version is very important.

Thanks for pointing this out.

 and i'm sure what to expect in the next bacula-release)
 
 
 Regards
 
 Thomas
 
 
 -
 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
 

-
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


Re: [Bacula-users] for the devs: client-table uname

2007-01-10 Thread Kern Sibbald
On Wednesday 10 January 2007 22:03, Thomas Glatthor wrote:
 Hi,
 
 what have i to expect in the uname-column of the client-table?
 the devel-docs describe it as uname -a (yet unused).
 (unused by bacula, but maybe used by a user)
 
 uname -a on my workstation:
 Linux hostname 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19 EST 2006 i686 
i686 i386 GNU/Linux
 
 uname's from my 1.38.11 clients:
 Windows 2000,MVS,NT 5.0.2195
 Windows Server 2003,MVS,NT 5.2.3790
 i386-pc-solaris2.10,solaris,5.10
 i686-pc-linux-gnu,redhat,8.0
 i486-pc-linux-gnu,debian,testing/unstable
 i686-redhat-linux-gnu,redhat,Enterprise 3.0
 sparc-sun-solaris2.10,solaris,5.10
 
 fd-arch,os-name,os-version ?

In looking at the source code in version 1.38.11 and 2.0.0, with the exception 
that I added the Client version and date, the code is identical.  The host 
information has, as far as I can tell, always come from the machine 
information where the code was configured.  It is not necessarily directly 
related to the client itself.

The display you show above doesn't seem to me to be something that Bacula 
would have inserted in the client record.  If it is, I have no explanation on 
how it got there.

 
 
 uname's from my 2.0.0 clients:
 2.0.0 (04Jan07) i486-pc-linux-gnu,debian,4.0
 2.0.0 (04Jan07) sparc-sun-solaris2.8,solaris,5.8
 2.0.0 (04Jan07) Linux,Cross-compile,Win32   = win2003 server
 2.0.0 (04Jan07) Linux,Cross-compile,Win32   = win2k server
 
 fd-version,x, ???
 
 none of them looks like `uname -a`,
 why is the win32-os-version lost?
 maybe i want to do something with my clients depending on the os-version and 
platform or clients version 
 
 
 (its nice to see the fd-version in the table, but on win32 i miss the 
os-version.
 and i'm sure what to expect in the next bacula-release)
 
 
 Regards
 
 Thomas
 
 
 -
 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
 

-
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


Re: [Bacula-users] Optimizing bacula in large filesystems

2007-01-10 Thread Kern Sibbald
On Wednesday 10 January 2007 22:48, Alan Davis wrote:
 
 The servers that I am backing up with bacula have on the order of 11TB
 of data 4.5 million files. 
 
 The data resides on NAS appliances that are incapable of running the
 bacula FD natively so I'm forced to back the data up over GbE and NFS
 mounted on the server that is running DIR, SD, FD and the db.
 
  
 
 The server is a 2cpu 2+GHz Xeon Solaris 10 x86 server with 4GB of RAM.
 
  
 
 It's currently taking 36+ hours from the start of the backup job to when
 the first files are written to tape. 
 
 This makes it difficult to do incremental backups in a reasonable
 timeframe.

Even with 4.5 million files, which is rather large, it should not be more than 
5 or 10 minutes before Bacula finds the first file in an incremental backup 
and begins writing it to tape (assuming you are not using spooling).  I 
suspect that you have an *extremely* slow NAS or some other major bottleneck 
(network, NFS, ...).  It seems to me that you not only have something that 
has a bottleneck, but it has a monsterous bottleneck that I even have 
difficulties imagining unless you are talking about another software product 
or trying to do a restore, which for 4.5 million files could be very time 
consuming.

Bacula simply reads the filesystem directories and writes out files that need 
backing up.  There is no preliminary time intensive setup before Bacula 
begins working as in some other programs.

 
  
 
 I've seen mention here on the list of others backing up multi-terabyte
 servers - I'm looking for suggestions on how to optimize and speed up
 the backup process.
 
  
 
 Thanks!
 
  
 
 Alan
 
  
 
  
 
 
 
 Alan Davis
 
 Senior Architect
 
 Ruckus Network, Inc.
 
 703.464.6578 (o)
 
 410.365.7175 (m)
 
 [EMAIL PROTECTED]
 
 alancdavis AIM
 
  
 
 
 
 

-
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


Re: [Bacula-users] Building Bacula bacula-2.0.0 on Fedora Core 5

2007-01-10 Thread Kern Sibbald
On Wednesday 10 January 2007 23:26, [EMAIL PROTECTED] wrote:
 On Wed, 10 Jan 2007, Kern Sibbald wrote:
 
  Hello,
 
  You will surely get better help by asking on the bacula-users list.
 
 Hi Kern
 That may be, but I am on dialup, and was not connected to the Internet,
 so couldn't check for subscription rules, or subscribe if needed etc.
 Your name came up when I was looking for someone to complain to
 
 Nor am I wildly enthusiastic about subscribing to a list just to report
 what looks like a bug.

It is not a bug, and it is not absolutely necessary to subscribe to the list, 
but better even if it is for a short time.

 
 
 
  However, what I do note is that you are attempting to configure three
  databases, and Bacula works with only one of those three.
 
 I'm trying to do a generic build (how else would one create a deb or
 rpm?); in any event I don't see that my problem arises because I'm
 building support for multiple databases, it's because configure is
 looking for a file (sqlite.h) that does not exist (not in FC5 nor any
 other release of Linux I could find - I have several Fedoras, CentOS 4,
 SUSE10 and packages for some others to hand).

There is no single generic binary that works with more one database. Though 
with some work one could build an installation package that asks what db you 
want to use and buids and/or installs the correct binary.

 
 It seems to me that configure should be looking for is sqlite3.h.
 SUSE10 does have sqlite.h, it's in sqlite2-devel.
 
 I'm thinking more than the file name needs to be changed to use the
 version of sqlite everyone's distributing (Debian seems to have 2 and
 3).

On the two above points, I believe I have already correctly explained the 
solution in my previous email.  

 
 
 
  If you want to use SQLite3 then I believe that you need to say something 
like:
 
  ./configure --with-sqlite3

I have just checked this and it is correct.

 
 The README and INSTALL do not mention that, and on Fedora  RHEL one
 does not have a package sqlite3, it's sqlite.

Well the README and INSTALL are extremely general and possibly out of date.  
You need to read the manual to understand the build options, procedure and 
installation.  Without the manual, it is virtually impossible to build, 
install and run Bacula.


 
 
 Thanks for your help.
 
 
  but then either the manual or the list can answer that definitively.
 
  Regards,
 
  Kern
 
 
  On Wednesday 10 January 2007 09:48, John Summerfield wrote:
  Briefly, I have this tarball:
  -rw-r--r-- 1 summer summer 2488471 Jan 10
  07:33 /home/summer/downloads/bacula-2.0.0.tar.gz
  I untarred it thus:
  tar xzpf /home/summer/downloads/bacula-2.0.0.tar.gz;cd bacula-2.0.0/
  After some trials, reading and installing stuff I got to this:
 
  
strace -f -o /tmp/config-trace ./configure  --enable-gnome 
--enable-tray-monitor --with-postgresql=/usr --with-mysql --with-sqlite
 
  strace tells me where it's looking and for what.
 
  It fails this way:
  checking for MySQL support... yes
  checking for SQLite3 support... no
  checking for SQLite support... no
  configure: error: Unable to find sqlite.h in standard locations
  [EMAIL PROTECTED] bacula-2.0.0]$
  For this reason:
  [EMAIL PROTECTED] bacula-2.0.0]$ grep sqlite.h /tmp/config-trace
  10887 stat64(/usr/local/include/sqlite.h, 0xbfae3c18) = -1 ENOENT (No 
such
  file or directory)
  10887 stat64(/usr/include/sqlite.h, 0xbfae3b58) = -1 ENOENT (No such 
file
  or directory)
  10887 stat64(/include/sqlite.h, 0xbfae3a98) = -1 ENOENT (No such file 
or
  directory)
  [EMAIL PROTECTED] bacula-2.0.0]$
 
  But:
  [EMAIL PROTECTED] bacula-2.0.0]$ rpm -qa sql\*
  sqlite-devel-3.3.3-1.2
  sqlite-3.3.3-1.2
  [EMAIL PROTECTED] bacula-2.0.0]$
 
  And:
  [EMAIL PROTECTED] bacula-2.0.0]$ ls /usr/include/*sqlite*.h
  /usr/include/sqlite3.h
  [EMAIL PROTECTED] bacula-2.0.0]$
 
  which looks a bit shonky to me, but there it is.
 
  I'm guessing this has implications for FC6 and, importantly to Adam T and
  David B, RHEL5.
 
  I'll build sans sqlite for now.
 
 
  --
 
 
 
  Cheers
  John Summerfield
 
 
 
 
 -- 
 
 
 Cheers
 John
 

-
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


Re: [Bacula-users] FOSDEM talk

2007-01-10 Thread Kern Sibbald
On Wednesday 10 January 2007 23:12, Erik P. Olsen wrote:
 Kern Sibbald wrote:
  Hello,
  
  I have now posted my latest version of the presentation that I am 
scheduled to 
  give at FOSDEM in February.   You can find it on the Bacula web site by 
  following the Presentations menu item,  or simply go to:
  
  www.bacula.org/presentations/Bacula-FOSDEM-talk-24Feb07.pdf
  
 One line in your presentation reads:
 
 Rescue CDROM for bare metal recovery
 
 Is this feature really ready for production?

Yes. It has been released for several years, but is not something that is as 
generic as I would like so some people on some Linux distros have had trouble 
building it.  

Version 2.0.0 works fine for me on Fedora 4, SuSE 10.1 and SuSE 10.2, and the 
manual now has instructions on how to prepare a generic rescue package.

Other people have developed Win32 and Solaris rescue disks for Bacula and 
documented them via email on the list.

-
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


Re: [Bacula-users] Ideas for restore job to test backups

2007-01-10 Thread Arno Lehmann
Hello,

On 1/10/2007 1:27 PM, Christoph Klünter wrote:
And then let nagios check if the files really got restored.
something like find /mnt/restore -ctime -6
Awesome.

Don't forget the diff with the original file...
 
 The original file might have changed since the last backup

Right, but you could always check with files selected from a pool of 
likely probes, like /sbin/bacula-fd or something from /etc.

 or might be on
 a host which is not accessible by nagios.

Create a suitable nagios plugin :-)

 What about using the MD5sum in the
 database ? Would that be reliable ?

Sure, but when you rely on the catalog you could also run a verify job.

 Cheers, 
  Christoph

Arno

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


-
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


Re: [Bacula-users] Behavior to expect?: appendable tape not in autochanger...

2007-01-10 Thread Arno Lehmann
Hi,

On 1/10/2007 4:18 PM, Flak Magnet wrote:
 I'm using an autochanger and a scratch pool for new volumes.
 
 Each month I remove from the autochanger all the tapes from one backup 
 job that uses the CADArchive pool.  They are stored off-site.  Right 
 now the backup spans two disks with the 2nd one about 1/2 full.
 
 When a job runs that needs a tape from the CADArchive pool, will Bacula:
 
 1. Detect that there are no CADArchive volumes in the autochanger, 
 relabel one from the Scratch pool and run the job using that relabeled tape.

I'm unsure... that behaviour has changed in the past, and it's kind of 
hard to say which behaviour is best.

 2. Notice that there is an appendable volume from the CADArchive pool, 
 ask for it and wait until it's loaded or the maxwait time is reached.
 
 #1 is how I think it will behave, and how I want it to behave.
 
 If #2 is the behavior I should expect, what do I do to close the 
 appendable volume so Bacula will use a new tape from the Scratch pool?

Set the VolStatus to Used. Also, look up the Maximum Use Duration for 
volumes.

And wait some time - I'll have a tool to manage your task ready some 
time soon. I hope :-)

Arno

 --Tim
 (This message is also serving to test my ability to send to the list.  I 
 couldn't before because my  mailhost had no postmaster addy.)
 
 -
 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

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

-
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


[Bacula-users] [SPAM: 8.456] Can't figure out how to use rpmbuild

2007-01-10 Thread Brad Peterson

Hey all,

I'm getting stuck trying to install bacula 2.0.0 on a fc5 box. I've 
decided to try the rpm method of installation this time. I tried to 
follow the manual ( 
http://www.bacula.org/dev-manual/Bacula_RPM_Packaging_FAQ.html ), and 
when I ran my rpmbuild command, it looks like it's doing it's thing for 
a few minutes...and then...nothing. It doesn't appear to install 
anything to run.


I'm new to working with rpms (gotta love yum), so I wonder if I'm just 
making some simple mistake somewhere.  In the manual, it says to run two 
lines. But the first command doesn't seem to work. The following was 
copied from my console:


# rpmbuild -ba --define build_fc5 1 --define build_mysql5 1 bacula.spec
error: failed to stat /var/tmp/bacula.spec: No such file or directory

So, I ignord that, and went to the second line.  Here is what I ran:

# rpmbuild --rebuild --define build_fc5 1 --define build_mysql5 1 
bacula-2.0.0-1.src.rpm


This is the one which is the one that appeared to do its thing, but then 
ended without having anything to run.  From the manual, my only guess is 
that I should have something in /var/bacula.  But nothing is there.  The 
only bacula filepaths I have on this system is a bunch of stuff in the 
/usr/src/ directory. 


Any idea what I need to do to get this working?

Brad Peterson
[EMAIL PROTECTED]



Spam detection software, running on the system mail.appraiseutah.com, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hey all, I'm getting stuck trying to install bacula
  2.0.0 on a fc5 box. I've decided to try the rpm method of installation
  this time. I tried to follow the manual (
  http://www.bacula.org/dev-manual/Bacula_RPM_Packaging_FAQ.html ), and
  when I ran my rpmbuild command, it looks like it's doing it's thing for
  a few minutes...and then...nothing. It doesn't appear to install
  anything to run. [...] 

Content analysis details:   (8.5 points, 5.0 required)

 pts rule name  description
 -- --
 1.8 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
-0.7 BAYES_20   BODY: Bayesian spam probability is 5 to 20%
[score: 0.1391]
 0.2 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 1.4 DNS_FROM_RFC_WHOIS RBL: Envelope sender in whois.rfc-ignorant.org
 2.0 RCVD_IN_SORBS_DUL  RBL: SORBS: sent directly from dynamic IP address
[24.10.159.195 listed in dnsbl.sorbs.net]
 1.7 DNS_FROM_RFC_POST  RBL: Envelope sender in
postmaster.rfc-ignorant.org
 1.9 RCVD_IN_NJABL_DUL  RBL: NJABL: dialup sender did non-local SMTP
[24.10.159.195 listed in combined.njabl.org]


-
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


[Bacula-users] Autochanger Slots and InChanger fields

2007-01-10 Thread Andrew Fabian
I could just not be sane, but this seems weird to me.

I'm using an autochanger with one drive, no barcode reader, and I'm 
using bacula 2.0.0 and MySQL 5.0.20.  I see this behavior:

1. I label a tape.  (This isn't the strange part)  Bacula loads the tape 
from the specified slot and labels it.  At this point Bacula knows that 
that particular volume is in the changer, and lives in the specifed 
slot.  So it sets the Slot and InChanger fields appropiately.  list 
volumes confirms this.

2. A job runs and uses the new volume.  It's not full yet, so it's 
status is set to Append after the job finishes.  But list volumes also 
shows that InChanger is 0, and Slot is 0.  I don't see why that would 
change, since bacula never removed the tape from the drive, let along 
have any reason to think it's been removed from the tape changer.

3. I use mount to load the tape from that slot (or any other slot with 
a labeled tape).  Bacula correctly fetches the tape and reads it's 
label.  Says so in the message log.  This time it doesn't update the 
database though, and the tape's InChanger and Slot fields aren't 
touched.  Seems to me like they should be.

4. Because of this weirdness, if I were to do something like run a job 
to Tape 1, then pre-label Tape 2 and 3 with the label command, 
subsequent jobs will start writing with Tape 2 and 3, and then bacula 
will stop when it runs out of room, instead of using the free space it 
should? be aware of locally on Tape 1.

Does this all make sense?  Am I misunderstanding something about the 
tape handling?

Thanks,

Andrew Fabian

-
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


[Bacula-users] Archive file selection Windows Client

2007-01-10 Thread Support
Dear All

I have started using version 2.0.0 and all is going very well to date -
thanks to the developers.

I have hit one problem in that a Windows client's Incremental backup was
as large as its Full backup - it was not changed from Incremental to Full
due to no Full backup in the catalog. Other workstations are fine that is
no massive incremental backup.

May I ask if it is the file date and time on the client or the archive
attribute on the windows client file is what determines if it is to be
backed up?

I could not find anything in the documentation and since the director and
file daemon correct clock drift I assume it is the file date time.

Thanks again
Stephen Carr


-
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


Re: [Bacula-users] PLEASE REMOVE ME FROM MAILING LIST

2007-01-10 Thread Jo Rhett
As it says in the header of *every* message on the mailing list

List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Jo Rhett
senior geek
Silicon Valley Colocation

-
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


Re: [Bacula-users] tapeinfo under windows

2007-01-10 Thread Andreas Lüdtke
Hi Erich,

as I wrote in my last mail, I CAN run the tapeinfo.exe and get results when I 
stop the
Bacula Storage Service.

The problem I still have is, that I get an error message in the job log. So my 
question
is: do I have to stop the Bacula Storage Service in order to get the 
tapeinfo.exe working
WHILE a backup is job is executed?

I'm just concerned about the fact to stop a Bacula Service in order to run a 
backup job
completely (with tape alert check)!

Andreas

 -Original Message-
 From: Erich Prinz [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 10, 2007 7:38 PM
 To: Andreas Lüdtke
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] tapeinfo under windows
 
 I'm new to the world of Bacula + Tapes so some of this is new and  
 fresh for me.
 
 Kill any process that might be accessing the drive - this means  
 bacula-sd, bacula-dir, and any OTHER backup software that may be  
 running as a service (eg Backup Exec, NT Backup, etc..) wanting to  
 connect to the drive. That will clear up the permissions problem for  
 you.
 
 Then attempt access to the drive.
 
 I had no luck with Bacula writing to the DAT-72 on the unit I was  
 working on, but the DLT you have should work.
 
 Erich
 
 
 On Jan 10, 2007, at 12:07 PM, Andreas Lüdtke wrote:
 
  Thanks Erich,
 
  my windows 2003 SBS doesn't show a tab page named Tape Symbolic  
  Name for the DLT drive.
  Nevertheless, I could run the tapeinfo program in a dos box while  
  the Bacula Storage
  Service was stopped:
 
  D:\Programme\Bacula\bintapeinfo -f tape0
  Product Type: Tape Drive
  Vendor ID: 'QUANTUM '
  Product ID: 'DLT-V4  '
  ...
 
  But when I run a job I get still this message:
 
  10-Jan 18:40 pthh-fs-sd: Alert: cannot open SCSI device 'tape0' -  
  Permission denied
  10-Jan 18:40 pthh-fs-sd: 3997 Bad alert command: tapeinfo -f tape0  
  | findstr TapeAlert:
  ERR=Unknown error.
 
  Do I have to stop the Bacula Storage Service before the  
  tapeinfo.exe can work? Obviously I
  have to restart the service after tapeinfo.exe was executed.
  If this is true, the documentation should be updated and the setup  
  should reflect this
  when the default config files are created.
 
  Does the stopping/starting of the Bacula Storage Service inside of  
  a running job has any
  other impact I do not see in the moment?
 
  Any help is much appreciated
 
  Andreas
 
  -Original Message-
  From: Erich Prinz [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, January 10, 2007 3:10 PM
  To: Andreas Lüdtke
  Cc: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] tapeinfo under windows
 
  Substitute DeviceName for the name the OS gives the drive.
 
  On a Windows box you'll find it here:
 
  Computer Manager  Device Manager  Tape Drives  [your branded
  model]  Properties  Tape Symbolic Name (this is where you'll find
  what the OS calls it)
 
  and TapeInfo will work just fine for you.
 
  Erich
 
  On Jan 10, 2007, at 3:19 AM, Andreas Lüdtke wrote:
 
  Hi,
 
  I'm trying to configure the tape alert (Alert Command) for my DLT
  drive under Windows 2003
  Server. I ran the following command on the command line:
 
tapeinfo -f DeviceName
 
  the result is always:
 
cannot open SCSI device 'DeviceName' - No such file or directory
 
  I read in the archive (may 2006) that Robert Nelson has ported the
  mtx package to windows.
  So I assume that this program should work under windows,
  but what
  is the correct
  DeviceName to use it under windows?
 
  Thanks
 
Andreas
 
 
 
  --
  
  ---
  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
 
 
 
 
  
 --
  
  ---
  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
 
 


-
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