[Bacula-users] Suggestions for fixing version mismatch

2006-08-08 Thread Tom Newton

I have a couple of problems with bacula.

I used the latest fd on windows (1.38.4) and the debian packages on
linux (1.36.2-2sarge1) where my sd/director are. Even *after* reverting
to 1.36.3 on one windows PC, I cannot get a backup to restore (Zlib
Err). The backups were not marked portable. 

My questions are:
1. Is there *anything* else I can do to try and recover the one file I
need? Can I read it straight out of a bacula volume file somehow?

2. Once I have got the file/given up - should I bring dir/sd up to the
latest  greatest by compiling from source, or are the debian packages
worth sticking with?

Thanks for your help,

-- 
Tom Newton

SmoothWall Limited
1 John Charles Way
Leeds
LS12 6QA
United Kingdom

www.smoothwall.net
Phone: +44-(0)870 1 999 500
DDI: +44-(0)113 38 74 166
Fax:   +44-(0)870 1 991 399

This email and any attachments transmitted with it are confidential to
the
intended recipient(s) and may not be communicated to any other person or
published by any means without the express permission of SmoothWall
Limited.
Any views expressed in this message are solely those of the author.
See:
http://www.smoothwall.net/emailnotice.html for the full text of this
notice.


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


[Bacula-users] Bacula doesn't backup to remote storage

2006-08-08 Thread victoria
Hello to everyone!

I have following situation on my backup servers. First, my backup
structure is like this:
Backup server and Storage server with MySQL database.
Backup director configuration on backup server looks following:
Director {
   Name = backup-dir
   DIRport = 9101
   QueryFile = /opt/bacula/scripts/query.sql
   WorkingDirectory = /var/bacula/working
   PidDirectory = /var/run
   Password = password
   Maximum Concurrent Jobs = 10
   Messages = Standard
   FD Connect Timeout = 1
}
As you can see, i am using concurrent jobs.
And SD daemon on storage server.
When i'm trying backup something i got file on storage server:
[EMAIL PROTECTED] du -h /baculabk/robber0001
2.0G/baculabk/robber0001
But backup message is:
07-Aug 21:15 backup-dir: No prior Full backup Job record found.
07-Aug 21:15 backup-dir: No prior or suitable Full backup found. Doing
FULL backup.
07-Aug 21:15 backup-dir: Start Backup JobId 18,
Job=robber.2006-08-07_21.05.16
07-Aug 21:15 backup-dir: Created new Volume robber0001 in catalog.
07-Aug 17:53 backup-sd: Labeled new Volume robber0001 on device
robber (/baculabk).
07-Aug 17:53 backup-sd: Wrote label to prelabeled Volume robber0001 on
device robber (/baculabk)
07-Aug 17:53 backup-sd: Spooling data ...
07-Aug 20:31 backup-sd: Committing spooled data to Volume robber0001.
Despooling 2,104,893,735 bytes ...
07-Aug 20:33 backup-sd: Sending spooled attrs to the Director.
Despooling 108,212,728 bytes ...
08-Aug 01:15 backup-dir: robber.2006-08-07_21.05.16 Fatal error: Network
error with FD during Backup: ERR=Connection reset by peer
08-Aug 01:15 backup-dir: robber.2006-08-07_21.05.16 Fatal error: No Job
status returned from FD.
08-Aug 01:15 backup-dir: robber.2006-08-07_21.05.16 Error: Bacula 1.38.5
(18Jan06): 08-Aug-2006 01:15:58
  JobId:  18
  Job:robber.2006-08-07_21.05.16
  Backup Level:   Full (upgraded from Incremental)
  Client: robber-fd sparc-sun-solaris2.8,solaris,5.8
  FileSet:robber 2006-08-07 21:15:40
  Pool:   robber
  Storage:robber
  Scheduled time: 07-Aug-2006 21:05:15
  Start time: 07-Aug-2006 21:15:40
  End time:   08-Aug-2006 01:15:58
  Priority:   10
  FD Files Written:   0
  SD Files Written:   345,527
  FD Bytes Written:   0
  SD Bytes Written:   2,095,004,109
  Rate:   0.0 KB/s
  Software Compression:   None
  Volume name(s): robber0001
  Volume Session Id:  16
  Volume Session Time:1154961001
  Last Volume Bytes:  2,104,502,272
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Backup Error ***

I can't restore nothing from this file.
Why it sends reset by peer? Please point me what is wrong.


Best Regards,
Victoria



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


Re: [Bacula-users] Suggestions for fixing version mismatch

2006-08-08 Thread steen meyer
I have a vague memory of a similar problem on this list about 6-8 months ago - 
if I remember it correctly Kern made a patched bextract that could unpack the 
windows files - don't know if I'am correct, but you can try to search the 
archives

Steen

Tirsdag 08 august 2006 10:41 skrev Tom Newton:
 I have a couple of problems with bacula.

 I used the latest fd on windows (1.38.4) and the debian packages on
 linux (1.36.2-2sarge1) where my sd/director are. Even *after* reverting
 to 1.36.3 on one windows PC, I cannot get a backup to restore (Zlib
 Err). The backups were not marked portable.

 My questions are:
 1. Is there *anything* else I can do to try and recover the one file I
 need? Can I read it straight out of a bacula volume file somehow?

 2. Once I have got the file/given up - should I bring dir/sd up to the
 latest  greatest by compiling from source, or are the debian packages
 worth sticking with?

 Thanks for your help,

-- 
Regards

Steen

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


[Bacula-users] Installation Issue

2006-08-08 Thread Rodrigo Gama
I'm running mysql 5.0.18 under SuSE Linux. I Installed mysql (and mysql-devel) using yast and now I want to build bacula from source code. 
When I run ./configure --with-mysql /usr/include/mysql It halts, with the following error:checking for MySQL support... noconfigure: error: Invalid MySQL directory /usr/include/mysql/ - unable to find mysql.h
 under /usr/include/mysql/
But if I run ls /usr/include/mysql/ the output is this:errmsg.h m_string.h my_dbug.h my_global.h my_no_pthread.h my_sys.h mysql_com.h mysql_version.h raid.h sslopt-case.h 
typelib.hkeycache.h my_alloc.h my_dir.h my_list.h my_pthread.h my_xml.h mysql_embed.h mysqld_ername.h sql_common.h sslopt-longopts.hm_ctype.h my_config.h my_getopt.h my_net.h my_semaphore.h 
mysql.h mysql_time.h mysqld_error.h sql_state.h sslopt-vars.hThat is, I have a mysql.h file under that directory. Does anyone knows what's happenning here? Any help will be appreciated
-- Engraçado, costumam dizer que tenho sorte. Só sei que, quanto mais eu me preparo, mais sorte eu tenho (Antony Robbins) 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] is mysql 5 supported

2006-08-08 Thread Silver Salonen
On Tuesday 08 August 2006 13:45, Silver Salonen wrote:
 Hi.
 
 I moved my Bacula to another machine (both FreeBSD-6.1 and Bacula-1.38.11). 
On 
 an old machine there's MySQL 4.1.21, but on the new MySQL is 5.0.24.
 
 I moved bacula database over with mysqldump and got no errors during that.
 
 If I now try to start my new bacula-dir, it says:
 
 # /usr/local/etc/rc.d/bacula-dir start
 Starting bacula_dir.
 08-Aug 12:46 bacula-dir:  Fatal error: Version error for database bacula. 
 Wanted 9, got 0
 08-Aug 12:46 bacula-dir:  Fatal error: Could not open Catalog MySQL, 
 database bacula.
 08-Aug 12:46 bacula-dir:  Fatal error: Version error for database bacula. 
 Wanted 9, got 0
 08-Aug 12:46 bacula-dir ERROR TERMINATION
 Please correct configuration file: /usr/local/etc/bacula-dir.conf
 
 
 Is the problem in MySQL, database, data, Bacula, or bacula-dir's 
 configuration? Any suggestions for fixing this?
 
 Thanks in advance,
 Silver

It seems that the problem was in MySQL. Restarting mysql made it possible to 
start bacula-dir.

Silver

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


[Bacula-users] ARCvault 24 Library / NEC T40A Tape Library

2006-08-08 Thread Ralf Gross
Hi,

has anyone experiences with these LTO-3 libraries?

Overland ARCvault 24 Library
http://www.overlandstorage.com/german/products/arcvault24.html

NEC T40A Tape Library
http://www.sw.nec.co.jp/products/storage/english/ll040f/index.html

The Overland is pretty new but I guess that both will work fine with
bacula. I'm also interested in the 'handling' and quality of these libs.

Ralf


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


[Bacula-users] split configuration files

2006-08-08 Thread Marco Strullato
hi, I'd like to split configuration file of director into smaller
pieces. To do it I want to include other smaller conf file...

Can you suggest me the correct syntax? I've made some tests but It was faulty.

Thanks


marco

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


Re: [Bacula-users] split configuration files

2006-08-08 Thread Marco Strullato
Ok, thanks... maybe the error I got was into the configuration files I
had included


08-Aug 15:49 bacula-dir: ERROR TERMINATION at parse_conf.c:363
Config error: Illegal character 
 in name.
: line 16, col 14 of file /opt/bacula/etc/engi4587
  JobDefs  = BackupWin
Problem probably begins at line 15.


Any included files must be as a stand-alone configuration files? I
need to write in all directive I use with the main files?



2006/8/8, Don MacArthur [EMAIL PROTECTED]:
 @name-of-file-to-insert

 On Tue, 2006-08-08 at 15:46 +0200, Marco Strullato wrote:
  hi, I'd like to split configuration file of director into smaller
  pieces. To do it I want to include other smaller conf file...
 
  Can you suggest me the correct syntax? I've made some tests but It was 
  faulty.
 
  Thanks
 
 
  marco
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users


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


Re: [Bacula-users] split configuration files

2006-08-08 Thread John Drescher
On 8/8/06, Marco Strullato [EMAIL PROTECTED] wrote:
 hi, I'd like to split configuration file of director into smaller
 pieces. To do it I want to include other smaller conf file...

 Can you suggest me the correct syntax? I've made some tests but It was faulty.

Here is the start of my bacula-dir.conf file:
  GNU nano 1.3.9File: bacula-dir.conf

#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.37.30 (14 July 2005) -- gentoo 1.6.13
#
#  You might also want to change the default email address
#   from root to your address.  See the mail and operator
#   directives in the Messages resource.
#

Director {# define myself
  Name = jmd0-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /var/lib/bacula/query.sql
  WorkingDirectory = /var/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 1
 Password = XDELETEDX # Console password
  Messages = Daemon
}

@/etc/bacula/bacula-dir-filesets.conf
@/etc/bacula/bacula-dir-jobdefs.conf
@/etc/bacula/bacula-dir-jobs.conf
@/etc/bacula/bacula-dir-schedule.conf
@/etc/bacula/bacula-dir-clients.conf
@/etc/bacula/bacula-dir-storage.conf

John

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


[Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread Marco Strullato
hi all,
do you know why I get Filesystem change prohibited when I run bacula?


08-Aug 16:40 DirectorServer: Start Backup JobId 95,
Job=BackupShannon.2006-08-08_16.39.58
08-Aug 16:40 StorageServer: Volume centroservizi previously written,
moving to end of data.
Shannon:  Filesystem change prohibited. Will not descend into /sys
Shannon:  Filesystem change prohibited. Will not descend into /boot
Shannon:  Filesystem change prohibited. Will not descend into /statistiche
Shannon:  Filesystem change prohibited. Will not descend into /package
Shannon:  Filesystem change prohibited. Will not descend into /dev
Shannon:  Filesystem change prohibited. Will not descend into /mnt/backup


definitions are:
Job {
  Name = BackupShannon
  Client   = Shannon
  JobDefs  = BackupLinux
  Level= Full
  Storage  = StorageServer
  FileSet  = LinuxFileSet
  Schedule = WeeklyCycle
  Priority = 10
  Type = Backup
  Messages = Standard
}
Job {
  Name = RestoreShannon
  Type = Restore
  Client   = Shannon
  FileSet  = LinuxFileSet
  Storage  = StorageServer
  Pool = BackupPool
  Messages = Standard
  Where= /tmp/bacula-restores
}
JobDefs {
 Name = BackupLinux
 Type = Backup
 Storage  = StorageServer
 Level= Incremental
 Schedule = WeeklyCycle
 Messages = Standard
 Pool = BackupPool
 Priority = 10
}
FileSet {
  Name = LinuxFileSet
  Include {
Options {
  signature = MD5
  compression = GZIP
}
File = /
  }
  Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
  }
}
Client {
  Name = Shannon
  Address  = shannon
  FDPort   = 9102
  Catalog  = MyCatalog
  Password = password
}

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


Re: [Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marco Strullato wrote:
 hi all,
 do you know why I get Filesystem change prohibited when I run bacula?


 08-Aug 16:40 DirectorServer: Start Backup JobId 95,
 Job=BackupShannon.2006-08-08_16.39.58
 08-Aug 16:40 StorageServer: Volume centroservizi previously written,
 moving to end of data.
 Shannon:  Filesystem change prohibited. Will not descend into /sys
 Shannon:  Filesystem change prohibited. Will not descend into /boot
 Shannon:  Filesystem change prohibited. Will not descend into /statistiche
 Shannon:  Filesystem change prohibited. Will not descend into /package
 Shannon:  Filesystem change prohibited. Will not descend into /dev
 Shannon:  Filesystem change prohibited. Will not descend into /mnt/backup

Those are mounted filesystems. Bacula will not descend into mounted
filesystems unless you specifically tell it to. (This is safer as there
might be data mounted over the network, or virtual filesystems that you
don't want the backup to grab.)

You either have to manually specify all mount points to back up to make
it descend into them, or use the onefs option in the FileSet (again, be
careful not to accidentally include something you don't want backed up).

Greetings,
Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32) - GPGrelay v0.959

iD8DBQFE2KWx2Vs+MkscAyURAixLAKDGfE5Erf1UPFApPwDdAkJ4hs/AIQCfZ2KC
QFkt3B3HuhLIzAWiELj+HpQ=
=XVc0
-END PGP SIGNATURE-

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


Re: [Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread Bill Moran
In response to Marco Strullato [EMAIL PROTECTED]:

 hi all,
 do you know why I get Filesystem change prohibited when I run bacula?
 
 
 08-Aug 16:40 DirectorServer: Start Backup JobId 95,
 Job=BackupShannon.2006-08-08_16.39.58
 08-Aug 16:40 StorageServer: Volume centroservizi previously written,
 moving to end of data.
 Shannon:  Filesystem change prohibited. Will not descend into /sys

[snip]

Look up onefs in the online manual.

-- 
Bill Moran
Collaborative Fusion Inc.

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


Re: [Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread R.I. Pienaar
From the bacula manual:

onefs=yes|no
If set to yes (the default), Bacula will remain on a single file
system. That is it will not backup file systems that are mounted on a
subdirectory. If you are using a *nix system, you may not even be
aware that there are several different filesystems as they are often
automatically mounted by the OS (e.g. /dev, /net, /sys, /proc, ...).
With Bacula 1.38.0 or later, it will inform you when it decides not to
traverse into another filesystem. This can be very useful if you
forgot to backup a particular partition. An example of the
informational message in the job report is:

so add to your FileSet's onefs=no

On 08/08/06, Marco Strullato [EMAIL PROTECTED] wrote:
 hi all,
 do you know why I get Filesystem change prohibited when I run bacula?


 08-Aug 16:40 DirectorServer: Start Backup JobId 95,
 Job=BackupShannon.2006-08-08_16.39.58
 08-Aug 16:40 StorageServer: Volume centroservizi previously written,
 moving to end of data.
 Shannon:  Filesystem change prohibited. Will not descend into /sys
 Shannon:  Filesystem change prohibited. Will not descend into /boot
 Shannon:  Filesystem change prohibited. Will not descend into /statistiche
 Shannon:  Filesystem change prohibited. Will not descend into /package
 Shannon:  Filesystem change prohibited. Will not descend into /dev
 Shannon:  Filesystem change prohibited. Will not descend into /mnt/backup


 definitions are:
 Job {
   Name = BackupShannon
   Client   = Shannon
   JobDefs  = BackupLinux
   Level= Full
   Storage  = StorageServer
   FileSet  = LinuxFileSet
   Schedule = WeeklyCycle
   Priority = 10
   Type = Backup
   Messages = Standard
 }
 Job {
   Name = RestoreShannon
   Type = Restore
   Client   = Shannon
   FileSet  = LinuxFileSet
   Storage  = StorageServer
   Pool = BackupPool
   Messages = Standard
   Where= /tmp/bacula-restores
 }
 JobDefs {
  Name = BackupLinux
  Type = Backup
  Storage  = StorageServer
  Level= Incremental
  Schedule = WeeklyCycle
  Messages = Standard
  Pool = BackupPool
  Priority = 10
 }
 FileSet {
   Name = LinuxFileSet
   Include {
 Options {
   signature = MD5
   compression = GZIP
 }
 File = /
   }
   Exclude {
 File = /proc
 File = /tmp
 File = /.journal
 File = /.fsck
   }
 }
 Client {
   Name = Shannon
   Address  = shannon
   FDPort   = 9102
   Catalog  = MyCatalog
   Password = password
 }

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



-- 
R.I.Pienaar http://www.devco.net

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


[Bacula-users] FileList scripting help

2006-08-08 Thread Davis, Jacob
Hello,

I'm attempting to create a file list using an external script as
described in the following section of the manual: 
quote
# Any name beginning with a vertical bar (|) is assumed to be the name
of a program. This program will be executed on the Director's machine at
the time the Job starts (not when the Director reads the configuration
file), and any output from that program will be assumed to be a list of
files or directories, one per line, to be included.
--end quote--

My get_newest_file.py script accepts a path argument and returns the
name of the youngest file contained within the specified path. On the
command line it works like this:

$ get_newest_file.py /usr/local/backups/
/usr/local/backups/newfile.tar

My Bacula FileSet looks like this:

FileSet {
  Name = Latest File
  Include {
Options { signature = MD5 }
File = '|get_newest_file.py /usr/local/backups/'
  }
}

However, when the job runs I get the following error:

 Could not stat '|get_newest_file.py /usr/local/backups/': ERR=No such
file or directory

I've confirmed that the script is in the path for the bacula user and
the user has read/write permissions on the files in question. I'm
guessing this is a simple syntax error on my part but I'm not sure what
the problem is.

Cheers,
-Jake

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


Re: [Bacula-users] split configuration files

2006-08-08 Thread Fritz
 08-Aug 15:49 bacula-dir: ERROR TERMINATION at parse_conf.c:363
 Config error: Illegal character 
  in name.

 : line 16, col 14 of file /opt/bacula/etc/engi4587

   JobDefs  = BackupWin
 Problem probably begins at line 15.
seems so

 Any included files must be as a stand-alone configuration files? I
 need to write in all directive I use with the main files?

can use any format you like really anything starting with @/path/to/include 
gets replaced with the file you specify.

example in your baculda-dir you could specify 
@/etc/bacula/jobs/job1
@/etc/bacula/jobs/job2
@/etc/bacula/jobs/job3
@/etc/bacula/schedules/schedule1
@/etc/bacula/schedules/schedule2
@/etc/bacula/filesets/fileset1
@/etc/bacula/filesets/fileset2
@/etc/bacula/filesets/fileset3

etc and just put the definitions in each file

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


Re: [Bacula-users] split configuration files

2006-08-08 Thread Marco Strullato
do you suggest to split into clients or into definitions?
I mean I'm creating a include file which contains all info to backup a
client
but I could write a include file to contain the whole jobs or the
whole fileset..
is it right? I thinks it's as sys administrator likes.

marco

2006/8/8, Fritz [EMAIL PROTECTED]:
  08-Aug 15:49 bacula-dir: ERROR TERMINATION at parse_conf.c:363
  Config error: Illegal character 
   in name.
 
  : line 16, col 14 of file /opt/bacula/etc/engi4587
 
JobDefs  = BackupWin
  Problem probably begins at line 15.
 seems so

  Any included files must be as a stand-alone configuration files? I
  need to write in all directive I use with the main files?

 can use any format you like really anything starting with @/path/to/include
 gets replaced with the file you specify.

 example in your baculda-dir you could specify
 @/etc/bacula/jobs/job1
 @/etc/bacula/jobs/job2
 @/etc/bacula/jobs/job3
 @/etc/bacula/schedules/schedule1
 @/etc/bacula/schedules/schedule2
 @/etc/bacula/filesets/fileset1
 @/etc/bacula/filesets/fileset2
 @/etc/bacula/filesets/fileset3

 etc and just put the definitions in each file

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


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


Re: [Bacula-users] split configuration files

2006-08-08 Thread Fritz
On Tuesday 08 August 2006 17:29, Marco Strullato wrote:
 do you suggest to split into clients or into definitions?
 I mean I'm creating a include file which contains all info to backup a
 client
 but I could write a include file to contain the whole jobs or the
 whole fileset..
 is it right? I thinks it's as sys administrator likes.

pretty much yeah, i've spread every definition types in different files. 
clients have their file as do jobs, jobdefs, etc. you can also split em out 
in job1,job2,job3 files. matter of preference i'd say.

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


[Bacula-users] to Backup C drive in windows

2006-08-08 Thread steven potvin
hi i want to backup c drive and other partitions in windows , what should i put in the bacula-dir.conf to back up the c d and e drives.also on the linux machine i have raid 1 with two disks, i want to backup all the partions too what should i put. i know that when \ is placed it backs up the root home directory  Thank youSteven   Canada 
	
		See the all-new, redesigned Yahoo.com.  Check it out.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread Alan Brown
On Tue, 8 Aug 2006, Michel Meyers wrote:

 Those are mounted filesystems. Bacula will not descend into mounted
 filesystems unless you specifically tell it to.

Unfortunately it also doesn't backup the mountpoint as a directory, which 
makes restoration a bit messy at times.

AB


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


[Bacula-users] getting both error and success messages while testing tape with btape

2006-08-08 Thread Jaime Ventura
Hello,
I'v recently purchased an auto charger.
Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM
   'till now I was using disk storage for my backups, and i would like 
bacula to use it.
I ran the fill command on btape.
The fowllowing are the last lines of the execution of the command.
As you can seen, the execution end with a The last block on the tape 
matches. Test succeeded..
But before that line there is an error detected The last block on the tape 
matches. Test succeeded. and rigth after ioctl MTWEOF error on IBM Ultrium 
3 (/dev/nst0). 
ERR=Input/output error.
Should I be worried?
 Thanks in advance,


Wrote blk_block=657, dev_blk_num=1 VolBytes=423,584,690,368 
rate=58104.9 KB/s
Wrote blk_block=6575000, dev_blk_num=15000 VolBytes=423,907,250,312 
rate=58117.3 KB/s
Wrote blk_block=658, dev_blk_num=4500 VolBytes=424,229,810,256 
rate=58105.7 KB/s
08-Aug 17:25 btape: End of Volume TestVolume1 at 616:6986 on device 
IBM Ultrium 3 (/dev/nst0). Write of 64512 bytes got -1.
08-Aug 17:25 btape: btape Error: Error writing final EOF to tape. This 
Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on IBM Ultrium 3 (/dev/nst0). 
ERR=Input/output error.
btape: btape.c:2301 Last block at: 616:6985 this_dev_block_num=6986
btape: btape.c:2335 End of tape 616:6986. 
VolumeCapacity=424,390,187,064. Write rate = 58111.8 KB/s
Done writing ...
Wrote state file last_block_num1=6985 last_block_num2=0


17:25:16 Done filling tape at 616:6986. Now beginning re-read of tape ...
Rewinding.
Reading the first 1 records from 0:0.
1 records read now at 1:5084
Reposition from 1:5084 to 616:6985
Reading block 6985.

The last block on the tape matches. Test succeeded.
-- 



 


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

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

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






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


[Bacula-users] bacula-web for FreeBSD

2006-08-08 Thread Dan Langille
There is now a bacula-web entry in the FreeBSD ports tree:

   http://www.freshports.org/www/bacula-web/

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



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


Re: [Bacula-users] bacula-web for FreeBSD

2006-08-08 Thread Bill Moran
In response to Dan Langille [EMAIL PROTECTED]:

 There is now a bacula-web entry in the FreeBSD ports tree:
 
http://www.freshports.org/www/bacula-web/

Outstanding!  Thanks, Dan!

-- 
Bill Moran
Collaborative Fusion Inc.


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


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


Re: [Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread Martin Simmons
 On Tue, 8 Aug 2006 17:13:22 +0100 (BST), Alan Brown said:
 
 On Tue, 8 Aug 2006, Michel Meyers wrote:
 
  Those are mounted filesystems. Bacula will not descend into mounted
  filesystems unless you specifically tell it to.
 
 Unfortunately it also doesn't backup the mountpoint as a directory, which 
 makes restoration a bit messy at times.

Is that still true?  I thought it had been fixed long ago.

__Martin

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


Re: [Bacula-users] Bacula doesn't backup to remote storage

2006-08-08 Thread Erich Prinz
For a start, add the 'heartbeat' directive to keep the connection  
alive on the FD. This is done in the FD .conf file.

 From the Bacula manual:
Heartbeat Interval = time-interval
This record defines an interval of time. For each heartbeat that the  
File daemon receives from the
Storage daemon, it will forward it to the Director. In addition, if no
heartbeat has been received from the Storage daemon and thus for-
warded the File daemon will send a heartbeat signal to the Director
and to the Storage daemon to keep the channels active. The default
interval is zero which disables the heartbeat. This feature is partic-
ularly useful if you have a router such as 3Com that does not follow
Internet standards and times out a valid connection after a short du-
ration despite the fact that keepalive is set.

Erich


On Aug 8, 2006, at 3:48 AM, victoria wrote:

 Hello to everyone!

 I have following situation on my backup servers. First, my backup
 structure is like this:
 Backup server and Storage server with MySQL database.
 Backup director configuration on backup server looks following:
 Director {
Name = backup-dir
DIRport = 9101
QueryFile = /opt/bacula/scripts/query.sql
WorkingDirectory = /var/bacula/working
PidDirectory = /var/run
Password = password
Maximum Concurrent Jobs = 10
Messages = Standard
FD Connect Timeout = 1
 }
 As you can see, i am using concurrent jobs.
 And SD daemon on storage server.
 When i'm trying backup something i got file on storage server:
 [EMAIL PROTECTED] du -h /baculabk/robber0001
 2.0G/baculabk/robber0001
 But backup message is:
 07-Aug 21:15 backup-dir: No prior Full backup Job record found.
 07-Aug 21:15 backup-dir: No prior or suitable Full backup found. Doing
 FULL backup.
 07-Aug 21:15 backup-dir: Start Backup JobId 18,
 Job=robber.2006-08-07_21.05.16
 07-Aug 21:15 backup-dir: Created new Volume robber0001 in catalog.
 07-Aug 17:53 backup-sd: Labeled new Volume robber0001 on device
 robber (/baculabk).
 07-Aug 17:53 backup-sd: Wrote label to prelabeled Volume  
 robber0001 on
 device robber (/baculabk)
 07-Aug 17:53 backup-sd: Spooling data ...
 07-Aug 20:31 backup-sd: Committing spooled data to Volume  
 robber0001.
 Despooling 2,104,893,735 bytes ...
 07-Aug 20:33 backup-sd: Sending spooled attrs to the Director.
 Despooling 108,212,728 bytes ...
 08-Aug 01:15 backup-dir: robber.2006-08-07_21.05.16 Fatal error:  
 Network
 error with FD during Backup: ERR=Connection reset by peer
 08-Aug 01:15 backup-dir: robber.2006-08-07_21.05.16 Fatal error: No  
 Job
 status returned from FD.
 08-Aug 01:15 backup-dir: robber.2006-08-07_21.05.16 Error: Bacula  
 1.38.5
 (18Jan06): 08-Aug-2006 01:15:58
   JobId:  18
   Job:robber.2006-08-07_21.05.16
   Backup Level:   Full (upgraded from Incremental)
   Client: robber-fd sparc-sun-solaris2.8,solaris,5.8
   FileSet:robber 2006-08-07 21:15:40
   Pool:   robber
   Storage:robber
   Scheduled time: 07-Aug-2006 21:05:15
   Start time: 07-Aug-2006 21:15:40
   End time:   08-Aug-2006 01:15:58
   Priority:   10
   FD Files Written:   0
   SD Files Written:   345,527
   FD Bytes Written:   0
   SD Bytes Written:   2,095,004,109
   Rate:   0.0 KB/s
   Software Compression:   None
   Volume name(s): robber0001
   Volume Session Id:  16
   Volume Session Time:1154961001
   Last Volume Bytes:  2,104,502,272
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  Error
   SD termination status:  OK
   Termination:*** Backup Error ***

 I can't restore nothing from this file.
 Why it sends reset by peer? Please point me what is wrong.


 Best Regards,
 Victoria



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



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

Re: [Bacula-users] Jobs dont cancel

2006-08-08 Thread Bill Moran
In response to Matt Cowger [EMAIL PROTECTED]:

 Hi,
 
 I'm having trouble understanding an issue I'm having with canceling  
 jobs in bacula.  I had a job last night that was having a problem  
 with teh client server (unrelated to bacula), so I  cancelled the job  
 on the Director.  The problem is that it never went into a terminated  
 state, so the jobs behind it never ran.  I let it site there for an  
 hour, and it never changed from 'JobId 55 is cancelled'.  The storage  
 server also decided that it had not been properly cancelled (perhaps  
 these are related).
 
 How do I cancel an in progress backup without this happening?

Since nobody else has answered ...

First, sometimes it takes a while.  How long did you wait for the job
to cancel?

Second, sometimes I've had to use delete to remove a job after it
was cancelled.  I wouldn't have thought this would be necessary, but
sometimes it's the only way I can figure out to clear the job out.

If all else fails, I shut down the director and run dbcheck in fix mode.
It seems to find orphaned job records and once it cleans those up I
restart the director and all is well.

-- 
Bill Moran
Collaborative Fusion Inc.

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


Re: [Bacula-users] Jobs dont cancel

2006-08-08 Thread Matt Cowger

On Aug 8, 2006, at 12:21 PM, Bill Moran wrote:

 Since nobody else has answered ...

 First, sometimes it takes a while.  How long did you wait for the job
 to cancel?

Over an hour.  Longer than that?

 Second, sometimes I've had to use delete to remove a job after it
 was cancelled.  I wouldn't have thought this would be necessary, but
 sometimes it's the only way I can figure out to clear the job out.

Hrmm, I will give that a try next time it happens.


 If all else fails, I shut down the director and run dbcheck in fix  
 mode.
 It seems to find orphaned job records and once it cleans those up I
 restart the director and all is well.

Yeah, the problem with this is that it means all my other backups  
dont run while they wait on this failed one.  Kinda sucks.




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


Re: [Bacula-users] split configuration files

2006-08-08 Thread Jeff Dickens
I split it out by client.  I have a template file per-client for 
bacula-dir.conf and bacula-sd.conf  (need a device per client since this 
is a disk-only setup so far).

Life would be easier if there were a default directive corresponding 
to every other directive, as jobdefs is to job.



Fritz wrote:
 On Tuesday 08 August 2006 17:29, Marco Strullato wrote:
   
 do you suggest to split into clients or into definitions?
 I mean I'm creating a include file which contains all info to backup a
 client
 but I could write a include file to contain the whole jobs or the
 whole fileset..
 is it right? I thinks it's as sys administrator likes.
 

 pretty much yeah, i've spread every definition types in different files. 
 clients have their file as do jobs, jobdefs, etc. you can also split em out 
 in job1,job2,job3 files. matter of preference i'd say.

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


   

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


Re: [Bacula-users] Filesystem change prohibited. why?

2006-08-08 Thread Timo Neuvonen
 Marco Strullato wrote:
  hi all,
  do you know why I get Filesystem change prohibited when I run bacula?
 
 
  08-Aug 16:40 DirectorServer: Start Backup JobId 95,
  Job=BackupShannon.2006-08-08_16.39.58
  08-Aug 16:40 StorageServer: Volume centroservizi previously written,
  moving to end of data.
  Shannon:  Filesystem change prohibited. Will not descend into /sys
  Shannon:  Filesystem change prohibited. Will not descend into /boot
  Shannon:  Filesystem change prohibited. Will not descend into
/statistiche
  Shannon:  Filesystem change prohibited. Will not descend into
/package
  Shannon:  Filesystem change prohibited. Will not descend into /dev
  Shannon:  Filesystem change prohibited. Will not descend into
/mnt/backup

 Those are mounted filesystems. Bacula will not descend into mounted
 filesystems unless you specifically tell it to. (This is safer as there
 might be data mounted over the network, or virtual filesystems that you
 don't want the backup to grab.)

 You either have to manually specify all mount points to back up to make
 it descend into them, or use the onefs option in the FileSet (again, be


It's worth noting, that the messages above don't necessarily mean that the
filesystem mentioned wouln't be backed up at all.

The message is generated, when a mounted filesystem is met, but the
filesystem may be backed up anyway if it is specifically included in the
fileset configuration. The message just means, that the mounted filesystem
isn't backed up as a part of the parent directory's backup.
Personally, I find this a little bit annoying.


Regards,
Timo



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


[Bacula-users] Bacula Issues

2006-08-08 Thread Stephen Kennedy
Been using Bacula for a few years now and have always been experiencing the same problems. I am using 1.38.1.1) Tape ErrorWhy does a tape get the Error status when there is a database problem? So what if the database died, the tape is still good and should still be usable for the next job.2) Failure to recognize tapeThe tape is loaded in the drive, but the console is reporting that a job is waiting for a mount request instead of just proceeding to use the tape. I issue the mount command which results in a message asking me to mount the volume. Huh? Thought I just did that. I issue the unmount command which places the tape back in the loader and then I use the mtx command to load the same tape back into the drive. After verifying with mt and
 btape can use the tape and read the label I then issue the mount command again. Sometimes the tape is recognized, other times I have to erase the tape and start over. The tapes are also in variable mode.I have experienced both of these problems with different versions of Bacula as well as different tape devices including LTO-2 and VXA-2 devices with autochangers. I have also tried different hardware platforms from 32-bit single CPU systems to 64-bit 8-CPU systems. As I said, I have been using this software for a few years now, but my latest implementation is running for a Fortune 500 client and they are thinking about getting rid of the system for some commercial solution :(If anybody else has run in to these issues and done something to prevent them from occurring, then please let me know.Thanks.-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] update slots error--No slots in changer to scan

2006-08-08 Thread mark . bergman

I've got bacula 1.38.9 (under Linux, with the director and sd daemons running on
the same server) using a Dell LTO2 24 slot autochanger. It's been working fairly
well--the most frequent problem being that bacula doesn't use both tape drives
in the autochanger concurrently. However,  now bacula has decided that the
autochanger has zero slots.

Today I removed and replaced 12 tapes, in anticipation that tonight's backup
would need more media.

I removed the tapes by issuing mtx commands to transfer the tapes to the
import/export slot, and loaded new tapes the same way.

Now, I cannot get bacula to run update slots (or label barcodes) in order to
update it's idea of what tapes are in the changer.

A backup is running now, at ~1.6TB of 2TB, so I don't want to restart bacula-sd
and loose that backup.

Without refreshing the list of what tapes are loaded, I expect a fatal error
and subsequent backups to fail as soon as bacula tries to access a tape that's
no longer there, or thinks that there are no tapes in the append state in the
changer, when I've just loaded 12 tapes.

This is _not_ a permissions problem, as the bacula user can run both /usr/sbin/
mtx and /usr/local/bacula/bin/mtx-changer successfully from the shell to load
tapes or report on the status of the changer.

Here are some examples

 
---
[EMAIL PROTECTED] bin]$ ./mtx-changer /dev/changer slots
24
[EMAIL PROTECTED] bin]$ /usr/sbin/mtx -f /dev/changer status
  Storage Changer /dev/changer:2 Drives, 24 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 18 Loaded):VolumeTag = 77 
  
Data Transfer Element 1:Empty
  Storage Element 1:Full :VolumeTag=02
  Storage Element 2:Full :VolumeTag=04
  Storage Element 3:Full :VolumeTag=05
  Storage Element 4:Full :VolumeTag=06
  Storage Element 5:Full :VolumeTag=19
  Storage Element 6:Full :VolumeTag=73
  Storage Element 7:Full :VolumeTag=07
  Storage Element 8:Full :VolumeTag=30
  Storage Element 9:Full :VolumeTag=09
  Storage Element 10:Full :VolumeTag=11
  Storage Element 11:Full :VolumeTag=12
  Storage Element 12:Full :VolumeTag=51
  Storage Element 13:Full :VolumeTag=52
  Storage Element 14:Full :VolumeTag=59
  Storage Element 15:Full :VolumeTag=60
  Storage Element 16:Full :VolumeTag=42
  Storage Element 17:Full :VolumeTag=76
  Storage Element 18:Empty:VolumeTag=
  Storage Element 19:Full :VolumeTag=78
  Storage Element 20:Full :VolumeTag=79
  Storage Element 21:Full :VolumeTag=80
  Storage Element 22:Full :VolumeTag=61
  Storage Element 23:Full :VolumeTag=38
  Storage Element 24 IMPORT/EXPORT:Empty:VolumeTag=

[EMAIL PROTECTED] bin]$ ./bconsole -c ../etc/bconsole.conf
Connecting to Director parthenon:9101
1000 OK: parthenon-dir Version: 1.38.9 (02 May 2006)
Enter a period to cancel a command.
*update slots
Using default Catalog name=MyCatalog DB=bacula
Automatically selected Storage: pv132t
Connecting to Storage daemon pv132t at parthenon:9103 ...
3937 Device Drive-0 (/dev/tape0) is busy with 1 writer(s).
Enter autochanger drive[0]: 1
Connecting to Storage daemon pv132t at parthenon:9103 ...
3937 Device Drive-0 (/dev/tape0) is busy with 1 writer(s).
Device pv132t has 0 slots.
No slots in changer to scan.
*quit
---


Here's my bacula-sd.conf:

---

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

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = parthenon-dir
Password = 
}


#
# An autochanger device with two drives
#
Autochanger {
  Name = pv132t
  Device = Drive-0
  Device = Drive-1
  Changer Command = /usr/local/bacula/bin/mtx-changer %c %o %S %a %d
  Changer Device = /dev/changer
}

Device {
  Name = Drive-0  #
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Drive Index = 0
  Media Type = LTO2
  Archive Device = /dev/tape0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  Maximum Spool Size = 80G  # For network client
  Maximum Network Buffer Size = 65536
  Spool Directory = /san3/var/spool/bacula
  Autoselect = yes
}

Device {
  Name = Drive-1  #
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Drive Index = 1