Re: [Bacula-users] [Bacula-devel] What a difference a database makes

2006-12-29 Thread Mike Reinehr
On Friday 29 December 2006 02:02, Kern Sibbald wrote:
 On Friday 29 December 2006 06:19, John Jorgensen wrote:
  Seeing this discussion about SQLite3 performance has finally
  prompted me to share an observation that I made about a year ago,
  when building bacula together with sqlite-3.3.6 for personal use
  on my home machine.
 
  I believe that the default_synchronous PRAGMA that Kern
  mentions in his reply has not been included in sqlite 3.*
 
  The PRAGMA synchronous = ... pragma still exists, but its
  effect does not persist. I.e., you need to re-issue the pragma
  every time you connect to the database, rather than specifying it
  once when creating the database.
 
  So I put together a patch that adds to bacula's configure script
  an option to specify a snippet of SQL code to execute on every
  database connection, like this:
 
configure ... --enable-extra-sqlite3-init=pragma synchronous=0;
  ...
 
  with the result that bacula-dir is compiled to issue that SQL
  pragma every time it connects to the database.
 
  Since you can get the same effect by using an sqlquery in
  bconsole to issue the pragma before running the job manually, it
  could be that the proper way to accomplish what I did is by using
  the python interpreter (which I have never tried using) to script
  the sqlquery into every job, instead of by modifying the
  bacula-dir binary.
 
  My experience is that
 
  PRAGMA synchronous = 0
 
  greatly improves performance, although turning off synchronous
  writes completely like this demands either a reliable UPS or the
  willingness to rebuild your catalog should the power fail in the
  middle of a backup.  PRAGMA synchronous = 1 (NORMAL) doesn't
  help nearly as much, at least not on my machine. (The default
  value for synchronous is 2, FULL).
 
  I'll try to attach my patch, but I made it against the 1.38.11 sources,
  so it won't be directly applicable to the current
  development sources (and it includes some changes that aren't
  strictly necessary to do the sqlite initialization, but which
  reduced the warnings I was getting from the autoconf/automake
  tool chain).
 
   kern == Kern Sibbald [EMAIL PROTECTED] writes:
   Is anyone out there using SQLite3?  Does anyone have any
   suggestions

 on how

   we could change the default build defines or database creation

 scripts to

   improve the performance?
  
  
  
   If there are any suggestions I'd appreciate getting them quickly
   so

 that we

   can incorporate them into 1.40.
 
  kern When SQLite3 was first released, I looked into this and seems
  to

 me that he

  kern handled synchronization differently.   The two pragmas that I
  saw

 (long ago)

  kern that made a difference were:
 
  kern PRAGMA default_synchronous
  kern PRAGMA default_cache_size

 Thanks for the research and feedback.

 Could you look to see if there is some way to set the synchronous value to
 a default?  I cannot imagine that the author of SQLite would not provide
 some way to do so.

 I did notice that the settings of the synchronous flag changed in 3.0, but
 after looking at the consequences of changing them from the default set by
 the author, I decided to leave that to the user (if I remember right).

 If there is absolutely no way to set the default value, then I would
 certainly considering code as you are suggesting, but if a way to set the
 default exists, as I am 99% sure there is, then I would much prefer to
 leave it to the user to choose the degree of risk he/she wants to take and
 to manage it directly with the database.

Kern,

This thread finally prompted me to do some research, since have been using 
sqlite in production.

From the Sqlite home page, documentation, Pragma command syntax:

PRAGMA default_synchronous;
This pragma was available in version 2.8 but was removed in version 3.0. It is 
a dangerous pragma whose use is discouraged. To help dissuide users of 
version 2.8 from employing this pragma, the documentation will not tell you 
what it does.

For reference, from the documentation which came with my version of sqlite, 
2.8.16:

PRAGMA default_synchronous;
PRAGMA default_synchronous = FULL; (2)
PRAGMA default_synchronous = NORMAL; (1)
PRAGMA default_synchronous = OFF; (0)
This pragma changes the synchronous mode persistently. Once changed, the mode 
stays as set even if the database is closed and reopened. The synchronous 
pragma does the same thing but only applies the setting to the current 
session.

So, I'm not sure if this means that the default command does not exist in 3.x 
or just that it is not documented. I'll try  search further as I have the 
time.

HTH!

cmr
-- 
Debian 'Etch': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's 

Re: [Bacula-users] Merry Christmas...

2006-12-23 Thread Mike Reinehr
On Saturday 23 December 2006 07:40, Arno Lehmann wrote:
 ... to all of you, even if you aren't christian, or have to work, or
 whatever. Have some nice days!

 Arno

Merry Christmas to all, and to all good night.

cmr
-- 
Debian 'Etch': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Retaining Job information

2006-11-22 Thread Mike Reinehr
Dave,

On Tuesday 21 November 2006 15:43, DAve wrote:
 Martin Simmons wrote:
  On Mon, 20 Nov 2006 15:07:27 -0500, DAve  said:
 
  I've read through the following portions of the manual and I think I
  might not be able to do what I need.
 
  http://bacula.org/rel-manual/Automatic_Volume_Recycling.html
  http://bacula.org/rel-manual/Basic_Volume_Management.html
  http://bacula.org/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0003
 43
  http://bacula.org/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION0003
 425000
 
  I am trying to backup a simple disaster recovery set, kept for a single
  day (there is local tape making routine backups), and then reused 24
  hours later. The backup set is for off site emergencies only. This all
  works, just fine.
 
  Now I want to generate a report for the past thirty days to show the
  backups were made. Currently I can't get my job information to stay in
  the DB so I can query it for reporting.
 
  I have the following set,
  Client {
 Name = alli-fd
 Address = fd.alli.com
 FDPort = 49101
 Catalog = DataVault
 Password = o/hEQs5oQgO103AfF1cvrmhW21BuodfrzN
 File Retention = 2 days
 Job Retention = 30 days
 AutoPrune = yes
 }
 
  Pool {
 Name = Daily-Alli-Pool
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 1 day
 Accept Any Volume = yes
 LabelFormat = Daily-alli-
 Maximum Volume Jobs = 1
 Maximum Volumes = 2
 }
 
  I think I can change my Maximum Volume Jobs to 30 and get the result I
  want which is, 30 days of jobs in the catalog, only two Volumes in use.
  I am trying it tonight. If I am misunderstanding something, smack me.
 
  It will be confusing if you still have Volume Retention = 1 day.
 
  Also, it is overkill for the goal of disaster recovery set kept for a
  single day ... and then reused 24 hours later.  It implies keeping 30-60
  days of backups in the 2 volumes.
 
  I think the problem you have is that the job information must be removed
  from the catalog before the volume can be recycled.  Therefore, if you
  want to keep only 1-2 days of backups then the catalog can only contain
  1-2 jobs.

 That is how I read the docs as well, and the test showed the same. So I
 understand it correctly, good.

 I understand the problem with what they requested, but I don't so sales
 and I am not the IT manager for the client (This is for a client within
 our building). They believe they just need to to get fresh copies of
 certain files into our NOC every night for DR purposes. There is only
 one current copy of the files in each volume, the previous volume is
 purged shortly after.

 Doesn't make sense to me, but it pays the same as a strategy that does.

 DAve

I imagine you've already thought of this, but it sounds like the solution to 
this dilema is to have a run-after-job which will execute an sql query on the 
database to extract the necessary information and save it in another database 
or text file. Then, once a month you can generate your report from this file, 
purge it and start over.

Cheers!

cmr

-- 
Debian 'Etch': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] deleting old volumes

2006-11-13 Thread Mike Reinehr
On Friday 10 November 2006 03:10, Mantas Marčiulaitis wrote:
 I'm using disk as backup media. A the moment I only use one pool with label
 format set as follows: Label Format =
 Full-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Client}.

 Every night bacula creates a new file, however although volume retention is
 set to 2 days old files never get deleted. My question is, does volume
 retention period only applies to the database entries and not the files? Or
 is it possible to make bacula delete old files after some period of time?



 Thanks,

 Mantas.

Bacula can be configured to re-use disk files, but never to delete them. You 
must delete them, yourself, outside of Bacula. There are several ways to do 
this. One way is to write a shell script an run it as a run-before or 
run-after Bacula job script. Another is to set up a cron job. Another, of 
course, is just to do it manually from the command line.

Cheers!

cmr
-- 
Debian 'Etch': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Poll - What operating systems do you run Bacula on?

2006-10-10 Thread Mike Reinehr
Server: Debian GNU/Linux AMD64 Stable(Sarge) 

On Tuesday 10 October 2006 05:51, Peter L. Buschman wrote:
 All:

 If it isn't too much of an imposition, I'd like to survey the list
 and ask the question
 what operating system are you running Bacula on?. I'm interested in which
 OS distributions, versions and platforms are being deployed as Bacula
 servers.

 Mainly, this is to identify the highest-priority configurations for a
 test environment
 I am setting-up, but I think it would also be interesting from a
 broader Bacula adoption
 perspective to see what the distribution is.

 I will aggregate all of the responses and post a summary and
 percentage distribution
 of the results. If you would like to add your installation to the
 count but do not want to
 post openly to the list, please feel free to email me privately. The
 summarized results
 will be anonymous as they will only consist of rolled-up statistics.

 Best regards,

 Peter Buschman



 -
 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

-- 
Debian 'Etch': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Bacula status update + you can help

2006-09-29 Thread Mike Reinehr
I'm catching up with this thread with interest after just coming into work 
this morning. Kern, my sympathy. I can imagine how frustrated you are, but it 
just goes to show how good a programmer you are, that it wasn't Bacula after 
all!

After reading the merits  weaknesses of RHEL, SUSE,  Centos, I have only one 
question. Have you considered or tried Debian lately? I settled on Debian 
several years ago after becoming disenchanted with each of the major 
commercial distributions and haven't regreted it for a moment. (My servers 
are humming along happily with Debian AMD64-Sarge  Bacula 1.36 as we speak!)

Three Cheers for Bacula!

cmr

On Friday 29 September 2006 08:00, Kern Sibbald wrote:
 On Friday 29 September 2006 14:39, Alan Brown wrote:
  On Fri, 29 Sep 2006, Kern Sibbald wrote:
   Centos is _very_ stable. RHEL can be licensed quite cheaply if you
   don't buy the support package (about US$10/machine)
  
   The last time I looked (some time ago), it was over $200/machine.  That
   is

 too

   much for me.  For a company or someone serious about servers, that's OK

 and

   quite far given their security updates.
 
  Redhat offer some discounts for developers, etc.

 That is interesting.

  As a Bacula feature request is now in their system and has been requested
  by at least 25 different customers, they may well be interested in giving
  you a free license for development purposes.

 Hmmm. That is even more interesting.

 I actually have RHEL and access to their network, but that is because I
 administer a machine, where the organization (MercyShips) has a global
 RedHat license.  That said, other than having the CDs for recovery
 purposes, which unfortunately I needed recently, I cannot load them on my
 machines.

  I don't disagree with your assessment of installations - I use suse at
  home, but I have serious issues with their level of professionalism in
  the commercially supported products.

 Well, distros are a bit of a religious thing and very personal.  I look for
 leading edge software, good update/security service, and stability.  RedHat
 is excellent for that, but now that they are commercial, too expensive.
 Fedora as you say and as I experienced is too bleeding edge.  I asked
 them to use a 9 month release cycle, and they sent me a very kind reply
 giving their reasons for a 6 month cycle.  I then looked at a lot of
 distros: debian, kubantu, ubantu, madrivia, ...  However, most of them
 wouldn't even install on a leading edge Dell (debian, ubantu), others
 (kubantu) are for users that don't know Unix or the distro is a one man
 show without a significant organization, or rely on other distros for
 security patches, ...

 For me, for the moment, with the exception of this SCSI bug, SuSE has been
 great (as I say, for me).  One good thing from the time I wasted on this
 bug is that I learned that within certain restrictions (SeLinux,
 AppArmor, ...), unlike rpms, I can mix and match kernels from different
 distros as I want.

  (Having said that, RHEL installation is also very straoghtforward)

 Yes, but if *anything* goes wrong, it simply dies.  SuSE has a vga
 exception handler that takes over (sort of like a rescue disk) that allows
 you in many cases to get out of trouble -- e.g. switch where the source CDs
 are coming from,   really quite cool.

  AB

 -
 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

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Restoring file from volume

2006-09-26 Thread Mike Reinehr
Daniel,

On Monday 25 September 2006 10:13, Daniel Hoeving wrote:
 Mike,

 Thank you, I've discovered the issue. Who ever set our back-ups up
 originally set a file retention period of thirty days and a job
 retention period of 365 so while I can see the job, the files are
 pruned...

You're welcome! And, that would do it.

 As I understand it from the manual I can use bscan to recover such
 files, however there doesn't seem to be a bscan executable file in our
 install is it a separate package (looked on the site, and it doesn't
 look like it)? And the man page doesn't say anything about using
 bscan.mysql etc...
   deuteronomy:/etc/bacula# locate bscan
   /usr/lib/bacula/bscan.mysql
   /usr/lib/bacula/bscan.pgsql
   /usr/lib/bacula/bscan.sqlite
   /usr/share/man/man8/bscan.8.gz
   /usr/share/man/man8/bscan.mysql.8.gz
   /usr/share/man/man8/bscan.pgsql.8.gz
   /usr/share/man/man8/bscan.sqlite.8.gz
   deuteronomy:/etc/bacula#

You don't say what distribution of Linux, what version of Bacula you 
are 
using, or whether Bacula was pre-packaged or installed  compiled from 
source, so I'm afraid that I can't help you with this question.

With regards to my system (Debian Sarge) and Bacula installed from a 
binary 
Deb package, bscan is part of the standard package.

 :~$ locate bscan

 /etc/bacula/bscan.sh
 /usr/bin/bscan
 /usr/lib/bacula/bscan.mysql
 /usr/lib/bacula/bscan.pgsql
 /usr/lib/bacula/bscan.sqlite
 /usr/share/man/man8/bscan.8.gz
 /usr/share/man/man8/bscan.mysql.8.gz
 /usr/share/man/man8/bscan.pgsql.8.gz
 /usr/share/man/man8/bscan.sqlite.8.gz

From comparing the output of your locate command to mine, it looks as if your 
copy of bscan somehow may have been removed in error.

Cheers!

cmr

 Daniel Hoeving
 Network Administrator
 Campus Crusade for Christ, Canada
 E: [EMAIL PROTECTED]
 P: (604)514-2107

 --

 Message: 2
 Date: Fri, 22 Sep 2006 17:24:03 -0500
 From: Mike Reinehr [EMAIL PROTECTED]
 Subject: Re: [Bacula-users] Restoring file from volume
 To: bacula-users@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=iso-8859-1

 Daniel,

 On Thursday 21 September 2006 15:51, Daniel Hoeving wrote:
  I'm trying to restore a specific file from a tape in my monthly pool.
  The back-up is about three months old - the job is still listed in the
  catalog. When I run a list jobs command it shows the job with one

 file

  (the one I want) tells me the size of it and when it was started. When

 I

  try to restore the job (with the correct tape in the drive - mounted)

 it

  seems unable to find the job Building directory tree for JobId 10028
  ... 1 Job, 0 files inserted into the tree. And it doesn't matter what
  I'm trying to restore from that period I get the same response...
 
 
 
  So essentially I have two questions:
 
  1)Is there a way to manually search the tape and restore the file?
  And

 bscan:http://www.bacula.org/rel-manual/Volume_Utility_Tools.html#19205

  2)   Is there a setting in my bacula-dir.conf file that should be
  altered to prevent this from happening?

 The default file retention time is 60 days. Check your Volume, Job 
 File
 retention times as defined in your bacula-dir.conf configuration file.

 Configuring the Director:
 http://www.bacula.org/rel-manual/Configuring_Director.html

 In particular, the
 Client Resource:
 http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000148
 000

 and the Pool Resource:
 http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000141
 

  Daniel Hoeving
 
  Network Administrator
 
  Campus Crusade for Christ, Canada
 
  E: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
  P: (604)514-2107

 Cheers!

 cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Restoring file from volume

2006-09-22 Thread Mike Reinehr
Daniel,

On Thursday 21 September 2006 15:51, Daniel Hoeving wrote:
 I'm trying to restore a specific file from a tape in my monthly pool.
 The back-up is about three months old - the job is still listed in the
 catalog. When I run a list jobs command it shows the job with one file
 (the one I want) tells me the size of it and when it was started. When I
 try to restore the job (with the correct tape in the drive - mounted) it
 seems unable to find the job Building directory tree for JobId 10028
 ... 1 Job, 0 files inserted into the tree. And it doesn't matter what
 I'm trying to restore from that period I get the same response...



 So essentially I have two questions:

 1)Is there a way to manually search the tape and restore the file?
 And

bscan:  http://www.bacula.org/rel-manual/Volume_Utility_Tools.html#19205

 2)   Is there a setting in my bacula-dir.conf file that should be
 altered to prevent this from happening?

The default file retention time is 60 days. Check your Volume, Job  File 
retention times as defined in your bacula-dir.conf configuration file.

Configuring the Director: 
http://www.bacula.org/rel-manual/Configuring_Director.html

In particular, the
Client Resource: 
http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000148000

and the Pool Resource: 
http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000141


 Daniel Hoeving

 Network Administrator

 Campus Crusade for Christ, Canada

 E: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 P: (604)514-2107

Cheers!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] restoring without a bsr file or catalog

2006-09-16 Thread Mike Reinehr
On Friday 15 September 2006 18:07, Dave wrote:
 Hello,
 I've been given a tape that has some data saved by bacula i believe the
 version was 1.38.4 or so. There is no .bsr file and no catalog, i have a
 tape and that's it, it has two jobs on it. He wants me to try to recover
 the files in the second job, i'm not sure if it's possible to do without a
 .bsr or catalog file. What i'd like to do if it's doable is recover his
 second job first, make a .bsr and a catalog and then do the first job the
 same way and give him his tape, data, two .bsr's and two catalogs, so he
 won't have to do this again. As a side note i have no idea how he lost his
 .bsr files and the catalog was not in use when these backups were taken.
 I'd appreciate any assistance.
 Thanks.
 Dave.

Dave,

Since no one else has jumped in, I'll take a stab at this although I'm nowhere 
near as knowledgeable or experienced as others on this list.

First, you don't mention if you have bacula installed. If you do, then you 
should be able to run bscan 
(http://www.bacula.org/rel-manual/Volume_Utility_Tools.html#19205) to scan 
the tape  update your catalogue with the volume information, i.e., volume 
label, job information, files, etc. Once you have scanned it in, then you 
should be able to run a regular restore job to extract the files that you 
need from the tape.

If you do not have an available bacula instillation to work with, then you 
should be able to obtain a copy of bextract to extract 
(http://www.bacula.org/rel-manual/Volume_Utility_Tools.html#19140) what you 
need. (I'm not sure, but it looks as if you would have to download the entire 
application in order to get bextract.)

HTH!

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] help with schedules

2006-09-16 Thread Mike Reinehr
On Saturday 16 September 2006 12:09, Jim Peters wrote:
 Are there any good tutorials or advice on how to create different schedules
 for bacula? What I would like to do is schedule each client to back up each
 day (mon-sun) and keep each backup until the next time that day comes
 around. (Actually 3 days worth would be sufficient but possibly more
 complicated to configure) This way if I have a disaster on Saturday and
 Friday's data is corrupt I can still fall back a day and use Thursdays and
 so on. Is this feasible with bacula? Or is there a better way to insure
 against bad data in a backup? I am open to any suggestions, this is just
 the way I am used to rotating manual backups to avoid problems and still
 limit disk space as much as possible and seemed to be a good idea to me to
 continue. Sorry to use this list for what some might think as trivial
 questions but I am eager to learn bacula and implement it on my network,
 and I have searched on the web on this subject but haven't found anything
 that seemed to be what I was looking for.



 Thanks,

  Jim

Jim,

You don't mention whether you have read the excellent Bacula documentation 
(http://www.bacula.org/rel-manual/Contents.html) which contains a very great 
deal of information on the subject of scheduling:

-   Getting Started with Bacula/Understanding Jobs  Schedules
-   A Brief Tutorial
-   Configuring the Director/The Schedule Resource
-   Configuring the Director/Example Director Configuration File
-   Automatic Volume Recycling
-   Basic Volume Management
-   Backup Strategies

Not to mention the FAQ and Tips  Suggestions sections, and mailing list 
archives.

Finally, the short answer to your question is 'yes', it's not only possible 
but easy to set up a three day rotation. About the only schedule which poses 
some difficulty is one which uses the 'last [Friday|Saturday|Sunday|...] of 
the month, but even that can be done with some fancy Perl or shell scripting.

Cheers!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] split configuration files

2006-08-30 Thread Mike Reinehr
Bruno,

On Wednesday 30 August 2006 12:36, Bruno Savioli wrote:
 Hello All,

 I am setting up a fairly big bacula solution.
 I will be backing up aroung 150-200 linux clients.
 As it will be a large deployment, I want to configure it to be easily
 manageable and easy to add new clients.

 I am trying to use multiple configuration files using @/path/to/file in
 the bacula-dir.conf but am running into some problems.

 Below is what I am trying to do.

 @/etc/bacula/conf/bacula-dir-catalogs.conf (Will be using about 5 or 6
 different catalogs)
 @/etc/bacula/conf/bacula-dir-filesets.conf (5 or 6 different file sets)
 @/etc/bacula/conf/bacula-dir-schedules.conf (many schedules)
 @/etc/bacula/conf/bacula-dir-jobs.conf
 @/etc/bacula/conf/bacula-dir-jobdefs.conf
 @/etc/bacula/conf/bacula-dir-storages.conf (about 10 different storages.
 All Disk Based)

 
 ##  Add Clients here
 

 @/etc/bacula/conf/clients/client001.conf (On this file, I am adding the
 client configurarion and the Pools as each client will have its own Full
 and Incremental Pools.


 The problem I am having is during bacula startup:

 linuxbackup:/etc/bacula# ./bacula-ctl-dir start
 Starting the Bacula Director daemon
 30-Aug 17:51 bacula-dir: ERROR TERMINATION at lex.c:620
 Config error: expected a string, got T_EOL:
 /etc/bacula/conf/bacula-dir-jobs.conf

 : line 22, col 39 of file /etc/bacula/bacula-dir.conf

 @/etc/bacula/conf/bacula-dir-jobs.conf


 I am positive the file /etc/bacula/conf/bacula-dir-jobs.conf exists.
 If I remove the file, I ge a different error message:
 Config error: Cannot open included config file
 /etc/bacula/conf/jobs.conf: No such file or directory


 Any clues ?

 I have tried changing the filename, checking if all the parameters are
 correct and no luck at all.



 Job {
 Name = client001-job
 Type = Backup
 Client = client001-fd
 FileSet = lsh-fileset
 Schedule = Monthly
 Storage = lsh-file
 Messages = Standard
 Full Backup Pool = client001-full
 Incremental Backup Pool = client001-inc
 Write Bootstrap = /home/backup/bootstraps/lsh503.bsr

Well, this just could be a typographical error, but you are missing a 
closing  around your bootstrap pathword.

 Priority = 5
 }


 Many Thanks


 Bruno

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] split configuration files

2006-08-30 Thread Mike Reinehr
On Wednesday 30 August 2006 12:56, Bruno Savioli wrote:
 Hello Mike,


 Thanks for spotting that. That was the problem.

 Bruno

More often than not, it's the simple things that trip us up! :-)

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] debian rescue cd

2006-08-07 Thread Mike Reinehr
On Monday 07 August 2006 03:37 pm, Scott Lair wrote:
 Hi folks,

 Been using bacula 1.36.2 for a few months on a debian sarge system.  I
 am having trouble making a rescue cd.  First looked for a deb package to
 help with the job but I do not see one on debian.org nor does google
 yield anything.  So if you know of a rescue deb file please let me know.

Have you had a look at Debian GNU/Linux Live-CD 
(http://mklivecd.sourceforge.net/)? I haven't used it, myself, but you might 
give it a try  let us know how it works. Myself, I just back up all my 
configuration files  a list of installed packages and use Knoppix.

Cheers!

cmr

 So, I got the earliest source available from sourceforge - 1.36.3
 (figured it would be close enough) and tried to make the rescue.
 I am getting stuck on the /etc/sysconfig error as shown here:
 ---
 [EMAIL PROTECTED]:/etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cd
rom$ sudo make all
 ./makekernel
 Updating modules in root RAM disk
 Coping /boot/vmlinuz-2.4.27-3-686 to
 /etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cdrom/cdtree/boot/isol
inux/vmlinuz ./makebinaries
 Building root /sbin ...
  Could not find ash on your system 
  Could not find chkconfig on your system 
  Could not find consoletype on your system 
  Could not find dhcpd on your system 
  Could not find dump on your system 
  Could not find fsck.jfs on your system 
  Could not find getkey on your system 
  Could not find hdparm on your system 
  Could not find insmod.static on your system 
  Could not find ipcalc on your system 
  Could not find lilo on your system 
  Could not find ltrace on your system 
  Could not find mgetty on your system 
  Could not find mingetty on your system 
  Could not find mkbootdisk on your system 
  Could not find mkfs.jfs on your system 
  Could not find nmap on your system 
  Could not find nologin on your system 
  Could not find raidstart on your system 
  Could not find scsi_info on your system 
  Could not find usleep on your system 
 Building root shared libaries ...
 Building /etc ...
  Could not find /etc/bashrc in /etc 
  Could not find /etc/filesystems in /etc 
 !
  
  Warning your /etc/ssh directory was copied. 
  Keep this directory and the CDROM secure.   
  
 !
 make[1]: Entering directory
 `/etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cdrom/bacula'
 ./getdiskinfo
 Begin collecting system info ...
 Done collecting info.
 Begin creating scripts ...
 Done making partitioning scripts
 Begin making formatting script(s) ...
 Done building scripts.
 ./make_rescue_disk
 Tarring /etc files to current directory
 tar: Removing leading `/' from member names
 tar: /etc/sysconfig: Cannot stat: No such file or directory
 tar: Error exit delayed from previous errors
 make[1]: *** [all] Error 2
 make[1]: Leaving directory
 `/etc/bacula/rescue/source/bacula-1.36.3/rescue/linux/cdrom/bacula'
 make: *** [bacula] Error 2
 ---
-

 I re-ran the configure with --with-sysconfig=/etc/default, the debian
 equivalent AFAIK, but got the same result here.



 -
 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

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] zlib problem when restoring files

2006-08-04 Thread Mike Reinehr
On Thursday 03 August 2006 12:37 am, Beda Kosata wrote:
 Kern Sibbald wrote:
  On Wednesday 02 August 2006 17:46, Mike Reinehr wrote:
 On Wednesday 02 August 2006 04:09 am, Kern Sibbald wrote:
 On Wednesday 02 August 2006 10:58, Beda Kosata wrote:
 Kern Sibbald wrote:
 On Wednesday 02 August 2006 06:40, Beda Kosata wrote:
 Dear all,
 I am using bacula to backup several of our machines and I have run
 
  into
 
 a problem restoring one machine.
 All files are restored, but for some of them I get something like
  this in messages:
 
 01-Aug 15:31 fretka-fd: MilaRestoreFiles.2006-08-01_15.31.09 Error:
 Uncompression error on file
 
 /home/restore/home/nicmila/.thunderbird/fpjdjhkm.default/Mail/LocalFolde
 r
 
 s/Sent.msf.
 
 ERR=Zlib buffer error
 
 and the resulting files have zero length.
 This machine is a pretty new AMD64. When I have tried to restore to
  an older pentium4 machine, everything went ok. Both of them are
  running Gentoo Linux in similar configuration.
 Therefor I suspect the problem is in the 64bit machine. However
  trying to find any information on problems with zlib on AMD64 was
  not successful. I have tried to recompile both zlib and bacula, even
  with optimization turned off, but the errors remain.
 
 I would be glad for any suggestions how to fix this problem.
 
 Are you trying to restore files from Volumes that were written on the
 
 Pentium4
 
 on the AMD64 or did you write the Volumes with your AMD64?
 
 I am trying to restore files that were backed up on an older pentium
 machine (as part of hardware update). I have now tried to restore
  backup that was already made on the AMD64 machine and everything seems
  to be
 
  OK.
 
 I guess it solves most of the problem for me now. Anyway I wonder what
 the problem is. Shouldn't zlib work regardless of the architecture?
 
 Yes, zlib should work regardless of the architecture -- this is a real
 
  pity
 
 to hear, because it means that zlib is not 32/64 bit clean and/or does
  not take the trouble to handle byte order differences.
 
 Perhaps it is time to consider implementing other compression algorithms
 such as lzma, which I believe were written more recently and probably
 handle thes problems.
 
 I'll also take a note of this and check the Bacula code as it is
  possible that there is a problem, though I doubt it.
 
   Thanks
   Beda
 
 p.s.- bacula is great :)
 
 Thanks.
 
 Regards, Kern
 
 Kern,
 
 I've just checked the bug reports for Debian AMD64  on the zlibc
  homepage
 
  and
 
 can find no reference to any 64bit bugs. Also, there has been no mention
  of any zlibc problems on the Debian AMD64 mailing list. (I'm running
  Debian Sarge for AMD64 here, myself, but haven't used compression.) So I
  would suspect that the problem is limited either to Gentoo Linux, in
  particular,
 
  to
 
 Mr. Kosata's system, or (I know this is a very remote possibility ;-)
 
  Bacula.
 
  I guess that I was not very precise. I did not mean to imply that this
  was a 64 bit problem.  What I was trying to say is that zlib does not
  seem to be 32/64 bit clean, which means that if you compress data on a 32
  bit machine and try to uncompress exactly the same data on a 64 bit
  machine, it doesn't seem to work.
 
  Whether or not it is a zlib or a Bacula bug I cannot tell, but I do know
  that we put a lot of effort in trying to ensure that Bacula is *totally*
  32/64 bit independent.  Even routines such as the system printf() or
  sscanf() are not even close to being 32/64 bit independent.

 I have made a few more test to be sure that it is not problem of one
 system. I have tried to restore files backed up on a 32bit machine onto
 *another* 64bit machine, with the same result - corrupted files.
 Restoring files backed up on a 64bit machine to a 32bit machine seems
 ok. The same is true for restoring files backed up on 64bit machine to
 another 64bit machine.
 So to summarize, it seems that
 32 = 32 - OK
 64 = 64 - OK
 64 = 32 - OK
 32 = 64 - Errors

 Unfortunately I cannot test 64bit machine under other OS than Gentoo Linux.

   Beda


I'm not sure that this is relevant, as I have not compiled anything 
from 
source--I just download binaries from the Debian mirrors. But if gzip  
gunzip use the same zlib's as are used in Bacula, then I do not have the 32 
= 64 errors here. As i test I compressed a tar archive with gzip on my 
32-bit, PIII desktop; transferred it to my AMD64 Opeteron service and then 
sucessfully uncompressed it with gunzip. The desktop runs a mixture of Debian 
stable  testing while the server is running pure stable.

HTH

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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

Re: [Bacula-users] zlib problem when restoring files

2006-08-02 Thread Mike Reinehr
On Wednesday 02 August 2006 04:09 am, Kern Sibbald wrote:
 On Wednesday 02 August 2006 10:58, Beda Kosata wrote:
  Kern Sibbald wrote:
   On Wednesday 02 August 2006 06:40, Beda Kosata wrote:
  Dear all,
  I am using bacula to backup several of our machines and I have run into
  a problem restoring one machine.
  All files are restored, but for some of them I get something like this
  in messages:
  
  01-Aug 15:31 fretka-fd: MilaRestoreFiles.2006-08-01_15.31.09 Error:
  Uncompression error on file
 
 /home/restore/home/nicmila/.thunderbird/fpjdjhkm.default/Mail/LocalFolder
 s/Sent.msf.
 
  ERR=Zlib buffer error
  
  and the resulting files have zero length.
  This machine is a pretty new AMD64. When I have tried to restore to an
  older pentium4 machine, everything went ok. Both of them are running
  Gentoo Linux in similar configuration.
  Therefor I suspect the problem is in the 64bit machine. However trying
  to find any information on problems with zlib on AMD64 was not
   successful. I have tried to recompile both zlib and bacula, even with
   optimization turned off, but the errors remain.
  
  I would be glad for any suggestions how to fix this problem.
  
   Are you trying to restore files from Volumes that were written on the

 Pentium4

   on the AMD64 or did you write the Volumes with your AMD64?
 
  I am trying to restore files that were backed up on an older pentium
  machine (as part of hardware update). I have now tried to restore backup
  that was already made on the AMD64 machine and everything seems to be OK.
  I guess it solves most of the problem for me now. Anyway I wonder what
  the problem is. Shouldn't zlib work regardless of the architecture?

 Yes, zlib should work regardless of the architecture -- this is a real pity
 to hear, because it means that zlib is not 32/64 bit clean and/or does not
 take the trouble to handle byte order differences.

 Perhaps it is time to consider implementing other compression algorithms
 such as lzma, which I believe were written more recently and probably
 handle thes problems.

 I'll also take a note of this and check the Bacula code as it is possible
 that there is a problem, though I doubt it.

  Thanks
  Beda
 
  p.s.- bacula is great :)

 Thanks.

 Regards, Kern

Kern,

I've just checked the bug reports for Debian AMD64  on the zlibc homepage and 
can find no reference to any 64bit bugs. Also, there has been no mention of 
any zlibc problems on the Debian AMD64 mailing list. (I'm running Debian 
Sarge for AMD64 here, myself, but haven't used compression.) So I would 
suspect that the problem is limited either to Gentoo Linux, in particular, to 
Mr. Kosata's system, or (I know this is a very remote possibility ;-) Bacula.

Cheers!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Impossible Huge Backup

2006-07-19 Thread Mike Reinehr
On Wednesday 19 July 2006 01:52 pm, Gabriele Bulfon wrote:
 thanx for the advice, but this was the first thing I checked.

Sounds as if the next step would be to use the bls command to list all 
of the 
files on the tape and then compare that listing with a listing of the files 
on the computer in question.

Question to the list: it doesn't appear that the database records file 
sizes, 
but only the names of the files. Is this correct?

cmr

 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Joshua J. Kugler [EMAIL PROTECTED]
 A: bacula-users@lists.sourceforge.net
 Cc: Gabriele Bulfon [EMAIL PROTECTED]
 Data: 19 luglio 2006 19.56.19 CEST
 Oggetto: Re: [Bacula-users] Impossible Huge Backup

 On Wednesday 19 July 2006 00:22, Gabriele Bulfon wrote:
  Hello,
  I have another strange problem.
  I have a machine running the client fd, the sd and dir are running on
  another server machine. Last week I got bacula errors, because the LTO
  tape was run out of space. I checked all the machines, and the sum of the
  hard disk spaces to be backed up was not higher than 180Gb. Then I looked
  at the bacula reports, and I found one machine showing 160Gb of SD Bytes
  Written. I checked again that machine (a Solaris 8 sparc): two disks for
  a physical
  total of 60Gb.
  Then I dumped out with bconsole the list of files backed up (list files
  jobid=xxx) on a text file, and I verified there was no replication of
  files. Last but not least, the following days I noticed that the reports
  was showing a growing size: after 4 days the SD Bytes Written is about
  240Gb!!! How can I check what's happening?!

 First thing that came to mind: does this client have other systems mounted
 via NFS or SMB under their home directory (or other directories)?  You
 might be backing up directories exported from other servers.
 j
 --
 Joshua Kugler
 Lead System Admin -- Senior Programmer
 http://www.eeinternet.com
 PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
 PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111
 -
 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

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC


-
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] Review of Bacula

2006-04-05 Thread Mike Reinehr
On Wednesday 05 April 2006 09:36 am, John Kodis wrote:
 There's a brief review of Bacula at:

 http://osreviews.net/reviews/admin/bacula

 It's fairly positive, but criticizes the tape selection algorithm as
 being far from intuitive.

No argument there. In the short time that I've been using Bacula  
following 
this list, it seems that the first question every new user asks is How can I 
tell which tape is Bacula going to require? :-)

Cheers!

cmr

 -- John Kodis.


 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live
 webcast and join the prime developer group breaking into this new coding
 territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] RunAfter job problem

2005-12-19 Thread Mike Reinehr
On Sunday 18 December 2005 05:46 am, Natxo Asenjo wrote:
 On Sat, 17  Dec  2005,  09:54:28PM +0100¨, Arno Lehmann said:
  17-Dec 20:26 tux-dir: RunAfter: root
  17-Dec 20:26 tux-dir: RunAfter: + /etc/bacula/delete_catalog_backup
  17-Dec 20:26 tux-dir: RunAfter: + mt rewind
  17-Dec 20:26 tux-dir: RunAfter: mt: /dev/tape: Permission denied
  17-Dec 20:26 tux-dir: RunAfter: + mt eject
  17-Dec 20:26 tux-dir: RunAfter: mt: /dev/tape: Permission denied
  17-Dec 20:26 tux-dir: RunAfter: + exit 0
 
  Hmm. Are you using a debian linux system? I think I remember something...

 yes, debian stable but bacula from sources.

 The problem is (well, for me in this case) that the jobs run as user
 bacula (this is good, do not get me wrong). The user bacula in debian
 systems (I used first the *.debs but then compiled) get a /bin/false
 shell. I changed that to /bin/bash. Then I edited the sudoers file and
 granted bacula access to /bin/mt as root without password. That did it.
 It is not beautiful but it works, and this machine is not a safety
 problem anyway.

On my Debian Sarge system the tape device nodes are owned by 'root' 
with 
group 'tape'. Adding user 'bacula' to the 'tape' group in /etc/group solved 
the permissions problem.

Of course, your changing /bin/false to /bin/bash is necessary, also! ;-)

Cheers!

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula update

2005-12-08 Thread Mike Reinehr
Kern,

I really don't have a dog in this fight, as I am running Debian Sarge 
servers which still are at 1.36.2, however, I would like to make these two 
observations.

1) This raises a question about just what version numbers mean. I've read an 
article or two about corruption to versioning schemes. I think most schemes 
use a major  minor numbers, where major number changes result from 
significant changes to the application, i.e., changes which require the 
rebuilding  reformatting of data files, or that significantly change 
functioning or processing of the application. All other changes, then, are 
minor. While all this is great in theory, I quite appreciate the practical 
difficulties that can arise.

2) Bacula works for me, even the somewhat dated version that I am running. 
It really matters little to me what new features you add or fixes that you 
make, so long as an upgrade doesn't break what already is working for me.

So, in conclusion grin I guess what I'm saying is, that so long as nothing 
you do would break an existing installation then by all means, take the 
choice which requires the least amount of effort on your part and still makes 
some sense as far as version numbers are concerned.

And, thanks for all that you do. Bacula is great!

Cheers!

cmr

PS  Apologies for top-posting.
On Thursday 08 December 2005 11:03 am, Kern Sibbald wrote:
 Hello,

 I have an important decision to make concerning updates to 1.38, and before
 making it, I would like to get your input.

 The current production release is Bacula version 1.38.2.  Between the
 time it was released (22 November 2005) and now, there are a number of bugs
 that have been fixed, which some users might want to include in their
 system.

 The problem is that these fixes are for the most part in version 1.39, and
 are quite difficult to back port to 1.38.

 There are a number of different ways to handle the problem:
 1. Back port the important fixes to the 1.38 stream and release a 1.38.3
 (at least 1 week of work).
 2. Release the current 1.39.2 but as version 1.38.3 (1 day's work)
 3. Release the current 1.39.2 as version 1.39.2 (same work as item 2)
 4. Don't do anything

 Now, I would like to get the fixes in the hands of the users, so I can rule
 out option 4.  My preference is for options 2 or 3, because it will most
 quickly allow me to get on with development rather than maintenance.  The
 problem with option 2 is that there are a good number of new features in
 1.39.2, which are not yet stable.  At the same time, all the base features
 of 1.38.2 appear to me to be quite stable in 1.39.2.

 So, I would appreciate your input on this subject.

 Below, I include for your information the technical notes on what is in
 version 1.39.2 that is not in version 1.38.2 (or bugs that are fixed).

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Variable for week of the month?

2005-08-05 Thread Mike Reinehr
Misty,

On Friday 05 August 2005 11:24 am, Misty Stanley-Jones wrote:
 On Friday 05 August 2005 11:18 am, Jesse Keating wrote:
  Keep in mind, when a volume is recycled it is not re-labeled.  Only the
  first time the volume is created is it labeled.

 So if volume 31 is marked as purged and it is day 1 after a 30-day month, I
 will get volume 31 anyway?  Is there no way around it?

Like you, I like rational, meaningful names for my backup volumes, disk or 
tape. I finally got around this problem by writing a bash script which is 
executed in a run-before job that physically removes purged disk volumes so 
that they can not be reused. The job executes in three steps. First, it runs 
bconsole to compile a list of the purged volumes. Second, it runs beconsol 
again deleting the purged volumes from the catalog. Then, it deletes them 
from the hard drive. It's not pretty, but it works. (I probably could make it 
somewhat more elegant if I took the time to write some sql code to access the 
database directly, but I don't have the time and it sounds risky, anyway.)

After all of this, I then have bacula configured to create new disk volumes 
with meaningful names, i.e., Bilskirnir-Full:2005-08-05, 
Bilskirnir-Incr:2005-08-06, etc.

As for the number of the week of a month, I think you're going to have to 
calculate that yourself. Even the date command doesn't seem to have an option 
for that. Possibily, you could calculate this externally to bacula and then 
pass it as an environment variable, but that sounds like you would have to 
restart the director every day. :-(

HTH's

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Adding a Red Hat box to be backed up

2005-08-03 Thread Mike Reinehr
On Wednesday 03 August 2005 11:42 am, Stack Stack wrote:
 Thanks, That at least fixed the problem on the Debian box. However,
 still the same error on the Red Hat box. I reinstalled the fd client
 on the Red Hat box. I also went through every bacula file that I could
 find on both boxes, and verified that the password was set properly.

 Still the same error on the Red Hat box. Any suggestions? I am
 beginning to think that the password isn't the problem, and that I
 have some other setting messed up.

 Thanks for the help,
 ~Stack~

 On 8/3/05, Danie Theron [EMAIL PROTECTED] wrote:
  Stack Stack wrote:
  Hey Guys,
  Well I have Bacula running on my Debian box now. I have been toying
  with it for a few hours, and have figured out a lot. I got different
  folders, files, and drives being backed up. So I decided to test out
  adding another box.
  
  I am attempting to add a Red Hat 9 box. I installed the Client rpm,
  and setup the config files on both machines as I understand they
  should be according to the tutorial file.
  When I run a backup from the Debian box, I get this error:
  ERROR in authenticate.c:217 Unable to authenticate console
  *UserAgent* at client:/*IP addy*/:36131.
  
  Not certain what to do on that.
  
  When I run ./bconsole from the Red Hat box I get this error:
  Connecting to Director /*My IP*/:9102
  Director authorization problem.
  Most likely the passwords do not agree.
  Please see
   http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for
   help.
  ERR=1999 Authorization failed.
  
  I checked the passwords, they are correct. I checked the port numbers,
  they are correct. So I went to the website, and its a dead link. I
  couldn't find any errors listed as 1999, so I am quite baffled as to
  what is going on.
  
  If I left something out, let me know. I appreciate any help.
  
  Thanks Guys,
  ~Stack~
 
  You might want to add the RH box to your hosts file /etc/hosts. Hope
  this helps

If the problem was solved by adding the RH system name to your 
/etc/hosts 
file on the Debian system, then the problem was a DNS resolver problem. Have 
you tried adding the Debian system name to the /etc/hosts file on your RH 
system? You're likely having the same DNS resolver problem there, as well.

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Adding a Red Hat box to be backed up

2005-08-03 Thread Mike Reinehr
On Wednesday 03 August 2005 01:47 pm, Stack Stack wrote:
 Once I saw that it worked on one system(Debian), I made sure that it
 was implemented on the other (Red Hat).

 I am going to attempt a client install on another system. Hopefully
 this will point out which box is having the problem.

 Thanks for the suggestion,
 ~Stack~

Ok, but, while we're on the subject of networking have you tried the 
other 
obvious things like pinging the respective systems, one from the other, just 
to verify basic connectivity. Also, do you have any firewall software running 
on either system, which might be blocking ports? I did a new Libranet 3.0 
install a few months ago  was pulling my hair out when I couldn't connect to 
anything until I finally stumbled over the fact that Libranet automagically 
installs  starts a firewall during a standard install.

Cheers!

cmr

 On 8/3/05, Mike Reinehr [EMAIL PROTECTED] wrote:
  On Wednesday 03 August 2005 11:42 am, Stack Stack wrote:
   Thanks, That at least fixed the problem on the Debian box. However,
   still the same error on the Red Hat box. I reinstalled the fd client
   on the Red Hat box. I also went through every bacula file that I could
   find on both boxes, and verified that the password was set properly.
  
   Still the same error on the Red Hat box. Any suggestions? I am
   beginning to think that the password isn't the problem, and that I
   have some other setting messed up.
  
   Thanks for the help,
   ~Stack~
  
   On 8/3/05, Danie Theron [EMAIL PROTECTED] wrote:
Stack Stack wrote:
Hey Guys,
Well I have Bacula running on my Debian box now. I have been toying
with it for a few hours, and have figured out a lot. I got different
folders, files, and drives being backed up. So I decided to test out
adding another box.

I am attempting to add a Red Hat 9 box. I installed the Client rpm,
and setup the config files on both machines as I understand they
should be according to the tutorial file.
When I run a backup from the Debian box, I get this error:
ERROR in authenticate.c:217 Unable to authenticate console
*UserAgent* at client:/*IP addy*/:36131.

Not certain what to do on that.

When I run ./bconsole from the Red Hat box I get this error:
Connecting to Director /*My IP*/:9102
Director authorization problem.
Most likely the passwords do not agree.
Please see
 http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for
 help.
ERR=1999 Authorization failed.

I checked the passwords, they are correct. I checked the port
 numbers, they are correct. So I went to the website, and its a dead
 link. I couldn't find any errors listed as 1999, so I am quite
 baffled as to what is going on.

If I left something out, let me know. I appreciate any help.

Thanks Guys,
~Stack~
   
You might want to add the RH box to your hosts file /etc/hosts. Hope
this helps
 
 If the problem was solved by adding the RH system name to your
  /etc/hosts file on the Debian system, then the problem was a DNS resolver
  problem. Have you tried adding the Debian system name to the /etc/hosts
  file on your RH system? You're likely having the same DNS resolver
  problem there, as well.
 
  cmr
 
  --
  Debian 'Sarge': Registered Linux User #241964
  
  More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC
  
 
 
  ---
  SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
  from IBM. Find simple to follow Roadmaps, straightforward articles,
  informative Webcasts and more! Get everything you need to get up to
  speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users

 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf

Re: [Bacula-users] Debian packages

2005-08-02 Thread Mike Reinehr
Hello Stack!

On Tuesday 02 August 2005 11:00 am, Stack Stack wrote:
 Hello everyone,
 I am attempting to build Bacula on a Debian system. I am very much new
 at Bacula, I have been reading the tutorials past several days, and
 right now I am just doing testing on a secondary box before I mess
 with the primary. So if I screw something up, tis no big deal. I am
 familiar with Linux, but have just begun working with Debian (required
 for this project), so I can't say I know Debian inside and out.

You should get to know Debian, as it's the best Linux distribution! ;-)

 When I was downloading the packages, I saw that there were .deb files.
 Are those not the Debian installer files? I don't recall seeing
 anything about Debian in the tutorials other then the fact it was a
 supported OS. Has anyone used them to install that could give me some
 pointers? Is it easier to install or more difficult?

You are correct. .deb files are the files used by the Debian package 
management system. There are source debs and binary debs, but I'm sure you've 
downloaded the binaries.

There's a short answer and a long answer to your question. Here's the 
short 
answer, first:

dpkg --install package.deb ...

The long answer involves reading some manuals:

http://www.debian.org/doc/user-manuals#usersguide

In particular, you need to familiarize yourself with dpkg, the Debian 
Package 
manager and with apt, the Advanced Package Tool. Once you've done that, then 
the next step is to familiarize yourself with aptitude, which is a higher 
level interface to the package manager and with the configuration files 
in /etc/apt. Once you've set up a good sources list (you, probably already 
have one) then downloading, installing  upgrading deb packages is almost 
effortless.

 It's no big deal to rebuild from source (I have done it once already,
 but I screwed it up when tweaking it). So I can do it again, I am just
 trying out other methods so I know exactly what to do when I begin
 work on the the primary system.

Really, really not necessary. But if you insist, there is a Debian way 
of 
doing it (of course).

 Also, I will be dumping the backups to a raid5 array, so if anyone has
 any comments, I would greatly appreciate hearing about what tends to
 work best.

Personally, my research has lead me to favor RAID10, over RAID5. Disk 
drives 
have become so much less expensive that that the extra capacity required is 
not that expensive. Are you using hardware of software RAID? RAID10 is now 
supported by md  mdadm.

 Thanks,
 ~Stack~

Cheers!

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dev open failed: Could not open file device DVD-WRITER (/dev/hdc). No Volume name given.

2005-07-14 Thread Mike Reinehr
On Wednesday 13 July 2005 05:33 pm, Mario Ohnewald wrote:
 Hello Mike,

 On Wed, 2005-07-13 at 13:24 -0500, Mike Reinehr wrote:
  Mario,
 
  On Wednesday 13 July 2005 12:39 pm, Mario Ohnewald wrote:
   On Wed, 2005-07-13 at 16:12 +0200, Frederic PIERROT wrote:
Hi,
   
At 16:06 13/07/2005, you wrote:
i am trying to test my backup volume like the tutorial recommends:

btape -c /etc/bacula/bacula-sd.conf /dev/hdc
Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: /dev/hdc for writing.
13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
dev open failed: Could not open file device DVD-WRITER (/dev/hdc).
 No Volume name given.
  
   *label
   Automatically selected Storage: File
   Enter new Volume name: Test02
   Automatically selected Pool: Default
   Connecting to Storage daemon File at SpiekLap:9103 ...
   Sending label command for Volume Test02 Slot 0 ...
   3910 Unable to open device DVD (/dev/sr0): ERR=dvd.c:363
   Label command failed for Volume Test02.
   Do not forget to mount the drive!!!
  
   *run
   A job name must be specified.
   The defined Job resources are:
1: Laptop
2: BackupCatalog
3: RestoreFiles
   Select Job resource (1-3): 1
   Run Backup job
   JobName:  Laptop
   FileSet:  Full Set
   Level:Incremental
   Client:   SpiekLap-fd
   Storage:  File
   Pool: Default
   When: 2005-07-13 19:33:25
   Priority: 10
   OK to run? (yes/mod/no): mod
   Parameters to modify:
1: Level
2: Storage
3: Job
4: FileSet
5: Client
6: When
7: Priority
8: Pool
   Select parameter to modify (1-8): 2
   Automatically selected Storage: File
   Run Backup job
   JobName:  Laptop
   FileSet:  Full Set
   Level:Incremental
   Client:   SpiekLap-fd
   Storage:  File
   Pool: Default
   When: 2005-07-13 19:33:25
   Priority: 10
   OK to run? (yes/mod/no):
  
  
   -
   Does it automatically use Storage=File because i dont have a working
   DVD Storage device?
  
   eject /dev/sr0 works, and i can write to the dvd with k3b.
  
Here my config:

grep -v ^# bacula-sd.conf

Storage { # definition of myself
   Name = SpiekLap-sd
   SDPort = 9103  # Director's port
   WorkingDirectory = /var/bacula/working
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 20
}

Director {
   Name = SpiekLap-dir
   Password = yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw
}

Director {
   Name = SpiekLap-mon
   Password = Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+
   Monitor = yes
}


Device {
   Name = DVD-WRITER
   Media Type = DVD
   Archive Device = /dev/hdc
   LabelMedia = no;   # i have already tried YES here,
 too Random Access = Yes;
   AutomaticMount = yes;  # when device opened, read it
   RemovableMedia = yes;
   AlwaysOpen = no;
   MaximumPartSize = 800M;
   RequiresMount = yes;
   MountPoint = /cdrom;
   MountCommand = /bin/mount -t iso9660 -o ro %a %m;
   UnmountCommand = /bin/umount %m;
   SpoolDirectory = /tmp/backup;
   WritePartCommand = /etc/bacula/dvd-writepart %n %a %v
   FreeSpaceCommand = /etc/bacula/dvd-freespace %a %n
}
 
  I'm just guessing here, but your mount command indicates type iso9660.
  Does your DVD already have an iso9660 file system written to it?

 No, its a blank DVD RW+

   If not, this
  might be the source of your problem.

 So should i remove the MountPoint and MountCommand options?

 I was already in the example config, so i just thought its correct.


 Thanks, Mario

Mario,

Well, yes  no. Basically, the o/s will not be able to mount your dvd at all, 
until there is a working file system written on the DVD. Last week I would 
have said that I don't think that just creating an iso9660 file system will 
solve your problem as it would be a read-only file system, however, there was 
a thread earlier this week that seemed to indicate that it was possible to 
write an iso9660 file system on the fly with growisofs. I didn't read it in 
detail so I can't say for certain. Search the archives for a message with the 
title DVD Backup Script (Was Re: [Bacula-users] DVD+/-RW as media without 
bimgmanager?) from Misty Stanely-Jones. In it she provides a script which 
writes a backup to a DVD.

Alternatively, you could use DVD-RAM. All recent kernels support this type of 
drive. You treat it just like a hard drive, which is to say, you use mkfs to 
create the file system of your choice (ext2, ext3, etc.). Then mount and 
write it. I've even played around with using squashfs to create  write a 
compressed file system, with mixed results.

Cheers!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC

Re: [Bacula-users] Catalog stopped backing up?

2005-07-14 Thread Mike Reinehr
On Thursday 14 July 2005 09:37 am, DAve wrote:
 Good morning all,

 I've read through the docs (doesn't mean I got it all) and successfully
 installed and configured Bacula. Very nice program. I ran backups into a
 single file for a while until we got an idea what we needed. I then
 reread the docs section about Automatic_Volume_Recycling. I am certain I
 missed something.

 Once I got everything resetup and running Bacula appeared to be doing
 exactly what I wanted except that my catalog backup is now failing.

 I am at a oss as to understand why. Can someone please smack me with a
 clue bat?

 Thanks, details below.

 DAve

Dave,

Your listing for Jobid 895, below, indicates a Backup Level of Catalog. I 
think this is your problem. The backup level should be Full. Catalog is a 
level used only by verify jobs. Unfortunately, I can't say for certain why 
this is happening. All of your configuration stanzas seem correct, to me. The 
only clue that I see is in your listing of pools. In that list the pool type 
for your Catalog pool is indicated as Cat-. You might try deleting this pool 
and allowing it to be created again, from scratch.

Also, are you running this job with a bconsole run command, or is it running 
automatically? If from bconsole, make sure that you have selected the correct 
level, before saying yes to run.

cmr

 =error message
 14-Jul 01:10 web6-dir: Start Backup JobId 895,
 Job=BackupCatalog.2005-07-14_01.10.00
 14-Jul 01:10 web6-dir: BackupCatalog.2005-07-14_01.10.00 Fatal error:
 fd_cmds.c:222 Unimplemented backup level 67 C
 14-Jul 01:10 web6-dir: BackupCatalog.2005-07-14_01.10.00 Error: Bacula
 1.36.1 (26Nov04): 14-Jul-2005 01:10:08
JobId:  895
Job:BackupCatalog.2005-07-14_01.10.00
Backup Level:   Catalog
Client: web6-fd
FileSet:Web6-Catalog 2004-12-17 15:27:31
Pool:   Default
Storage:File
Start time: 14-Jul-2005 01:10:02
End time:   14-Jul-2005 01:10:08
FD Files Written:   0
SD Files Written:   0
FD Bytes Written:   0
SD Bytes Written:   0
Rate:   0.0 KB/s
Software Compression:   None
Volume name(s):
Volume Session Id:  25
Volume Session Time:1120164017
Last Volume Bytes:  0
Non-fatal FD errors:0
SD Errors:  0
FD termination status:
SD termination status:  Waiting on FD
Termination:*** Backup Error ***


 =bacula-dir.conf==
 Job {
Name = BackupCatalog
Type = Backup
FileSet = Web6-Catalog
Schedule = WeeklyCycleAfterBackup
# 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 = /usr/local/db/bacula/BackupCatalog.bsr
Level = Full
Client = web6-fd
Storage = File
Messages = Standard
Pool = Default
Priority = 11   # run after main backup
 }

 FileSet {
Name = Web6-Catalog
Include {
  Options {
signature = MD5
  }
  File = /usr/local/db/bacula/bacula.sql
}
 }

 Schedule {
Name = WeeklyCycleAfterBackup
Run = Level=Full FullPool=Catalog sun-sat at 1:10
 }

 Pool {
Name = Catalog
Pool Type = Backup
Recycle = yes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days
Accept Any Volume = yes # write on any volume in the pool
LabelFormat = Cat-
Maximum Volume Jobs = 6
Maximum Volumes = 5
 }

 =bconsole===
 *list pools
 ++---+-+-+--+-+

 | PoolId | Name  | NumVols | MaxVols | PoolType | LabelFormat |

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

 |  1 | Default   |   4 |   4 | Backup   | BackUp  |
 |  2 | Inc-Pool  |   6 |   6 | Backup   | Inc-|
 |  3 | Diff-Pool |   5 |   5 | Backup   | Diff-   |
 |  4 | Full-Pool |   6 |   6 | Backup   | Full-   |
 |  5 | Catalog   |   5 |   5 | Backup   | Cat-|

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

 *list media
 Pool: Catalog
 +-++---++--+--+
-+--+---+---+-+

 | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |

 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten

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

 |  22 | Cat-0001   | Append| 72,498,076 |0 

Re: [Bacula-users] MTEOM

2005-07-13 Thread Mike Reinehr
On Wednesday 13 July 2005 02:42 am, Taymour A. El Erian wrote:
 HI,

 I had a tape which bacula failed to write on so I did mt erase and
 relabeled it with label command and started to reuse it, what happened
 is that I got this error from bacula after it wrote several jobs on the
 tape

 Error: Unable to position to end of data on device /dev/tape.
 ERR=dev.c:494 ioctl MTEOM error on /dev/tape. ERR=Input/output error.

 what does this mean ?

This is just a guess, but Magnetic Tape End Of Media error. In other 
words, 
you have run off the end of the tape, without Bacula having received an end 
of media signal.

HTH's.

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dev open failed: Could not open file device DVD-WRITER (/dev/hdc). No Volume name given.

2005-07-13 Thread Mike Reinehr
Mario,

On Wednesday 13 July 2005 12:39 pm, Mario Ohnewald wrote:
 On Wed, 2005-07-13 at 16:12 +0200, Frederic PIERROT wrote:
  Hi,
 
  At 16:06 13/07/2005, you wrote:
  i am trying to test my backup volume like the tutorial recommends:
  
  btape -c /etc/bacula/bacula-sd.conf /dev/hdc
  Tape block granularity is 1024 bytes.
  btape: butil.c:258 Using device: /dev/hdc for writing.
  13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
  dev open failed: Could not open file device DVD-WRITER (/dev/hdc). No
  Volume name given.

 *label
 Automatically selected Storage: File
 Enter new Volume name: Test02
 Automatically selected Pool: Default
 Connecting to Storage daemon File at SpiekLap:9103 ...
 Sending label command for Volume Test02 Slot 0 ...
 3910 Unable to open device DVD (/dev/sr0): ERR=dvd.c:363
 Label command failed for Volume Test02.
 Do not forget to mount the drive!!!

 *run
 A job name must be specified.
 The defined Job resources are:
  1: Laptop
  2: BackupCatalog
  3: RestoreFiles
 Select Job resource (1-3): 1
 Run Backup job
 JobName:  Laptop
 FileSet:  Full Set
 Level:Incremental
 Client:   SpiekLap-fd
 Storage:  File
 Pool: Default
 When: 2005-07-13 19:33:25
 Priority: 10
 OK to run? (yes/mod/no): mod
 Parameters to modify:
  1: Level
  2: Storage
  3: Job
  4: FileSet
  5: Client
  6: When
  7: Priority
  8: Pool
 Select parameter to modify (1-8): 2
 Automatically selected Storage: File
 Run Backup job
 JobName:  Laptop
 FileSet:  Full Set
 Level:Incremental
 Client:   SpiekLap-fd
 Storage:  File
 Pool: Default
 When: 2005-07-13 19:33:25
 Priority: 10
 OK to run? (yes/mod/no):


 -
 Does it automatically use Storage=File because i dont have a working DVD
 Storage device?

 eject /dev/sr0 works, and i can write to the dvd with k3b.

  Here my config:
  
  grep -v ^# bacula-sd.conf
  
  Storage { # definition of myself
 Name = SpiekLap-sd
 SDPort = 9103  # Director's port
 WorkingDirectory = /var/bacula/working
 Pid Directory = /var/run
 Maximum Concurrent Jobs = 20
  }
  
  Director {
 Name = SpiekLap-dir
 Password = yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw
  }
  
  Director {
 Name = SpiekLap-mon
 Password = Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+
 Monitor = yes
  }
  
  
  Device {
 Name = DVD-WRITER
 Media Type = DVD
 Archive Device = /dev/hdc
 LabelMedia = no;   # i have already tried YES here, too
 Random Access = Yes;
 AutomaticMount = yes;  # when device opened, read it
 RemovableMedia = yes;
 AlwaysOpen = no;
 MaximumPartSize = 800M;
 RequiresMount = yes;
 MountPoint = /cdrom;
 MountCommand = /bin/mount -t iso9660 -o ro %a %m;
 UnmountCommand = /bin/umount %m;
 SpoolDirectory = /tmp/backup;
 WritePartCommand = /etc/bacula/dvd-writepart %n %a %v
 FreeSpaceCommand = /etc/bacula/dvd-freespace %a %n
  }

I'm just guessing here, but your mount command indicates type iso9660. 
Does 
your DVD already have an iso9660 file system written to it? If not, this 
might be the source of your problem.


snip

HTH's!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file-list

2005-07-11 Thread Mike Reinehr
On Monday 11 July 2005 12:55 pm, Maurizio Santini wrote:
 That it was my first configuration but it always throw the error 
 Could not stat File: ERR=No such file or directory

 Thanks,

 Maurizio

Make sure that the file exists, even if it has size 0, when you start 
the 
director. Also make sure that the director has permission to read the file.

Cheers!

cmr

 On Mon, 2005-07-11 at 14:21, Mike Reinehr wrote:
  On Monday 11 July 2005 10:10 am, Maurizio Santini wrote:
   It worked!
  
   Bacula's manual should be corrected because it says to use File =
   @/what_ever_path/file.list but as you suggested the word File is not
   needed in bacula-dir.conf when the @ operator is used.
  
   Thank you very much,
  
   Maurizio
 
  Maurizio,
 
  Something to keep in mind is that @/what_ever_path/file.list will be
  read only when you start bacula-director or issue the reload command from
  bconsole. This may be what you intend, but if file.list will be changing
  regularly you may wish to use the File = /what_ever_path/file.list
  construct, which will be read every time you run a backup job.
 
  Cheers!
 
  cmr
 
   On Thu, 2005-07-07 at 17:42, Martin Simmons wrote:
 On Wed, 06 Jul 2005 19:30:48 -0300, Maurizio Santini
 [EMAIL PROTECTED] said:
   
  Maurizio Hello,
   
  Maurizio I'm trying to set up bacula 1.36.3 on redhat 8 but I have
the following Maurizio problem.
   
  Maurizio Instead of listing all the directory/files I want to
backup within the Maurizio FileSet/Include directive I set up a file
with the directories/files I Maurizio want to backup.
   
  Maurizio bacula-dir.conf looks like this...
   
  Maurizio FileSet {
  Maurizio   Name = Monitor0 files
  Maurizio   Include {
  Maurizio Options {
  Maurizio   signature = MD5
  Maurizio }
  Maurizio File =
@/root/bacula/bin/file_list/monitor_pc/monitor0.list Maurizio   }
  Maurizio }
   
  Maurizio ...and monitor0.list like this...
  Maurizio File = /boot/message, File = /boot/map, File =
/boot/kernel.h
   
  Maurizio The configuration looks OK because I can restart bacula
with no problems Maurizio but when I try to backup the client I get
the error Could not stat Maurizio File: ERR=No such file or
directory.
   
  Maurizio monitor0.list is on the director's machine.
   
  Maurizio Does anyone know if I'm configuring wrong monitor0.list
or Maurizio bacula-dir.conf?
   
The @ operator includes monitor0.list as if it was inline in
bacula-dir.conf, so you have created the following:
   
File = File = /boot/message, File = /boot/map, File =
/boot/kernel.h
   
To get what you want, I suggest creating monitor0.list to contain
this:
   
File = /boot/message
File = /boot/map
File = /boot/kernel.h
   
and using it like this:
   
FileSet {
  Name = Monitor0 files
  Include {
Options {
  signature = MD5
}
@/root/bacula/bin/file_list/monitor_pc/monitor0.list
  }
}
   
__Martin
   
   
---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening July 14 at 8am PDT/11am EDT. We invite you to explore the
latest in dual core and dual graphics technology at this free one
hour event hosted by HP, AMD, and NVIDIA.  To register visit
http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  
   ---
   This SF.Net email is sponsored by the 'Do More With Dual!' webinar
   happening July 14 at 8am PDT/11am EDT. We invite you to explore the
   latest in dual core and dual graphics technology at this free one hour
   event hosted by HP, AMD, and NVIDIA.  To register visit
   http://www.hp.com/go/dualwebinar
   ___
   Bacula-users mailing list
   Bacula-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/bacula-users

 ---
 This SF.Net email is sponsored by the 'Do More With Dual!' webinar
 happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
 in dual core and dual graphics technology at this free one hour event
 hosted by HP, AMD, and NVIDIA.  To register visit
 http://www.hp.com/go/dualwebinar
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by the 'Do More With Dual

Re: [Bacula-users] ERROR TERMINATION at lex.c:140

2005-07-01 Thread Mike Reinehr
On Wednesday 29 June 2005 01:22 pm, David Clymer wrote:
 On Mon, 2005-06-27 at 17:09 -0500, Mike Reinehr wrote:
  On Monday 27 June 2005 04:54 pm, Mike Reinehr wrote:
   Oh, oh! I seem to have just shot myself in the foot!
  
   I edited /etc/bacula/bacula-dir.conf to add the necessary paragraphs to
   support a new network client backup. Then I stopped bacula-director 
   tried
  
   to restart it with the following result:
Starting Bacula Director: 27-Jun 16:39 bacula-dir: ERROR TERMINATION
at
  
   lex.c:140
  
Cannot open config file /var/lib/bacula/file_list: No such file or
directory
  
   failed.
  
   Since then, I have restored bacula-dir.conf, but no joy. This is a
   Debian system running Bacula version 1.36.2 -- (Deb: 1.36.2-2)
  
   Can anyone give me a clue???

 Where/how is /var/lib/bacula/file_list referenced in your config? Could
 we have a ltle more info?

 -davidc

Sorry for the delay. I've been in and out of the office for the past three 
days.

This was such a stupid, self-inflicted error that I'm embarrassed to admit it. 
I was trying to switch from specifying files to be backed up in 
bacula-dir.conf to using a shell script to list them in a file. So, anyway, 
the file was of my own doing and I finally recognized what was going on.

Sorry for the wasted bandwidth.

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] ERROR TERMINATION at lex.c:140

2005-06-27 Thread Mike Reinehr
Oh, oh! I seem to have just shot myself in the foot!

I edited /etc/bacula/bacula-dir.conf to add the necessary paragraphs to 
support a new network client backup. Then I stopped bacula-director  tried 
to restart it with the following result:

 Starting Bacula Director: 27-Jun 16:39 bacula-dir: ERROR TERMINATION at 
lex.c:140
 Cannot open config file /var/lib/bacula/file_list: No such file or directory  
failed.

Since then, I have restored bacula-dir.conf, but no joy. This is a Debian 
system running Bacula version 1.36.2 -- (Deb: 1.36.2-2)

Can anyone give me a clue???

Thanks!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Thinking of implementing bacula have a couple ?'s.

2005-06-24 Thread Mike Reinehr
On Thursday 23 June 2005 11:05 am, Sean wrote:
 2. Can bacula be compiled on a 64-bit linux system? (I imagine it could,
 but has anyone had experience with this?)

I haven't, personally, compiled it, but I've been running a 64-bit Bacula for 
over six months now on AMD64 Debian, Sarge. The packages are all in the 
64-bit binary repository. There are no unique problems that I've observed.

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [OT: Was: Re: bscan segfault]

2005-06-08 Thread Mike Reinehr
On Wednesday 08 June 2005 02:52 pm, Jos Luis Talln wrote:
 Mike Reinehr wrote:
 On Thursday 02 June 2005 06:39 am, Jos Luis Talln wrote:
 snip
 
 Kern: this is bacula-1.36.3, save for the old include/exclude support
 and the documentation updates, FYI.
 bscan comes in 3 flavors, each statically linked to its corresponding
 version of 'cats' and client libraries
 
 (i386 Pentium II 400, kernel 2.6.11-rc3 ...)
 
 As usual, don't hesitate contacting me should you need some more
 information on the build process.
 
 J.L.
 
 Jose,
 
 I notice from the Debian package directory that you are listed as the
 maintainer of the bacula-sd package.

 Yes, that's correct.

  While following another thread I just
 noticed that bscan is not included in any of the Debian packages. The
  files:
 
 /usr/lib/bacula/bscan.mysql
 /usr/lib/bacula/bscan.pgsql
 /usr/lib/bacula/bscan.sqlite
 /usr/share/man/man8/bscan.8.gz
 /usr/share/man/man8/bscan.mysql.8.gz
 /usr/share/man/man8/bscan.pgsql.8.gz
 /usr/share/man/man8/bscan.sqlite.8.gz
 
 are included, just not bscan itself. I'm curious as to the reason for this
  and wondering how to go about obtaining bscan.

 Well, those are the *statically* compiled flavors of bscan, so as not to
 have to:
 - either create three additional packages (bacula-sd-{sqlite,mysql,pgsql}
 or
 - have every user download 12MB of additional dependencies just to use SD

 I am thinking about providing a symlink from 'bscan' to 'bscan.flavor'
 automatically, but refrained from doing that due to the proximity of the
 release. I will probably include it very soon.

Color me feeling stupid for not figuring this out for myself! I 
certainly can 
handle the symlink, myself. You also might consider just adding a note in a 
README.Debian file suggesting that the user do so.

 Thanks!
 
 cmr
 
 PS   To complicate matters I'm running an AMD64 system.

 Not a problem at all. As long as Bacula compiles, i will support you
 too. Nonetheless, AMD64 is a supported architecture as of now, just
 after the release.

I am very pleased with my AMD64 systems. The people responsible for the 
port 
have done an excellent job.

Thanks!

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Renaming Volumes?

2005-06-03 Thread Mike Reinehr
On Friday 03 June 2005 03:39 pm, Misty Stanley-Jones wrote:
 Can I rename a disk volume somehow?  i figured out how I want to label the
 volumes now but it was wrong yesterday.  The backups were good, but the
 names are not what I want.  I have auto labeling so I assume that when they
 expirre they will just get deleted but can I fix them before that?  One of
 them does not expire for a month!

 Misty

Misty,

I think that the only way to do what you wish is to purge the volume from the 
database. Rename (mv) the actual disk volume and then run bscan to recreate 
the database entry with the new name.

Alternatively, if you are handy with SQL you might just be able to update the 
volume records in the database directly and then rename the actual disk 
volume.

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Renaming Volumes?

2005-06-03 Thread Mike Reinehr
On Friday 03 June 2005 04:02 pm, Kern Sibbald wrote:
 On Friday 03 June 2005 22:51, Mike Reinehr wrote:
  On Friday 03 June 2005 03:39 pm, Misty Stanley-Jones wrote:
   Can I rename a disk volume somehow?  i figured out how I want to label
   the volumes now but it was wrong yesterday.  The backups were good, but
   the names are not what I want.  I have auto labeling so I assume that
   when they expirre they will just get deleted but can I fix them before
   that?  One of them does not expire for a month!
  
   Misty
 
  Misty,
 
  I think that the only way to do what you wish is to purge the volume from
  the database. Rename (mv) the actual disk volume and then run bscan to
  recreate the database entry with the new name.
 
  Alternatively, if you are handy with SQL you might just be able to update
  the volume records in the database directly and then rename the actual
  disk volume.

 Unfortunately, neither of those good ideas will help.  The Volume name is
 embedded in the Bacula Volume label record on the medium so that Bacula can
 find out what the Volume name really is.  To change it, you would need to
 change the Volume data, which is not something I recommend. All records are
 contained in blocks, and all blocks are checksummed, so it would be a real
 pain to try to change a Volume name ...

 Doing a bcopy might work, but it is largely untested. However, bcopy does
 not update the catalog, so your first suggestion might be valid after a
 bcopy. If anyone tries it, please let me know ...

Sounds as if you were being generous when you said those good ideas! 
;-)

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [OT: Was: Re: bscan segfault]

2005-06-03 Thread Mike Reinehr
On Thursday 02 June 2005 06:39 am, Jos Luis Talln wrote:
snip

 Kern: this is bacula-1.36.3, save for the old include/exclude support
 and the documentation updates, FYI.
 bscan comes in 3 flavors, each statically linked to its corresponding
 version of 'cats' and client libraries

 (i386 Pentium II 400, kernel 2.6.11-rc3 ...)

 As usual, don't hesitate contacting me should you need some more
 information on the build process.

 J.L.

Jose,

I notice from the Debian package directory that you are listed as the 
maintainer of the bacula-sd package. While following another thread I just 
noticed that bscan is not included in any of the Debian packages. The files:

/usr/lib/bacula/bscan.mysql
/usr/lib/bacula/bscan.pgsql
/usr/lib/bacula/bscan.sqlite
/usr/share/man/man8/bscan.8.gz
/usr/share/man/man8/bscan.mysql.8.gz
/usr/share/man/man8/bscan.pgsql.8.gz
/usr/share/man/man8/bscan.sqlite.8.gz

are included, just not bscan itself. I'm curious as to the reason for this.

Thanks!

cmr

PS  To complicate matters I'm running an AMD64 system.
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Fwd: Bacula: Admin OK of ArtemisPruneDB from artemis-fd]

2005-06-01 Thread Mike Reinehr
On Wednesday 01 June 2005 12:22 pm, Russell Howe wrote:
 Once I have this tuned to how I want it, I'll post my configuration, as
 I think it will be useful to quite a few people.

Please do so!

Thanks,

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] no compression using seagate scorpian dss-4 drive

2005-05-31 Thread Mike Reinehr
On Monday 30 May 2005 02:25 pm, Christopher Mosentine wrote:
 Hello:  I am using bacula with my seagate scorpian dss-4 drive.  I
 love how bacula has support for my tape drive right out-of-the-box.

 Bacula is running fine but I am not able to achive any compression as
 I am only able to put about 17GB on a tape.  I routinely backup about
 32GB and would love to get it all on 1 tape.  I used to use Arkeia but
 achived the same results.  I have checked and the device IS set with
 hardware compression ENABLED (via dip switch).

 So, I know there are others out there using this same drive - have you
 been able to get hardware compression to work??  If so how??

 Thanks, Chris.

Chris,

I'm using a Certance DDS-4/DAT72 drive, which I believe is the same as yours, 
perhaps just a later model since all Seagate tape drives now are Certance. As 
you said, data compression is set with a DIP switch. Here's the output of 
tapeinfo -f /dev/sg0:

Product Type: Tape Drive
Vendor ID: 'SEAGATE '
Product ID: 'DATDAT72-000'
Revision: 'A030'
Attached Changer: No
SerialNumber: 'HV00D4Z'
MinBlock:1
MaxBlock:16777215
SCSI ID: 6
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x35
Density Code: 0x47
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x20
DeCompType: 0x20
BOP: yes
Block Position: 0

which clearly shows data compression enabled and I routinely get something on 
the order of 60GB's of data per tape.

HTH's!

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Test

2005-05-27 Thread Mike Reinehr
On Friday 27 May 2005 09:36 am, Misty Stanley-Jones wrote:
 I sent the message and got a blank reply so I don't know.

 On Friday 27 May 2005 09:32 am, Mike Reinehr wrote:
  Are you subscribed?
 
  cmr
 
  On Thursday 26 May 2005 04:15 pm, Misty Stanley-Jones wrote:
   I am not seeing messages from this list except through the web
   archives. Please forgive this test.
  
   Misty
  

If you successfully subscribed you should have received an email from 
[EMAIL PROTECTED] with the subject line Welcome to 
the Bacula-users mailing list. It would have contained several links for 
managing your subscription as well as a copy of the password you used in 
creating your subscription. If you didn't receive this, I would just go ahead 
 subscribe again.

Cheers!

cmr

-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [OT][Bacula-users] RAID1

2005-05-25 Thread Mike Reinehr
On Wednesday 25 May 2005 03:00 am, Danie Theron wrote:
 Hi ,

 I know this is a bit off bacula topic probably. I want to remove RAID1
 from a disk , everytime I boot it it's looking for the 2nd disk. I want
 to simpy boot into a normal vanilla disk. Can I edit the fstab and
 just change the /dev/md0 device to whatever the disk is (/dev/hda) ? I'm
 really at odds here , if anyone can maybe help me or point me in the
 right direction that would be great.

 Thanks in advance!

 Danie


Danie,

Tread cautiously here, as you easily can loose everything!

FIrst, run mdadm --detail /dev/md0 to find out exactly what partitions are 
included in the md0 device. The last two lines or so should give you the 
information.

Run mdadm -S /dev/md0 to shut down mirroring.

Use cfdisk /dev/hda. Change the partition type for the relevant partition(s) 
from FD (RAID autodetect) to 83 (Linux). Write  reboot. When you reboot, no 
RAID components should be detected and you can mount your partition(s) 
normally. (Edit /etc/fstab appropriately before rebooting.)

BACKUP, BACKUP, BACKUP!!! (Wouldn't hurt to backup your partition table with 
sfdisk -d, as well.)

A similar way to do this would be to boot from a Knoppix disk. Make all the 
changes  then reboot.

Cheers!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402alloc_id=16135op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Admin Job - Prune Volumes

2005-05-13 Thread Mike Reinehr
On Friday 13 May 2005 03:24 pm, Martin Simmons wrote:
  On Fri, 13 May 2005 12:26:16 -0500, Mike Reinehr [EMAIL PROTECTED]
  said:

   Mike I have the following described job in my bacula-dir.conf file:

   Mike Job {
   Mike   Name = Bilskirnir-Prune
   Mike   Type = Admin
   Mike   Messages = Standard
   Mike   Priority = 10
   Mike   Schedule = WeeklyPrune
   Mike   Storage = File
   Mike   Client = bilskirnir-fd
   Mike   FileSet = Bilskirnir File Set
   Mike   Pool = Bilskirnir Files
   Mike   Full Backup Pool = Bilskirnir Full Files
   Mike   Incremental Backup Pool = Bilskirnir Incr Files
   Mike   Prune Volumes = yes
   Mike }

   Mike My purpose is to prune  then delete disk volumes before I run a
 tape backup.

   Mike The job ran successfully, according to the log file, but no volumes
 were Mike purged, while several should have been.

   Mike Can someone explain what I am missing? It is a failure to
 understand the Mike concept, or is my configuration just wrong?

 I suspect the problem is that Bacula only looks at Prune Volumes when it
 needs a new volume, but admin jobs never need a volume.

 You might try adding a Run Before Job script to that job to run bconsole
 with the prune command.

 __Martin


I suspected as much, but yet the documentation for an Admin Job states:

Admin
Run a admin Job. An Admin job can be used to periodically run catalog
pruning, if you do not want to do it at the end of each Backup Job.
Although an Admin job is recorded in the catalog, very little data is
saved.

So, is this in error, or is there way to do it (other than a script)?

Thanks!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet Exclude by Default

2005-03-23 Thread Mike Reinehr
On Tuesday 22 March 2005 07:41 pm, David Fuchs wrote:
 22-Mar 17:26 davidfuchs-dir: ERROR TERMINATION at inc_conf.c:495
 Config error: Regex compile error. ERR=repetition-operator operand invalid

             : line 119, col 35 of file
 /usr/local/bacula/etc/bacula-dir.conf RegexFile = ^.?*$

 So I changed the regex to

     RegexFile = ^.*$

David,

The regex that you used ^.*$, in addition to files beginning with . is 
also picking up  the current directory ., hence you're backing up all files 
in the directory. The regex that Kern suggested, ^.?*$ requires at least 
one character after the leading . to avoid this.

I know next to nothing about file exclusions, so this is just a guess, but you 
might try ^.?* (without the trailing $).

HTH's

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

More laws, less justice. -- Marcus Tullius Ciceroca, 42 BC



---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_idh82alloc_id148op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users