[Bacula-users] unable to label a tape

2010-11-01 Thread Rene Arnhold
Hi
At the Moment i try to configure a Bacula Backup Server.
When I label a tape with the bconsole i get the following error.:
3999 Device /dev/tape/by-id/scsi-3500e09e0001af92f-nst not found or
could not be opened
I have searched but not found a solution for my problem.
I have done a btape fill command succsesfully.
The Tape I using is allready labeled with Legato Networker but I have
done mt rewind and mt weof.

Can anybody give me some hints about this error?
Thanks!

Here are the interesting infos:

Linux Distribution: OpenSuse 11.3
###
linux-28m5:/opt/bacula/bacula_base/sbin # ps fuax |grep bacula
root 25640  0.0  0.0   9728   840 pts/3S+   09:52   0:00 
|   \_ grep bacula
root 24317  0.0  0.0  59532  1908 ?Ssl  Oct28   0:00
/opt/bacula/bacula_base//sbin/bacula-sd -v -c
/opt/bacula/bacula_base//etc/bacula-sd.conf
root 24327  0.0  0.0 133516  2044 ?Ssl  Oct28   0:00
/opt/bacula/bacula_base//sbin/bacula-fd -v -c
/opt/bacula/bacula_base//etc/bacula-fd.conf
root 24335  0.0  0.0  82016  2904 ?Ssl  Oct28   0:00
/opt/bacula/bacula_base//sbin/bacula-dir -v -c
/opt/bacula/bacula_base//etc/bacula-dir.conf
###

bacula-dir.conf:
###
Storage
{
 Name = sdlt1600
 Address = 127.0.0.1 # Yes bad decision to use localhost but its for
testing only.
 SDPort = 9103
 Password = PASSWORD
 Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
 Media Type = DLT-S4
 Autochanger = no
}
###

bacula-sd.conf:
###
Device
{
 Name = sdlt1600
 Media Type = DLT-S4
 Archive Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
 RemovableMedia = yes
 RandomAccess = no
 Always Open = no
 Requires Mount = no
}
###

-- 
Mit freundlichen Grüßen
Rene Arnhold

Tel.: 03641 49 5513
OpenPGP auf hkp://blackhole.pca.dfn.de:11371



 Information from NOD32 
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Installation and initial setup success, everything else fails

2010-11-01 Thread Paulo J. Matos

Hi, 

I installed bacula 5.0.2 using the mysql backend on ubuntu 10.10 using the
ubuntu repositories.

Everything went well. The databases were correctly setup. Testing shows
no problems:
,
| pma...@mietzekatze:~$ sudo bacula-dir -t -c /etc/bacula/bacula-dir.conf
| pma...@mietzekatze:~$ sudo bacula-fd -t -c /etc/bacula/bacula-fd.conf
| pma...@mietzekatze:~$ sudo bacula-sd -t -c /etc/bacula/bacula-sd.conf
`

Running bat fails with the error  , and then aborts with a Segmentation Fault.
,
| bat: ABORTING due to ERROR in console/console.cpp:155
| Failed to connect to localhost-dir for populateLists
`

On the command line:
,
| pma...@mietzekatze:~$ sudo bat
| Segmentation fault
`

bconsole gives me no change to do anything:
,
| pma...@mietzekatze:~$ sudo bconsole
| Connecting to Director localhost:9101
| pma...@mietzekatze:~$
`

Any tips on what I can do to fix this or to understand what's going
wrong?

Cheers,

-- 
PMatos


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unable to label a tape

2010-11-01 Thread Francisco Javier Funes Nieto
Why don't  you  use the classic /dev/nst0 device format in the Device section?

J.



2010/11/1 Rene Arnhold rene.arnh...@jena.de:
 Hi
 At the Moment i try to configure a Bacula Backup Server.
 When I label a tape with the bconsole i get the following error.:
 3999 Device /dev/tape/by-id/scsi-3500e09e0001af92f-nst not found or
 could not be opened
 I have searched but not found a solution for my problem.
 I have done a btape fill command succsesfully.
 The Tape I using is allready labeled with Legato Networker but I have
 done mt rewind and mt weof.

 Can anybody give me some hints about this error?
 Thanks!

 Here are the interesting infos:

 Linux Distribution: OpenSuse 11.3
 ###
 linux-28m5:/opt/bacula/bacula_base/sbin # ps fuax |grep bacula
 root     25640  0.0  0.0   9728   840 pts/3    S+   09:52   0:00
 |       \_ grep bacula
 root     24317  0.0  0.0  59532  1908 ?        Ssl  Oct28   0:00
 /opt/bacula/bacula_base//sbin/bacula-sd -v -c
 /opt/bacula/bacula_base//etc/bacula-sd.conf
 root     24327  0.0  0.0 133516  2044 ?        Ssl  Oct28   0:00
 /opt/bacula/bacula_base//sbin/bacula-fd -v -c
 /opt/bacula/bacula_base//etc/bacula-fd.conf
 root     24335  0.0  0.0  82016  2904 ?        Ssl  Oct28   0:00
 /opt/bacula/bacula_base//sbin/bacula-dir -v -c
 /opt/bacula/bacula_base//etc/bacula-dir.conf
 ###

 bacula-dir.conf:
 ###
 Storage
 {
  Name = sdlt1600
  Address = 127.0.0.1 # Yes bad decision to use localhost but its for
 testing only.
  SDPort = 9103
  Password = PASSWORD
  Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
  Media Type = DLT-S4
  Autochanger = no
 }
 ###

 bacula-sd.conf:
 ###
 Device
 {
  Name = sdlt1600
  Media Type = DLT-S4
  Archive Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
  RemovableMedia = yes
  RandomAccess = no
  Always Open = no
  Requires Mount = no
 }
 ###

 --
 Mit freundlichen Grüßen
 Rene Arnhold

 Tel.: 03641 49 5513
 OpenPGP auf hkp://blackhole.pca.dfn.de:11371



  Information from NOD32 
 This message was checked by NOD32 Antivirus System for Linux Mail Server.
 http://www.nod32.com

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




-- 
_

Francisco Javier Funes Nieto [esen...@gmail.com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unable to label a tape

2010-11-01 Thread Arnhold
Thanks for response.

Because the the link /dev/tape/by-id/scsi-3500e09e0001af92f-nst is static.
When you change something in yout SCSI configuration the devicefile /dev/nstX 
could be changed and you have to change your config. The symlinks /dev/tape/by* 
(or /dev/disk/by-* for hard drives) are generated dynamyc.

ps: I have tried /dev/nst0 but it shows the same error.


ls -lsa /dev/tape/by-id/scsi-3500e09e0001af92f-nst 
0 lrwxrwxrwx 1 root root 10 25. Okt 14#58;24 
/dev/tape/by-id/scsi-3500e09e0001af92f-nst - ../../nst0


+--
|This was sent by rene.arnh...@jena.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Will not descend from / into /dev

2010-11-01 Thread eliassal
Hi, I am running a job to backup all my system in order to preapre a full 
backup for disaster recovery.
In the job log, I see the following

Using Device FileStorage
2010-11-01 10:49:46 bacula-sd Labeled new Volume DRLocal0016 on device 
FileStorage (/media/Backup).
  Wrote label to prelabeled Volume 
DRLocal0016 on device FileStorage (/media/Backup)
2010-11-01 10:49:46 bacula-fd /mnt/publiciomega1 is a different filesystem. 
Will not descend from / into /mnt/publiciomega1
2010-11-01 10:49:52 bacula-fd  /proc is a different filesystem. Will not 
descend from / into /proc
2010-11-01 10:54:32 bacula-fd  Could not stat /home/salam/.gvfs: 
ERR=Permission denied
2010-11-01 10:57:04 bacula-fd  /var/lib/nfs/rpc_pipefs is a different 
filesystem. Will not descend from / into /var/lib/nfs/rpc_pipefs
2010-11-01 11:06:03 bacula-fd  /dev is a different filesystem. Will not 
descend from / into /dev
/media/Backup is a 
different filesystem. Will not descend from / into /media/Backup

I have both partitions in ext4 so I really can not understand why I am getting 
this message and what is its impact on my backup.

Thanks in advance

+--
|This was sent by salamli...@free.fr via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Will not descend from / into /dev

2010-11-01 Thread Phil Stracchino
On 11/01/10 07:19, eliassal wrote:
 Hi, I am running a job to backup all my system in order to preapre a full 
 backup for disaster recovery.
 In the job log, I see the following
 
 Using Device FileStorage
 2010-11-01 10:49:46 bacula-sd Labeled new Volume DRLocal0016 on device 
 FileStorage (/media/Backup).
   Wrote label to prelabeled Volume 
 DRLocal0016 on device FileStorage (/media/Backup)
 2010-11-01 10:49:46 bacula-fd /mnt/publiciomega1 is a different 
 filesystem. Will not descend from / into /mnt/publiciomega1
 2010-11-01 10:49:52 bacula-fd  /proc is a different filesystem. Will not 
 descend from / into /proc
 2010-11-01 10:54:32 bacula-fd  Could not stat /home/salam/.gvfs: 
 ERR=Permission denied
 2010-11-01 10:57:04 bacula-fd  /var/lib/nfs/rpc_pipefs is a different 
 filesystem. Will not descend from / into /var/lib/nfs/rpc_pipefs
 2010-11-01 11:06:03 bacula-fd  /dev is a different filesystem. Will not 
 descend from / into /dev
 /media/Backup is a 
 different filesystem. Will not descend from / into /media/Backup
 
 I have both partitions in ext4 so I really can not understand why I am 
 getting this message and what is its impact on my backup.

Because Bacula will not descent into mounted filesystems that it has not
been specifically told to.  This is a good thing; you do NOT want it to
descend into /proc or /sys, for example, and on modern Linux systems
where /dev is managed dynamically, you almost certainly don't want it to
descend into /dev either.  Neither do you want it to descend into, for
example, NFS or other network-mounted filesystems that are already being
backed up once from their server.

The idea is that you explicitly list each filesystem you want Bacula to
back up, then exclude the directories within those filesystems that you
do not want backed up.

You CAN change this behavior using the onefs directive; by default, this
is set to onefs=yes, which tells Bacula to remain within a single
mounted filesystem.  You CAN explicitly set onefs=no, in which case
Bacula will follow all mount points.  BE VERY CAREFUL about doing this.
 There may be unexpected consequences. On most operating systems, if you
do not have a very good specific reason to do this, it's best not to.
It's certainly not something you should be doing when you're still new
to Bacula.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] broken threading

2010-11-01 Thread Ralf Gross
Dan Langille schrieb:
 Over the past few days, I've become increasingly impatient and 
 frustrated by posts that break threading.  That is, posts that lack the 
 headers necessary for properly threading of emails.  Specifically, the 
 References: and In-Reply-To: headers are not being preserved.
 
 cases in point, the following threads:
 
 * Cannot build bacula-client 5.0.3 on FreeBSD
 * Searching for files
 * PLEASE READ BEFORE POSTING
 
 As can be found here:
 
http://marc.info/?l=bacula-usersr=1b=201010w=2
 
 Thanks for the rant.  :)


The only way to stop this would be blocking all mails from the
froum2mailinglist gateway backupcentral.com.

http://backupcentral.com/component/mailman2/

It's the same situation on the backuppc list...

Ralf

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Will not descend from / into /dev

2010-11-01 Thread Christian Manal
Am 01.11.2010 12:19, schrieb eliassal:
 Hi, I am running a job to backup all my system in order to preapre a full 
 backup for disaster recovery.
 In the job log, I see the following
 
 Using Device FileStorage
 2010-11-01 10:49:46 bacula-sd Labeled new Volume DRLocal0016 on device 
 FileStorage (/media/Backup).
   Wrote label to prelabeled Volume 
 DRLocal0016 on device FileStorage (/media/Backup)
 2010-11-01 10:49:46 bacula-fd /mnt/publiciomega1 is a different 
 filesystem. Will not descend from / into /mnt/publiciomega1
 2010-11-01 10:49:52 bacula-fd  /proc is a different filesystem. Will not 
 descend from / into /proc
 2010-11-01 10:54:32 bacula-fd  Could not stat /home/salam/.gvfs: 
 ERR=Permission denied
 2010-11-01 10:57:04 bacula-fd  /var/lib/nfs/rpc_pipefs is a different 
 filesystem. Will not descend from / into /var/lib/nfs/rpc_pipefs
 2010-11-01 11:06:03 bacula-fd  /dev is a different filesystem. Will not 
 descend from / into /dev
 /media/Backup is a 
 different filesystem. Will not descend from / into /media/Backup
 
 I have both partitions in ext4 so I really can not understand why I am 
 getting this message and what is its impact on my backup.
 
 Thanks in advance
 


Hi,

have a look at the 'onefs' keyword in the FileSet resource:

http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00187


Bacula will not backup descending filesystems until you explicitly tell
it to or add the filesystem(s) to your FileSet.


Regards,
Christian Manal

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tuning for large (millions of files) backups?

2010-11-01 Thread Henrik Johansen
'Ondrej PLANKA (Ignum profile)' wrote:
Thanks :)
Which type of MySQL storage engine are you using? MyISAM or InnoDB for
large Bacula system?
Can you please copy/paste your MySQL configuration? I mean my.cnf file

Please re-read this thread and you should find what you are looking for.

Thanks, Ondrej.


Henrik Johansen napsal(a):
 'Ondrej PLANKA (Ignum profile)' wrote:

 Hello Henrik,

 what are you using? MySQL?


 Yes - all our catalog servers run MySQL.

 I forgot to mention this in my last post - we are Bacula System
 customers and they have proved to very supportive and competent.

 If you are thinking about doing large scale backups with Bacula I can
 only encourage you to get a support subscription - it is worth every
 penny.



 Thanks, Ondrej.

 'Mingus Dew' wrote:

 Henrik,
 Have you had any problems with slow queries during backup or restore
 jobs? I'm thinking about http://bugs.bacula.org/view.php?id=1472
 specifically, and considering that the bacula.File table already has 73
 million rows in it and I haven't even successfully ran the big job
 yet.

 Not really.

 We have several 10+ million file jobs - all run without problem (backup
 and restore).

 I am aware of the fact that a lot of Bacula users run PG  ( Bacula
 Systems also does recommend PG for larger setups ) but nevertheless
 MySQL has served us very well so far.


 Just curious as a fellow Solaris deployer...

 Thanks,
 Shon

 On Fri, Oct 8, 2010 at 3:30 PM, Henrik Johansen
 hen...@scannet.dkmailto:hen...@scannet.dk 
 mailto:hen...@scannet.dk%3cmailto:hen...@scannet.dk wrote:
 'Mingus Dew' wrote:
 All,
 I am running Bacula 5.0.1 on Solaris 10 x86. I'm currently running
 MySQL 4.1.22 for the database server. I do plan on upgrading to a
 compatible version of MySQL 5, but migrating to PostgreSQL isn't an
 option at this time.

 I am trying to backup to tape a very large number of files for a
 client. While the data size is manageable at around 2TB, the number of
 files is incredibly large.
 The first of the jobs had 27 million files and initially failed because
 the batch table became Full. I changed the myisam_data_pointer size
 to a value of 6 in the config.

 This job was then able to run successfully and did not take too long.

 I have another job which has 42 million files. I'm not sure what that
 equates to in rows that need to be inserted, but I can say that I've
 not been able to successfully run the job, as it seems to hang for
 over 30 hours in a Dir inserting attributes status. This causes
 other jobs to backup in the queue and once canceled I have to restart
 Bacula.

 I'm looking for way to boost performance of MySQL or Bacula (or both)
 to get this job completed.

 You *really* need to upgrade to MySQL 5 and change to InnoDB - there is no
 way in hell that MySQL 4 + MyISAM is going to perform decent in your
 situation.
 Solaris 10 is a Tier 1 platform for MySQL so the latest versions are
 always available from http://www.mysql.com in the native pkg format so 
 there really
 is no excuse.

 We run our Bacula Catalog MySQl servers on Solaris (OpenSolaris) so
 perhaps I can give you some pointers.

 Our smallest Bacula DB is currently ~70 GB (381,230,610 rows).

 Since you are using Solaris 10 I assume that you are going to run MySQL
 off ZFS - in that case you need to adjust the ZFS recordsize for the
 filesystem that is going to hold your InnoDB datafiles to match the
 InnoDB block size.

 If you are using ZFS you should also consider getting yourself a fast
 SSD as a SLOG (or to disable the ZIL entirely if you dare) - all InnoDB
 writes to datafiles are O_SYNC and benefit *greatly* from an SSD in
 terms of write / transaction speed.

 If you have enough CPU power to spare you should try turning on
 compression for the ZFS filesystem holding the datafiles - it also can
 accelerate DB writes / reads but YMMV.

 Lastly, our InnoDB related configuration from my.cnf :

 # InnoDB options skip-innodb_doublewrite
 innodb_data_home_dir = /tank/db/
 innodb_log_group_home_dir = /tank/logs/
 innodb_support_xa = false
 innodb_file_per_table = true
 innodb_buffer_pool_size = 20G
 innodb_flush_log_at_trx_commit = 2
 innodb_log_buffer_size = 128M
 innodb_log_file_size = 512M
 innodb_log_files_in_group = 2
 innodb_max_dirty_pages_pct = 90



 Thanks,
 Shon

 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today.
 http://p.sf.net/sfu/beautyoftheweb

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.net
  
 mailto:bacula-us...@lists.sourceforge.net%3cmailto:Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


 --
 Med 

Re: [Bacula-users] Introduction and Help Needed

2010-11-01 Thread Brian Blater
On Mon, Oct 25, 2010 at 1:01 PM, Bob Hetzel b...@case.edu wrote:
 From: Brian Blater brb.li...@gmail.com

 Two things that are odd... you're including c:/documents and settings but
 then excluding c:/temp, that's just unhelpful.  My approach is a little
 different--tell it to back up c:/ and then exclude the dirs and files I
 don't want.

Yes, that is odd. It was left because initially we were thinking to
back up all of C:\, but for now we are only thinking to backup the
data and not all of the local workstations.


 So here's what I have...  works for XP, Vista, Win7:

 FileSet {
   Name = c-drive-dirs
   EnableVSS=yes
   Ignore FileSet Changes = yes
   Include {
     Options {
      @/opt/bacula/etc/bacula-filesets.inc
     }
     File = C:/
     Exclude Dir Containing = excludemefrombackup
   }
 }
 The reason to include bacula-filesets.inc is so we can do C: on some
 computers, C: and D:, C: and F: on other computers, etc similarly.

 Anyway, bacula-filesets.inc contains the following (please excuse the
 word/line wrapping that e-mail puts in):

snip

Thanks Bob for the ideas. I'm going to look at your
bacula-filesets.inc file and see about adopting that for our needs.

That was very useful.

Brian

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cannot build bacula-client 5.0.3 on FreeBSD 7.3

2010-11-01 Thread catkins
My apologies for thread-jacking; I was mislead into bad netiquette by the 
fundamental problem being the same.

+--
|This was sent by catki...@yahoo.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to parse Bacula conf files

2010-11-01 Thread catkins
Here's a bash-with-embedded awk scrippet that parses Bacula .conf files.  I 
don't know if it works with all possible permutations of .conf file layout 
(it's only tested on my own).  It uses supporting functions ck_file, finalise 
and msg but they only do the obvious and are not significant in the parsing.

#--
# Name#58; parse_conf_file
# Purpose#58; parses a conf file
#nbsp; nbsp;* The conf file may be one of Bacula's or our own
# Usage#58;nbsp; 
#nbsp; nbsp;$1#58; name of file to parse
# Global variables set#58;
#nbsp; nbsp;keyword_orgs#91;#93;nbsp; Keywords as they appear in the conf 
file
#nbsp; nbsp;keywords#91;#93;nbsp; Keywords after canonicalisation.nbsp; 
Keyword incudes any #123; or #125;.
#nbsp; nbsp;conf_value*#91;#93;nbsp; Any values following a keyword #40;* 
is replaced by 0,1,2 ...#41;
#nbsp; nbsp;conf_n_values#91;#93;nbsp; Number of conf_value*#91;#93; 
arrays populated for each line
#nbsp; nbsp;n_functional_linesnbsp; Number of lines containing a keyword
#--
function parse_conf_file #123;

nbsp; nbsp; local conf_afn

nbsp; nbsp; conf_afn=$1

nbsp; nbsp; # Does the file exist?
nbsp; nbsp; # 
nbsp; nbsp; buf=$#40; ck_file $conf_afn#58;fr 21 #41;
nbsp; nbsp; if #91;#91; $buf != '' #93;#93;
nbsp; nbsp; then
nbsp; nbsp; nbsp; nbsp; msg E Terminating on configuration file 
problem#58;$lf$buf
nbsp; nbsp; nbsp; nbsp; finalise 1
nbsp; nbsp; fi

nbsp; nbsp; eval $#40; $awk '
nbsp; nbsp; nbsp; nbsp; BEGIN #123;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; squote = \047
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; n_functional_lines=0
nbsp; nbsp; nbsp; nbsp; #125;

nbsp; nbsp; nbsp; nbsp; #123;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # Strip any comment and any 
spaces+tabs before it
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # 
~~~
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # This is not so easy because a # 
within a
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # quoted string does not introduce a 
comment and
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # an escaped  #40;that is \#41; 
does not terminate a
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # quoted string.
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; in_string = 0nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp;# False
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; for #40; i = 1; i = length#40; $0 
#41;; i++ #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; char = substr#40; $0, 
i, 1 #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; if #40; char == #  
in_string == 0 #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; $0 = 
substr#40; $0, 1, i - 1 #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; sub#40; 
/#91; \t#93;*$/, , $0 #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; break
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #125;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; else if #40; char == 
\ #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; if #40; 
in_string == 0 #41; in_string = 1
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; else if 
#40; substr#40; $0, i - 1, 1 #41; != \\ #41; in_string = 0
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #125;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #125;

nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # Get keyword and value#40;s#41; 
string
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # ~~~
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; split#40; $0, array, /#91; 
\t#93;*=#91; \t#93;*/ #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; keyword_org = array#91;1#93;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; sub#40; /^#91; \t#93;*/, , 
keyword_org #41;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# 
Remove any leading spaces and tabs
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; if #40; keyword_org ==  #41; 
nextnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# 
Functionally empty line so discard
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; print keyword_orgs#91; 
n_functional_lines #93;= squote keyword_org squote
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; keyword = tolower#40; keyword_org 
#41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; gsub#40; /#91; \t#93;*/, , 
keyword #41;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp;# Remove any spaces and tabs from keyword
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; print keywords#91; 
n_functional_lines #93;= squote keyword squote

nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # Get individual values from 
value#40;s#41; string
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # 
~~
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; n_values=0
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; values_string = array#91;2#93;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; while #40; length#40; values_string 
#41;  0 #41;
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
nbsp; nbsp; nbsp; nbsp; nbsp; 

Re: [Bacula-users] unable to label a tape

2010-11-01 Thread Martin Simmons
 On Mon, 01 Nov 2010 09:04:13 +0100, Rene Arnhold said:
 
 When I label a tape with the bconsole i get the following error.:
 3999 Device /dev/tape/by-id/scsi-3500e09e0001af92f-nst not found or
 could not be opened
 ...
 bacula-dir.conf:
 ###
 Storage
 {
  Name = sdlt1600
  Address = 127.0.0.1 # Yes bad decision to use localhost but its for
 testing only.
  SDPort = 9103
  Password = PASSWORD
  Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst

This should be Device = sdlt1600 to match the Device Name in the
bacula-sd.conf.


  Media Type = DLT-S4
  Autochanger = no
 }
 ###
 
 bacula-sd.conf:
 ###
 Device
 {
  Name = sdlt1600
  Media Type = DLT-S4
  Archive Device = /dev/tape/by-id/scsi-3500e09e0001af92f-nst
  RemovableMedia = yes
  RandomAccess = no
  Always Open = no
  Requires Mount = no
 }
 ###

__Martin

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tuning for large (millions of files) backups?

2010-11-01 Thread Thomas Mueller
Am Mon, 01 Nov 2010 06:15:18 +0100 schrieb Ondrej PLANKA (Ignum profile):

 Thanks :)
 Which type of MySQL storage engine are you using? MyISAM or InnoDB for
 large Bacula system?
 Can you please copy/paste your MySQL configuration? I mean my.cnf file
 
 Thanks, Ondrej.

I would use InnoDB. 

a good startingpoint to optimize mysql is http://mysqltuner.pl

- Thomas


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unable to label a tape

2010-11-01 Thread Arnhold

 
 This should be Device = sdlt1600 to match the Device Name in the 
 bacula-sd.conf. 
 


This was the solution.
Device here means devicename in storage daemon and not devicefile.

Many thanks Martin.

+--
|This was sent by rene.arnh...@jena.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot build bacula-client 5.0.3 on FreeBSD 7.3

2010-11-01 Thread Martin Simmons
 On Sat, 30 Oct 2010 12:33:22 -0400, Dan Langille said:
 
 On 10/27/2010 12:05 PM, catkins wrote:
 
  catkins wrote:
  Thanks Martin :-)
  [snip]
  Have downloaded your patch and will try using it this evening (on 
  Slackware64 13.1) [snip] building from bacula-5.0.3.tar.gz [snip]
 
  Thank you Martin; your patch fixed the problem :-)
 
  For anyone who is not familiar with patching, these were the commands used:
  mkdir /tmp/bacula
  cp bacula-5.0.3.tar.gz /tmp/bacula
  cd /tmp/bacula
  tar -zxvf bacula-5.0.3.tar.gz
  cd /tmp/bacula/bacula-5.0.3
  cp /path-to/bacula-5.0.3-libz.patch .
  patch -p1 bacula-5.0.3-libz.patch
  and then proceed with the configure step as usual.  I don't know if patch's 
  -p1 option was necessary but it worked.
 
 This is for Bacula on FreeBSD 7.3?

Please read http://www.adsm.org/lists/html/Bacula-users/2010-09/msg00145.html
before deciding whether to add this patch to anything official.


 If so I'll patch the FreeBSD port.
 
 Can you try this:
 
 cd /usr/ports/sysutils/bacula-client
 make clean  make patch
 cd work/bacula-5.0.3 (assuming usual port setup)
 patch -p1  /path-to/bacula-5.0.3-libz.patch

Doing this with bacula-client doesn't make sense -- it belongs in
bacula-server if anywhere.

__Martin

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Could not open Catalog MyCatalog, database bacula

2010-11-01 Thread catkins
Hello  :) 

On a new installation of 5.0.3 with .conf files copied from a working 5.0.1 
installation.  MySQL 5.1.46.  Slackware64 13.1. 

From the log
24-Oct 18#58;45 bacula-dir JobId 0#58; Fatal error#58; Could not open 
Catalog MyCatalog, database bacula.
24-Oct 18#58;45 bacula-dir JobId 0#58; Fatal error#58; mysql.c#58;194 
Unable to connect to MySQL server.
Database=bacula User=bacula
MySQL connect failed either server not running or your authorization is 
incorrect.
24-Oct 18#58;45 bacula-dir ERROR TERMINATION
Please correct configuration file#58; /opt/bacula/etc/bacula-dir.conf

MySQL is running and previously initialised:
r...@cw8#58;~# /opt/bacula/scripts/grant_mysql_privileges
#91;OK#93;
r...@cw8#58;~# /opt/bacula/scripts/create_mysql_database
Creation of bacula database succeeded.
r...@cw8#58;~# /opt/bacula/scripts/make_mysql_tables
Creation of Bacula MySQL tables succeeded.

Excerpt from bacula-dir.conf:
Catalog #123;
nbsp; Name = MyCatalog
nbsp; # Uncomment the following line if you want the dbi driver
nbsp; # dbdriver = dbi#58;mysql; dbaddress = 127.0.0.1; dbport =nbsp; 
nbsp; dbname = bacula; dbuser = bacula; dbpassword = 
#125;

Can log on to database using above username and password:
r...@cw8#58;/opt/bacula/etc# cd
r...@cw8#58;~# mysql --user=bacula --password= bacula
Welcome to the MySQL monitor.nbsp; Commands end with ; or \g.
Your MySQL connection id is 13
Server version#58; 5.1.46-log Source distribution

Copyright #40;c#41; 2000, 2010, Oracle and/or its affiliates. All rights 
reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql quit
Bye
Running with debug enabled:
r...@cw8#58;~# /opt/bacula/bin/bacula-dir -d 300 -f
#91;snip#93;
bacula-dir#58; mysql.c#58;100-0 db_open first time
bacula-dir#58; mysql.c#58;129-0 initdb ref=1 connected=0 db=0
bacula-dir#58; mysql.c#58;165-0 mysql_init done
bacula-dir#58; mysql.c#58;186-0 mysql_real_connect done
bacula-dir#58; mysql.c#58;188-0 db_user=bacula db_name=bacula db_password=
bacula-dir#58; mysql.c#58;214-0 opendb ref=1 connected=1 db=6e6980
bacula-dir#58; sql_create.c#58;342-0 In create mediatype
bacula-dir#58; sql_create.c#58;345-0 selectmediatype#58; SELECT 
MediaTypeId,MediaType FROM MediaType WHERE MediaType='File'
bacula-dir#58; mysql.c#58;235-0 closedb ref=0 connected=1 db=6e6980
bacula-dir#58; mysql.c#58;239-0 close db=6e6980
#91;snip#93;

What to do?

Best

Charles

+--
|This was sent by catki...@yahoo.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Could not open Catalog MyCatalog, database bacula

2010-11-01 Thread catkins
Hello  :) 

On a new installation of 5.0.3 with .conf files copied from a working 5.0.1 
installation.  MySQL 5.1.46.  Slackware64 13.1. 

From the log
24-Oct 18#58;45 bacula-dir JobId 0#58; Fatal error#58; Could not open 
Catalog MyCatalog, database bacula.
24-Oct 18#58;45 bacula-dir JobId 0#58; Fatal error#58; mysql.c#58;194 
Unable to connect to MySQL server.
Database=bacula User=bacula
MySQL connect failed either server not running or your authorization is 
incorrect.
24-Oct 18#58;45 bacula-dir ERROR TERMINATION
Please correct configuration file#58; /opt/bacula/etc/bacula-dir.conf

MySQL is running and was previously initialised with:
r...@cw8#58;~# /opt/bacula/scripts/grant_mysql_privileges
#91;OK#93;
r...@cw8#58;~# /opt/bacula/scripts/create_mysql_database
Creation of bacula database succeeded.
r...@cw8#58;~# /opt/bacula/scripts/make_mysql_tables
Creation of Bacula MySQL tables succeeded.

Excerpt from bacula-dir.conf:
Catalog #123;
nbsp; Name = MyCatalog
nbsp; # Uncomment the following line if you want the dbi driver
nbsp; # dbdriver = dbi#58;mysql; dbaddress = 127.0.0.1; dbport =nbsp; 
nbsp; dbname = bacula; dbuser = bacula; dbpassword = 
#125;

Can log on to database using above username and password:
r...@cw8#58;/opt/bacula/etc# cd
r...@cw8#58;~# mysql --user=bacula --password= bacula
Welcome to the MySQL monitor.nbsp; Commands end with ; or \g.
Your MySQL connection id is 13
Server version#58; 5.1.46-log Source distribution

Copyright #40;c#41; 2000, 2010, Oracle and/or its affiliates. All rights 
reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql show grants;
++
| Grants for bac...@localhostnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; |
++
| GRANT USAGE ON *.* TO 'bacula'@'localhost'nbsp; nbsp; nbsp; nbsp; nbsp; 
nbsp; nbsp; nbsp; nbsp;|
| GRANT ALL PRIVILEGES ON `bacula`.* TO 'bacula'@'localhost' |
++
2 rows in set #40;0.00 sec#41;

mysql quit
Bye
Running with debug enabled:
r...@cw8#58;~# /opt/bacula/bin/bacula-dir -d 300 -f
#91;snip#93;
bacula-dir#58; mysql.c#58;100-0 db_open first time
bacula-dir#58; mysql.c#58;129-0 initdb ref=1 connected=0 db=0
bacula-dir#58; mysql.c#58;165-0 mysql_init done
bacula-dir#58; mysql.c#58;186-0 mysql_real_connect done
bacula-dir#58; mysql.c#58;188-0 db_user=bacula db_name=bacula db_password=
bacula-dir#58; mysql.c#58;214-0 opendb ref=1 connected=1 db=6e6980
bacula-dir#58; sql_create.c#58;342-0 In create mediatype
bacula-dir#58; sql_create.c#58;345-0 selectmediatype#58; SELECT 
MediaTypeId,MediaType FROM MediaType WHERE MediaType='File'
bacula-dir#58; mysql.c#58;235-0 closedb ref=0 connected=1 db=6e6980
bacula-dir#58; mysql.c#58;239-0 close db=6e6980
#91;snip#93;

What to do?

Best

Charles

+--
|This was sent by catki...@yahoo.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Could not open Catalog MyCatalog, database bacula

2010-11-01 Thread John Drescher
On Mon, Nov 1, 2010 at 11:07 AM, catkins bacula-fo...@backupcentral.com wrote:
 Hello  :)

 On a new installation of 5.0.3 with .conf files copied from a working 5.0.1 
 installation.  MySQL 5.1.46.  Slackware64 13.1.

 From the log
 24-Oct 18#58;45 bacula-dir JobId 0#58; Fatal error#58; Could not open 
 Catalog MyCatalog, database bacula.
 24-Oct 18#58;45 bacula-dir JobId 0#58; Fatal error#58; mysql.c#58;194 
 Unable to connect to MySQL server.
 Database=bacula User=bacula
 MySQL connect failed either server not running or your authorization is 
 incorrect.
 24-Oct 18#58;45 bacula-dir ERROR TERMINATION
 Please correct configuration file#58; /opt/bacula/etc/bacula-dir.conf

 MySQL is running and was previously initialised with:
 r...@cw8#58;~# /opt/bacula/scripts/grant_mysql_privileges
 #91;OK#93;
 r...@cw8#58;~# /opt/bacula/scripts/create_mysql_database
 Creation of bacula database succeeded.
 r...@cw8#58;~# /opt/bacula/scripts/make_mysql_tables
 Creation of Bacula MySQL tables succeeded.

 Excerpt from bacula-dir.conf:
 Catalog #123;
 nbsp; Name = MyCatalog
 nbsp; # Uncomment the following line if you want the dbi driver
 nbsp; # dbdriver = dbi#58;mysql; dbaddress = 127.0.0.1; dbport =nbsp;
 nbsp; dbname = bacula; dbuser = bacula; dbpassword = 
 #125;

 Can log on to database using above username and password:
 r...@cw8#58;/opt/bacula/etc# cd
 r...@cw8#58;~# mysql --user=bacula --password= bacula
 Welcome to the MySQL monitor.nbsp; Commands end with ; or \g.
 Your MySQL connection id is 13
 Server version#58; 5.1.46-log Source distribution

 Copyright #40;c#41; 2000, 2010, Oracle and/or its affiliates. All rights 
 reserved.
 This software comes with ABSOLUTELY NO WARRANTY. This is free software,
 and you are welcome to modify and redistribute it under the GPL v2 license

 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

 mysql show grants;
 ++
 | Grants for bac...@localhostnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; |
 ++
 | GRANT USAGE ON *.* TO 'bacula'@'localhost'nbsp; nbsp; nbsp; nbsp; 
 nbsp; nbsp; nbsp; nbsp; nbsp;|
 | GRANT ALL PRIVILEGES ON `bacula`.* TO 'bacula'@'localhost' |
 ++
 2 rows in set #40;0.00 sec#41;

 mysql quit
 Bye
 Running with debug enabled:
 r...@cw8#58;~# /opt/bacula/bin/bacula-dir -d 300 -f
 #91;snip#93;
 bacula-dir#58; mysql.c#58;100-0 db_open first time
 bacula-dir#58; mysql.c#58;129-0 initdb ref=1 connected=0 db=0
 bacula-dir#58; mysql.c#58;165-0 mysql_init done
 bacula-dir#58; mysql.c#58;186-0 mysql_real_connect done
 bacula-dir#58; mysql.c#58;188-0 db_user=bacula db_name=bacula db_password=
 bacula-dir#58; mysql.c#58;214-0 opendb ref=1 connected=1 db=6e6980
 bacula-dir#58; sql_create.c#58;342-0 In create mediatype
 bacula-dir#58; sql_create.c#58;345-0 selectmediatype#58; SELECT 
 MediaTypeId,MediaType FROM MediaType WHERE MediaType='File'
 bacula-dir#58; mysql.c#58;235-0 closedb ref=0 connected=1 db=6e6980
 bacula-dir#58; mysql.c#58;239-0 close db=6e6980
 #91;snip#93;

 What to do?


Although this is very hard to read on the mailing list your problem
may be that mysql is not listening on the network interface.

John

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Could not open Catalog MyCatalog, database quot

2010-11-01 Thread catkins

drescherjm wrote:
 
 [snip quote]
 
 Although this is very hard to read on the mailing list your problem
 may be that mysql is not listening on the network interface.
 
 John
 
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users  at  lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

Thanks for your very quick reply John :)

I'm sorry it was hard to read on the mailing list; I thought I was being 
helpful using code tags.

If I understand correctly that it is the port statements in my.cnf that define 
where MySQL listens, this (no code tags!) shows where MySQL is listening:

r...@cw8:~# grep port /etc/my.cnf
# an important part, or systems up to 128M where MySQL is used together with
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
port= 3306
port= 3306
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
#CHANGE MASTER TO MASTER_HOST=host, MASTER_PORT=port,
#port by the master's port number (3306 by default).
# The port the master is listening on.
#master-port =  port

my.cnf is copied from the as-installed my-medium.cnf and not modified.

+--
|This was sent by catki...@yahoo.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to parse Bacula conf files

2010-11-01 Thread Bruno Friedmann
Ok when people will stop posting html converted perhaps we will try to read 
their demand.



On 11/01/2010 02:58 PM, catkins wrote:
 Here's a bash-with-embedded awk scrippet that parses Bacula .conf files.  I 
 don't know if it works with all possible permutations of .conf file layout 
 (it's only tested on my own).  It uses supporting functions ck_file, finalise 
 and msg but they only do the obvious and are not significant in the parsing.
 
 #--
 # Name#58; parse_conf_file
 # Purpose#58; parses a conf file
 #nbsp; nbsp;* The conf file may be one of Bacula's or our own
 # Usage#58;nbsp; 
 #nbsp; nbsp;$1#58; name of file to parse
 # Global variables set#58;
 #nbsp; nbsp;keyword_orgs#91;#93;nbsp; Keywords as they appear in the 
 conf file
 #nbsp; nbsp;keywords#91;#93;nbsp; Keywords after canonicalisation.nbsp; 
 Keyword incudes any #123; or #125;.
 #nbsp; nbsp;conf_value*#91;#93;nbsp; Any values following a keyword 
 #40;* is replaced by 0,1,2 ...#41;
 #nbsp; nbsp;conf_n_values#91;#93;nbsp; Number of conf_value*#91;#93; 
 arrays populated for each line
 #nbsp; nbsp;n_functional_linesnbsp; Number of lines containing a keyword
 #--
 function parse_conf_file #123;
 
 nbsp; nbsp; local conf_afn
 
 nbsp; nbsp; conf_afn=$1
 
 nbsp; nbsp; # Does the file exist?
 nbsp; nbsp; # 
 nbsp; nbsp; buf=$#40; ck_file $conf_afn#58;fr 21 #41;
 nbsp; nbsp; if #91;#91; $buf != '' #93;#93;
 nbsp; nbsp; then
 nbsp; nbsp; nbsp; nbsp; msg E Terminating on configuration file 
 problem#58;$lf$buf
 nbsp; nbsp; nbsp; nbsp; finalise 1
 nbsp; nbsp; fi
 
 nbsp; nbsp; eval $#40; $awk '
 nbsp; nbsp; nbsp; nbsp; BEGIN #123;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; squote = \047
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; n_functional_lines=0
 nbsp; nbsp; nbsp; nbsp; #125;
 
 nbsp; nbsp; nbsp; nbsp; #123;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # Strip any comment and any 
 spaces+tabs before it
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # 
 ~~~
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # This is not so easy because a # 
 within a
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # quoted string does not introduce 
 a comment and
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # an escaped  #40;that is \#41; 
 does not terminate a
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # quoted string.
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; in_string = 0nbsp; nbsp; nbsp; 
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
 nbsp; nbsp; nbsp; nbsp;# False
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; for #40; i = 1; i = length#40; 
 $0 #41;; i++ #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; char = substr#40; 
 $0, i, 1 #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; if #40; char == # 
  in_string == 0 #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; $0 = 
 substr#40; $0, 1, i - 1 #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
 sub#40; /#91; \t#93;*$/, , $0 #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; break
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #125;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; else if #40; char == 
 \ #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #123;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; if 
 #40; in_string == 0 #41; in_string = 1
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; else if 
 #40; substr#40; $0, i - 1, 1 #41; != \\ #41; in_string = 0
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #125;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; #125;
 
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # Get keyword and value#40;s#41; 
 string
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # ~~~
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; split#40; $0, array, /#91; 
 \t#93;*=#91; \t#93;*/ #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; keyword_org = array#91;1#93;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; sub#40; /^#91; \t#93;*/, , 
 keyword_org #41;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# 
 Remove any leading spaces and tabs
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; if #40; keyword_org ==  #41; 
 nextnbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;# 
 Functionally empty line so discard
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; print keyword_orgs#91; 
 n_functional_lines #93;= squote keyword_org squote
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; keyword = tolower#40; keyword_org 
 #41;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; gsub#40; /#91; \t#93;*/, , 
 keyword #41;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 
 nbsp;# Remove any spaces and tabs from keyword
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; print keywords#91; 
 n_functional_lines #93;= squote keyword squote
 
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # Get individual values from 
 value#40;s#41; string
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; # 
 ~~
 nbsp; nbsp; nbsp; nbsp; nbsp; 

Re: [Bacula-users] Could not open Catalog MyCatalog, database quot

2010-11-01 Thread John Drescher
 Thanks for your very quick reply John :)

 I'm sorry it was hard to read on the mailing list; I thought I was being 
 helpful using code tags.

 If I understand correctly that it is the port statements in my.cnf that 
 define where MySQL listens, this (no code tags!) shows where MySQL is 
 listening:

 r...@cw8:~# grep port /etc/my.cnf
 # an important part, or systems up to 128M where MySQL is used together with
 # In this file, you can use all long options that a program supports.
 # If you want to know which options a program supports, run the program
 port            = 3306
 port            = 3306
 # Don't listen on a TCP/IP port at all. This can be a security enhancement,
 #    CHANGE MASTER TO MASTER_HOST=host, MASTER_PORT=port,
 #    port by the master's port number (3306 by default).
 # The port the master is listening on.
 #master-port     =  port

 my.cnf is copied from the as-installed my-medium.cnf and not modified.


What about bind-address? Is  skip-networking enabled. If so comment that out.

John

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to parse Bacula conf files

2010-11-01 Thread John Drescher
On Mon, Nov 1, 2010 at 11:39 AM, Bruno Friedmann br...@ioda-net.ch wrote:
 Ok when people will stop posting html converted perhaps we will try to read 
 their demand.

The problem is posts from the backup central forums
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/

for some reason are sent to the mailing list as text but have html
codes in them. This makes the text difficult to read.

John

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Using 2 different directories to backp

2010-11-01 Thread eliassal
Hi, I tried to follow your instructions but getting the following error



 .. the backup job is now running. When complete, the results will be shown 
 below .. 
 01-Nov 16:45 bacula-dir JobId 17: Start Backup JobId 17, 
 Job=jobFC13OnIomega1.2010-11-01_16.45.24_06
 01-Nov 16:45 bacula-sd JobId 17: Fatal error: Device reservation failed for 
 JobId=17: 
 01-Nov 16:45 bacula-dir JobId 17: Fatal error: 
  Storage daemon didn't accept Device DRRemotedevice because:
  3924 Device DRRemotedevice not in SD Device resources.
 01-Nov 16:45 bacula-dir JobId 17: Error: Bacula bacula-dir 5.0.2 (28Apr10): 
 01-Nov-2010 16:45:26
   Build OS:   x86_64-redhat-linux-gnu redhat 
   JobId:  17
   Job:jobFC13OnIomega1.2010-11-01_16.45.24_06
   Backup Level:   Full
   Client: bacula-fd 5.0.2 (28Apr10) 
 x86_64-redhat-linux-gnu,redhat,
   FileSet:AllFC13 2010-10-31 14:16:18
   Pool:   DRRemotepool (From Job resource)
   Catalog:MyCatalog (From Client resource)
   Storage:File1 (From Job resource)
   Scheduled time: 01-Nov-2010 16:45:24
   Start time: 01-Nov-2010 16:45:26
   End time:   01-Nov-2010 16:45:26
   Elapsed time:   0 secs
   Priority:   10
   FD Files Written:   0
   SD Files Written:   0
   FD Bytes Written:   0 (0 B)
   SD Bytes Written:   0 (0 B)
   Rate:   0.0 KB/s
   Software Compression:   None
   VSS:no
   Encryption: no
   Accurate:   no
   Volume name(s): 
   Volume Session Id:  1
   Volume Session Time:1288626300
   Last Volume Bytes:  0 (0 B)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  
   SD termination status:  
   Termination:*** Backup Error ***



Here is my bacula-dir file

 
 #
 # Default Bacula Storage Daemon Configuration file
 #
 #  For Bacula release 5.0.2 (28 April 2010) -- redhat 
 #
 # You may need to change the name of your tape drive
 #   on the Archive Device directive in the Device
 #   resource.  If you change the Name and/or the 
 #   Media Type in the Device resource, please ensure
 #   that dird.conf has corresponding changes.
 #
 
 Storage { # definition of myself
   Name = bacula-sd
   SDPort = 9103  # Director's port  
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 20
 }
 
 #
 # List Directors who are permitted to contact Storage daemon
 #
 Director {
   Name = bacula-dir
   Password = 123456
 }
 
 #
 # Restricted Director, used by tray-monitor to get the
 #   status of the storage daemon
 #
 Director {
   Name = bacula-mon
   Password = 123456
   Monitor = yes
 }
 
 #
 # Note, for a list of additional Device templates please
 #  see the directory bacula-source/examples/devices
 # Or follow the following link:
 #  
 http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/
 #
 
 #
 # Devices supported by this Storage daemon
 # To connect, the Director's bacula-dir.conf must have the
 #  same Name and MediaType. 
 #
 
 Device {
   Name = FileStorage
   Media Type = File
   Archive Device = /media/Backup
   LabelMedia = yes;   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;   # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
 }
 Device {
   Name = DRRemotedevice
   Archive Device = /mnt/publiciomega1/SalamLinux/BackupFC13
   Media Type = File1
   LabelMedia = yes
   Random Access = yes
   AutomaticMount = yes
   RemovableMedia = no
   AlwaysOpen = no
 }
 #
 # An autochanger device with two drives
 #
 #Autochanger {
 #  Name = Autochanger
 #  Device = Drive-1
 #  Device = Drive-2
 #  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
 #  Changer Device = /dev/sg0
 #}
 
 #Device {
 #  Name = Drive-1  #
 #  Drive Index = 0
 #  Media Type = DLT-8000
 #  Archive Device = /dev/nst0
 #  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
 #  # Note, apparently on some systems, tapeinfo resets the SCSI controller
 #  #  thus if you turn this on, make sure it does not reset your SCSI 
 #  #  controller.  I have never had any problems, and smartctl does
 #  #  not seem to cause such problems.
 #  #
 #  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 #  If you have smartctl, enable this, it has more info than tapeinfo 
 #  Alert Command = sh -c 'smartctl -H -l error %c'  
 #}
 
 #Device {
 #  Name = Drive-2  #
 #  Drive Index = 1
 #  Media Type = DLT-8000
 #  Archive Device = /dev/nst1
 #  AutomaticMount 

Re: [Bacula-users] How to parse Bacula conf files

2010-11-01 Thread Martin Simmons
 On Mon, 1 Nov 2010 11:54:05 -0400, John Drescher said:
 
 The problem is posts from the backup central forums
 http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/
 
 for some reason are sent to the mailing list as text but have html
 codes in them. This makes the text difficult to read.

I have sent a message to the backupcentral admin about it.

__Martin

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] broken threading

2010-11-01 Thread Blake Dunlap
On Mon, Nov 1, 2010 at 06:42, Ralf Gross ralf-li...@ralfgross.de wrote:

 Dan Langille schrieb:
  Over the past few days, I've become increasingly impatient and
  frustrated by posts that break threading.  That is, posts that lack the
  headers necessary for properly threading of emails.  Specifically, the
  References: and In-Reply-To: headers are not being preserved.
 
  cases in point, the following threads:
 
  * Cannot build bacula-client 5.0.3 on FreeBSD
  * Searching for files
  * PLEASE READ BEFORE POSTING
 
  As can be found here:
 
 http://marc.info/?l=bacula-usersr=1b=201010w=2
 
  Thanks for the rant.  :)


 The only way to stop this would be blocking all mails from the
 froum2mailinglist gateway backupcentral.com.

 http://backupcentral.com/component/mailman2/

 It's the same situation on the backuppc list...

 Ralf


Yeah I'm pretty sure its the forum integration from backup central's forums.
I'll second a vote for blocking them if you are considering it. =)

-Blake
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Using 2 different directories to backp

2010-11-01 Thread Phil Stracchino
On 11/01/10 11:58, eliassal wrote:
 Hi, I tried to follow your instructions but getting the following error
 
 
 
 .. the backup job is now running. When complete, the results will be shown 
 below .. 
 01-Nov 16:45 bacula-dir JobId 17: Start Backup JobId 17, 
 Job=jobFC13OnIomega1.2010-11-01_16.45.24_06
 01-Nov 16:45 bacula-sd JobId 17: Fatal error: Device reservation failed for 
 JobId=17: 
 01-Nov 16:45 bacula-dir JobId 17: Fatal error: 
  Storage daemon didn't accept Device DRRemotedevice because:
  3924 Device DRRemotedevice not in SD Device resources.
[...]
 Device {
   Name = DRRemotedevice
   Archive Device = /mnt/publiciomega1/SalamLinux/BackupFC13
   Media Type = File1
   LabelMedia = yes
   Random Access = yes
   AutomaticMount = yes
   RemovableMedia = no
   AlwaysOpen = no
[...]
 Device {
   Name = DRRemotedevice
   Archive Device = /mnt/publiciomega1/SalamLinux/BackupFC13
   Media Type = File1
   LabelMedia = yes
   Random Access = yes
   AutomaticMount = yes
   RemovableMedia = no
   AlwaysOpen = no
 }

Well, I certainly don't see any discrepancies there.  You did restart
ALL Bacula daemons, right...?


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users