RE: [Bacula-users] backup catalog job failing

2005-06-10 Thread Chris Lee
 
> This has been happening since I updated to 1.36.3
> 
> 10-Jun 00:27 msslas-dir: RunBefore: /usr/bin/mysqldump: 
> option requires an argument -- u 10-Jun 00:27 msslas-dir: 
> Start Backup JobId 5119, Job=BackupCatalog.2005-06-09_23.50.00
> 10-Jun 00:27 msslas-sd: Spooling data ...
> 10-Jun 00:27 msslas-fd:  Could not stat 
> /var/bacula/working/bacula.sql: 
> ERR=No such file or directory
> 
> # Backup the catalog database (after the nightly save) Job {
>Name = "BackupCatalog"
>JobDefs = "DefaultJob"
>Level = Full
>FileSet="Catalog"
>Schedule = "WeeklyCycleAfterBackup"
># This creates an ASCII copy of the catalog
>RunBeforeJob = "/etc/bacula/make_catalog_backup -u bacula"
># This deletes the copy of the catalog
>RunAfterJob  = "/etc/bacula/delete_catalog_backup"
>Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
>Priority = 11   # run after main backup
>Pool = High-churnPool
> }
> 
> The relevant section of the script is:
> 
> cd /var/bacula/working
> rm -f bacula.sql
> if test xsqlite = xmysql ; then
>echo ".dump" | /usr/bin/sqlite $1.db >$1.sql else
>if test xmysql = xmysql ; then
>  /usr/bin/mysqldump -u $2 -f --opt $1 >$1.sql
>else
>  /usr/bin/pg_dump -U $2 $1 >$1.sql
>fi
> fi
> 
> 
> Any pointers?
> 

RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula"

Notice that the script uses $1 as db name and $2 as user.
Furthermore if your db requires a password (like mines does) you can use:
RunBeforeJob = "/etc/bacula/make_catalog_backup bacula \"bacula
--password=yourdbpasswd\""
Just note the escaped quotes.

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



---
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] backup catalog job failing

2005-06-10 Thread Chris Lee
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kern Sibbald
> Sent: Friday, 10 June, 2005 08:53
> To: bacula-users@lists.sourceforge.net
> Cc: Alan Brown
> Subject: Re: [Bacula-users] backup catalog job failing
> 
> Hello Alan,
> 
> Please see the second item under: Items to note for 1.36.3!!!
> in Release Notes, which is:
> 
> - Dan has reminded us that the arguments for make_catalog_backup
>   changed from 1.34.x to 1.36.1. The old arguments were typically
>   "-U bacula".  The new arguments are typically "bacula bacula",
>   where the first is the database name, and the second is the
>   user name.
> 
> Hmmm. I just noticed it should read -u instead if -U, but you 
> get the idea. :-)
> 

For those of us with passworded dbs, can we use something like this instead?

/usr/bin/mysqldump -u $2 $3 -f --opt $1 >$1.sql

Then call the script with "bacula bacula --password=mydbpass" or if 
no passwd then $3 evaluates to "" so there's no problem.

> On Friday 10 June 2005 12:55, Alan Brown wrote:
> > This has been happening since I updated to 1.36.3
> >
> > 10-Jun 00:27 msslas-dir: RunBefore: /usr/bin/mysqldump: option 
> > requires an argument -- u 10-Jun 00:27 msslas-dir: Start 
> Backup JobId 
> > 5119, Job=BackupCatalog.2005-06-09_23.50.00
> > 10-Jun 00:27 msslas-sd: Spooling data ...
> > 10-Jun 00:27 msslas-fd:  Could not stat 
> /var/bacula/working/bacula.sql:
> > ERR=No such file or directory
> >
> > # Backup the catalog database (after the nightly save) Job {
> >Name = "BackupCatalog"
> >JobDefs = "DefaultJob"
> >Level = Full
> >FileSet="Catalog"
> >Schedule = "WeeklyCycleAfterBackup"
> ># This creates an ASCII copy of the catalog
> >RunBeforeJob = "/etc/bacula/make_catalog_backup -u bacula"
> ># This deletes the copy of the catalog
> >RunAfterJob  = "/etc/bacula/delete_catalog_backup"
> >Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
> >Priority = 11   # run after main backup
> >Pool = High-churnPool
> > }
> >
> > The relevant section of the script is:
> >
> > cd /var/bacula/working
> > rm -f bacula.sql
> > if test xsqlite = xmysql ; then
> >echo ".dump" | /usr/bin/sqlite $1.db >$1.sql else
> >if test xmysql = xmysql ; then
> >  /usr/bin/mysqldump -u $2 -f --opt $1 >$1.sql
> >else
> >  /usr/bin/pg_dump -U $2 $1 >$1.sql
> >fi
> > fi
> >
> >
> > Any pointers?
> >
> > AB
> >
> >
> >
> > ---
> > 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
> 
> -- 
> Best regards,
> 
> Kern
> 
>   (">
>   /\
>   V_V
> 
> 
> ---
> 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



---
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] Unable to connect (more info)

2005-06-13 Thread Chris Lee
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Richard White
> Sent: Monday, 13 June, 2005 17:12
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Unable to connect (more info)
> 
> I did ps -e | grep "bac" and got three each bacula-fd and 
> bacula-sd. No bacula-dir.
> 
> So I ran bacula-dir at the command line and got this error:
> 
> 13-Jun 14:25 bacula-dir: ERROR TERMINATION at lex.c:591 
> Config error: expected a string, got T_EOL: =
>   : line 13, col 14 of file ./bacula-dir.conf
>Password = 
> 
> The top of bacula-dir.conf looks like this:
> 
> #
> # Kerns Production Bacula Director Daemon Configuration file #
> 
> Director {
>   Name = HeadMan
>   DIRport = 9101# where we listen for UA connections
>   QueryFile = "/home/bacula/bin/query.sql"
>   WorkingDirectory = "/home/bacula/bin/working"
>   PidDirectory = "/home/bacula/bin/working"
>   SubSysDirectory =  "/home/bacula/bin/working"
>   Maximum Concurrent Jobs = 1
>   Password =
> }
> 
> 
> There's nothing in the line starting with Password = . In 
> fact, there are only 13 characters, including spaces, in that 
> line. Of course, perhaps the (presumed) EOL counts as the 
> 14th column. Looking in the bacula-sd.conf, I find this:
> 
> Director {
>   Name = HeadMan
>   Password = ""
> 
> So I changed line 13 in bacula-dir.conf to read
> 
>   Password = ""
> 
> and ran bacula-dir again. I then got this error:
> 
> 13-Jun 14:47 bacula-dir: ERROR TERMINATION at inc_conf.c:290
> Config error: Old style Include/Exclude not supported
> 
>   : line 218, column 11 of file ./bacula-dir.conf
>Include = signature=MD5 {
> 
> I pared down the Include line to the bare minimum, after 
> consulting page 125-126 of the docs. With the following file set:
> 
> FileSet {
>Name = "Full Set"
>Include = 
>   /etc/backup.list
>Exclude = { }
> }

Is /etc/backup.list a file that contains a list of files to be backed up?
If so, you should ensure that the syntax in that file is correct.

> 
> I still get this error:
> 
> 13-Jun 15:04 bacula-dir: ERROR TERMINATION at inc_conf.c:290
> Config error: Old style Include/Exclude not supported
> 
>   : line 218, column 11 of file ./bacula-dir.conf
>Include = 
> 
> I'm concluding that there is something wrong with the syntax 
> in my FileSet section, but I can't find the problem in the docs.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Tks n rgds,
> Richard White CNE6
> Network Engineer
> Mason County, Washington
> 360-427-5501
> [EMAIL PROTECTED]
> 
> 
> 
> ---
> 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



---
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] mysql database problem

2005-06-14 Thread Chris Lee
If I understand your question properly, I believe the answer can be found
here:
http://www.bacula.org/rel-manual/Catalog_Maintenance.html 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Bernhard Suttner
> Sent: Tuesday, 14 June, 2005 10:16
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] mysql database problem
> 
> argh, i make a mistake, its not 250GB, its 250MB 
> (MegaByte!!!) sorry, but it is still to big ...
> 
> On Tue, 14 Jun 2005 16:41:00 +0200
> Bernhard Suttner <[EMAIL PROTECTED]> wrote:
> 
> > Hello Bacula Users,
> > 
> > i have installed the bacula backup system with one server 
> and some clients over a network. All programms works great, 
> but i have a small problem: the mysql database is _really_ 
> big. I have nearly 55 GB of backup files and the database 
> grow up to nearly 250 GB. Is that usual? Do I need so a big 
> database, that I can have a bacula running without trouble?
> > 
> > Thank you
> > 
> > greets,
> > Bernhard Suttner
> > 
> > 
> > ---
> > 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
> > 
> 
> 
> --
> Bernhard Suttner <[EMAIL PROTECTED]>
> 
>  ANDURAS service solutions AG
>  Innstraße 71 - 94036 Passau - Germany
>  Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 
> (0)851-4 90 50-55
> 
> Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht 
> Passau HRB 6032 Mitglieder des Vorstands: Sven Anders, Marcus 
> Junker, Michael Schön Vorsitzender des Aufsichtsrats: Dipl. 
> Kfm. Thomas Träger
> 
> 
> ---
> 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



---
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_idt77&alloc_id492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] RE: Database creation

2005-06-18 Thread Chris Lee
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Russell Howe
> Sent: Saturday, 18 June, 2005 06:49
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] RE: Database creation
> 
> On Sat, Jun 18, 2005 at 08:21:11PM +1000, Rowdy wrote:
> > ./make_mysql_tables -u bacula -ppassword
> > 
> > Note that there is no space between -p and password - this 
> is a MySQL 
> > convention.

--password=mydbpass

-p just prompts for password AFAIK

> 
> By convention, I assume you mean arbitrary design choice that makes
> little to no logical sense...
> 
> MySQL seems to be good at these :)
> 
> -- 
> Russell Howe   | Why be just another cog in the machine,
> [EMAIL PROTECTED] | when you can be the spanner in the works?
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


Thanks,
Chris  



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] RE: Database creation

2005-06-18 Thread Chris Lee
> -Original Message-
> From: Rowdy [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 18 June, 2005 17:53
> To: Chris Lee
> Cc: 'Russell Howe'; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] RE: Database creation
> 
> Chris Lee wrote:
> >>-Original Message-
> >>From: [EMAIL PROTECTED] 
> >>[mailto:[EMAIL PROTECTED] On Behalf 
> >>Of Russell Howe
> >>Sent: Saturday, 18 June, 2005 06:49
> >>To: bacula-users@lists.sourceforge.net
> >>Subject: Re: [Bacula-users] RE: Database creation
> >>
> >>On Sat, Jun 18, 2005 at 08:21:11PM +1000, Rowdy wrote:
> >>
> >>>./make_mysql_tables -u bacula -ppassword
> >>>
> >>>Note that there is no space between -p and password - this 
> >>
> >>is a MySQL 
> >>
> >>>convention.
> > 
> > 
> > --password=mydbpass
> > 
> > -p just prompts for password AFAIK
> 
> Yes, -p by itself (i.e. followed by a space) does prompt for 
> a password.
> 
> -ppassword (with no space between the -p and the password) 
> does not, but 
> the password is visible in the output of ps(1).  The 
> --password= option 
> will also show the password in ps(1)'s output.
> 
> Rowdy

Would it be sane to use -p when calling scripts such as make_catalog_backup
and add the password as the first line of data sent to mysql in that script?
This would keep the password out of ps and (presumably) the only users who
would see it in the script would be users who have administrative access
(gid root) anyway.  Also, my appologies for not properly reading your former
message.  I thought you were asking why -ppassword didn't work, rather than
answering someone else.

Thanks,
Chris  



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Could not stat /var/bacula/bacula-trinity.sql: ERR=No such file or directory

2005-06-20 Thread Chris Lee
It looks like your catalog dump isn't succeeding.  Ensure that the
bacula-reader user has permissions to dump the catalog and if that doesn't
do it, there may be some corruption in the catalog.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Fabrizio Sannicolo'
> Sent: Monday, 20 June, 2005 07:49
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Could not stat 
> /var/bacula/bacula-trinity.sql: ERR=No such file or directory
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Dears,
> 
> I have just adopted Bacula in my organization and I think it is very
> poweful and, fortunately, easy to use.
> 
> However, I am getting errors when I run the job "BackupCatalog" as
> reported below. I always get "Could not stat
> /var/bacula/bacula-trinity.sql: ERR=No such file or directory"
> 
> 20-Jun 14:30 galway-dir: Start Backup JobId 58,
> Job=BackupCatalog-trinity.2005-06-20_14.30.11
> 20-Jun 14:30 galway-sd: Volume "trinity0001" previously 
> written, moving
> to end of data.
> 20-Jun 14:30 trinity-fd:  Could not stat
> /var/bacula/bacula-trinity.sql: ERR=No such file or directory
> 20-Jun 14:30 galway-dir: Bacula 1.36.3 (22Apr05): 20-Jun-2005 14:30:23
>   JobId:  58
>   Job:BackupCatalog-trinity.2005-06-20_14.30.11
>   Backup Level:   Full
> ...
> 
> # Backup the catalog database (after the nightly save)
> Job {
>   Name = "BackupCatalog-trinity"
>   JobDefs = "DefaultJob"
>   Level = Full
>   FileSet="Catalog-trinity"
>   Client = trinity-fd
>   Storage = File-trinity
>   Pool = Default-trinity
>   Schedule = "WeeklyCycleAfterBackup"
># This creates an ASCII copy of the catalog
>  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula-reader"
> # RunBeforeJob = "/etc/bacula/make_catalog_backup bacula \"bacula
> - --password=xxx\""
>   # This deletes the copy of the catalog
>   RunAfterJob  = "/etc/bacula/delete_catalog_backup"
>   Write Bootstrap = "/var/bacula/BackupCatalog-trinity.bsr"
>   Priority = 11   # run after main backup
> }
> 
> whoever can write in /var/bacula/ ...
> 
> Any trips?
> 
> thanks, Fabrizio.
> 
> - --
> The public key GPG used in this mail is registered in
> http://www.keyserver.net
> 
> - --
>   Dott. Fabrizio Sannicolo' phone (Povo): (+39) 0461 88 3947
>   (Villazzano): (+39) 0461 88 3386
>   Administrator of
>   Knowledge Management &
>   Distributed Information
>   Systems Labs.
>   University of Trento   fax: (+39) 0461 88 2093
>   Via Sommarive 14   email:[EMAIL PROTECTED]
>   38050 Povo (Trento), ITALY web: http://dit.unitn.it/~sannico/
> - --
> - 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCtrs8LBv2zGBJ7nYRAlCTAJ4xWqnMH803fJSsrOuUzDwqCWXcmACgjR8i
> bkywA8QEUkgSnWEEtm7/yBQ=
> =7cfT
> -END PGP SIGNATURE-
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Backup error on Solaris Box

2005-06-20 Thread Chris Lee
Does this crash bacula-fd on solaris client?  I've caught 1.36.3 doing this
on my SparcStation4 under linux.  Could be a bug with sparc hardware.

To get a better idea of what's happening you can start bacula-fd with -d500
for really verbose debug output and then manually run the job to reproduce
the issue.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Beren Gamble
> Sent: Monday, 20 June, 2005 09:37
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Backup error on Solaris Box
> 
> Bump!! :)
> 
> >>> "Beren Gamble" <[EMAIL PROTECTED]> 06/15/05 11:05 am >>>
> Hi Guys,
> 
> I've been getting this error every time I try to backup one of our
> solaris boxes. It used to work, so I don't know what changed.
> 
> This is the error:
> 
> 15-Jun 07:33 backup1-dir: Start Backup JobId 34,
> Job=APLAWS3-Daily.2005-06-14_21.00.33
> 15-Jun 09:44 backup1-dir: APLAWS3-Daily.2005-06-14_21.00.33 Fatal
> error: Network error with FD during Backup: ERR=Connection timed out
> 15-Jun 09:44 backup1-dir: APLAWS3-Daily.2005-06-14_21.00.33 Fatal
> error: No Job status returned from FD.
> 
> For the last week, it's gotten 6.5GB through the backup job and
> stopped. It happens at different times of the night and it stops at
> 6.5gb give or take 100mb, so I don't think it's a network issue.
> 
> Could it be a corrupted file that Bacula doesn't know how to read? Is
> there a bacula log file on the client server that I can view to see
> which file it's up to when it hangs?
> 
> Thanks,
> 
> Beren
> 
> 
> **
> 
> Harrow Council backs the 2012 Olympic bid.
> 
> **
> The views expressed within this e-mail are those of the individual and
> not necessarily those of the Council. The information in this internet
> e-mail is confidential and may contain legally privileged information.
> If you are not the intended above named addressee it may be 
> unlawful for
> you to read, copy, distribute or otherwise use the information in this
> internet e-mail. If you are not the intended recipient of 
> this internet
> e-mail please telephone the sender on +44(0)20 8863 5611.
> LONDON BOROUGH OF HARROW...
> **
> 
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] autochanger problems.

2005-06-20 Thread Chris Lee
Just a guess, but have you rebuilt/installed stable mt and mtx packages?

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Nathan R. Valentine
> Sent: Monday, 20 June, 2005 09:54
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] autochanger problems.
> 
> 
> 
> First the background info:
> 
> # dpkg -l | grep bacula
> hi  bacula-common  1.36.1-1   Network backup, recovery 
> and verification (C
> hi  bacula-console 1.36.1-1   Network backup, recovery 
> and verification (M
> hi  bacula-directo 1.36.1-1   Network backup, recovery 
> and verification (D
> hi  bacula-directo 1.36.1-1   Network backup, recovery 
> and verification (D
> hi  bacula-fd  1.36.1-1   Network backup, recovery 
> and verification (F
> hi  bacula-sd  1.36.1-1   Network backup, recovery 
> and verification (S
> 
> On Ubuntu Hoary.
> 
> The Director is having problems rotating tapes in my OverlandLTO
> changer. See the following error messages from the console:
> 
> 20-Jun 10:43 backup.am.internal-sd: 
> thing2.am.internal.2005-06-20_10.42.42 Warning: Director 
> wanted Volume "bacula-linux-13".
> Current Volume "bacula-linux-12" not acceptable because:
> 1998 Volume "bacula-linux-12" status is Full, but should 
> be Append, Purged or Recycle.
> 20-Jun 10:43 backup.am.internal-sd: 3301 Issuing autochanger 
> "loaded drive 0" command.
> 20-Jun 10:43 backup.am.internal-sd: 3991 Bad autochanger 
> "loaded drive 0" command: ERR=Child exited with code 1.
> 20-Jun 10:43 backup.am.internal-sd: 3304 Issuing autochanger 
> "load slot 13, drive 0" command.
> *
> 20-Jun 10:43 backup.am.internal-sd: 3992 Bad autochanger 
> "load slot 13, drive 0": ERR=Child exited with code 1.
> 20-Jun 10:43 backup.am.internal-sd: Please mount Volume 
> "bacula-linux-13" on Storage Device "OverlandLTO" for Job 
> thing2.am.internal.2005-06-20_10.42.42
> 
> This was working for months but broke when I went from Debian 
> to Ubuntu
> Hoary but kept the bacula packages intact by placing them on 'hold'. 
> 
> If I run the mtx-changer script by hand per the instructions here: 
> 
> http://www.bacula.org/rel-manual/Autochangers_Support.html#SEC
> TION0002713000
> 
> everything checks out just fine. 
> 
> I've done a 'setdebug=100' for 'All' and 'auto on' in the console but
> I'm not getting any additional information that indicates why the tape
> rotation is failing.
> 
> Here is my some more relevant information from the Storage daemon
> configs:
> 
> Device {
>   Name = OverlandLTO
>   Media Type = LTO-2
>   Archive Device = /dev/nst0
>   Changer Device = /dev/sg1
>   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>   Autochanger = yes
>   AutomaticMount = yes;
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
> }
> 
> 
> 
> -- 
> ---
> Nathan Valentine, CISSP - [EMAIL PROTECTED]
> Open Source Technician
> Venn Technologies, Inc. : http://www.venntech.net
> 



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] autochanger problems.

2005-06-20 Thread Chris Lee
Try 'su - backup -c "newgrp disk"' and see if 'su - backup -c "id"' shows
disk then.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Nathan R. Valentine
> Sent: Monday, 20 June, 2005 11:21
> To: Bacula-users@lists.sourceforge.net
> Subject: RE: [Bacula-users] autochanger problems.
> 
> 
> I'm sort of at a loss here:
> 
> backup:/etc/bacula/scripts# grep bacula /etc/group
> disk:x:6:bacula
> tape:x:26:bacula
> bacula:x:102:
> changer:x:106:bacula
> 
> backup:/etc/bacula/scripts# ls -l /dev/nst0
> crw-rw  1 root tape 9, 128 Jun 16 13:21 /dev/nst0
> 
> backup:/etc/bacula/scripts# ls -l /dev/sg1
> crw-rw  1 root disk 21, 1 Jun 16 13:21 /dev/sg1
> 
> backup:/etc/bacula/scripts# su - backup -c "id"
> uid=34(backup) gid=34(backup) groups=34(backup)
> 
> backup:/etc/bacula/scripts# su - backup -c 
> "/etc/bacula/scripts/mtx-changer /dev/sg1 loaded 13 /dev/nst0 0"
> + MTX=mtx
> + test 5 -lt 2
> + ctl=/dev/sg1
> + cmd=loaded
> + slot=13
> + device=/dev/nst0
> + test 5 = 5
> + drive=0
> + case $cmd in
> + case $cmd in
> + mtx -f /dev/sg1 status
> cannot open SCSI device '/dev/sg1' - Permission denied
> 
> backup:/etc/bacula/scripts# grep 'ARGS=' /etc/init.d/bacula-sd
> ARGS="-c /etc/bacula/bacula-sd.conf -u bacula -g disk"
> 
> It appears as though the bacula user isn't picking up the 'disk' group
> membership?!?
> 
> -- 
> ---
> Nathan Valentine, CISSP - [EMAIL PROTECTED]
> Open Source Technician
> Venn Technologies, Inc. : http://www.venntech.net
> 



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Using harddrive as buffer for tape backups

2005-06-21 Thread Chris Lee
http://www.bacula.org/rel-manual/Data_Spooling.html

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Jesse Keating
> Sent: Tuesday, 21 June, 2005 17:30
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Using harddrive as buffer for tape backups
> 
> I'm converting an existing Amanda setup.  The amanda server has a
> harddrive setup as the buffer drive for data coming from servers and
> going to tape.  Is there an equivilant method in Bacula?  Previous
> bacula instances I have setup have done backup straight to 
> harddrive and
> weekly dumps to tape, this is different.
> 
> -- 
> Jesse Keating
> GameHouse -- Systems Engineer
> 
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Spooling again while de-spooling to tape

2005-06-23 Thread Chris Lee
I'm interested in this also.  Perhaps a Minimum Spool Size directive so that
the spool reaches a critical size to avoid shoe shining tapes, and once that
size is reached the storage daemon starts de-spooling from the beginning of
the spool file to the tape while still writing data from the file daemon to
the end of the spool file.  Is this possible with the current code?  If not,
can I request it for a future feature? :)

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Jesus Salvo Jr.
> Sent: Thursday, 23 June, 2005 04:05
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Spooling again while de-spooling to tape
> 
> 
> I have a value for "Maximum Spool Size" in the Device resource in 
> bacula-sd.conf, which probably explains why bacula only 
> spools again after 
> de-spooling to tape.
> 
> I was just wondering if there is a feature / combination that 
> will allow 
> bacula to spool again while it is de-spooling the previous 
> spool to tape.
> 
> That way, the tape is always spinning / being written into.
> 
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Spooling again while de-spooling to tape

2005-06-23 Thread Chris Lee
I see.  Thanks for the explanation anyway :)  I suppose you're right about
the tape catching up to the file unless the minimum spool file size was at
least the size of one tape, but if you have that much space why not back up
to disk anyway, right? hehehe

Thanks,
Chris  

> -Original Message-
> From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 23 June, 2005 09:56
> To: bacula-users@lists.sourceforge.net
> Cc: Chris Lee; 'Jesus Salvo Jr.'
> Subject: Re: [Bacula-users] Spooling again while de-spooling to tape
> 
> On Thursday 23 June 2005 16:32, Chris Lee wrote:
> > I'm interested in this also.  Perhaps a Minimum Spool Size 
> directive so
> > that the spool reaches a critical size to avoid shoe 
> shining tapes, and
> > once that size is reached the storage daemon starts 
> de-spooling from the
> > beginning of the spool file to the tape while still writing 
> data from the
> > file daemon to the end of the spool file.  Is this possible with the
> > current code?  
> 
> No.
> 
> > If not, can I request it for a future feature? :) 
> 
> No it is too difficult to avoid an overrun for very little 
> gain IMO.  The tape 
> will catch up *very* fast to the file writing then 
> shoe-shining at the end of 
> the file waiting for the FD to deliver more data.  If you 
> don't believe me, 
> please implement it.  It would be a lot of code for little if 
> any gain. I 
> would hate to see you waste your time ...
> >
> > Thanks,
> > Chris
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf
> > > Of Jesus Salvo Jr.
> > > Sent: Thursday, 23 June, 2005 04:05
> > > To: bacula-users@lists.sourceforge.net
> > > Subject: [Bacula-users] Spooling again while de-spooling to tape
> > >
> > >
> > > I have a value for "Maximum Spool Size" in the Device resource in
> > > bacula-sd.conf, which probably explains why bacula only
> > > spools again after
> > > de-spooling to tape.
> > >
> > > I was just wondering if there is a feature / combination that
> > > will allow
> > > bacula to spool again while it is de-spooling the previous
> > > spool to tape.
> > >
> > > That way, the tape is always spinning / being written into.
> > >
> > >
> > >
> > > ---
> > > 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=7477&alloc_id=16492&op=click
> > > ___
> > > Bacula-users mailing list
> > > Bacula-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> > ---
> > 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=7477&alloc_id=16492&op=click
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> -- 
> Best regards,
> 
> Kern
> 
>   (">
>   /\
>   V_V



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Supported autochangers

2005-06-28 Thread Chris Lee
I've been running bacula with an ADIC 1200G (12x DDS-3) library for a few
months now without any issues on the changer end.  It took a little tweaking
of the mtx-changer script in the beginning but it's been rock solid since
then.

Details:
OS - Linux 2.4.x
Bacula - 1.34.4 and 1.36.3
Changer - ADIC 1200G
Drive - Sony SDT-9000

Regarding the tweaking, ejecting the tape needs 'mt -f /dev/nstX offline'
and sleep commands should be uncommented/added between any mt and mtx
commands, also after the access door has been closed and a magazine loaded
the changer will report "no Data Transfer Element reported" on the first mtx
command but it's fine after that, so I advise running 'mtx -f /dev/sgX
status' after any procedure that involves opening the access door and in the
system's local startup script in the case of a power failure or some such.

Thanks,
Chris 



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?

2005-07-22 Thread Chris Lee
Yes, the 1.36.3 ebuild currently in portage runs a catalog version check to
see that your catalog db version is correct.  This version number is
independent of your db server version (mysql, postgresql, sqlite) and is
described in the bacula manual online.

The catalog db version checking is likely to be removed from these ebuilds
in the future since the 1.36.3-r1 ebuild was committed blindly and removed a
lot of things including this version check.  It is arguable whether the
catalog version check belongs in the ebuild, so I won't go into it here, but
I'm hoping to get the bacula ebuilds cleaned up some more once the
maintainership change is made and if I can keep developers from "fixing"
ebuilds blindly like that.

While I'm on the subject of Bacula and Gentoo, I don't know if I'll have
time to get the current development versions into portage before Kern
releases 1.38, and if that turns out to be the case then I will probably
just try to get 1.38 pushed into portage ASAP and skip 1.37 unless any
objections to this are noted.

To answer your question about the second server, if you want to have two
different directors with different catalogs and different versions of both
the director and the catalog, you can simply create a second catalog
database on your database server.  For example, database name "bacula-1.34"
for the 1.34 director, and database name "bacula-1.36" for the 1.36 director
and then configure the directors to access their respective databases.

If you want both directors to use the same catalog then you will need to
upgrade the 1.34 director to 1.36 and perform the catalog version upgrade on
it as well (this is documented in the online manual).

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of [EMAIL PROTECTED]
> Sent: Thursday, 21 July, 2005 15:07
> To: bacula-users
> Subject: Re: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
> 
> Thank You. Now my only problem is I have a second
> server that is using version 1.34.6 and using the same
> database. I assume if I upgrade the database with the
> upgrade script I will have to upgrade bacula on the 
> other box.
> Thanks Again,
> John
> --- Dan Langille <[EMAIL PROTECTED]> wrote:
> 
> > On 20 Jul 2005 at 22:44, Dan Langille wrote:
> > 
> > > On 20 Jul 2005 at 18:52,
> > [EMAIL PROTECTED] wrote:
> > > 
> > > > I wanted to upgrade from version 1.34.6 to
> > 1.36.3 but
> > > > when I go to start bacula I get an error about
> > my
> > > > PostgreSQL database configuration. It says
> > something
> > > > about expected version 8 but got 7 and
> > terminates the
> > > > init script for the bacula director.
> > > 
> > > This sounds like you did not run the Bacula
> > upgrade script.  This 
> > > will perform the necessary database changes to
> > migrate you from db 
> > > version 8.
> > 
> > I mean: form db version 7 to db version 8.  These
> > are Bacula-specific 
> > versions and used internally to ensure the code
> > doesn't use an 
> > outdated database.
> > 
> > -- 
> > Dan Langille : http://www.langille.org/
> > BSDCan - The Technical BSD Conference -
> > http://www.bsdcan.org/
> > 
> > 
> > 
> > 
> >
> ---
> > 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=7477&alloc_id=16492&op=click
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> 
> "When a man sits with a pretty girl for an hour, it seems 
> like a minute. But let him sit on a hot stove for a minute 
> and it's longer than any hour. That's relativity." - Albert Einstein
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?

2005-07-22 Thread Chris Lee
Sorry... Either Outlook or Gmail had a hiccup and I'm not sure if this went
through previously.

Thanks,
Chris  

> -Original Message-
> From: Chris Lee [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 22 July, 2005 09:11
> To: 'bacula-users'
> Subject: RE: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
> 
> Yes, the 1.36.3 ebuild currently in portage runs a catalog 
> version check to see that your catalog db version is correct. 
>  This version number is independent of your db server version 
> (mysql, postgresql, sqlite) and is described in the bacula 
> manual online.
> 
> The catalog db version checking is likely to be removed from 
> these ebuilds in the future since the 1.36.3-r1 ebuild was 
> committed blindly and removed a lot of things including this 
> version check.  It is arguable whether the catalog version 
> check belongs in the ebuild, so I won't go into it here, but 
> I'm hoping to get the bacula ebuilds cleaned up some more 
> once the maintainership change is made and if I can keep 
> developers from "fixing" ebuilds blindly like that.
> 
> While I'm on the subject of Bacula and Gentoo, I don't know 
> if I'll have time to get the current development versions 
> into portage before Kern releases 1.38, and if that turns out 
> to be the case then I will probably just try to get 1.38 
> pushed into portage ASAP and skip 1.37 unless any objections 
> to this are noted.
> 
> To answer your question about the second server, if you want 
> to have two different directors with different catalogs and 
> different versions of both the director and the catalog, you 
> can simply create a second catalog database on your database 
> server.  For example, database name "bacula-1.34" for the 
> 1.34 director, and database name "bacula-1.36" for the 1.36 
> director and then configure the directors to access their 
> respective databases.
> 
> If you want both directors to use the same catalog then you 
> will need to upgrade the 1.34 director to 1.36 and perform 
> the catalog version upgrade on it as well (this is documented 
> in the online manual).
> 
> Thanks,
> Chris  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of [EMAIL PROTECTED]
> > Sent: Thursday, 21 July, 2005 15:07
> > To: bacula-users
> > Subject: Re: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
> > 
> > Thank You. Now my only problem is I have a second
> > server that is using version 1.34.6 and using the same
> > database. I assume if I upgrade the database with the
> > upgrade script I will have to upgrade bacula on the 
> > other box.
> > Thanks Again,
> > John
> > --- Dan Langille <[EMAIL PROTECTED]> wrote:
> > 
> > > On 20 Jul 2005 at 22:44, Dan Langille wrote:
> > > 
> > > > On 20 Jul 2005 at 18:52,
> > > [EMAIL PROTECTED] wrote:
> > > > 
> > > > > I wanted to upgrade from version 1.34.6 to
> > > 1.36.3 but
> > > > > when I go to start bacula I get an error about
> > > my
> > > > > PostgreSQL database configuration. It says
> > > something
> > > > > about expected version 8 but got 7 and
> > > terminates the
> > > > > init script for the bacula director.
> > > > 
> > > > This sounds like you did not run the Bacula
> > > upgrade script.  This 
> > > > will perform the necessary database changes to
> > > migrate you from db 
> > > > version 8.
> > > 
> > > I mean: form db version 7 to db version 8.  These
> > > are Bacula-specific 
> > > versions and used internally to ensure the code
> > > doesn't use an 
> > > outdated database.
> > > 
> > > -- 
> > > Dan Langille : http://www.langille.org/
> > > BSDCan - The Technical BSD Conference -
> > > http://www.bsdcan.org/
> > > 
> > > 
> > > 
> > > 
> > >
> > ---
> > > 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=7477&alloc_id=16492&op=click
> > > ___
> > > Bacula-use

RE: [Bacula-users] Win32 client drops connection

2005-07-23 Thread Chris Lee
I have a win32 machine whose motherboard (nforce2) has onboard 10/100
ethernet.  I'll try to test this in the near future, but currently I'm using
a 3com card in that machine.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kern Sibbald
> Sent: Saturday, 23 July, 2005 16:23
> To: Phil Stracchino
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Win32 client drops connection
> 
> On Saturday 23 July 2005 22:22, Phil Stracchino wrote:
> > Kern Sibbald wrote:
> > > You might make sure you have the latest drivers/firmware 
> for the ethernet
> > > card in your Windows system that is giving you problems.  
> At least one
> > > user recently found that this was the cause of his 
> disconnects with a
> > > Windows machine -- he had a NVidia ethernet card.
> >
> > Heh.  Funny you should say that -- as I just posted, I just 
> found that
> > *MY* nVidia gigabit NIC appeared to be causing the problem.  When I
> > switched the machine's connection to its other onboard NIC, 
> which is a
> > Marvell Yukon PCI-E gigabit NIC, as a test (not expecting 
> it to affect
> > anything), the problem vanished and the backup is now 
> running perfectly
> > happily.
> >
> > So the FD thought the SD was pulling the plug, and the SD 
> thought the FD
> > had stopped sending data, and the real cause was that the 
> NIC in between
> > was dropping the connection
> 
> Hmmm. It looks like NVidia would do better to concentrate on 
> graphics cards 
> and forget trying to network.
> 
> This is probably the solution to a lot of frustration 
> expressed in the past by 
> quite a number of Bacula users having Windows machines that 
> did not want to 
> communicate correctly.
> 
> I'll add this to the Windows chapter of the manual ...
> 
> -- 
> Best regards,
> 
> Kern
> 
>   (">
>   /\
>   V_V
> 
> 
> ---
> 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=7477&alloc_id=16492&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Win32 client drops connection

2005-07-23 Thread Chris Lee
Yes, the network adapter is part of the nforce2 chipset, not an external
realtek chip or something, though I seem to remember it being autodetected
as a realtek at one time.  I'm certain though, that when I ran linux on this
machine a while back it used the nforce kernel driver.

Thanks,
Chris  

> -Original Message-
> From: Phil Stracchino [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 23 July, 2005 17:41
> To: Chris Lee
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Win32 client drops connection
> 
> Chris Lee wrote:
> > I have a win32 machine whose motherboard (nforce2) has 
> onboard 10/100
> > ethernet.  I'll try to test this in the near future, but 
> currently I'm using
> > a 3com card in that machine.
> 
> The key factor is, is it an *nVidia* onboard 10/100?
> 
> 
> -- 
>  Phil Stracchino   [EMAIL PROTECTED]
> Renaissance Man, Unix generalist, Perl hacker
>  Mobile: 603-216-7037 Landline: 603-886-3518



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Storage pool concept

2005-07-28 Thread Chris Lee
Arne,

I'm not sure I understand exactly what you're asking, but to clarify: are
you asking if you can setup a pool of physical drives (not pools of
volumes/tapes)?

If this is the case I believe multiple drive support is (at least partially)
working, but as for how to make the director see a given number of drives as
a single storage device such that data can be striped -- either sequentially
or in parallel -- across the volumes mounted on those drives, I don't think
this has been fully implemented yet.

I'm sure sometime today Kern or another, more experienced list member could
confirm or correct me on this, but I think the answer is "I don't think so."
Either way, I think this capability would definitely be a GoodThing(TM) and
if it isn't going into 1.38 then I will certainly try to offer what
development assistance I can in the next development cycle.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Arne Kloecker
> Sent: Thursday, 28 July, 2005 06:41
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Storage pool concept
> 
> Hi,
> 
> as i read the manual Bacula (at the moment) does not provide 
> a concept for 
> storage pools. 
> 
> Is there any workaround so that i can have several storage 
> devices (PC/Linux 
> servers with 5terabyte diskspace in my case), WITHOUT the 
> need to balance the 
> clients onto the storage devices by myself?
> 
> If there is no workaround, does anyone know how much work it 
> would be to 
> implement such a feature?
> 
> Thanks in advance for any hints.
> Best regards
>   Arne



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


[Bacula-users] Forcing Pools for upgraded jobs

2005-08-01 Thread Chris Lee
Good morning everyone,

Can a backup job which has been upgraded to Full be forced to use a
different Pool in the director config?

Example situation:
1) A new client is added to the director config in the middle of the month.
2) Full backups occur at the beginning of the month.
3) The new client uses a generic schedule which is defined for similar
clients.
4) The next Run in that schedule is defined with Level=Incremental
Pool=IncrPool.
5) So the director upgrades the job to Full, but still wants to use the
IncrPool because it's specified in the Run directive.

What I would like to see (if it is possible) is optional functionality such
that when a job is upgraded during a scheduled Run, the Pool for that Run
can be overridden as well.

The first thing that came to mind when I started thinking about this is that
job levels might have to be assigned to pools -- which may not be want some
users want.  After some further consideration it occurs to me that an
optional Upgrade Pool directive could be added to the Schedule resource.

Of course, these considerations hinge on whether such functionality is not
currently available.

Any thoughts?

Thanks,
Chris 



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Forcing Pools for upgraded jobs

2005-08-01 Thread Chris Lee
I can't believe I didn't see this in the manual before.  Thanks for pointing
it out! :)

Thanks,
Chris  

> -Original Message-
> From: Phil Stracchino [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 01 August, 2005 08:20
> To: Chris Lee
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Forcing Pools for upgraded jobs
> 
> Chris Lee wrote:
> > Good morning everyone,
> > 
> > Can a backup job which has been upgraded to Full be forced to use a
> > different Pool in the director config?
> > 
> > Example situation:
> > 1) A new client is added to the director config in the 
> middle of the month.
> > 2) Full backups occur at the beginning of the month.
> > 3) The new client uses a generic schedule which is defined 
> for similar
> > clients.
> > 4) The next Run in that schedule is defined with Level=Incremental
> > Pool=IncrPool.
> > 5) So the director upgrades the job to Full, but still 
> wants to use the
> > IncrPool because it's specified in the Run directive.
> > 
> > What I would like to see (if it is possible) is optional 
> functionality such
> > that when a job is upgraded during a scheduled Run, the 
> Pool for that Run
> > can be overridden as well.
> > 
> > The first thing that came to mind when I started thinking 
> about this is that
> > job levels might have to be assigned to pools -- which may 
> not be want some
> > users want.  After some further consideration it occurs to 
> me that an
> > optional Upgrade Pool directive could be added to the 
> Schedule resource.
> > 
> > Of course, these considerations hinge on whether such 
> functionality is not
> > currently available.
> 
> It's already possible to specify which pool should be used for jobs of
> specific levels:
> 
> 
> JobDefs {
>   Name = Backup
>   Type = Backup
> ...
>   Full Backup Pool = Full
>   Differential Backup Pool = Inc
>   Incremental Backup Pool = Inc
> ...
> }
> 
> 
> Reason says all that SHOULD be required is to make Bacula honor these
> directives when it upgrades Job levels.  (I seem to recall this issue
> has come up before, but I don't recall the resolution.)
> 
> 
> -- 
>  Phil Stracchino   [EMAIL PROTECTED]
> Renaissance Man, Unix generalist, Perl hacker
>  Mobile: 603-216-7037 Landline: 603-886-3518



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Forcing Pools for upgraded jobs

2005-08-02 Thread Chris Lee
Maybe I should file a patent application for the process of converting any
string or stream of characters into communication concepts (eg. words and
sentences :).

Thanks,
Chris  

> -Original Message-
> From: Alan Brown [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 02 August, 2005 05:35
> To: Kern Sibbald
> Cc: bacula-users@lists.sourceforge.net; Chris Lee
> Subject: Re: [Bacula-users] Forcing Pools for upgraded jobs
> 
> On Tue, 2 Aug 2005, Kern Sibbald wrote:
> 
> >
> > By the way, you all might be interested to know that 
> Microsoft has filed a
> > patent application for what are essentially smilies :-) ;-) 
> :-(  ...  The
> > patent is on converting them to graphics.  If it passes, my 
> program Kmail
> > would be in violation of their patent for having converted 
> the :)  below to a
> > smilie face on my screen.
> 
> The words "prior art" spring to mind
> 
> Do you have documentation of when you implemented it?
> 
> The patent is directed at Yahoo, however ICQ had the feature 
> well before 
> MSN even had a messenger system
> 
> 
> AB
> 



---
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=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RE: [Bacula-devel] Issue unloading drive in changer

2005-08-03 Thread Chris Lee
Hi Chris,

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Chris Wright
> Sent: Wednesday, 03 August, 2005 13:33
> To: bacula-users@lists.sourceforge.net; 
> [EMAIL PROTECTED]
> Subject: [Bacula-devel] Issue unloading drive in changer
> 
> Hopefully this info will be helpful to someone.
> 
> I'm installing bacula for the first time.  I am using version 
> 1.36.3.  I have a HP A4853 DLT Library and a HP DLT7000 
> drive.  I was able to use the changer to load tapes, get the 
> status, etc, but it would not unload the drive.  In this 
> situation, I need to issue the command "mt eject" before I 
> could unload the drive.  I modified the file mtx-changer to include
> 
> MT=mt
> 
> (the block for unload is now)
> 
> 
>unload)
> # echo "Doing mtx -f $ctl unload $slot $drive"
> #
> # enable the following line if you need to eject the cartridge
> # mt -f $device offline

This line  sould do basically the same thing.

>   if test x$slot = x; then
>  ${MT} eject
>  ${MTX} -f $ctl unload
>   else
>  $MT eject
>  ${MTX} -f $ctl unload $slot $drive
>   fi
>   ;;
> 
> 
> Everything with the changer and drive seems to be working 
> now.  Hope this info can help somebody and maybe be 
> incorporated by the developers
> 
> Chris
> 
> 
> 
> 
> 
> 
> ---
> 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-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel


Thanks,
Chris  



---
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] "status director" and pruning

2005-08-03 Thread Chris Lee
Aren't the AutoPrune and VolumeRentention fields written to the volume when
it is labelled?  I seem to remember something in the manual about having to
update your volumes if you change certain attributes regarding
Pruning/Recycling/Retention.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Russell Howe
> Sent: Wednesday, 03 August, 2005 08:13
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] "status director" and pruning
> 
> Kern Sibbald wrote:
> > On Wednesday 03 August 2005 14:18, Russell Howe wrote:
> > 
> >>Should it be possible (via 'AutoPrune = no' options in all the right
> >>places, together with 'Prune {Job,Volume,File}s = no') to 
> stop "status
> >>director" from doing a prune operation when it lists which tapes it
> >>thinks it will need for upcoming jobs?
> > 
> > In principle, yes.  If you can find a case where it goes 
> off and prune (quite 
> > possible since it is not a job as such), then I'll be happy 
> to fix it.
> 
> It seems to prune every time for me. I'll take a look at the database
> and check what the code's doing... IIRC it was a fairly 
> simple sequence
> of steps that ran when "status director" was issued. I started looking
> before, but got sidetracked...
> 
> -- 
> Russell Howe
> [EMAIL PROTECTED]
> 
> 
> ---
> 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=7477&alloc_id=16492&op=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


RE: [Bacula-users] automatic cleaning

2005-08-04 Thread Chris Lee
I would just create an admin job that loads a cleaning tape and schedule
that job to run whenever you want a scheduled cleaning.  You could also
manually run the job if you get soft errors after some large backup job or
something.  Creating Admin jobs like this is covered in the manual online.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Timo Eissler
> Sent: Thursday, 04 August, 2005 07:12
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] automatic cleaning
> 
> Hello,
> 
> is it possible to let bacula clean my tapedrive every sunday?
> 
> thanks for every answer.
> 
> regards,
> Timo
> 
> -- 
> ---
> DT Netsolution GmbH   -   Talaeckerstr. 30 -  D-70437 Stuttgart
> Tel: +49-711-849910-70  Fax: +49-711-849910-934
> WEB: http://www.dtnet.de/  Email: [EMAIL PROTECTED]
> 
> 
> 
> ---
> 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



---
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] Output list results to file

2005-08-04 Thread Chris Lee
@output filename
 
This is documented in the console chapter of the manual.

Thanks,
Chris

P.S. sorry about the reformatting

> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony Niemetz
> Sent: Thursday, 04 August, 2005 10:03
> To: Bacula users
> Subject: [Bacula-users] Output list results to file   

> Is there a way to output the results of the list command to a file? While
in the console (bconsole) I run the command list volumes (or pools, etc.)
and get the results. I would like to redirect that output to a file for
viewing/printing. Thanks,

> Tony Niemetz




---
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] Question about storage daemon.

2005-08-05 Thread Chris Lee
Standalone storage daemons should work, yes.  At a glance your configuration
looks ok, though I would specify fqdn for the Address directive.  You will
of course need a Director resource for your director in both storage daemon
configs.

For the sake of argument, it is possible to run several directors, several
catalogs, and several storage daemons, all interconnected, as long as you
use sound judgement when designing your jobs, volumes, and pools layout.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of [EMAIL PROTECTED]
> Sent: Friday, 05 August, 2005 14:48
> To: bacula-users
> Subject: [Bacula-users] Question about storage daemon.
> 
> Can I use a storage daemon on a different machine than
> the director. I have two server machines running
> bacula and I want to know if it is possible for a job
> on the first machine to use the tape drive on the
> second machine. I tried adding an entry in my
> bacula-dir.conf file but I have named both devices the
> same so I do not think it would work.
> 
> Storage {
>   Name = "DLT-IV"
>   Address = dicom
>   SDPort = 9103
>   Password = "" # Console password
>   Device = "DLT-IV"
>   Media Type = "DLT-IV"
> }
> 
> #Storage {
> #  Name = "DLT-IV"
> #  Address = homes
> #  SDPort = 9103
> #  Password = "" # Console password
> #  Device = "DLT-IV"
> #  Media Type = "DLT-IV"
> #}
> 
> Both machines share the same catalog. Will this
> prevent me from restoring data if I change the name of
> one of these?
> 
> Thanks in advance,
> John
> 
> 
> ---
> 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



---
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] poor network backup performance in 1.36.3

2005-08-08 Thread Chris Lee
You mentioned you're running gentoo on the machine in question.  Some more
information might help:

What profile are you using? (ls -l /etc/make.profile)
What kernel and version?
If 2.6 are you using udev?
Are you using ntpl with 2.6?

I'm inclined to suspect that either this is due to an obscure configuration
issue, or there's some hidden problem with system libs or something that
makes the filesystem scanning process lag a lot.  This is just guess at this
point, but the info I asked for above might help.

Also, you might check to see if the remote machine has a firewall rule with
"-m limit" that drops packet bursts over a particular limit per time which
might be interfering with communication between the fd and the director.
This was mentioned with an issue before and I didn't notice that anyone ever
determined if it can be a problem or not.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Andrei Mikhailovsky
> Sent: Monday, 08 August, 2005 04:27
> To: Ryan Novosielski
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] poor network backup performance in 1.36.3
> 
> 
> 
> On Mon, 2005-08-08 at 00:22 -0400, Ryan Novosielski wrote:
> > Are you absolutely certain that your ethernet cards are set 
> properly? 
> > Often an improperly negotiated link speed or duplex can 
> cause exactly 
> > this symptom. I know you mentioned other things that appear 
> to rule it 
> > out, but check that first regardless -- you might be surprised.
> > 
> 
> Yeah, I am 100% positive that this is not a network card issue. I've
> tested it quite well, plus this server has been working great at high
> network speeds for over a year now. No network card related issues in
> the logs, no errors/collisions in the ifconfig output and the card is
> set to full duplex. Must be something else.
> 
> 
> --
> Andrei
> 
> > =Ryan
> > 
> > Andrei Mikhailovsky wrote:
> > 
> > >On Sun, 2005-08-07 at 18:44 -0300, Roberto Alsina wrote:
> > >  
> > >
> > >>>Hello all,
> > >>>
> > >>>First of all, many thanks to all supporters/developers 
> of this project,
> > >>>keep up the great job!
> > >>>
> > >>>I have encountered a poor network backup performance for 
> one of our
> > >>>remote servers. The maximum transfer rate that I manage 
> to get is only
> > >>>50 kbyte/s. The server is hosted in a datacenter and has a large
> > >>>available pipe. I can download files from this server at 
> 1-2 mbyte/s
> > >>>without any issues. However, when I try to backup files 
> from it (about
> > >>>15gig), the speed that I am getting is very very poor. I 
> mean it takes
> > >>>about 5 days to do a full backup. This should not be happening,
> > >>>considering a lot of free bandwidth is not being used.
> > >>>  
> > >>>
> > >>Many datacenters have the bandwidth on non-standard ports 
> throttled way down.
> > >>
> > >>Try putting your bacula daemons on ports of well-known but unused
> > >>services, and it will probably work much better.
> > >>
> > >>
> > >>
> > >
> > >Yeah, I am aware of this issue. However, i've also tried 
> to carry out
> > >the backup using a VPN tunnel that I have setup. The copy 
> of files via
> > >vpn tunnel is as fast as without it 1-2mbyte/s. Then doing 
> bacula backup
> > >using the VPN tunnel i get about 50kbyte/s, which is about 
> the same as
> > >doing a backup without vpn. So the problem does not involve the
> > >datacenter.
> > >
> > >--
> > >Andrei
> > >
> > >  
> > >
> > >
> > >
> > >
> > >
> > >---
> > >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
> > >  
> > >
> > 
> > 
> > ---
> > 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
> 
> 
> 
> 
> ---
> 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 * Pro

RE: [Bacula-users] poor network backup performance in 1.36.3

2005-08-08 Thread Chris Lee

> -Original Message-
> From: Andrei Mikhailovsky [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 08 August, 2005 08:59
> To: Chris Lee
> Cc: bacula-users@lists.sourceforge.net
> Subject: RE: [Bacula-users] poor network backup performance in 1.36.3
> 
> 
> 
> On Mon, 2005-08-08 at 05:48 -0500, Chris Lee wrote:
> > You mentioned you're running gentoo on the machine in 
> question.  Some more
> > information might help:
> > 
> > What profile are you using? (ls -l /etc/make.profile)
> > What kernel and version?
> > If 2.6 are you using udev?
> > Are you using ntpl with 2.6?
> > 
> 
> 1. ls -l /etc/make.profile
> lrwxr-xr-x  1 root root 48 May  4 14:02 /etc/make.profile
> -> ../usr/portage/profiles/default-linux/x86/2005.0
> 
> 
> 2. uname -r
> 2.6.9-gentoo-r6
> 
> 3. Yeah, i am using udev
> 
> 4. Yeah, native posix threading is enabled
> 
> > I'm inclined to suspect that either this is due to an 
> obscure configuration
> > issue, or there's some hidden problem with system libs or 
> something that
> > makes the filesystem scanning process lag a lot.  This is 
> just guess at this
> > point, but the info I asked for above might help.
> > 
> 
> might be the case. Well, i I try to scp or ftp a large amount of files
> (like in /usr/src/linux) should this reveal the problem of filesystem
> lags? I'll try doing that to see what average speed i'll get.
> 

Actually I meant more like something in ntpl or gentoo-sources that affects
src/findlib in bacula.

> 
> > Also, you might check to see if the remote machine has a 
> firewall rule with
> > "-m limit" that drops packet bursts over a particular limit 
> per time which
> > might be interfering with communication between the fd and 
> the director.
> > This was mentioned with an issue before and I didn't notice 
> that anyone ever
> > determined if it can be a problem or not.
> > 
> 
> there is a packet filter (iptables) script, but no "-m limit" 
> option is
> present
> 

Ok that was just a quick guess since Kern has mentioned before that the sd
hammers the fd pretty hard.  After thinking about it a bit more I suspect
that the limit option would not actually affect bacula in this manner anyway
unless it was applied to "ESTABLISHED" connections.

> 
> Great thanks for all the help
> > Thanks,
> > Chris  
> > 

My machines are nowhere near as robust as the ones you're talking about,
however one of my machines does run 2.6 without any slowdown that I've
noticed.  That machine is a PII 333Mhz running vanilla-sources (of the 2.6
variety) with no serious optimizations.  Of course I'm not dealing with very
large amounts of data on it either.  I'll try to talk somebody into trying
to reproduce this on a pretty fast x86 gentoo machine later today.  If they
can reproduce it then it might be a problem with "optimizations" in
gentoo-sources.

> > > -Original Message-
> > > From: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED] On Behalf 
> > > Of Andrei Mikhailovsky
> > > Sent: Monday, 08 August, 2005 04:27
> > > To: Ryan Novosielski
> > > Cc: bacula-users@lists.sourceforge.net
> > > Subject: Re: [Bacula-users] poor network backup 
> performance in 1.36.3
> > > 
> > > 
> > > 
> > > On Mon, 2005-08-08 at 00:22 -0400, Ryan Novosielski wrote:
> > > > Are you absolutely certain that your ethernet cards are set 
> > > properly? 
> > > > Often an improperly negotiated link speed or duplex can 
> > > cause exactly 
> > > > this symptom. I know you mentioned other things that appear 
> > > to rule it 
> > > > out, but check that first regardless -- you might be surprised.
> > > > 
> > > 
> > > Yeah, I am 100% positive that this is not a network card 
> issue. I've
> > > tested it quite well, plus this server has been working 
> great at high
> > > network speeds for over a year now. No network card 
> related issues in
> > > the logs, no errors/collisions in the ifconfig output and 
> the card is
> > > set to full duplex. Must be something else.
> > > 
> > > 
> > > --
> > > Andrei
> > > 
> > > > =Ryan
> > > > 
> > > > Andrei Mikhailovsky wrote:
> > > > 
> > > > >On Sun, 2005-08-07 at 18:44 -0300, Roberto Alsina wrote:
> > > > >  
> > > > >
> > > > >>>Hello all,
> > > > >

RE: [Bacula-users] Tape rewinds during idle times?

2005-08-08 Thread Chris Lee
That's correct.  If you specify "Always Open = no" and "Offline On Unmount =
yes" then every time bacula wants to write to the tape it will rewind first.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ryan Novosielski
> Sent: Monday, 08 August, 2005 10:01
> To: Sven Carstens
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Tape rewinds during idle times?
> 
> Not sure if it's related or not, but there is a place to 
> define whether 
> or not to keep the device open. In the manual, there is a note that 
> mentions should you decide not to keep the device open, you 
> run the risk 
> of extraneous rewinds. If you haven't already seen that, take 
> a look and 
> see if it applies.
> 
>  _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support 
> Spec. III
> |$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 
> 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science 
> Bldg - C630 
> 
> 
> 
> Sven Carstens wrote:
> 
> >Hi List,
> >
> >my problem seems to be that the tape rewinds during idle times.
> >That is during spooling to disk before writing to tape.
> >
> >Two short jobs completed, third job is spooling 38 GB to 
> disk and takes
> >about 1h45m for this. Then it tries to write to the tape.
> >
> >Debugging output from storage demon
> >--
> >epistaxis-sd: mem_pool.c:111 sm_get_pool_memory reuse 
> 80ab508 to ../lib/berrno.h:61
> >epistaxis-sd: mem_pool.c:221 free_pool_memory 80ab508 pool=4 
> from ../lib/berrno.h:66
> >epistaxis-sd: message.c:1005 Enter Jmsg type=4
> >epistaxis-sd: message.c:573 Enter dispatch_msg type=4 
> msg=epistaxis-sd: Troglodyte.2005-08-08_12.46.14 Error: Error 
> writing final EOF to tape. This tape may not be readable.
> >dev.c:1213 ioctl MTWEOF error on /dev/scsi/nsth1-c800c0i6l0. 
> ERR=Input/output error.
> >
> >epistaxis-sd: message.c:731 DIRECTOR for following msg: 
> epistaxis-sd: Troglodyte.2005-08-08_12.46.14 Error: Error 
> writing final EOF to tape. This tape may not be readable.
> >dev.c:1213 ioctl MTWEOF error on /dev/scsi/nsth1-c800c0i6l0. 
> ERR=Input/output error.
> >epistaxis-sd: block.c:680 WEOF error.
> >epistaxis-sd: askdir.c:229 Update cat VolFiles=3
> >epistaxis-sd: askdir.c:247 update_volume_info(): CatReq 
> Job=Troglodyte.2005-08-08_12.46.14 UpdateMedia 
> VolName=FULL_03 VolJobs=0 VolFiles=3 VolBlocks=61999 
> VolBytes=3999679298 VolMounts=3 VolErrors=3 VolWrites=1178726 
> MaxVolBytes=0 EndTime=1123504567 VolStatus=Append Slot=6 
> relabel=0 InChanger=1 VolReadTime=0 VolWriteTime=0
> >epistaxis-sd: askdir.c:91 Get vol info=1000 OK 
> VolName=FULL_03 VolJobs=0 VolFiles=3 VolBlocks=61999 
> VolBytes=3999679298 VolMounts=3 VolErrors=3 VolWrites=1178726 
> MaxVolBytes=0 VolCapacityBytes=0 VolStatus=Append Slot=6 
> MaxVolJobs=0 MaxVolFiles=0 InChanger=1 VolReadTime=0 
> VolWriteTime=0 EndFile=3 EndBlock=15499
> >epistaxis-sd: askdir.c:112 do_reqest_vol_info got slot=6 
> Volume=FULL_03
> >epistaxis-sd: askdir.c:255 get_volume_info(): 1000 OK 
> VolName=FULL_03 VolJobs=0 VolFiles=3 VolBlocks=61999 
> VolBytes=3999679298 VolMounts=3 VolErrors=3 VolWrites=1178726 
> MaxVolBytes=0 VolCapacityBytes=0 VolStatus=Append Slot=6 
> MaxVolJobs=0 MaxVolFiles=0 InChanger=1 VolReadTime=0 
> VolWriteTime=0 EndFile=3 EndBlock=15499
> >epistaxis-sd: block.c:686 dir_update_volume_info terminate 
> writing -- ERROR
> >epistaxis-sd: block.c:711 Leave terminate_writing_volume -- ERROR
> > EOD EOF Bacula status: file=3 block=15500
> > Device status: ONLINE IM_REP_EN file=3 block=15500
> >epistaxis-sd: device.c:97 === Got EOD 
> >epistaxis-sd: device.c:414 block set 3 from device.c:99
> >epistaxis-sd: device.c:400 unlock from device.c:101
> >epistaxis-sd: device.c:105 Call update_vol_info Stat=Full Vol=FULL_03
> >epistaxis-sd: askdir.c:229 Update cat VolFiles=3
> >--
> >
> >Bacula label on this tape is overwritten with EOF and 
> destroyed. So I think
> >that somehow the tape was rewound to the start.
> >
> >Bacula is 1.36.3 and uses the tape exclusively. System is 
> SuSE 9.0 with Kernel-2.4.21-286.
> >
> >Changer is:
> >--
> >scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
> >
> >aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
> >
> >  Vendor: SEAGATE   Model: LTO LDR CLL1600   Rev: S17r
> >  Type:   Medium Changer ANSI SCSI revision: 02
> >(scsi1:A:6): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
> >  Vendor: SEAGATE   Model: ULTRIUM06242-XXX  Rev: 1542
> >  Type:   Sequential-Access  ANSI SCSI revision: 03
> >--
> >
> >Any suggestions where to look for the culprit?
> >Anymore Info needed?
> >
> >CU Sven
> >
> >
> >---

RE: [Bacula-users] Fatal Error of Differential

2005-08-09 Thread Chris Lee
This error means that the storage daemon experienced some sort of I/O
problem while attempting to access your tape drive (/dev/nst0).  My typical
course of action when encountering errors like this is to check dmesg and
the kernel logs to see if there was a more serious transport error with the
scsi bus or something.  If it's just a "soft error" then the drive may just
need cleaning.

This is all assuming that you have verified that there is in fact a tape in
the drive.  My autoloader sometimes inserts a tape and then the firmware
hangs while it still thinks the drive is unloaded.  In such cases I have to
manually unload the drive, power-cycle the changer, and sometimes run a
cleaning.  Your issue could be hardware related, but as I stated above, I
would first check for simple soft errors.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Djalma Fadel Junior
> Sent: Tuesday, 09 August, 2005 05:48
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Fatal Error of Differential
> 
> Hi,
> 
> Bacula has running normal. I have it set to do Full backup on 
> first monday of the month. Differential on others mondays. 
> Incremental from Tue to Fri in every week.
> I have a Pool for each kind of backup. FULL has 4 tapes. DIFF 
> has 2 tapes and INC has 2 tapes.
> Yesterday (monday) was Differential day and I got the problem 
> showed in the log below. Can someone help me telling me what 
> could cause that Fatal error?
> 
> 
> 
> 08-Aug 17:30 daffyduck-dir: Start Backup JobId 14, 
> Job=Realizar_Backup_Instalarme.2005-08-08_17.30.00
> 08-Aug 17:32 daffyduck-sd: 
> Realizar_Backup_Instalarme.2005-08-08_17.30.00 Fatal error: 
> device.c:317 Unable to open device /dev/nst0. ERR=dev.c:289 
> stored: unable to open device /dev/nst0: ERR=Input/output error
> 
> 08-Aug 17:32 daffyduck-fd: 
> Realizar_Backup_Instalarme.2005-08-08_17.30.00 Fatal error: 
> job.c:1665 Bad response to Append Data command. Wanted 3000 OK data
> , got 3903 Error append data
> 
> 08-Aug 17:32 daffyduck-dir: 
> Realizar_Backup_Instalarme.2005-08-08_17.30.00 Error: Bacula 
> 1.36.2 (28Feb05): 08-Aug-2005 17:32:04
>   JobId:  14
>   Job:
> Realizar_Backup_Instalarme.2005-08-08_17.30.00
>   Backup Level:   Differential, since=2005-08-01 17:30:02
>   Client: daffyduck-fd
>   FileSet:"Completo" 2005-07-25 17:30:02
>   Pool:   "Diff-Pool"
>   Storage:"DLTVS80"
>   Start time: 08-Aug-2005 17:30:02
>   End time:   08-Aug-2005 17:32:04
>   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:  10
>   Volume Session Time:1122491070
>   Last Volume Bytes:  0
>   Non-fatal FD errors:0
>   SD Errors:  0
>   FD termination status:  Error
>   SD termination status:  Error
>   Termination:*** Backup Error *** 
> 
> 
> 
> D. Fadel
> 
> 
> ---
> 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



---
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] mount command

2005-08-15 Thread Chris Lee
Use "mount storage=DDS-4".

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Maurizio Santini
> Sent: Monday, 15 August, 2005 11:36
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] mount command
> 
> Hello,
> 
> I get the following message from bacula's console "15-Aug 13:32
> storage01-sd: Please mount Volume "Monitors01" on Storage 
> Device "DDS-4"
> for Job Client1.2005-08-15_12.43.00"
> 
> How do I mount the volume from the console?
> 
> I try the following "mount DDS-4" but I always get the same warning
> message.
> 
> Thank you in advance,
> 
> Maurizio
> 
> 
> 
> ---
> 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



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


[Bacula-users] Backup to ISO image?

2005-08-15 Thread Chris Lee
I know that there has been a lot of work on backup to DVD, though I haven't
looked very closely at it before.  It has recently occurred to me that I
might like to backup some of my data to dvd, but I don't know if I want to
purchase another dvd writer for my storage machine.  If it isn't already
possible, may I request a feature addition with which CD/DVD backups can be
performed but instead of writing to CD or DVD only an ISO image is made
which can be burned later or on another machine?

Thanks,
Chris 



---
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] Backup to ISO image?

2005-08-15 Thread Chris Lee
Yeah I've been reading up on the developer documentation for bacula and it
seems that volumes written in a bacula-specific format.
http://bacula.org/developers/Overall_Storage_Format.html covers this.  Back
to the original post, yes, Joe is correct in that I'm talking about backing
up to CD or DVD but not actually burning them with bacula.  I'd like for
bacula to do everything except for writing the media -- just grow the ISO
and leave it on my server where I can retrieve and burn it later.
Specifically, I want to do this to back up large amounts of multimedia that
I don't want to add into my daily tape cycle.  Occasionally I could just
manually run a full backup of said files and store it all on DVD, but my
DVDRW is in my win32 workstation.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Joe Stump
> Sent: Monday, 15 August, 2005 18:48
> To: Knut E.Meidal
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Backup to ISO image?
> 
> Yeah, the original post was about creating (full?) backups directly  
> as images. Ie. instead of a bacula volume the volume would be an ISO  
> file that he could then burn.
> 
> What I was asking is if there is any way to mount a bacula volume  
> that was written to disk. The entire thing is one big file. If it's  
> an ISO, then yeah I can mount it on loopback, if it's some  
> proprietary bacula thing then I'd either need baculavolume2iso or an  
> fs driver that would let me mount my bacula volumes.
> 
> --Joe
> 
> On Aug 15, 2005, at 4:39 PM, Knut E. Meidal wrote:
> 
> > Using a loopback would work fine for a read/write filesystem. I do  
> > that
> > all the time.
> >
> > Maybe I read too much into it, but
> > if I understood the original poster, he was looking for mounting a  
> > loop
> > device/file, writing to it to create a file in ISO format that  
> > could be
> > burned as-is into a useable CD or DVD.
> >
> > This is where I think there would be a problem. I doubt you can  
> > expect a
> > useable ISO image after regular reads/writes/copy to and 
> from the loop
> > back image file.
> >
> > Boy, would I like to be wrong on this... I'd love to be 
> able to do it.
> >
> > Knut Meidal
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf 
> Of Joshua
> > Kugler
> > Sent: Monday, August 15, 2005 4:18 PM
> > To: bacula-users@lists.sourceforge.net
> > Subject: Re: [Bacula-users] Backup to ISO image?
> >
> >
> > What about using a loopback?
> >
> > j- k-
> >
> > On Monday 15 August 2005 14:20, Joe Stump wrote:
> >
> >> This is sort like something I was thinking about. It would pretty  
> >> much
> >>
> >
> >
> >> kick ass if I could mount -t bacula /path/to/fullbackup. As in a  
> >> Linux
> >>
> >
> >
> >> file system driver or something for bacula volumes.
> >>
> >> --Joe
> >>
> >> On Aug 15, 2005, at 3:10 PM, Chris Lee wrote:
> >>
> >>> I know that there has been a lot of work on backup to 
> DVD, though I
> >>> haven't looked very closely at it before.  It has 
> recently occurred
> >>> to me that I
> >>> might like to backup some of my data to dvd, but I don't know if I
> >>> want to
> >>> purchase another dvd writer for my storage machine.  If it isn't
> >>> already
> >>> possible, may I request a feature addition with which CD/DVD
> >>> backups can be
> >>> performed but instead of writing to CD or DVD only an ISO image is
> >>> made
> >>> which can be burned later or on another machine?
> >>>
> >>> Thanks,
> >>> Chris
> >>>
> >>>
> >>>
> >>> ---
> >>> 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
>

RE: [Bacula-users] Fwd: [Bacula-devel] Proposal for location of gnome-console

2005-08-18 Thread Chris Lee
I agree with Jesse that this is almost a packaging issue.  However, I do
think that certain files should be moved.

Specifically:
All daemons should go in "$(sbindir)".
The sd tools, bconsole, and any other gui console or monitoring program
should go in "$(bindir)".
The bsmtp tool, the mtx-changer script, and any future tools which would be
run by bacula but not by the user should go in "$(libexecdir)/bacula".
All of the extra scripts such as updatedb/* and the db creation scripts
should go in "$(datadir)/bacula" or at least "$(sysconfdir)/bacula/scripts"
or something where they don't clutter the top-level config directory so
much.

I'm not trying to be a FHS nazi here, but currently /etc/bacula gets kind of
cluttered without significant packaging modifications.  I also think that
some of the extra scripts like the various db creation/deletion/mangling
series should be installed by default.  It's not a lot of work from a
packaging point of view, but why write 'cp -p /updatedb /etc/bacula/'
or simliar into the distro end when it's likely that a user may need these
scripts but the package manager deleted the source tree after installation?

Switching gears for a moment...
Jesse also brought up another subject which has occurred to me as well.  For
the daemons I completely agree with keeping the config files in /etc/bacula
but for console and gui programs it makes sense to me that these programs
should look for config files in a hierarchial fashion the way other user
programs do: look for the file specified with by -c, then
"${HOME}/.bacula/bconsole.conf". then "$(sysconfdir)/bacula/bconsole.conf".

Having a "${HOME}/.bacula/" might seem unnecessary at this point, but I've
also been thinking that some operators might like to tweak their own console
config especially if the console program(s) ever implement certain config
options which have been mentioned before such as "Autodisplay = on" or
having multiple console levels in the same config file and maybe switching
between them within the console.  Plus, if any of the gui projects ever
become sophisticated enough to need a complicated set of options stored in
their config, this would be a good place for them if an operator/admin
wanted to change gui options without affecting the default (/etc/bacula) gui
options.

I think that about covers my 2cts on the matter. ;-)

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kern Sibbald
> Sent: Thursday, 18 August, 2005 10:59
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Fwd: [Bacula-devel] Proposal for 
> location of gnome-console
> 
> Hello,
> 
> Are there any comments on this proposal?
> 
> To be consistent, I would imagine we would need to include bconsole, 
> wxconsole, and possibly a number of other files in /usr/bin 
> as well.  I can 
> understand Daniel's point, but probably prefer to let the 
> user move or link 
> the file to where he wants.
> 
> --  Forwarded Message  --
> 
> Subject: [Bacula-devel] Proposal for location of gnome-console
> Date: Thursday 11 August 2005 10:35
> From: Daniel Bloemer <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 
> Hello,
> 
> I am using bacula for a while now, and it works pretty fine.
> I have just upgraded from 1.36.1 tp 1.36.3 (SuSE-9.2-RPMs) and have
> stumbled (again) across a minor inconvenience:
> 
> The gnome-console is located under /usr/sbin and is equipped with the
> user rights 754. Since I usually do my daywork with a non-proviliged
> user, I cannot start the console directly.
> Maybe it would be better if the gnome-console would be located in
> /usr/bin and is executable for any user. The user still needs the
> configuration containing the password for accessing the bacula-system.
> 
> Best Regards
> 
> Daniel Blömer - Bonn, Germany
> --
> Daniel Bloemer - BusinessCoDe GmbH
> Systemadministration and Support
> Phone: +49 (0)228 / 28925-43
> http://www.business-code.de
> 
> 
> ---
> 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-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
> 
> ---
> 
> -- 
> Best regards,
> 
> Kern
> 
>   (">
>   /\
>   V_V
> 
> 
> ---
> 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.

[Bacula-users] RE: [Bacula-devel] Some ideas I am working on

2005-08-21 Thread Chris Lee
Hello again,

> -Original Message-
> From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 20 August, 2005 11:12
> To: [EMAIL PROTECTED]
> Cc: Chris Lee; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-devel] Some ideas I am working on
> 
> Hello,
> 
> On Friday 19 August 2005 23:25, Chris Lee wrote:
> > I have started work on a proposed addition to the cvs tree, 
> but I would
> > like some feedback on the subject before I get really 
> gung-ho about it and
> > end up having to radically change things before I submit anything.
> >
> > What I am working on is actually two different projects.  
> The first is a
> > MVC-designed gui administration tool which will probably 
> take me quite a
> > while to write.  I've chosen MVC layout to make it easier 
> to build/port the
> > program for qt/gtk/wx/win32/whatever.  Unfortunately I 
> don't have a lot of
> > experience writing gui apps, so I'm trying to learn as I 
> go.  At this point
> > I have created only a local skeleton tree for this project, 
> no code yet.
> 
> I'm a little unsure about what you mean by a GUI 
> administration tool.  Do you 
> mean a Bacula GUI console?
> 

I'm actually referring to a gui application that does more than just serve
as another console.  I'd like to implement a console view for it, but my aim
is to make all of the console functionality completely point-and-click for
those of us that want to be really lazy about administration. ;-)  I also
plan to implement the online configuration editing capability described
below within this application.

I'm thinking of creating a kind of "layout" feature in which you can add,
remove, or edit objects representing various bacula resources -- from
directors, SDs, and clients all the way through pools and catalogs -- then
create visual and relational links between those objects to represent the
relational connections between the actual resources.  This also would be way
more useful with the remote config functionality I talked about before.

Note that I still haven't decided what all I'd like to put into this program
and new ideas keep for it keep coming to me which I am considering.

> I don't know anything about MVC, but I am sure that none of 
> our existing GUI 
> consoles really meets the users' needs.  The current 
> wx-console is a good 
> first step but needs a number of features as was reported in 
> a recent article 
> on Bacula.  One of the big advantages of wx-console is that 
> it is portable -- 
> it currently runs on Gnome/KDE systems, Win32, and if I am 
> not mistaken on 
> Macs.  The big disadvantage is that it is a reasonably 
> complicated C++ 
> program.
> 

MVC is just an OO design method in which you keep the different levels of
application functionality separate from one another in the design.  The
backend functions that actually do things are one part, the code for drawing
elements makes up another part, and then your element layout for what the
user interacts with makes up the other part.

In this way I can write an application that does something, create a gui
layout the way I want it, then write the gtk code that accommodates that
layout.  But if another developer wants to do it in Qt then they just write
the qt code that accommodates the layout.  I've chosen to go this route
because I know that plenty of people use KDE, plenty use Gnome, and plenty
use other WMs that can go either gtk or qt, and of course there's the win32
API.  So by using this design the graphical code is separate such that
changes to the application itself shouldn't break it for a specific widget
set and each gui version of the app doesn't have to have a bunch of code to
dictate layout.  Think, "One application - Multiple GUIs."  I'm told that
mozilla is designed this way, though I'm noticeably frightened by the
thought of looking at its source.

It is entirely possible that I misunderstand the concept of MVC, however,
what I describe here is a major design goal of mine for this application.

> After a good amount of research, I am convinced that the 
> future of programming 
> is shifting from C to C++ and from C++ to interpreted 
> languages such as 
> Python.  In addition, I am now convinced that Qt is superior 
> to Gnome, if for 
> no other reason than it is C++ rather than C.
> 

As for C++, I just never got around to learning C++ so whatever I write is
usually in C.  You mention python as well and my position on that is
basically the same as C++.  I don't know python so I can't really do
anything with it.  I'm not opposed to using other languages, save that I
don't know them, but my opinion is that I can do all of this in C anyway and
with

RE: [Bacula-users] ClientRunBefore only for Full Backup?

2005-08-22 Thread Chris Lee
I suggest passing the backup level to the script as a parameter, and having
the script just exit cleanly for any level you don't want the script to run
for.  Variable expansion is explained in the manual and unless I am mistaken
backup level is a value which can be used in this manner.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Karl Cunningham
> Sent: Monday, 22 August, 2005 19:19
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] ClientRunBefore only for Full Backup?
> 
> Hi All --
> 
> I have a need to execute a ClientRunBefore script on full 
> backup but not on
> incremental for the same client.  Does anyone know of a way 
> to do this?
> 
> Thanks.
> 
> Karl Cunningham
> 
> 
> 
> ---
> 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



---
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] schedule issue

2005-08-28 Thread Chris Lee
Use 24-hour time.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of dave
> Sent: Saturday, 27 August, 2005 23:41
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] schedule issue
> 
> Hello,
> I'm trying to get this schedule to run at night, but time 
> wise it runs
> during the day during system peaktimes, can someone tell me where my
> thoughts went wrong?
> Thanks.
> Dave
> 
> # schedules 
> 
> 
> Schedule {
>  Name = "sat_fdd"
>  Run = Full sat at 11:00

Run = Full sat at 23:00

>  Run = Differential sun-fri at 12:00

Run = Differential sun-fri at 00:00

> }
> 
> # This schedule does the catalog. It starts after the WeeklyCycle
> Schedule {
>   Name = "WeeklyCycleAfterBackup"
>   Run = Full sun-sat at 3:30
> }
> 
> 
> 
> ---
> 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

Thanks,
Chris  



---
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] parallel spooling/despooling

2005-08-30 Thread Chris Lee
This functionality has been discussed on the -devel list recently there are
plans to implement it.  Unfortunately, there is no specific timetable on the
subject as of yet.  In short, "It's coming...eventually." :-)

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Alexander Kuehn
> Sent: Tuesday, 30 August, 2005 08:03
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] parallel spooling/despooling
> 
> Hi,
> 
> I have a [EMAIL PROTECTED] FreeBSD machine with a DDS3 Streamer 
> attached to it. The streamer does about 1MB/s, when I use 
> Bacula I can monitor the machine and streamer usage using 
> "systat -vm", when I do that I see that nothing is running at 
> full steam, the streamer does about 0.8 MB/s, the CPU is at 
> 80% usage, the harddisk is 5-20% usage. Of course this varies 
> over time, but these values are pretty typical. I was 
> wondering if I could optimize the usage to minimize the 
> backup times. I was very happy to see that Bacula supports 
> spooling at first, but I was kinda set back when I saw that 
> spooling and despooling is done sequentially not in parallel. 
> I had already set up a mfs based /tmp (128MB) to have Bacula 
> spool to RAM (which the machine has plenty of), and CPU usage 
> was indeed 100% as I had expected. Of course the CPU was 
> basically unutilized when it came to unspooling the file.
> I wonder if it would be difficult to modify Bacula to use two 
> spool files instead of one, so that:
> fd starts collecting files and creating the normal spool file,
> as soon as it is ready and signals sd to unspool the file, it 
> does not wait until sd has finished but continues to collect 
> files but stores them in a second file, right next to the 
> normal spool file,
> as soon as sd has finished unspooling and fd spooling to the 
> second file, the second file is renamed to the normal spool 
> file and fd starts to collect for a new second file...
> I think this way the backup time could be significantly 
> reduced in cases such as this one.
> Kind regards,
> Alex.
> 
> 
> ---
> 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



---
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] Tape ejecting problem

2005-08-31 Thread Chris Lee
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Florian Schnabel
> Sent: Tuesday, 30 August, 2005 02:34
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Tape ejecting problem
> 
> LHERBIER Lois wrote
> 
> >Hello,
> >
> >Can you show us the content of the file 
> '/etc/bacula/eject_tape', please ?
> >
> >  Loïs Lherbier
> >  
> >
> whoops .. sorry, of course :-)
> 
> #!/bin/sh
> bconsole -c /etc/bacula/bconsole.conf < unmount storage=Tape
> END_OF_DATA
> # the following is a shell command
> mt -f /dev/st0 rewind
> mt -f /dev/st0 eject
> 

AFAIK the rewind isn't really necessary since bacula rewinds the tape as
soon as it's mounted but this is up to you.

You might try using 'mt -f /dev/st0 offline' instead of 'mt -f /dev/st0
eject' since offline is supposed to be the same as eject according to mt(1).
>From the driver/hardware point of view I don't know what the difference is
between 'offline' and 'eject' but 'offline' works fine here.

The OfflineOnUnmount directive shouldn't eject the tape until the tape is
unmounted by bacula (either automatically or by the unmount command in the
console).  I suspect that what's happening here is that you're still using
the eject_tape script in the RunAfterJob and regardless of whether the 'mt
eject' is working it's still unmounting storage=Tape which is causing bacula
to eject the tape.

Personally, I would handle this by leaving the OfflineOnUnmount turned on
and creating an Admin job which executes your eject_tape script.  Then
comment out the mt rewind and eject lines so that the script just tells
bacula to unmount the drive.  Comment out the RunAfterJob which calls
eject_tape in your other Job(s).  Set a high number for Priority on this
Admin job, and schedule it to run at the same time as your other jobs.  In
theory this would let your jobs run normally, then when all of your jobs
have finished the Admin job will run, the script will unmount the storage
resource, and bacula will eject your tape.

Hope this helps. :-)

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


Thanks,
Chris  



---
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] Disable hardware compression / Running as root

2005-09-03 Thread Chris Lee
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marcus
> Sent: Saturday, 03 September, 2005 12:27
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Disable hardware compression / Running as root
> 
> I'm archiving a lot of video to DLT, and think it
> might help to disable hardware compression. DV25
> streams are, by definition, compressed and will not
> shrink much anyway (if at all).
> 
> In the docs it says you disable compression with this:
> mt -f /dev/nst0 defcompression 0
> But where do you enter that, does it go into
> mtx-changer or soemthing? Many of the tapes I have are
> used and it appears whoever last used them had hw
> compression on.
> 

Enter the mt command on your command line. See also: 'man 1 mt'.

> Also, is it possible/advisable to modify permissions
> so bacula can be run by a user (me?)? The install
> seems to set everything for root/root, will changing
> the group to disk hurt anything?
> 

Bacula will need rw permissions for a nubmer of devices depending on your
configuration.  Since you're using tape, bacula will need the permissions of
the group which owns your tape device (commonly "tape" or "operator").
Bacula will also need permissions for your tape changer if you have one
(commonly "tape", "operator", or "disk").  Verify the user and group
permissions of your device(s) with "ls -l /dev/nst0" on the commandline.
Some users -- including myself -- have had problems with permissions when
running bacula non-root, so use caution.  If all else fails you can "chmod
666" the devices which bacula needs to access.  However, this could raise
security concerns.

> Thanks list!
> 
> 
>   
> 
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
>  
> 
> 
> ---
> 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

HTH

Thanks,
Chris  



---
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] "unlisted fstype" error msg

2005-09-06 Thread Chris Lee
I presume you're using devfs or udev, in which case you don't need to backup
/dev, so you can Exclude it in your FileSet.

Thanks,
Chris  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Phil Cordier
> Sent: Tuesday, 06 September, 2005 15:28
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] "unlisted fstype" error msg
> 
> How can I get rid of this error message?? It's very annoying.
> 
> 
> 06-Sep 13:02 oss2: oss2.2005-09-06_01.05.09 Error: find_one.c:168
> Top level directory "/dev" has an unlisted fstype
> 
> 1.37.36 on Linux CentOS 4.1 x86 - kernel 2.6.9-11.
> 
> 
> ---
> 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



---
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] Nubee autochanger question (volume labeling)

2005-09-06 Thread Chris Lee
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Phil Stracchino
> Sent: Tuesday, 06 September, 2005 16:06
> To: [EMAIL PROTECTED]
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Nubee autochanger question 
> (volume labeling)
> 
> Michael Sharkey wrote:
> > Sorry guys if this is a dumb newbee question. 
> > 
> > I'm just getting my bacula set up for the first time, and I have an 
> > autochanger with 6 tapes per cartridge attached to a linux box. 
> > 
> > I made my .conf files, and ran btape on it and everything 
> including the 
> > autochanger operation checked out fine. 
> > 
> > Now, before I go ahead and fire it up, do I have to label 
> each tape in a 
> > cartridge as individual volumes, or is the whole cartridge 
> considered to be 
> > one volume? Or is that a dumb question?
> 
> Unless the changer somehow hides the tapes from the OS and 
> presents them
> as one big volume (which I doubt), one tape is one volume.
>

My ADIC 1200G has a jumper to set behavior like that.  It has Sequential and
Random access modes.  Sequential mode makes the device appear as a single
SCSI device and when the host system wants to write data it just writes data
to each tape in sequence as they fill.  Random access mode makes the changer
and drive appear as separate scsi devices and acts like what I would
consider "normal" operation where you can use a specific tape (from a
specific slot).

As for Michael's question, I agree with Phil.  Bacula (via mtx) should see
each tape separately; though it will see them as unlabelled until you use
the label command in the console.
 
> 
> -- 
>  Phil Stracchino   [EMAIL PROTECTED]
> Renaissance Man, Unix generalist, Perl hacker
>  Mobile: 603-216-7037 Landline: 603-886-3518
> 
> 
> ---
> 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


Thanks,
Chris  



---
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] staging to disk?

2005-09-09 Thread Chris Lee
If I understand correctly, what you're asking for is what some of us call
Job Migration.  This has been in discussion on the -devel mailing list for
some time now, and plans to implement it are in the works.  While it is true
that you could backup to disk and then backup those volumes to tape with a
separate Job, one of our goals with Job Migration is to facilitate exactly
this kind of off-site copying you describe.  Currently, the implementation
of this functionality is still in the design stage, but it is planned.

This (as well as multiple spoolfile support) has been mentioned a few times
recently on the -users list.  Perhaps someone could add some sort of note to
the development manual which would inform users that it's planned for
implementation?  Kern?
 

Thanks,
Chris 

 




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aditya
Ivaturi
Sent: Friday, 09 September, 2005 08:55
To: bacula-users
Subject: [Bacula-users] staging to disk?



I am not asking whether staging to disk is possible, I got the
answer from the docs. But what I am trying to find out is if anybody has
tried to achieve something similar. Well bacula can write to disk and then
of course write to tape. Currently all my data is written to disk actually
on a SAN. But I'd like to make an offsite backup on tape of the data that is
stored on that SAN. The easiest way seems to be to create another job to
write the data on disk to tape essentially achieving the ultimate goal. 

What I want to find out is whether any body has implemented any
novel solutions other than that. 

--Turi




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


[Bacula-users] Looking for client removal documentation

2007-11-14 Thread Chris Lee
Another user asked me this morning about safely and completely removing all
traces of a given client from their director and storage.

Fortunately, since he uses disk-based volumes this didn't involve erasing a
bunch of tapes.

I'm sure that the method I advised is not the cleanest or most efficient,
but I basically told him the following.

Disable the client's job(s) from the console.  Comment-out, or remove the
job declaration(s) for that client in the director config.  

purge jobs client=foobar-fd
purge files client=foobar-fd

Since the user was not mixing clients in this pool we move on to removing
those volumes.

purge
volume
(repetitively select volumes to purge)

delete
volume
(repetitively select volumes to delete)

delete
pool


Now we should be safe to rm the volume files on disk and free up loads of
space.

The volume purging and deleting could be wrapped in a script to ease that
part, but that means writing out said script and making sure it works
correctly before you execute it.

If any of the above is wrong then *please* correct me.  Otherwise, does
anyone have a better way to do this?  In either case, is there any chance we
could get this documented in the manual and/or wiki?

Thanks,
Chris Lee


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


Re: [Bacula-users] All the problems with Bacula

2007-11-21 Thread Chris Lee
Re-sending... As Dan just informed me and John pointed out in the other
thread, apparently I've been replying directly to the previous poster
instead of the list.  Sorry about that. =\

>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Dan Langille
>Sent: Wednesday, 21 November, 2007 07:19
>To: bacula-users
>Subject: Re: [Bacula-users] All the problems with Bacula
>
>On 21 Nov 2007 at 8:07, Shon Stephens wrote:
>
>> Ok. This is a rant and you can remove it from the list if you want to
>> later. I just have to vent.
>> 
>> Bacula is incredibly complex to setup. Its taken 4 months and its
>> still not working correctly.
>
>You are unique.

I have to agree with Dan here.  Over the years that I have used bacula a
number of people have reported having issues with setting up bacula to suit
their particular needs.  However, generally those issues were incurred from
having rather uncommon considerations within their systems.

>
>> Things that should be easy that Bacula makes overly complex:
>> 
>> Labeling tapes
>> Assigning tapes to pools
>> Reassigning tapes to pools
>> Managing disk media
>> 
>> Things Bacula can't seem to get right:
>> 
>> Detecting a tape is in the drive and using it
>> Even though the correctly labeled tape is in the drive, and has the
>> right Volume label, and is marked "Append", and is from the correct
>> Pool
>> Bacula is still waiting for a mount request. Every external program
>> recognizes that the tape is in the drive and mounted. Not Bacula
>> 
>> Catalog entries. I've not had a single backup job where the right
>> entries made it into the Catalog
>> 
>> Windows hosts. Good luck figuring out the esoteric path 
>syntax because
>> its different in different chapters of the manual and also different
>> depending on which part of the config you are editing
>> 
>> Basically I can't see that its useable for anything more than backing
>> up a single system, and even then better be careful.
>> 
>> I'm going with Arkeia Network Backup. Might cost money, but at least
>> it will work as advertised which is more than can be said for Crapula
>
>Oh, and here I thought you were going to ask for more help.  Oh well. 
> Good luck to you.  I hope the parting shots improve things for you.
>

Again I think Dan is right here.  It's a shame that you were unable to
properly configure bacula for your needs.  However, although I'm no
psychologist, I have found that besmirching the source of my frustrations
has never been a productive means of releaving said frustration.  Perhaps
you just need a vacation.

>-- 
>Dan Langille - PGCon - http://www.pgcon.org/
>
>
>---
>--
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>___
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users


Thank you,
Chris Lee 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] First time with Bacula

2008-01-07 Thread Chris Lee
>-Original Message-
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Reynier Perez Mira
>Sent: Monday, 07 January, 2008 08:22
>To: Vladimir Doisan
>Cc: bacula-users@lists.sourceforge.net
>Subject: Re: [Bacula-users] First time with Bacula
>
>> Try this
>> http://gentoo-wiki.com/HOWTO_Encrypted_Backup_System_Using_Bac
>ula_and_GnuPG
>
>Hi Vladimir:
>Before all thanks for your reply, this is amazing but I found 
>my first problem. In the step 6 the manual said:
>
>6 Setup Database (assuming you have MySQL installed and working)
> /etc/bacula/create_mysql_database
> /etc/bacula/make_mysql_tables
> /etc/bacula/grant_mysql_privileges
>
>I have MySQL and also PostgreSQL running but when I go to 
>/etc/bacula I only see this files:
>
> /scripts (empty dir)
> bacula-dir.conf
> bacula-fd.conf 
> bacula-sd.conf
> bconsole.conf

I don’t know about Debian, but at least on Gentoo this has changed since
that HOWTO was written.

For Gentoo, the database setup scripts are now in /usr/libexec/bacula
instead of /etc/bacula.  On Debian it may be /var/lib/bacula but again I
don't know this for certain.

>
>So I can't run the create,make and grant scripts because they 
>don't exists. Any explanation for that? I install Bacula as follow:
>  
> apt-get install bacula bacula-doc bacula-traymonitor
> The following packages will be installed on your system:
>  bacula bacula-client bacula-common bacula-console 
>bacula-director-common bacula-director-sqlite3 bacula-doc bacula-fd
>  bacula-sd bacula-sd-sqlite3 bacula-server bacula-traymonitor 
>mtx sqlite3
>
>Cheers
>Ing. Reynier Pérez Mira  
>
>---
>--
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>_______
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users


Thank you,
Chris Lee 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] bacula on gentoo help resources

2005-11-22 Thread Chris Lee
Hello folks,

I've been out of town for over a week and very busy with work since getting
back home, but I am trying to make some time to get 1.38.* into portage
soon.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Harry Putnam
> Sent: Tuesday, 22 November, 2005 09:28
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] bacula on gentoo help resources
> 
> Using gentoo  linux-2.6.14-gentoo-r2
> 
> Where can I get gentoo specific help starting to use bacula?  I'm
> finding the whole at least first part of the online tutorial:
>   http://www.bacula.org/dev-manual/Brief_Tutorial.html#_ChapterStart1
> 
> Has too much stuff in it that does not apply to a gentoo install.
> 

Installing Bacula on Gentoo Linux should be as easy as 'emerge bacula'
though you will need to specify one and only one database support USE flag
(i.e. USE=mysql) when merging bacula.  Configuring Bacula definitely
requires reading the rest of the manual, but installation on Gentoo Linux
should be painless.  Please let me know if this is not the case.

> There is lots of talk of `./bacula start' which doesn't exist in a
> gentoo install.
> 

The bacula init script which the manual refers to is actually in either
/etc/bacula or /var/lib/bacula.  Due to some inter-developer
miscommunication between myself and other gentoo devs this and other other
such scripts have been moved around several times in recent ebuilds.  This
miscommunication has now been resolved and the confusion should be clearing
up in the next ebuild.  I recommend using the /etc/init.d/bacula script as
suggested in John's email, but please note that in the next bacula ebuild an
USE flag will allow for the use of inidividual init scripts for each daemon.
You may wish to run 'emerge -vp bacula' before installing the newest
revision(s) to check for new or updated USE flags.

> Attempts to start bacula-dir fail like this:
>   bacula-dir -v -d22 
>   bacula-dir: dird.c:131 Debug level = 22
>   22-Nov 09:24 bacula-dir:  Fatal error: Could not open 
> database "bacula".
>   22-Nov 09:24 bacula-dir:  Fatal error: mysql.c:169 Unable 
> to connect 
>   to MySQL server. 
>   Database=bacula User=bacula
>   It is probably not running or your password is incorrect.
>   22-Nov 09:24 bacula-dir ERROR TERMINATION
>   Please correct configuration file: /etc/bacula/bacula-dir.conf
> 

Please check that the user 'bacula' is in your mysql users database and has
adequate permissions to connect from 'localhost' and has full access to the
'bacula' database.  There exists plenty of documentation for these tasks on
mysql.com.

> 
> Attempts to start the console with `bconsole' fail like this:
> bconsole
> 
>  Connecting to Director reader:9101
>22-Nov 09:17 bconsole:  Fatal error: bnet.c:775 Unable to connect 
>to Director daemon on reader:9101. ERR=Connection refused
> 
> mysql is running .. not sure about password but the --help flag on
> either of above shows no way to supply one anyway.
> 
> So, I'm really shooting in the dark here and need to hear from an
> experienced user about the baby steps to get started.
> 
> 
> 
> ---
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Perhaps a guide for installing Bacula on Gentoo would be helpful.  I would
definitely like to contribute such a document to the Gentoo Documentation
Project, however as I mentioned before time is very short for me right now.
If someone would like to prepare a draft for this and send it to me I would
appreciate it and certainly give you credit for authorship.  Please see
http://www.gentoo.org/proj/en/gdp/ for details about contributing documents
to the Gentoo Documentation Project.

Thanks,
Chris  

P.S. I appologize if this is getting really off-topic for this list.



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] tape did not come out

2006-01-31 Thread Chris Lee



Exact same thing happened to me a few weeks back.  
Drive ate the tape.  DDS is notorious for this.
 
Thanks,Chris 
 

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Natxo 
  AsenjoSent: Tuesday, 31 January, 2006 01:43To: 
  bacula-users@lists.sourceforge.netSubject: [Bacula-users] tape did 
  not come out
  Hi,After some weeks where everything worked perfectly fine, 
  yesterday the tape did not come out.I am using a daily tape rotation 
  as explained in the manual:http://bacula.org/rel-manual/Backup_Strategies.html#SECTION000283000The 
  error I got is:30-Jan 20:00 vpn-dir: Start Backup JobId 31, 
  Job=NightlySave.2006-01-30_20.00.0030-Jan 20:00 vpn-dir: Pruned 2 Jobs on 
  Volume "maandag" from catalog.30-Jan 20:00 vpn-dir: Recycled volume 
  "maandag"30-Jan 20:00 vpn-sd: NightlySave.2006-01-30_20.00.00 Fatal error: 
  dev.c:387 dev.c:381 Unable to open device "Tape" (/dev/nst0): ERR=Read-only 
  file system30-Jan 20:00 vpn-sd: NightlySave.2006-01-30_20.00.00 Fatal 
  error: device.c:299 Unable to open device "Tape" (/dev/nst0): ERR=dev.c:381 
  Unable to open device "Tape" (/dev/nst0): ERR=Read-only file 
  system30-Jan 20:00 vpn-fd: NightlySave.2006-01-30_20.00.00 Fatal 
  error: job.c:1597 Bad response to Append Data command. Wanted 3000 OK 
  data, got 3903 Error append data30-Jan 20:00 vpn-dir: 
  NightlySave.2006-01-30_20.00.00 Error: Bacula 1.38.2 (20Nov05): 30-Jan-2006 
  20:00:47  
  JobId:  
  31  
  Job:    
  NightlySave.2006-01-30_20.00.00  Backup 
  Level:   
  Full  
  Client: 
  "vpn-fd" i686-pc-linux-gnu,suse,9.3  
  FileSet:    
  "Full Set" 2006-01-10 20:00:02  
  Pool:   
  "MondayPool"  
  Storage:    
  "Tape"  Scheduled 
  time: 30-Jan-2006 
  20:00:00  Start 
  time: 
  30-Jan-2006 20:00:02  End 
  time:   
  30-Jan-2006 20:00:47  
  Priority:   
  10  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:  31  Volume Session 
  Time:    1136896682  Last Volume 
  Bytes:  1  Non-fatal FD 
  errors:    0  SD 
  Errors:  
  0  FD termination status:  Error  SD termination 
  status:  Error  
  Termination:    
  *** Backup Error ***I have just tried listing the media pool 
  MondayPool*list media 
  pool=MondayPool+-++---+--+--+--+-+--+---+---+-+| 
  MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | 
  Recycle | Slot | InChanger | MediaType | 
  LastWritten 
  |+-++---+--+--+--+-+--+---+---+-+|   
  3 | maandag    | Recycle   
  |    1 
  |    0 
  |    0 
  |   1 |    0 
  | 1 | 
  DDS-3 | 2006-01-23 21:27:25 
  |+-++---+--+--+--+-+--+---+---+-+Last 
  week monday, with the same tape, (and the week before and the week before ...) 
  everything went perfectly fine.I honestly do not see what the error 
  could be. My bacula-dir.conf is similar to the one in the example, if it is 
  necessary I will post it to the list (I have not done so because the message 
  is already quite long). Any help greatly appreciated.-- 
  Groeten,J.Asenjo