Re: [Bacula-users] Why does bacula not believe that it's week 44, and how do I figure out what's wrong?

2006-11-10 Thread Kern Sibbald
On Friday 03 November 2006 15:32, Bill Moran wrote:
 
 Bacula seem not to understand that today is week 44 of the year.
 It seemed to understand that last week was week 43, as it ran the
 job that was scheduled for that week.  Here's the schedule that
 applies:
 
   Run = Level=Full Pool=OffSite Storage=Ultrium thursday 
w03,w07,w11,w15,w19,w23,w27,w31,w35,w39,w43,w47,w51 at 23:05
   Run = Level=Full Pool=OffSiteRotation Storage=Ultrium thursday 
w01,w02,w04,w05,w06,w08,w09,w10,w12,w13,w14,w16,w17,w18,w20,w21,w22,w24,w25,w26,w28,w29,w30,w32,w33,w34,w36,w37,w38,w40,w41,w42,w44,w45,w46,w48,w49,w50,w52,w53
 
at 23:05
 
 Server date/time seems correct:
 *time
 03-Nov-2006 09:16:47
 
 Bacula insists that it needs a volume from the OffSite pool.  As a
 result, 240G of backups failed to run last night, and I'm having to
 manually run/modify them this morning (because the tape I need to use
 is part part of the OffSiteRotation pool, in accordance with our
 schedule).  Is there something wrong with my schedule that I'm simply
 not seeing?
 
 A much more important question to me is How do I diagnose this?  How
 can I peek in to Bacula and see what week it thinks it is?  bconsole's
 time command isn't very helpful on this count.

Currently, there is no simple way to know what week Bacula thinks it is in.  
However, you can turn on debug mode and see:
1. if your week specification was correctly scanned
2. possibly see what Bacula is doing when it is checking what Backup to do 
(i.e. checking the time/date specifications).

You could probably simpify your long week specification a small bit by using 
ranges.

-
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] Fedora RPM Install

2006-11-10 Thread Kern Sibbald
On Thursday 09 November 2006 01:46, G. Armour Van Horn wrote:
 I hope whoever is maintaining the RPM build will eventually read this! 

This doesn't have anything to do with the RPM.  It is a PostgreSQL 
installation/configuration issue.  In a sense, it isn't even a Bacula issue.

If I am not mistaken, the Bacula manual has this problem and the resolution 
documented, because every time I load PostgreSQL on any machine, I have the 
same problem, which I quickly resolve by reading the manual.

 Solution has been found!
 
 Van
 
 Martin Simmons wrote:
 
 On Wed, 08 Nov 2006 09:37:26 -0800, G Armour Van Horn said:
 
 
 Martin Simmons wrote:
 
 
 
 On Wed, 08 Nov 2006 00:16:09 -0800, G Armour Van Horn said:

 
 
 
 Scott, I hope you don't mind but I'm taking this back to the list, I 
 really would like as many folks looking at this as possible, and if we 
 figure it out the solution should end up in the list archive.
 
 Scott Simpson wrote:
 

 
 
 
 On Tuesday 07 November 2006 11:58 am, you wrote:
 
 
  
 
   
 
 All of that is working perfectly with only one exception. When I did 
the
 psql bacula the first line in response was
   could not change directory to /root
   
 

 
 
 
 What is the home directory set to for postgres in /etc/passwd? Mine 
 is /var/lib/postgresql (on Ubuntu).
 .
 
 
  
 
   
 
 [EMAIL PROTECTED] ~]# cat /etc/passwd | grep postg
 postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
 
 And, since I've seen /root pop up in several of the errors:
 
 [EMAIL PROTECTED] ~]# cat /etc/passwd | grep root
 root:x:0:0:root:/root:/bin/bash
 operator:x:11:0:operator:/root:/sbin/nologin
 
 If I try to start the director I get this:
 
 [EMAIL PROTECTED] bacula]# ./bacula-ctl-dir start
 Starting the Bacula Director daemon
 07-Nov 23:52 bacula-dir:  Fatal error: Could not open Catalog 
 MyCatalog, database bacula.
 07-Nov 23:52 bacula-dir:  Fatal error: postgresql.c:168 Unable to 
 connect to PostgreSQL server.
 Database=bacula User=bacula
 It is probably not running or your password is incorrect.
 07-Nov 23:52 bacula-dir ERROR TERMINATION
 Please correct configuration file: /etc/bacula/bacula-dir.conf
 
 Note that it's trying to run as bacula. Earlier you suggested I do psql 
 bacula as user postgresql, but I see here that it's not trying to run 
 as user postgresql. So I tried to do that from that account, but su 
 bacula was disallowed as the user doesn't have shell access:
 
 [EMAIL PROTECTED] bacula]# cat /etc/passwd | grep bacula
 bacula:x:100:6:Bacula:/var/bacula:/sbin/nologin
 
 However, switching the bacula shell from /sbin/nologin to /bin/bash (the 
 same as user postgresql) did not change the behavior, so I restored it 
 to how the RPMs created it. it did allow me to do the psql bacula 
 wtihout error, but the director still failed with exactly the same 
message.
 
 In bacula-dir.conf is the declaration
dbname = bacula; user = bacula; password = 
 I used the PostgreSQL admin section of Webmin to set a password for the 
 user and entered it in bacula-dir.conf, but there was no change in 
behavior.
 
 Any other suggestions?

 
 
 
 Firstly, note that PostgreSQL user names are not the same as Linux login 
names
 (both have to set up independently).  Confusion arises because the psql
 command uses the current Linux login name as the PostgreSQL user name by
 default.
 
 Do any of these commands works?
 
 psql -U bacula -d bacula
 psql -U bacula -d bacula --password
 psql -U postgresql -d bacula
 psql -U postgresql -d bacula --password
  
 
   
 
 All of those fail like this:
 [EMAIL PROTECTED] bacula]# psql -U bacula -d bacula
 psql: FATAL: Ident authentication failed for user bacula
 
 I did mess with the password for user bacula last night, the Webmin
 console reports that Requires password? is set to No for user
 postgres. There is no user postgresql, but the error was still the same.
 
 However, if I su postgres and immediately do psql bacula it happily
 drops to the terminal.
 
 
 
 Ah, OK, so your main PostgreSQL user is called postgres.  I think the
 Director's problem is related to the problem you get with
 
 psql -U bacula -d bacula
 
 Check your pg_hba.conf file.  It probably lists ident sameuser as the
 method and you'll need to change this to something else.  You can use
 trust if you don't care about security.
   
 
 You've nailed it. The working part of the pg_hba.conf starts with this:
 
 # local is for Unix domain socket connections only
 # local   all all   ident sameuser
 local   all all   trust
 
 Note that the commented line with ident sameuser was the original, the 
 copy that uses trust was active after the edit and a restart of the 
 PostgreSQL service, at which point bacula-dir started up instantly. For 
 whoever is creating the RPMs, note that other than some messing 

Re: [Bacula-users] Is Bacula for me: Videography business backups

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 00:32, Arno Lehmann wrote:
 Hi,
 
 On 11/9/2006 1:55 AM, Bill Moran wrote:
  On Wed, 08 Nov 2006 18:49:30 -0600
  [EMAIL PROTECTED] wrote:
  
  
 Arno Lehmann [EMAIL PROTECTED] writes:
 
 
 Currently, the windows FD is running stable and reliable IMO.
 Unfortunately, I have some problems with VSS backups (windows' name for 
 volume snapshots) where files can't be accessed when I do a snapshot but 
 can be accessed without VSS.
 
 For backups of data files not in use during backup operations, this 
 should not be a problem.
 
 I'm not sure I'm following you here.  Are you saying I would not be
 able to backup files that were in use?  Or just not in some special
 circumstances...?
 
 Well, kind of special circumstances. Bill explained it fine enough, I
 think, but...
 
 I'm not sure what role VSS plays or when it might be used but I would
 need to routinely be able to backup files that are in use.
  
  
  Depends on your definition of in use.  If the system has the file locked 
for
  writing, you'll have to enable VSS to get a backup of it while it's write
  locked.  If the application has it open read-only, you'll get a good 
backup
  either way.
 
 The most common problem files are, in my experience, outlook mailboxes:
 They are large, they change a lot, and they are usually locked.
 
 With normal data files you wouldn't have problems, UNLESS these files
 are written by the application while Bacula reads them. I don't know if
 Bacula locks the files it reads (in that case your application would get
 an error) or if it simply stores inconsistent data (which is the common
 Unix / linux behaviour).
 
  On the flip side, I've been using VSS to back up Windows workstations for 
a
  few months now with no problems, and all files are able to be backed up no
  matter how they're opened.
 
 Well, it worked here for a long time, too, but then, without any
 apparent reason, I got problems with VSS. I started to discuss that on
 bacula-devel, but since the development FD doesn't even run stable here
 there's not much I can do to debug this :-(

Yes I agree :-(.   

However, will you permit me to play Microsoft support for a few minutes? 
Microsoft support: Reload your operating system from the CD, and call me back 
if it still does not work :-)

-
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 is my friend

2006-11-10 Thread Kern Sibbald
On Tuesday 07 November 2006 03:06, Veronica Hill wrote:
 Hi Kern et al,
   i also want to take the time to thank you for some fantastic  
 software!  I haven't had any problems since i started using Bacula.  i  
 have only had to post to the mailing list twice due to the high quality  
 documentation.
 
 With thanks Veronica Hill.

Many thanks.  It is always nice to receive thanks as it is our only 
renumeration.

I wish you continued success with Bacula :-)

 
 
 On 7 Nov 2006, at 09:42, Ian Levesque wrote:
 
  Hi All,
 
  I just wanted to report back to the community on a successful restore
  that really saved me. When a power plug was accidentally unplugged
  from one of our primary file servers last week, 4 drives out of 12
  stopped working, killing our RAID-5. I put the tapes used in last
  month's full and last Friday's differential, plus the incrementals
  preceding the crash. In just over 2 days, I have 3.4TB of data  
  restored.
 
  Thanks again to everybody involved in the project.
 
  Cheers,
  Ian
 
  P.S.: Job totals below
 
 JobId:  445
 Job:RestoreFiles.2006-11-04_12.59.56
 Client: xray-fd
 Start time: 04-Nov-2006 12:59:58
 End time:   06-Nov-2006 15:37:46
 Files Expected: 2,579,433
 Files Restored: 2,579,433
 Bytes Restored: 3,548,110,395,519
 Rate:   19466.4 KB/s
 FD Errors:  0
 FD termination status:  OK
 SD termination status:  OK
 Termination:Restore OK
 
 
  --- 
  --
  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
 

-
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-devel] Bacula license transfer

2006-11-10 Thread Kern Sibbald
On Wednesday 08 November 2006 01:46, Dan Langille wrote:
 What other projects have gone this way?

I have no idea and am not sure to find out ...

 
 Bacula users are most likely involved in other projects. Perhaps they 
 can inquire and see how that transition went.

I'll ask FSFE what other project have been through this.  At this point, I 
have no reason to think there will be any down side to this ...

-
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] Server Crash on SLES 10

2006-11-10 Thread Kern Sibbald
On Tuesday 07 November 2006 10:38, Thomas Traeger wrote:
 Hello list,
 
 I posted this before but as I was no member of bacula-users it did not 
 (yet) go through the moderator filter.
 
 We are using bacula for around 9 months now and are so far very happy 
 with it. 2 weeks ago we installed bacula on a new server, a Fujitsu
 Siemens RX300R3, the jukebox is still a Dell PowerVault 122T with a 
 Quantum SDLT320 drive. We experienced a occasional server crash during 
 backup 3 times now :o(. The last message found in bconsole after a reset 
 is always something like this:
 
 03-Nov 00:43 pdc02-sd: backup_ora01.2006-11-02_21.15.02 Error:
 block.c:538 Write error at 303:4210 on device Quantum_SDLT320
 (/dev/nst0). ERR=Device or resource busy.
 03-Nov 00:43 pdc02-sd: backup_ora01.2006-11-02_21.15.02 Error: Re-read
 of last block OK, but block numbers differ. Last block=166408 Current
 block=0.
 03-Nov 00:43 pdc02-sd: End of medium on Volume IFS_daily_2
 Bytes=303,252,171,056 Blocks=4,700,710 at 03-Nov-2006 00:43.
 
 07-Nov 02:01 pdc02-sd: backup_pdc01.2006-11-06_23.59.00 Error:
 block.c:538 Write error at 6:8639 on device Quantum_SDLT320
 (/dev/nst0). ERR=Device or resource busy.
 07-Nov 02:01 pdc02-sd: Re-read of last block succeeded.
 07-Nov 02:01 pdc02-sd: End of medium on Volume Server_daily_1
 Bytes=6,556,780,347 Blocks=101,639 at 07-Nov-2006 02:01.
 
 Once I found the following logentry in /var/log/messages:
 
 Nov  3 00:43:16 ifs01 kernel: Unable to handle kernel paging request at
 virtual address 0524c3f0
 
 After the first crash of this kind the even Dell PowerVault stopped 
 working and had to be replaced...
 
 We are using SLES 10 with the latest patches, bacula 1.38.11-3 installed
 using the rpm packages provided for Suse 10.1.
 
 Is anyone else experiencing such strange things? Is there a connection
 to recently reported problems with a stock Suse 10.1 Kernel? AFAIK SLES
 10 is based on Suse 10.1.
 

As Arno pointed out this is probably a SuSE kernel problem. From the output 
you have posted above, it looks identical to the problem that I reported to 
them.

I resolved the problem here by upgrading to their 10.2 kernel.

My reading of the situation based on incomplete data is:
1. This is a SuSE specific problem.
2. They don't seem to be treating this as an important problem.

I suggest you use all means possible to complain to SuSE and Novell about this 
problem.  Specifically, you can start by expressing your concern in the bug 
report. I find it totally unacceptable that a so called serious Linux OS 
provider would allow such a low level, critcal bug to exist in their system 
for more than a couple of days after being informed of it.  Bug reported 28 
September, still unresolved. During testing of this bug (fortunately on a 
test system rather than my developement system), the bug totally trashed my 
hard disks (total loss).

https://bugzilla.novell.com/show_bug.cgi?id=208782

Best regards,

Kern

-
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] Tape access speed with LTO3

2006-11-10 Thread MaxxAtWork
On 11/9/06, John Drescher [EMAIL PROTECTED] wrote:
  Try if=/dev/zero and if=/dev/random
 
  AB

Note that depending on the platform where you try,
/dev/urandom as a source might be faster than /dev/random.
(/dev/random blocks until more entropy can be obtained says
e.g. the Solaris man page)

-- 
Maxx

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

2006-11-10 Thread Mantas Marčiulaitis









Im using disk as backup media. A the moment I only
use one pool with label format set as follows: Label Format =
Full-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Client}. 

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



Thanks,

Mantas.








-
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] Bad response to Append Data command. Wanted 3000 OK data, , got 3903 Error append data

2006-11-10 Thread Kern Sibbald
Hello,

Note for Arno: 1.39.26+ does a better job of helping one diagnose these 
problems by printing the full output from mtx when a failure occurs.


On Friday 10 November 2006 00:46, Arno Lehmann wrote:
 Hi,
 
 On 11/9/2006 7:25 AM, Ryan Novosielski wrote:
  I've gotten this one... I'd love to know what it is too. :)
 
 Dat's an error
 
 ;-)
 
  
  Jake Goerzen wrote:
  
 What does it mean when this happens?  and is there a way to fix it?
 
 
 07-Nov 08:40 adam-dir: Start Backup JobId 369, 
 Job=BackupACSRV.2006-11-07_08.40.54
 07-Nov 08:40 adam-sd: 3301 Issuing autochanger loaded drive 0 command.
 07-Nov 08:41 adam-sd: 3991 Bad autochanger loaded drive 0 command: 
 ERR=Child exited with code 1.
 07-Nov 08:41 adam-sd: 3301 Issuing autochanger loaded drive 0 command.
 07-Nov 08:41 adam-sd: 3991 Bad autochanger loaded drive 0 command: 
 ERR=Child exited with code 1.
 
 Ok, more to the point, this is a failure from the mtx-changer script.
 
 It's not a timeout, that would be indicated by a TERM or KILL exit code,
 but seems to be problem mt or mtx, inside mtx-changer, report.
 
 I'd try to unmount the drive using bconsole, then use mtx-changer from
 the shell with the loaded command and then follow it's operation until
 you can determine where the problem comes from.
 
 Most probably, the mtx command will not get a proper response to a the
 status command.
 
 Most probably you have a stuck autochanger, which doesn't properly
 respond to mtx commands, which in turn ends with an error.
 
 Power-cycling the autochanger sometimes helps, emergency ejecting any
 tapes and doing an inventory might also help - that depends on the
 actual problem and, of course, the autochanger you have.
 
 Arno
 
 -- 
 IT-Service Lehmann[EMAIL PROTECTED]
 Arno Lehmann  http://www.its-lehmann.de
 
 
 -
 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] Support Tape Drive

2006-11-10 Thread Kern Sibbald
On Tuesday 07 November 2006 23:55, Colby Silver wrote:
 I didn't find anything specific to my setup so I'm sending it here.
 Sorry if it's the wrong place.

This is a good place.  Thanks.  I've put it in the doc queue.

 
 This drive has worked great for a number backup/restores and happily
 passed the btape test.
 
   Debian Linux (2.6.18-3)
   Adaptec SCSI 19160 PCI (part #: 1822100)
   Quantum DLT-V4 Tape Drive (part #: BHBAX-BR)
 
 If you'd like other info on the setup let me know.
 
 cs
 
 = System Test Info =
 
 prompt$ cat /proc/version 
 
 Linux version 2.6.18-1-686 (Debian 2.6.18-3) ([EMAIL PROTECTED]) (gcc
 version 4.1.2 20061007 (prerelease) (Debian 4.1.1-16)) #1 SMP Sat Oct 21
 17:21:28 UTC 2006
 
 prompt$ lshw
 
   .
   ..
   ...
   
*-scsi
 description: SCSI storage controller
 product: AIC-7892B U160/m
 vendor: Adaptec
 physical id: a
 bus info: [EMAIL PROTECTED]:0a.0
 logical name: scsi0
 version: 02
 width: 64 bits
 clock: 66MHz
 capabilities: scsi bus_master cap_list scsi-host
 configuration: driver=aic7xxx latency=32 maxlatency=25
 mingnt=40
 resources: iomemory:f280-f2800fff irq:9
   *-tape
description: SCSI Tape
product: DLT-V4
vendor: QUANTUM
physical id: 0.5.0
bus info: [EMAIL PROTECTED]:0.5.0
logical name: /dev/nst0
logical name: /dev/st0
version: 0800
serial: MYL6H02237
capabilities: removable
configuration: ansiversion=2
   
   ...
   ..
   .
 
 prompt$ btape -c /etc/bacula/bacula-sd.conf /dev/nst0
 
 Tape block granularity is 1024 bytes.
 btape: butil.c:258 Using device: /dev/nst0 for writing.
 btape: btape.c:335 open_dev /dev/nst0 OK
 *test
 
 === Write, rewind, and re-read test ===
 
 I'm going to write 1000 records and an EOF
 then write 1000 records and an EOF, then rewind,
 and re-read the data to verify that it is correct.
 
 This is an *essential* feature ...
 
 btape: btape.c:786 Wrote 1000 blocks of 64412 bytes.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:811 Rewind OK.
 1000 blocks re-read correctly.
 Got EOF on tape.
 1000 blocks re-read correctly.
 === Test Succeeded. End Write, rewind, and re-read test ===
 
 
 === Write, rewind, and position test ===
 
 I'm going to write 1000 records and an EOF
 then write 1000 records and an EOF, then rewind,
 and position to a few blocks and verify that it is correct.
 
 This is an *essential* feature ...
 
 btape: btape.c:898 Wrote 1000 blocks of 64412 bytes.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:914 Wrote 1000 blocks of 64412 bytes.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:923 Rewind OK.
 Reposition to file:block 0:4
 Block 5 re-read correctly.
 Reposition to file:block 0:200
 Block 201 re-read correctly.
 Reposition to file:block 0:999
 Block 1000 re-read correctly.
 Reposition to file:block 1:0
 Block 1001 re-read correctly.
 Reposition to file:block 1:600
 Block 1601 re-read correctly.
 Reposition to file:block 1:999
 Block 2000 re-read correctly.
 === Test Succeeded. End Write, rewind, and re-read test ===
 
 
 
 === Append files test ===
 
 This test is essential to Bacula.
 
 I'm going to write one record  in file 0,
two records in file 1,
  and three records in file 2
 
 btape: btape.c:435 Rewound /dev/nst0
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 btape: btape.c:465 Wrote 1 EOF to /dev/nst0
 btape: btape.c:335 open_dev /dev/nst0 OK
 btape: btape.c:435 Rewound /dev/nst0
 btape: btape.c:1052 Now moving to end of medium.
 btape: btape.c:482 Moved to end of medium.
 We should be in file 3. I am at file 3. This is correct!
 
 Now the important part, I am going to attempt to append to the tape.
 
 btape: btape.c:1505 Wrote one record of 64412 bytes.
 btape: btape.c:1507 Wrote block to device.
 

Re: [Bacula-users] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Kern Sibbald
On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
 Hello
   This is my second email concerning this subject.
   Since no one answer me, and I've tested all possible ways (i think) 
 should I consider this a bug?
   Thanks
 
 
 Message I sent before:
 
  I'm trying to set the messages resource so that messages about
 successful backups/restores are sent to one email address and the
 messages concerning error backups/restore to another.
  Here goes my resource:
 
 Messages {
Name = MessagesForUsers
mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
 \Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
 -s \Bacula: Intervention needed for %j\ %r
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate
 
console = all, !skipped, !saved
 # WARNING! the following will create a file that you must cycle from
 #  time to time as it will grow indefinitely. However, it will
 #  also keep all your messages if they scroll off the console.
 #
append = /var/bacula/log = all, !skipped
 }
 
 
 
  The problem is that I get both ERROR and OK messages on the address
 where only OK messages should go ([EMAIL PROTECTED] in my case).
  Any ideas?

You have two mail directives. Perhaps this is the problem.

 
 Thanks,
 
 -- 
 
 
 
 
 
 
 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
 
 
 -
 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] Tape access speed with LTO3

2006-11-10 Thread Alan Brown
On Thu, 9 Nov 2006, John Drescher wrote:

  Have you tried a test of the raw tape speed? When I first got mt lto-2
  library I did a few tests like the following
 
  time dd if=/dev/sda of=/dev/nst0 bs=1G count=10
 
  and I got around 35MB/s.
 
 Try if=/dev/zero and if=/dev/random

 I did not do /dev/zero because of hardware compression. I guess I could
 turn that off but isn't /dev/random 1 byte at a time??

It's fast enough on most systems.

Alternatively, use btape and the fill command.



-
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] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Jaime Ventura
kern,
thanks for your reply.
I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
that there were only only one mail directive.
I still receive the error messages on [EMAIL PROTECTED] email 
account.(and also on [EMAIL PROTECTED] email account, but that's the expected 
behavior).
   
I don't have much time right now, but if you point me out where in 
the code is this implemented, I would like to take a look at it.
Thanks
  


 


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 







Kern Sibbald wrote:
 On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
   
 Hello
  This is my second email concerning this subject.
  Since no one answer me, and I've tested all possible ways (i think) 
 should I consider this a bug?
  Thanks


 Message I sent before:

  I'm trying to set the messages resource so that messages about
 successful backups/restores are sent to one email address and the
 messages concerning error backups/restore to another.
  Here goes my resource:

 Messages {
Name = MessagesForUsers
mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
 \Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
 -s \Bacula: Intervention needed for %j\ %r
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate

console = all, !skipped, !saved
 # WARNING! the following will create a file that you must cycle from
 #  time to time as it will grow indefinitely. However, it will
 #  also keep all your messages if they scroll off the console.
 #
append = /var/bacula/log = all, !skipped
 }



  The problem is that I get both ERROR and OK messages on the address
 where only OK messages should go ([EMAIL PROTECTED] in my case).
  Any ideas?
 

 You have two mail directives. Perhaps this is the problem.

   
 Thanks,

 -- 






 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


 -
 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

   

-
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] DDS-4

2006-11-10 Thread Arno Lehmann
Hi,

On 11/2/2006 4:04 PM, weyerma wrote:
 hi all,
 
 i have a prblem with my dds-4 drive.
 all tapes are only written to 20gb (uncompressed) and the tape fills.
 how can i turn the compression on, to fill all tapes up to 40gb ?

Do you want hardware- or software compression?

Arno

 my config:
 
 Device {
 Name = Autochanger
 Media Type = DDS-4
 Archive Device = /dev/st0
 Changer Device = /dev/sg1
 Changer Command = /var/lib/bacula/mtx-changer %c %o %S %a %d
 AutoChanger = yes;
 AutomaticMount = yes;   # when device opened, read it
 AlwaysOpen = yes;
 LabelMedia = yes;
 RemovableMedia = yes;
 }
 
 
 
 thanks for help
 --
 -- NativeMail System ---
 --
 
 
 
 -
 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

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




-
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 Bacula for me: Videography business backups

2006-11-10 Thread Arno Lehmann
Hi,

On 11/10/2006 10:00 AM, Robert Nelson wrote:
 Actually I've sent him a number of things to try as well as debug binaries
 but he never replied with the results of running them.

Oops, I'm quite sure I sent the results to you.
Admittedly, my mail provider seems to get blacklisted more and more 
often these days, so it's possible these mails were not delivered (which 
I usually notice) or your mail server or client considered them to be 
spam... I'll resend some of my results immediately.

Arno

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kern
 Sibbald
 Sent: Friday, November 10, 2006 12:37 AM
 To: bacula-users@lists.sourceforge.net
 Cc: Arno Lehmann
 Subject: Re: [Bacula-users] Is Bacula for me: Videography business backups
 
 On Friday 10 November 2006 00:32, Arno Lehmann wrote:
 
Hi,

On 11/9/2006 1:55 AM, Bill Moran wrote:

On Wed, 08 Nov 2006 18:49:30 -0600
[EMAIL PROTECTED] wrote:



Arno Lehmann [EMAIL PROTECTED] writes:



Currently, the windows FD is running stable and reliable IMO.
Unfortunately, I have some problems with VSS backups (windows' name for
 
 
volume snapshots) where files can't be accessed when I do a snapshot
 
 but 
 
can be accessed without VSS.

For backups of data files not in use during backup operations, this 
should not be a problem.

I'm not sure I'm following you here.  Are you saying I would not be
able to backup files that were in use?  Or just not in some special
circumstances...?

Well, kind of special circumstances. Bill explained it fine enough, I
think, but...


I'm not sure what role VSS plays or when it might be used but I would
need to routinely be able to backup files that are in use.


Depends on your definition of in use.  If the system has the file
 
 locked 
 for
 
writing, you'll have to enable VSS to get a backup of it while it's
 
 write
 
locked.  If the application has it open read-only, you'll get a good 
 
 backup
 
either way.

The most common problem files are, in my experience, outlook mailboxes:
They are large, they change a lot, and they are usually locked.

With normal data files you wouldn't have problems, UNLESS these files
are written by the application while Bacula reads them. I don't know if
Bacula locks the files it reads (in that case your application would get
an error) or if it simply stores inconsistent data (which is the common
Unix / linux behaviour).


On the flip side, I've been using VSS to back up Windows workstations
 
 for 
 a
 
few months now with no problems, and all files are able to be backed up
 
 no
 
matter how they're opened.

Well, it worked here for a long time, too, but then, without any
apparent reason, I got problems with VSS. I started to discuss that on
bacula-devel, but since the development FD doesn't even run stable here
there's not much I can do to debug this :-(
 
 
 Yes I agree :-(.   
 
 However, will you permit me to play Microsoft support for a few minutes? 
 Microsoft support: Reload your operating system from the CD, and call me
 back 
 if it still does not work :-)
 
 -
 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
 
 

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

-
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] Tape access speed with LTO3

2006-11-10 Thread Rudolf Cejka
Alan Brown wrote (2006/11/10):
  I did not do /dev/zero because of hardware compression. I guess I could
  turn that off but isn't /dev/random 1 byte at a time??
 It's fast enough on most systems.

Really? My experience is that the speed of /dev/random and /dev/urandom
in FreeBSD is far from to be sufficient for LTO3.

# dd if=/dev/random of=/dev/null bs=64k count=1
1+0 records in
1+0 records out
65536 bytes transferred in 20.414294 secs (32102996 bytes/sec)

# dd if=/dev/urandom of=/dev/null bs=64k count=1
1+0 records in
1+0 records out
65536 bytes transferred in 20.418363 secs (32096599 bytes/sec)

Processor: CPU: Genuine Intel(R) CPU 3.20GHz (2793.02-MHz 686-class CPU).

-- 
Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic

-
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] Building bacula on OpenBSD

2006-11-10 Thread Kern Sibbald
On Wednesday 08 November 2006 15:48, Russell Sutherland wrote:
 There does not seem to be a port for Bacula for OpenBSD 4.0.
 
 I've tried building the package from source.
 
 After configuration, the make fails when trying to compile
 the stored code:
 
 ==Entering directory /usr/local/src/bacula-1.38.11/src/dird
  Make of dird is good 
 
 ==Entering directory /usr/local/src/bacula-1.38.11/src/stored
 /usr/bin/g++   -c  -I/usr/local/include   -I. -I..  -g -O2 -Wall -pthread 
dev.c
 dev.c: In function `bool eod_dev(DEVICE*)':
 dev.c:850: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:850: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c:852: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:881: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:882: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:899: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:900: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c: In function `u_int32_t status_dev(DEVICE*)':
 dev.c:1023: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1023: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c: In member function `bool DEVICE::fsf(int)':
 dev.c:1188: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1188: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c:1190: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c: In member function `bool DEVICE::fsr(int)':
 dev.c:1375: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1375: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c:1023: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1023: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c: In member function `bool DEVICE::fsf(int)':
 dev.c:1188: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1188: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c:1190: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c: In member function `bool DEVICE::fsr(int)':
 dev.c:1375: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1375: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c:1377: error: 'struct mtget' has no member named 'mt_fileno'
 dev.c:1378: error: 'struct mtget' has no member named 'mt_blkno'
 dev.c: In function `bool dev_get_os_pos(DEVICE*, mtget*)':
 dev.c:1968: error: 'struct mtget' has no member named 'mt_fileno'
 *** Error code 1
 
 Stop in /usr/local/src/bacula-1.38.11/src/stored.

It looks to me like the OS' header file is badly broken -- at least in the 
sense that if it is a Unix system, both mt_fileno and mt_blkno should be 
defined in the struct mtget.

Someone should fix the OS, barring that we will need a patch.

I checked the man page for st, where all other Unix systems define the packet.  
They include no definition, so you will need to consult the header file 
directly sys/mtio.h.   Sorry, but you are pretty much on your own on this.



 
 
   == Error in /usr/local/src/bacula-1.38.11/src/stored ==
 
 
 ==Entering directory /usr/local/src/bacula-1.38.11/src/tools
  Make of tools is good 
 
 
 
 Any ideas how this can be fixed?
 
 -- 
 Russell Sutherland
 russ AT madhaus . cns . utoronto . ca
 +1.416.978.0470 [ voice ]
 +1.416.978.6620 [ fax ]
 
 -
 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] Server Crash on SLES 10

2006-11-10 Thread Alan Brown
On Fri, 10 Nov 2006, Kern Sibbald wrote:

 I suggest you use all means possible to complain to SuSE and Novell about this
 problem.  Specifically, you can start by expressing your concern in the bug
 report. I find it totally unacceptable that a so called serious Linux OS
 provider would allow such a low level, critcal bug to exist in their system
 for more than a couple of days after being informed of it.

This kids in bedrooms attitude to an enterprise product is one 
of the reasons we recently dumped Suse and went with Redhat for our 
cluster servers.

So far we've been extremely impressed by RH's professionalism...

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


Re: [Bacula-users] Bacula Rescue - Solaris 10 - getdiskinfo errors - error on route command

2006-11-10 Thread Kern Sibbald
On Wednesday 08 November 2006 19:52, A Think Tank wrote:
 
 I am trying to go though the rescue procedures / preparation for
 Solaris, SunOS 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240,  as directed
 by the documentation.   I have a couple of errors with the command
 /usr/local/src/bacula-rescue-1.8.6/solaris/getdiskinfo
 
 Error on if statement
 
 Begin collecting system info
 ./getdiskinfo: test: argument expected
 
 I changed the if syntax to read:
 - if [ -e /etc/fstab ]; then
 + if [ -r /etc/fstab ]; then
 for all instances of the -e expression and it seemed to work just fine.
 It identified that i have a vfstab file and read that.
 
 Error on route command.
 
 route -n route.bsi
 error message
 usage: route [ -fnqv ] cmd [[ -qualifers ] args ]
 
 I am just not sure how to fix this, because I am not sure what the
 command is trying to gather.
 Currently both the df.bsi and route.bsi files are empty.  The other
 files seem to have been created just fine.
 
 I presume that the df.bsi file should contain data, but again, not sure
 what and there was no error message.
 

Hmmm. The problem is that no one has yet converted the Linux scripts to work 
on Solaris.  There are a lot of important and subtle differences between 
Linux and Solaris, eg most if [ -e xxx ]  should be if [ -f xxx ] ...

There are also a lot of major differences in terms of what info needs to be 
saved to reconstruct a system.

I suspect that you might be better off starting with some existing Solaris 
script that saves the system, then adding to it the necessary Bacula stuff.


-
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] Good news on Windows compression+encryption archive/restore

2006-11-10 Thread Kern Sibbald
On Thursday 09 November 2006 07:50, Michael Brennen wrote:
 
 It worked. :)
 
 I installed Robert's 1.39.27 beta on a Windows 2k server, touched 
 some files, archived and restored them, all without problems.  PKI 
 signatures were on.  The sparse option was enabled, and compression 
 was at GZIP6.  That has been a long time coming, but it is finally 
 working.
 

Nice. Thanks for the feedback.

Good work Robert both for the encryption fix and for fixing the Win32 FD to 
include encryption ...

-
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] Tape access speed with LTO3

2006-11-10 Thread Alan Brown
On Fri, 10 Nov 2006, Rudolf Cejka wrote:

 Alan Brown wrote (2006/11/10):
 I did not do /dev/zero because of hardware compression. I guess I could
 turn that off but isn't /dev/random 1 byte at a time??
 It's fast enough on most systems.

 Really? My experience is that the speed of /dev/random and /dev/urandom
 in FreeBSD is far from to be sufficient for LTO3.

If this is the case then one needs to use some 
pseudorandom/non-compressable data stream which _is_ fast enough.

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


Re: [Bacula-users] Update: Re: Rescue cd create/make problem

2006-11-10 Thread Kern Sibbald
On Thursday 09 November 2006 17:50, Don MacArthur wrote:
 1.  
 The 'nix restore process is working.  My process is as discussed
 earlier, install a base system with bacula and restore everything except
 - /sys /proc *and* /boot.  I learned quite a bit about getting the drive
 configuration right, but I successfully restored a working RH server.  

If there are any tips for the manual, please do write them down and send them 
in ...

 
 2.
 I'm still interested in testing the new recovery cd solution when Kern
 returns.

Ah, I would very much like to have someone test this.  I'll put some finishing 
touches on it this weekend and let you know.

 
 3.
 Now, I'm trying to conquer OSX 10.4...  I saw a couple of posts here,
 but it doesn't look like anyone's *actually* done it by restoring the
 system.  I don't mind figuring it out, but if you can give me a push in
 the right direction or keep me from repeating your mistakes I'd
 appreciate the time saved.  
 
 Almost everything I've read says to use imaging or reinstall everything
 and restore only the data.  The bootcd solutions I found are not for
 10.4 or based on creating a bootcd from the OS installation disk. There
 are a couple of commercial products, but my goal is a one-stop solution
 that a backup expert can use without being an OSX expert, too.  That
 said...
 
 Should I try doing it the same as for 'nix, but using the above-
 mentioned bootcd?  Is BSD significantly different (all my 'nix are RH or
 CentOS), and if it is should I start with that process?  I do actually
 work on these systems, but mostly remote and on the command line.  

Well, I cannot really answer this question because I don't know enough about 
either BSD or OS X.  However, in general, you need some code that will setup 
a bootable CD (or USB or other thing) so that you can boot without using your 
disk image. Then you need to be able to repair/reformat, ... your hard disks 
depending on the situation -- that is what most of the Bacula rescue code 
does. It saves the state of the system and reformats it in a series of 
relatively easy to use scripts.  In addition, you need a statically linked 
copy of the FD and its conf file on the CD so that you can restore the data 
files.  And finally, you need some way to restore the boot sector (typically 
grub on most newer Linux machines).

 
 TIA for any/everything.
 
 Don.
 
 
  Thanks for the education.  I knew about /proc, but /sys is news to
 me.  
  
  Again, many thanks.
  
  Don.
  
  On Wed, 2006-09-13 at 10:49 +0200, Kern Sibbald wrote:
   On Wednesday 13 September 2006 06:09, MacArthur, Don wrote:
Hi to all!

I took the advice about loading a minimal OS config and then restoring 
from 
   backup.  I have another issue that may or may not be related to the 
   restore...

I used restore all from the console, with files being replaced always 
and 
   the where set to /.  However, after entering the / for the where 
parm 
   the field appeared blank. 
   
   Yes, blank is the same thing as /.
   
No matter, or so I thought.  Near the end of the restore process as it 
is 
   trying to restore the sys/dev folder (some of which can't be restored 
because 
   it's in use) the server ceases to communicate.  No ping, not bacula 
client 
   response... 
   
   Well, you should not be trying to restore /sys or /proc.  If you have 
backed 
   them up, then you will need to exclude them from the restore. These are 
   virtual directories created by the OS, and writing into them could 
cause 
   lots of damage.
   

I rebooted the server and after loading vmlinuz... 
   
   If you rebooted the server without completing the restore, there is 
little 
   chance it will boot up.
   
   What does loading vmlinuz... mean?  If you did not restore everything 
   in /boot AND if you did not rewrite the boot sector with grub (or 
possibly 
   lilo), there is no chance that your system will boot.
   
   
I get an error saying that it can't find the root (/) folder, and 
then the 
   kernel panics.   
   
   

I'm thinking that there are some folders that I should know to exclude 
from 
   the restore, but don't have the experience to know about.  I'm trying to 
   follow the docs (not a complaint, just want you to know I'm not lazy), 
but I 
   don't see anything different from what I'm doing.  
   
   They are actually directories that you should exclude from the backup, 
and 
   there are several places in the doc that show examples.  However, it is 
true, 
   you sort of have to know as it may not be as explicitly stated as it 
should 
   be -- I'll look at the document in the near future.
   
   If you have specified directories or filesystems such as /proc and /sys 
in 
   your backup, then you can still do a restore, but you will need to 
explicitly 
   exclude them.
   

Links to mail list threads and/or documentation are welcome - I'm 
willing to 
   do my homework, I just need a nudge or a 

Re: [Bacula-users] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 11:08, Jaime Ventura wrote:
 kern,
 thanks for your reply.
 I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
 that there were only only one mail directive.
 I still receive the error messages on [EMAIL PROTECTED] email 
 account.(and also on [EMAIL PROTECTED] email account, but that's the expected 
 behavior).

 I don't have much time right now, but if you point me out where in 
 the code is this implemented, I would like to take a look at it.
 Thanks
   

Take a look at the file:  bacula/src/lib/message.c for the implementation.

The configuration code (reading conf files and creating the resource 
structures) is probably in bacula/src/lib/parse-conf.c

 
 
  
 
 
 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 
 
   
 
 
 
 
 
 Kern Sibbald wrote:
  On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:

  Hello
 This is my second email concerning this subject.
 Since no one answer me, and I've tested all possible ways (i think) 
  should I consider this a bug?
 Thanks
 
 
  Message I sent before:
 
   I'm trying to set the messages resource so that messages about
  successful backups/restores are sent to one email address and the
  messages concerning error backups/restore to another.
   Here goes my resource:
 
  Messages {
 Name = MessagesForUsers
 mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
  \Bacula: %t %e of %c %l\ %r
 operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
  -s \Bacula: Intervention needed for %j\ %r
 mail = [EMAIL PROTECTED] = all, !skipped
 operator = [EMAIL PROTECTED] = mount
 mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
 MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate
 
 console = all, !skipped, !saved
  # WARNING! the following will create a file that you must cycle from
  #  time to time as it will grow indefinitely. However, it will
  #  also keep all your messages if they scroll off the console.
  #
 append = /var/bacula/log = all, !skipped
  }
 
 
 
   The problem is that I get both ERROR and OK messages on the address
  where only OK messages should go ([EMAIL PROTECTED] in my case).
   Any ideas?
  
 
  You have two mail directives. Perhaps this is the problem.
 

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

 
 -
 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
 

Re: [Bacula-users] differential backups not reqiered?

2006-11-10 Thread Jaap Stolk
On 11/10/06, Kern Sibbald [EMAIL PROTECTED] wrote:
 On Friday 03 November 2006 11:27, Jaap Stolk wrote:
  I did some more reading and found that the differential backup only
  looks at the file date/time, exactly like the incremental backup. so
  this is no reason to use a differential backup.

 Except that doing Differential backups allows you to restore faster and to
 recycle your Incremental backups faster.

I completely agree that differential backups are a must if incremental
backups must be recycled fast (because of there size) or when restore
speed is important (especially if using tapes instead of disk).

Maybe my situation is a bit unusual, but I have about 50 GB backed up,
but the hourly incremental backup only adds about 3 MB on average, so
I can store a lot of incremental backups for a long time. I'm using
two pools (for each client), one for full backups (every 3 months) and
one for incremental backups (hourly during work hours). The debian
backup box doesn't run 24-7, it only makes hourly backups while
switched on. The full backup volumes hold only a single full backup.
The incremental volumes are used for 3 months.
My goal was restoring accidentally deleted or overwritten files. I
have a separate backup system for the normal safety backup (daily sync
to external USB drives). The whole point was to keep the incremental
backups for as long as possible. I'm aiming to keep the last 3
incremental volumes (9 month) and maybe the last 6 full backups. (1.5
year)

I set separate pools for full/incremental backups in the job
configuration. this works well, but I can't restore files using
(win32) xwconsole anymore. It complains that there isn't a full backup
because the full backup is in another pool. but this is probably
caused by a slight version mismatch between bacula and wxconsole.
Anyway, restore using bconsole works fine and I can even do that
remotely using putty.

It took a while experimenting and setting up, but I'm very pleased
with Bacula. :-)
Jaap.

-
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] (no subject)

2006-11-10 Thread Les Mikesell
On Fri, 2006-11-10 at 05:27, Martin Simmons wrote:
  
  The LICENSE will not be changed, only the copyright holder, so Bacula will 
  continue to be distributed under GPL version 2 + a few additions that are 
  specified in the LICENSE file.  When GPL version 3 is released, we'll take 
  a 
  look at whether or not we want to use it (with input from Bacula users, of 
  course).
 
 I'm a bit confused about the connection between copyright ownership and the
 license.  Are there any issues with changing the license if you don't own the
 copyright?  Conversely, can the copyright owner change the license without
 consulting anyone else?

Copyright owners can release a work under different licenses
at the same or different times.  However with a work that
has been released under any sort of public license it would
be pretty difficult to prove that parts of the code were
not actually owned by other contributors unless the
person claiming ownership has been careful to obtain
copyright assignments from anything he has accepted and
included from others.

-- 
  Les Mikesell
   [EMAIL PROTECTED]



-
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] (no subject)

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 12:27, Martin Simmons wrote:
  On Fri, 10 Nov 2006 07:18:52 +0100, Kern Sibbald said:
  
  The LICENSE will not be changed, only the copyright holder, so Bacula will 
  continue to be distributed under GPL version 2 + a few additions that are 
  specified in the LICENSE file.  When GPL version 3 is released, we'll take 
a 
  look at whether or not we want to use it (with input from Bacula users, of 
  course).
 
 I'm a bit confused about the connection between copyright ownership and the
 license.  Are there any issues with changing the license if you don't own 
the copyright?  

 Conversely, can the copyright owner change the license without 
 consulting anyone else?

Yes, theoretically only the copyright holder(s) can change the license.  
However, the FSFE agreement is a fiduciary relationship, which is entered 
into for the purpose of protecting and defending the copyright.  They leave 
the project management up to the project.  Legally, they can change the 
license, but their intention is to change it only if the project wants to 
change it, or to be able to change the license if the project no longer 
exists and someone comes and tries to scoop up the code and make it non-free.

As mentioned above, it is possible they could change the license while the 
project is active, but this would not be in their interest as it would 
generate some rather negative publicity.  If their goal were to have all 
software under GPL, then I might be more worried about this, but they have 
explictly stated that they accept any free software license.

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

2006-11-10 Thread Kamen Medarski

Please help, i'm stuck with configuring schedule jobs. I'm try to implement configuration like this.2 fd clients.1st week in monday must be run Full backup, then in tuesday to sunday must be made Incremental, and those tapes must be available for restore for 1 week. For example named Full1 set.2nd week situation is the same, but i must use different set of tapes for Full and Incremental backup. Full2 set.Next week i must reuse tapes from Full1 set, and etc.With first site view of manual I made this scheduling.Schedule { Name = "Weekly" Run = Pool=Full1 1st mon at 23:05 Run = Pool=Incremental1 1st tue-sun at 23:05 Run = Pool=Full2 2nd mon at 23:05 Run = Pool=Incremental2 2nd tue-sun at 23:05 Run = Pool=Full1 3rd mon at 23:05 Run = Pool=Incremental1 3rd tue-sun at 23:05 Run = Pool=Full2 4th mon at 23:05 Run = Pool=Incremental2 4th tue-sun at 23:05 Run = Pool=Full1 5th mon at 23:05 Run = Pool=Incremental1 5th tue-sun at 23:05}but this one is complete mess, and do nothing reasonable.There was four different pools Full1,Full2,Inc..1,Inc..2with 1 volume in each pool.Second configuration is:Schedule { Name = "Weekly" Run = Pool=Full mon at 23:05 Run = Pool=Incremental tue-sun at 23:05}and there are 2 volumes in each pool. Full contains Full1 and Full2, and Incremental contains Incremental1 and Incremental2 volumes.My idea is to use shackles like this in Pool definition. Volume Use Duration = 1 day MaximumVolumeJobs = 2for Full pool and Volume Use Duration = 6 days MaximumVolumeJobs = 12 for Incremental pool.but i'm not sure if this will do exacly what i expect. For experiment i need period of 1 month, this time is too long for experimenting.If there is a way in wich i can get what i need. Thank you in advance.
-
Survivor BG. Оцеляването продължава на www.survivor.btv.bg
-
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] DDS-4

2006-11-10 Thread John Drescher
On 11/2/06, weyerma [EMAIL PROTECTED] wrote:
hi all,i have a prblem with my dds-4 drive.all tapes are only written to 20gb (uncompressed) and the tape fills.how can i turn the compression on, to fill all tapes up to 40gb ?Are you 100% sure that your data is compressible as you will not get any extra compression on already compressed files or random data? 
You can see if hardware compression is turned on by the use of the mt and I believe tapeinfo commands from the shell.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


Re: [Bacula-users] (no subject)

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 15:01, Les Mikesell wrote:
 On Fri, 2006-11-10 at 05:27, Martin Simmons wrote:
   
   The LICENSE will not be changed, only the copyright holder, so Bacula 
will 
   continue to be distributed under GPL version 2 + a few additions that 
are 
   specified in the LICENSE file.  When GPL version 3 is released, we'll 
take a 
   look at whether or not we want to use it (with input from Bacula users, 
of 
   course).
  
  I'm a bit confused about the connection between copyright ownership and 
the
  license.  Are there any issues with changing the license if you don't own 
the
  copyright?  Conversely, can the copyright owner change the license without
  consulting anyone else?
 
 Copyright owners can release a work under different licenses
 at the same or different times.  However with a work that
 has been released under any sort of public license it would
 be pretty difficult to prove that parts of the code were
 not actually owned by other contributors unless the
 person claiming ownership has been careful to obtain
 copyright assignments from anything he has accepted and
 included from others.

Well, I have been pretty careful in regard to getting copyright assignments 
from any major contribution (i.e. more than 20% of any single file).  In more 
recent times, the copyright assignments are explicitly signed, in some older 
cases, it is by email or the fact that the author of the code explicitly 
copyrighted it under my name.  There is some cleanup work to be done, so I 
suspect that some of the previous contributors may be contacted by FSFE (to 
be worked out).

In any case, the Bacula copyright assignment policy has been clearly spelled 
out from the beginning of the project in the Developer's guide.

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

2006-11-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You need to include your Bacula version -- I don't know why this escapes
so many people who write in to the list! :)

That said, I'm fairly sure Pool= is not supported in 1.38.x schedules.
Can anyone tell me if I'm right?

Kamen Medarski wrote:
  
 Please help, i'm stuck with configuring schedule jobs. I'm try to
 implement configuration like this.
 
 2 fd clients.
 
 1st week in monday must be run Full backup, then in tuesday to sunday
 must be made Incremental, and those tapes must be available for restore
 for 1 week. For example named Full1 set.
 
 2nd week situation is the same, but i must use different set of tapes
 for Full and Incremental backup. Full2  set.
 
 Next week i must reuse tapes from Full1 set, and etc.
 
 With first site view of manual I made this scheduling.
 
 Schedule {
 Name  = Weekly
 Run = Pool=Full1 1st mon at 23:05
 Run = Pool=Incremental1 1st tue-sun at 23:05
 Run = Pool=Full2 2nd mon at 23:05
 Run = Pool=Incremental2 2nd tue-sun at 23:05
 Run = Pool=Full1 3rd mon at 23:05
 Run = Pool=Incremental1 3rd tue-sun at 23:05
 Run = Pool=Full2 4th mon at 23:05
 Run = Pool=Incremental2 4th tue-sun at 23:05
 Run = Pool=Full1 5th mon at 23:05
 Run = Pool=Incremental1 5th tue-sun at 23:05
 }
 but this one is complete mess, and do nothing reasonable.
 There was four different pools Full1,Full2,Inc..1,Inc..2
 with 1 volume in each pool.
 
 Second configuration is:
 Schedule {
 Name  = Weekly
 Run = Pool=Full mon at 23:05
 Run = Pool=Incremental tue-sun at 23:05
 
 }
 and there are 2 volumes in each pool. Full contains Full1 and Full2, and
 Incremental contains Incremental1 and Incremental2 volumes.
 
 My idea is to use shackles like this in Pool definition.
   Volume Use Duration = 1 day
   MaximumVolumeJobs = 2
 for Full pool
 and
   Volume Use Duration = 6 days
   MaximumVolumeJobs = 12
 for Incremental pool.
 
 but i'm not sure if this will do exacly what i expect. For experiment i
 need period of 1 month, this time is too long for experimenting.
 
 If there is a way in wich i can get what i need. Thank you in advance.
 
 
 
 -
 Survivor BG. Оцеляването продължава на www.survivor.btv.bg
 http://survivor.btv.bg
 
 
 
 
 -
 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

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVJV6mb+gadEcsb4RAvZJAJ4lRpZG+yGpa21hJCfJuK5YELcLRACg1v6o
3LOIWiKYlh2YrLrTUClQgxw=
=jNYk
-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] Bacula Rescue - Solaris 10 - getdiskinfo errors - error on route command

2006-11-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If I'm not mistaken (and now I'm thinking I may have lost this stuff due
to an old e-mail purge), someone has done some substantial work doing
bare-metal restores on Solaris. I don't remember the gentleman's name,
but I believe he posted to the list.

Kern Sibbald wrote:
 On Wednesday 08 November 2006 19:52, A Think Tank wrote:
 I am trying to go though the rescue procedures / preparation for
 Solaris, SunOS 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240,  as directed
 by the documentation.   I have a couple of errors with the command
 /usr/local/src/bacula-rescue-1.8.6/solaris/getdiskinfo

 Error on if statement

 Begin collecting system info
 ./getdiskinfo: test: argument expected

 I changed the if syntax to read:
 - if [ -e /etc/fstab ]; then
 + if [ -r /etc/fstab ]; then
 for all instances of the -e expression and it seemed to work just fine.
 It identified that i have a vfstab file and read that.

 Error on route command.

 route -n route.bsi
 error message
 usage: route [ -fnqv ] cmd [[ -qualifers ] args ]

 I am just not sure how to fix this, because I am not sure what the
 command is trying to gather.
 Currently both the df.bsi and route.bsi files are empty.  The other
 files seem to have been created just fine.

 I presume that the df.bsi file should contain data, but again, not sure
 what and there was no error message.

 
 Hmmm. The problem is that no one has yet converted the Linux scripts to work 
 on Solaris.  There are a lot of important and subtle differences between 
 Linux and Solaris, eg most if [ -e xxx ]  should be if [ -f xxx ] ...
 
 There are also a lot of major differences in terms of what info needs to be 
 saved to reconstruct a system.
 
 I suspect that you might be better off starting with some existing Solaris 
 script that saves the system, then adding to it the necessary Bacula stuff.
 
 
 -
 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

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVJeNmb+gadEcsb4RAgR2AJ4/PpmzGf0ygpWryuwS/sGcW6dTogCg1w+R
gjlYGGlfb+upigKCuVbIckk=
=8W5Y
-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


[Bacula-users] Software compression question

2006-11-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

No one has answered this one, and I know PLENTY of people use software
compression and might know how it is and is not enabled.

Anyone care to give me some help?

- From the manual:

- ---
Bacula also has compression code, which is normally used only when
backing up to file Volumes. There are two conditions for this software
to become enabled.

   1. You must have the zip development libraries loaded on your system
  when building Bacula and Bacula must find this library, normally *
  /usr/lib/libz.a*. On RedHat systems, this library is provided by
  the * zlib-devel* rpm.

  If the library is found by Bacula during the *./configure* it will
  be mentioned in the *config.out* line by:

   ZLIB support:  yes


   2. You must add the *compression=gzip* option on your Include
  statement in the Director's configuration file.

- ---

Well, apparently this isn't true, because I do not have compression=gzip
anywhere in any of my config files, yet I see that my reports say that
compression is enabled on some of my machines (typically about 22%
compressed). Can this be enabled by a configure flag or something like
this? Does 'compression=none' turn it off? I want to be able to decide
whether it's on or off, and currently I can't see any way to set this
other than 1 through 9 in the config files.

I'm running 1.38.x.



- -
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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVJg/mb+gadEcsb4RAmJPAKCc7nfoAipqKXjZ7N3KKb4lfcw+xwCeJIrZ
/AQBm6Bv1WTY1wIgkz72CHE=
=DeIm
-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] Bacula Rescue - Solaris 10 - getdiskinfo errors - error on route command

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 16:15, Ryan Novosielski wrote:
 If I'm not mistaken (and now I'm thinking I may have lost this stuff due
 to an old e-mail purge), someone has done some substantial work doing
 bare-metal restores on Solaris. I don't remember the gentleman's name,
 but I believe he posted to the list.

Yes, now that you mention it, I recall that someone did get rescue working on 
Solaris, but to the best of my knowledge the code was never posted.  If 
someone has the time to check the archives and prove me wrong, he would be 
doing the Solaris users a big favor as I would be very happy to accept such 
code ... :-)

 
 Kern Sibbald wrote:
  On Wednesday 08 November 2006 19:52, A Think Tank wrote:
  I am trying to go though the rescue procedures / preparation for
  Solaris, SunOS 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240,  as directed
  by the documentation.   I have a couple of errors with the command
  /usr/local/src/bacula-rescue-1.8.6/solaris/getdiskinfo
 
  Error on if statement
 
  Begin collecting system info
  ./getdiskinfo: test: argument expected
 
  I changed the if syntax to read:
  - if [ -e /etc/fstab ]; then
  + if [ -r /etc/fstab ]; then
  for all instances of the -e expression and it seemed to work just fine.
  It identified that i have a vfstab file and read that.
 
  Error on route command.
 
  route -n route.bsi
  error message
  usage: route [ -fnqv ] cmd [[ -qualifers ] args ]
 
  I am just not sure how to fix this, because I am not sure what the
  command is trying to gather.
  Currently both the df.bsi and route.bsi files are empty.  The other
  files seem to have been created just fine.
 
  I presume that the df.bsi file should contain data, but again, not sure
  what and there was no error message.
 
 
  Hmmm. The problem is that no one has yet converted the Linux scripts to 
work
  on Solaris.  There are a lot of important and subtle differences between
  Linux and Solaris, eg most if [ -e xxx ]  should be if [ -f xxx ] ...
 
  There are also a lot of major differences in terms of what info needs to 
be
  saved to reconstruct a system.
 
  I suspect that you might be better off starting with some existing Solaris
  script that saves the system, then adding to it the necessary Bacula 
stuff.
 
 
  -
  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
 
 --
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
  |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
 
 
 -
 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] Bacula backup strategy

2006-11-10 Thread Kamen Medarski

This is my version. Copyright (C) 2000-2005 Kern Sibbald.Version: 1.38.9 (02 May 2006)  Оригинално писмо  От:  Ryan Novosielski <[EMAIL PROTECTED]> Относно: Re: [Bacula-users] Bacula backup strategy До: Kamen Medarski <[EMAIL PROTECTED]> Изпратено на: Петък, 2006, Ноември 10 17:06:34 GMT+02:00 --  -BEGIN PGP SIGNED MESSAGE- Hash: SHA1  You need to include your Bacula version -- I don't know why this escapes so many people who write in to the list! :)  That said, I'm fairly sure Pool= is not supported in 1.38.x schedules. Can anyone tell me if I'm right?  Kamen Medarski wrote: Please help, i'm stuck with configuring schedule jobs. I'm try to  implement configuration like this.2 fd clients.1st week in monday must be run Full backup, then in tuesday to sunday  must be made Incremental, and those tapes must be available for restore  for 1 week. For example named Full1 set.2nd week situation is the same, but i must use different set of tapes  for Full and Incremental backup. Full2  set.Next week i must reuse tapes from Full1 set, and etc.With first site view of manual I made this scheduling.Schedule {  Name  = "Weekly"  Run = Pool=Full1 1st mon at 23:05  Run = Pool=Incremental1 1st tue-sun at 23:05  Run = Pool=Full2 2nd mon at 23:05  Run = Pool=Incremental2 2nd tue-sun at 23:05  Run = Pool=Full1 3rd mon at 23:05  Run = Pool=Incremental1 3rd tue-sun at 23:05  Run = Pool=Full2 4th mon at 23:05  Run = Pool=Incremental2 4th tue-sun at 23:05  Run = Pool=Full1 5th mon at 23:05  Run = Pool=Incremental1 5th tue-sun at 23:05  }  but this one is complete mess, and do nothing reasonable.  There was four different pools Full1,Full2,Inc..1,Inc..2  with 1 volume in each pool.Second configuration is:  Schedule {  Name  = "Weekly"  Run = Pool=Full mon at 23:05  Run = Pool=Incremental tue-sun at 23:05}  and there are 2 volumes in each pool. Full contains Full1 and Full2, and  Incremental contains Incremental1 and Incremental2 volumes.My idea is to use shackles like this in Pool definition.Volume Use Duration = 1 dayMaximumVolumeJobs = 2  for Full pool  andVolume Use Duration = 6 daysMaximumVolumeJobs = 12  for Incremental pool.but i'm not sure if this will do exacly what i expect. For experiment i  need period of 1 month, this time is too long for experimenting.If there is a way in wich i can get what i need. Thank you in advance.-  Survivor BG. Оцеляването продължава на www.survivor.btv.bg-  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  - --   _  _ _  _ ___  _  _  _  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III  |%message%| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org  iD8DBQFFVJV6mb+gadEcsb4RAvZJAJ4lRpZG+yGpa21hJCfJuK5YELcLRACg1v6o 3LOIWiKYlh2YrLrTUClQgxw= =jNYk -END PGP SIGNATURE-   
-
Survivor BG. Оцеляването продължава на www.survivor.btv.bg
-
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 copyright transfer

2006-11-10 Thread Kern Sibbald
Hello again Martin,

I've changed the subject to be just slightly more readable than my orginal 
one :-)

See below for the FSFE additions to my response:

On Friday 10 November 2006 15:21, Kern Sibbald wrote:
 On Friday 10 November 2006 12:27, Martin Simmons wrote:
   On Fri, 10 Nov 2006 07:18:52 +0100, Kern Sibbald said:
   
   The LICENSE will not be changed, only the copyright holder, so Bacula 
will 
   continue to be distributed under GPL version 2 + a few additions that 
are 
   specified in the LICENSE file.  When GPL version 3 is released, we'll 
take 
 a 
   look at whether or not we want to use it (with input from Bacula users, 
of 
   course).
  
  I'm a bit confused about the connection between copyright ownership and 
the
  license.  Are there any issues with changing the license if you don't own 
 the copyright?  
 
  Conversely, can the copyright owner change the license without 
  consulting anyone else?
 
 Yes, theoretically only the copyright holder(s) can change the license.  
 However, the FSFE agreement is a fiduciary relationship, which is entered 
 into for the purpose of protecting and defending the copyright.  They leave 
 the project management up to the project.  Legally, they can change the 
 license, but their intention is to change it only if the project wants to 
 change it, or to be able to change the license if the project no longer 
 exists and someone comes and tries to scoop up the code and make it 
non-free.
 
 As mentioned above, it is possible they could change the license while the 
 project is active, but this would not be in their interest as it would 
 generate some rather negative publicity.  If their goal were to have all 
 software under GPL, then I might be more worried about this, but they have 
 explictly stated that they accept any free software license.
 

After having sent a copy of my email to Georg and Shane, Georg had this to 
say:

You could add that this will be part of our published principles for
the Freedom Task Force operations, and thus a public promise we're
making to the projects in our fiduciary project.

Even when considering this with a paranoid eye, ignoring that public
promise would have strong negative ramifications for FSFE.

-
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] Solaris 10 clients with ZFS filesystems

2006-11-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'd say there's a better than even chance that it does -- I don't see
why Bacula would care what the filesystem type is, considering the
operating system handles the read calls, doesn't it?

Mike Seda wrote:
 Hi All,
 Does bacula work for Solaris 10 clients with ZFS filesystems?
 Best,
 Mike
 
 
 
 -
 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

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVJvvmb+gadEcsb4RArBIAJ4jp2gQZ2dh4ACwSaxmtKsQkcgmjQCgtIsv
9ScDaZRcFybsAgU82aSA2l4=
=3Nxe
-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


[Bacula-users] Data transfer rates

2006-11-10 Thread DAve
Good morning,

I have a question concerning reported data transfer rates between the 
clients and the storage servers. All the above servers are connected to 
my NOC clients via a 1gb network. The servers are connected to several 
other clients via 100mb network and a 13mb VLAN.

Data rates for backups can vary widely. I have all clients running 
compression and the backup reports show compression results, varies of 
course based on the data type. I also have concurrency set to four, 
which is working.

Some examples,

1gb network
=
   FD Bytes Written:   215,582,592
   SD Bytes Written:   215,582,742
   Rate:   2245.7 KB/s
   Software Compression:   62.0 %

   FD Bytes Written:   510,861,802
   SD Bytes Written:   511,074,097
   Rate:   577.2 KB/s
   Software Compression:   80.0 %

   FD Bytes Written:   77,243,969
   SD Bytes Written:   78,145,766
   Rate:   351.1 KB/s
   Software Compression:   84.4 %

100mb network
=
   FD Bytes Written:   3,486,750,378
   SD Bytes Written:   3,488,784,689
   Rate:   2391.5 KB/s
   Software Compression:   42.4 %

   FD Bytes Written:   3,486,750,378
   SD Bytes Written:   3,488,784,689
   Rate:   2391.5 KB/s
   Software Compression:   42.4 %

13mb VLAN
=
   FD Bytes Written:   35,879,089,133
   SD Bytes Written:   35,910,549,602
   Rate:   1385.2 KB/s
   Software Compression:   41.1 %

   FD Bytes Written:   9,803,307,103
   SD Bytes Written:   9,809,416,473
   Rate:   1273.0 KB/s
   Software Compression:   57.3 %

   FD Bytes Written:   434,184,031
   SD Bytes Written:   434,204,782
   Rate:   943.9 KB/s
   Software Compression:   82.0 %


I'm not sure how to interpret the variation in rates. I don't think I 
have a problem, though I would expect the backups across the 1gb network 
to be far faster than they are. The backups across the 1gb network are 
all FreeBSD boxes, the backups across the 100mb and the 13mb VLAN are 
Windows and RedHat servers. The dir, and the sd clients are running on 
FreeBSD servers dedicated to that task, there are no other processes 
running.

Any ideas where I might start looking?

DAve


-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

-
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] Data transfer rates

2006-11-10 Thread John Drescher
On 11/10/06, DAve [EMAIL PROTECTED] wrote:
Good morning,I have a question concerning reported data transfer rates between theclients and the storage servers. All the above servers are connected tomy NOC clients via a 1gb network. The servers are connected to several
other clients via 100mb network and a 13mb VLAN.Data rates for backups can vary widely. I have all clients runningcompression and the backup reports show compression results, varies ofcourse based on the data type. I also have concurrency set to four,
which is working.Some examples,1gb network= FD Bytes Written: 215,582,592 SD Bytes Written: 215,582,742 Rate: 2245.7 KB/s
 Software Compression: 62.0 % FD Bytes Written: 510,861,802 SD Bytes Written: 511,074,097 Rate: 577.2 KB/s Software Compression: 80.0 % FD Bytes Written: 77,243,969
 SD Bytes Written: 78,145,766 Rate: 351.1 KB/s Software Compression: 84.4 %100mb network= FD Bytes Written: 3,486,750,378
 SD Bytes Written: 3,488,784,689 Rate: 2391.5 KB/s Software Compression: 42.4 % FD Bytes Written: 3,486,750,378 SD Bytes Written: 3,488,784,689 Rate: 
2391.5 KB/s Software Compression: 42.4 %13mb VLAN= FD Bytes Written: 35,879,089,133 SD Bytes Written: 35,910,549,602 Rate: 1385.2
 KB/s Software Compression: 41.1 % FD Bytes Written: 9,803,307,103 SD Bytes Written: 9,809,416,473 Rate: 1273.0 KB/s Software Compression: 57.3 %
 FD Bytes Written: 434,184,031 SD Bytes Written: 434,204,782 Rate: 943.9 KB/s Software Compression: 82.0 %I'm not sure how to interpret the variation in rates. I don't think I
have a problem, though I would expect the backups across the 1gb networkto be far faster than they are. The backups across the 1gb network areall FreeBSD boxes, the backups across the 100mb and the 13mb VLAN are
Windows and RedHat servers. The dir, and the sd clients are running onFreeBSD servers dedicated to that task, there are no other processesrunning.Any ideas where I might start looking?
I believe your biggest bottleneck is not the networks speed but the software compression speed as this only a few MB/s max even on the fastest pc you can get. Tape drives are able to compress data at very high speeds because they have specialized hardware (not just a cpu and memory) for that purpose.
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


Re: [Bacula-users] Data transfer rates

2006-11-10 Thread DAve
John Drescher wrote:
 On 11/10/06, DAve [EMAIL PROTECTED] wrote:

 Good morning,

 I have a question concerning reported data transfer rates between the
 clients and the storage servers. All the above servers are connected to
 my NOC clients via a 1gb network. The servers are connected to several
 other clients via 100mb network and a 13mb VLAN.

 Data rates for backups can vary widely. I have all clients running
 compression and the backup reports show compression results, varies of
 course based on the data type. I also have concurrency set to four,
 which is working.

 Some examples,

 1gb network
 =
FD Bytes Written:   215,582,592
SD Bytes Written:   215,582,742
Rate:   2245.7 KB/s
Software Compression:   62.0 %

FD Bytes Written:   510,861,802
SD Bytes Written:   511,074,097
Rate:   577.2 KB/s
Software Compression:   80.0 %

FD Bytes Written:   77,243,969
SD Bytes Written:   78,145,766
Rate:   351.1 KB/s
Software Compression:   84.4 %

 100mb network
 =
FD Bytes Written:   3,486,750,378
SD Bytes Written:   3,488,784,689
Rate:   2391.5 KB/s
Software Compression:   42.4 %

FD Bytes Written:   3,486,750,378
SD Bytes Written:   3,488,784,689
Rate:   2391.5 KB/s
Software Compression:   42.4 %

 13mb VLAN
 =
FD Bytes Written:   35,879,089,133
SD Bytes Written:   35,910,549,602
Rate:   1385.2 KB/s
Software Compression:   41.1 %

FD Bytes Written:   9,803,307,103
SD Bytes Written:   9,809,416,473
Rate:   1273.0 KB/s
Software Compression:   57.3 %

FD Bytes Written:   434,184,031
SD Bytes Written:   434,204,782
Rate:   943.9 KB/s
Software Compression:   82.0 %


 I'm not sure how to interpret the variation in rates. I don't think I
 have a problem, though I would expect the backups across the 1gb network
 to be far faster than they are. The backups across the 1gb network are
 all FreeBSD boxes, the backups across the 100mb and the 13mb VLAN are
 Windows and RedHat servers. The dir, and the sd clients are running on
 FreeBSD servers dedicated to that task, there are no other processes
 running.

 Any ideas where I might start looking?

 
 I believe your biggest bottleneck is not the networks speed but the 
 software
 compression speed as this only a few MB/s max even on the fastest pc you 
 can
 get. Tape drives are able to compress data at very high speeds because they
 have specialized hardware (not just a cpu and memory) for that purpose.
 
 John

Excellent point. The servers that are slowest to transfer are also the 
busiest, my front end web server and my mail gateways (Av and spam 
filtering).

That is certainly something to look further into. I could try turning 
off compression for one cycle to prove the theory.

Thanks,

DAve

-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

-
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] (no subject)

2006-11-10 Thread Les Mikesell
On Fri, 2006-11-10 at 15:21 +0100, Kern Sibbald wrote:

 Yes, theoretically only the copyright holder(s) can change the license.  
 However, the FSFE agreement is a fiduciary relationship, which is entered 
 into for the purpose of protecting and defending the copyright.  They leave 
 the project management up to the project.  Legally, they can change the 
 license, but their intention is to change it only if the project wants to 
 change it, or to be able to change the license if the project no longer 
 exists and someone comes and tries to scoop up the code and make it non-free.

Is a non-free version a big issue for you?  I've always been a big fan
of perl's dual-license approach which effectively removes the
restrictions
of the GPL while allowing it to co-exist with GPL'd components.  I think
it's been a good thing for everyone.

-- 
  Les Mikesell
   [EMAIL PROTECTED]



-
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] Data transfer rates

2006-11-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

DAve wrote:
 Good morning,
 I'm not sure how to interpret the variation in rates. I don't think I 
 have a problem, though I would expect the backups across the 1gb network 
 to be far faster than they are. The backups across the 1gb network are 
 all FreeBSD boxes, the backups across the 100mb and the 13mb VLAN are 
 Windows and RedHat servers. The dir, and the sd clients are running on 
 FreeBSD servers dedicated to that task, there are no other processes 
 running.
 
 Any ideas where I might start looking?

There are a couple of things that jump out at me. Compression seems to
be affecting your rates a certain amount -- that probably makes sense,
as it takes some time to do compression. If you can, I'd be curious to
see what happens if you turn compression off and try the same numbers.

That said, your speed issues might be due to A) spooling or B)
misconfigured duplex settings on your machine.

Check netstat -ian or your platform's equivalent to make sure your
network settings are OK. As far as the spooling goes, you could try
without to see what happens (if you are using it), but basically my take
on that effect was that's the way it goes -- you spool and your rate
drops. I'm not thrilled that I no longer have a good way to check the
SD to tape data transfer rate, but as long as the backups run in an
acceptable amount of time, I stay happy.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFVLDxmb+gadEcsb4RAhpWAJ0cG8KPP5SmnY8XWyGv80OU8CDCuACeK0zn
PuKB65lC6TaN7Akq0Cf/XtI=
=SsjZ
-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


[Bacula-users] Bacula Web fix to scale output data

2006-11-10 Thread Jonathan B Bayer
Hello bacula-users,

I've just finished modifying Bacula Web 1.2 to scale the output.  I've changed 
it from displaying bytes to displaying megabytes.

If you're interested, let me know.  The changes are in two files which I can 
send you.



JBB
---
Superior solutions for small business, home office and home users

Jonathan B Bayer,CEO   mailto:[EMAIL PROTECTED]
Bayer Technology Group Work: (609) 632-1200
23 Exeter Rd.  Mobile: (609) 658-9408
East Windsor, NJ 08520


-
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 fix to scale output data

2006-11-10 Thread John Drescher
On 11/10/06, Jonathan B Bayer [EMAIL PROTECTED] wrote:
Hello bacula-users,I've just finished modifying Bacula Web 1.2 to scale the output.I've changed it from displaying bytes to displaying megabytes.If you're interested, let me know.The changes are in two files which I can send you.
I am very interested.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


Re: [Bacula-users] Data transfer rates

2006-11-10 Thread DAve
pedro moreno wrote:
 On 11/10/06, Ryan Novosielski [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 DAve wrote:
  Good morning,
  I'm not sure how to interpret the variation in rates. I don't think I
  have a problem, though I would expect the backups across the 1gb 
 network
  to be far faster than they are. The backups across the 1gb network are
  all FreeBSD boxes, the backups across the 100mb and the 13mb VLAN are
  Windows and RedHat servers. The dir, and the sd clients are running on
  FreeBSD servers dedicated to that task, there are no other processes
  running.
 
  Any ideas where I might start looking?

 There are a couple of things that jump out at me. Compression seems to
 be affecting your rates a certain amount -- that probably makes sense,
 as it takes some time to do compression. If you can, I'd be curious to
 see what happens if you turn compression off and try the same numbers.

 That said, your speed issues might be due to A) spooling or B)
 misconfigured duplex settings on your machine.

 Check netstat -ian or your platform's equivalent to make sure your
 network settings are OK. As far as the spooling goes, you could try
 without to see what happens (if you are using it), but basically my take
 on that effect was that's the way it goes -- you spool and your rate
 drops. I'm not thrilled that I no longer have a good way to check the
 SD to tape data transfer rate, but as long as the backups run in an
 acceptable amount of time, I stay happy.

 - --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFFVLDxmb+gadEcsb4RAhpWAJ0cG8KPP5SmnY8XWyGv80OU8CDCuACeK0zn
 PuKB65lC6TaN7Akq0Cf/XtI=
 =SsjZ
 -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

 
 
 What help me get some extra rate was:
 
   Network Buffer Size, but it took me 1 week testing all my clients and
 decide wich value use on each client, before i setup the production server.
 
 Greetings!!!
 
 P.S. My Backup server is FreeBSD to.

Can you offer any guidelines as to how best determine the buffer size?

DAve

-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

-
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] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Jaime Ventura
Kern,
   I now understand whats happening and if I where more specific 
with the explanation maybe you would figure out what was happening to me.
   Here's what I wanted:
  If backup  succides, then a messages would be sent to 
[EMAIL PROTECTED]
  If not, then a message would be sent to [EMAIL PROTECTED]

   Messages concerning backups failures would correctly be followed 
by a message to [EMAIL PROTECTED]
   But  all messages (success ou failure) would go to [EMAIL PROTECTED]
   Actually their not.
   When a backup is successfull, to [EMAIL PROTECTED] goes the full 
report(starting job, ...bla,bla, report, OK), with a backup OK subject.
   When a backup is NOT successfull, to [EMAIL PROTECTED] goes just 
some messages(starting job, ...bla,bla), not the full report, with a 
backup ERROR subject, and thats why  I was saying that error messages 
would go to [EMAIL PROTECTED]
   Those messages(starting job, ...bla,bla) are sent just after 
the job starts and at that point bacula doesnt know if the backup has 
succided or not.
  
   Thats why (i think) you have created the MailOnError feature.
   And I would like to have something like that for  successfully 
terminated jobs.
   Is there any way to do it on configuration (besides coding a new 
feature)?
   Thanks.
  
  



 


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 







Kern Sibbald wrote:
 On Friday 10 November 2006 11:08, Jaime Ventura wrote:
   
 kern,
 thanks for your reply.
 I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
 that there were only only one mail directive.
 I still receive the error messages on [EMAIL PROTECTED] email 
 account.(and also on [EMAIL PROTECTED] email account, but that's the 
 expected 
 behavior).

 I don't have much time right now, but if you point me out where in 
 the code is this implemented, I would like to take a look at it.
 Thanks
   
 

 Take a look at the file:  bacula/src/lib/message.c for the implementation.

 The configuration code (reading conf files and creating the resource 
 structures) is probably in bacula/src/lib/parse-conf.c

   
  


 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 

  





 Kern Sibbald wrote:
 
 On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
   
   
 Hello
This is my second email concerning this subject.
Since no one answer me, and I've tested all possible ways (i think) 
 should I consider this a bug?
Thanks


 Message I sent before:

  I'm trying to set the messages resource so that messages about
 successful backups/restores are sent to one email address and the
 messages concerning error backups/restore to another.
  Here goes my resource:

 Messages {
Name = MessagesForUsers
mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
 \Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
 -s \Bacula: Intervention needed for %j\ %r
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate

console = all, !skipped, !saved
 # WARNING! the following will create a file that you must cycle from
 #  time to time as it will grow indefinitely. However, it will
 #  also keep all your messages if they scroll off the console.
 #
append = /var/bacula/log = all, !skipped
 }



  The problem is that I get both ERROR and OK messages on the address
 where only OK messages should go ([EMAIL PROTECTED] in my case).
  Any ideas?
 
 
 You have two mail directives. Perhaps this is the problem.

   
   
 Thanks,

 -- 






 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
   
 

Re: [Bacula-users] File Daemon Encryption Maturity

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 16:43, Ryan Novosielski wrote:
 Kern Sibbald wrote:
  On Tuesday 31 October 2006 12:58, Mathew Brown wrote:
  Hi,
  I'd read several times that the FD encryption feature was not yet
  stable but this was several months ago.  Would you now consider it
  stable enough for use in production environments?  Thanks for your
  help.
 
  It is ready for testing (BETA released), but not recommended for 
production
  use until it is officially released (unless you are an experienced Bacula
  user who knows how to cover his bases and can deal with bugs ...).
 
 One reason not to use encryption for other-than-testing purposes is the
 chance that, prior to release, the encryption format may change. This,
 in fact, happened just this week. This means that you're either in the
 situation of losing your backed up data or badgering the developers to
 include a workaround in the code (extra work for them). Either way, not
 a place I'd like to be. Seems like the BETA releases are coming along
 pretty well though, so it might not be all that long...

Well, I wouldn't like to stress these kinds of problems too much as I would 
prefer not to discourage people from beta testing.  The change of the data 
format was a very unusual event and Landon very graciously offered to 
maintain backward compatibility.  If it were not for beta testing, this 
problem would have been uncovered in production ...

Concerning the schedule: I had intended to release the production version in 
mid-November, but given the encryption problem, and what looks like a bug in 
Migration of jobs that span volumes, the release will probably be delayed 
until mid-December to allow proper testing.

-
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] (no subject)

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 18:03, Les Mikesell wrote:
 On Fri, 2006-11-10 at 15:21 +0100, Kern Sibbald wrote:
 
  Yes, theoretically only the copyright holder(s) can change the license.  
  However, the FSFE agreement is a fiduciary relationship, which is entered 
  into for the purpose of protecting and defending the copyright.  They 
leave 
  the project management up to the project.  Legally, they can change the 
  license, but their intention is to change it only if the project wants to 
  change it, or to be able to change the license if the project no longer 
  exists and someone comes and tries to scoop up the code and make it 
non-free.
 
 Is a non-free version a big issue for you?  I've always been a big fan
 of perl's dual-license approach which effectively removes the
 restrictions
 of the GPL while allowing it to co-exist with GPL'd components.  I think
 it's been a good thing for everyone.
 

I'm not aware of what Perl's dual license is.  If it is something like what 
MySQL does, i.e. offer special versions for a price, then I'm not very 
enthousiastic about that kind of model for Bacula.  Nor would I like to see 
some Venture Capital effort come along and snap up Bacula as they have done 
for Amanda.  I also don't particularly like the BSD licenses as they don't 
require a tit for a tat as Linus calls it.  I have no problem with others 
chosing the license and business model they want, but it is not what I have 
wanted and continue to want for Bacula.  MySQL models result in a project 
that is no longer driven by contributions, but is driven by paid employees 
from commercial revenues.  BSD type licenses don't guarantee that the 
project remains Free Source (e.g., if I am not mistaken, the Microsoft 
networking code was pulled from the BSD stack, but none of their fixes or 
enhancements have gone back to the community that provided them the code for 
free).

The parts of Bacula that I feel could be used in proprietary code to interface 
to Bacula are released under LGPL so that vendors can develop proprietary 
code to interface with Bacula without starting from scratch.

-
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] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 19:04, Jaime Ventura wrote:
 Kern,
I now understand whats happening and if I where more specific 
 with the explanation maybe you would figure out what was happening to me.
Here's what I wanted:
   If backup  succides, then a messages would be sent to 
 [EMAIL PROTECTED]
   If not, then a message would be sent to [EMAIL PROTECTED]
 
Messages concerning backups failures would correctly be followed 
 by a message to [EMAIL PROTECTED]
But  all messages (success ou failure) would go to [EMAIL PROTECTED]
Actually their not.
When a backup is successfull, to [EMAIL PROTECTED] goes the full 
 report(starting job, ...bla,bla, report, OK), with a backup OK subject.
When a backup is NOT successfull, to [EMAIL PROTECTED] goes just 
 some messages(starting job, ...bla,bla), not the full report, with a 
 backup ERROR subject, and thats why  I was saying that error messages 
 would go to [EMAIL PROTECTED]
Those messages(starting job, ...bla,bla) are sent just after 
 the job starts and at that point bacula doesnt know if the backup has 
 succided or not.
   
Thats why (i think) you have created the MailOnError feature.
And I would like to have something like that for  successfully 
 terminated jobs.
Is there any way to do it on configuration (besides coding a new 
 feature)?

I see what you are trying to do, and I don't see why it cannot be done.  
However, it seems that something is going wrong, and I don't know what.  If 
you are absolutely sure it is a bug, then you can file a bug report.  I'd 
recommend that you include a conf file that explicitly reproduces the 
problem. In any case, however, don't hold your breath as there are a number 
of critical bugs to be worked on first ...


 
 Kern Sibbald wrote:
  On Friday 10 November 2006 11:08, Jaime Ventura wrote:

  kern,
  thanks for your reply.
  I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
  that there were only only one mail directive.
  I still receive the error messages on [EMAIL PROTECTED] email 
  account.(and also on [EMAIL PROTECTED] email account, but that's the 
  expected 
  behavior).
 
  I don't have much time right now, but if you point me out where in 
  the code is this implemented, I would like to take a look at it.
  Thanks

  
 
  Take a look at the file:  bacula/src/lib/message.c for the 
implementation.
 
  The configuration code (reading conf files and creating the resource 
  structures) is probably in bacula/src/lib/parse-conf.c
 

   
 
 
  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 
 
 
 
 
 
 
 
  Kern Sibbald wrote:
  
  On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:


  Hello
   This is my second email concerning this subject.
   Since no one answer me, and I've tested all possible ways (i think) 
  should I consider this a bug?
   Thanks
 
 
  Message I sent before:
 
   I'm trying to set the messages resource so that messages about
  successful backups/restores are sent to one email address and the
  messages concerning error backups/restore to another.
   Here goes my resource:
 
  Messages {
 Name = MessagesForUsers
 mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
  \Bacula: %t %e of %c %l\ %r
 operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
  -s \Bacula: Intervention needed for %j\ %r
 mail = [EMAIL PROTECTED] = all, !skipped
 operator = [EMAIL PROTECTED] = mount
 mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
 MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate
 
 console = all, !skipped, !saved
  # WARNING! the following will create a file that you must cycle from
  #  time to time as it will grow indefinitely. However, it will
  #  also keep all your messages if they scroll off the console.
  #
 append = /var/bacula/log = all, !skipped
  }
 
 
 
   The problem is that I get both ERROR and OK messages on the 
address
  where only OK messages should go ([EMAIL PROTECTED] in my case).
   Any ideas?
  
  
  You have two mail directives. Perhaps this is the problem.
 


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

Re: [Bacula-users] Bacula copyright transfer

2006-11-10 Thread Martin Simmons
 On Fri, 10 Nov 2006 16:27:26 +0100, Kern Sibbald said:
 
 Hello again Martin,
 
 I've changed the subject to be just slightly more readable than my orginal 
 one :-)
 
 See below for the FSFE additions to my response:
 
 On Friday 10 November 2006 15:21, Kern Sibbald wrote:
  On Friday 10 November 2006 12:27, Martin Simmons wrote:
On Fri, 10 Nov 2006 07:18:52 +0100, Kern Sibbald said:

The LICENSE will not be changed, only the copyright holder, so Bacula 
 will 
continue to be distributed under GPL version 2 + a few additions that 
 are 
specified in the LICENSE file.  When GPL version 3 is released, we'll 
 take 
  a 
look at whether or not we want to use it (with input from Bacula users, 
 of 
course).
   
   I'm a bit confused about the connection between copyright ownership and 
 the
   license.  Are there any issues with changing the license if you don't own 
  the copyright?  
  
   Conversely, can the copyright owner change the license without 
   consulting anyone else?
  
  Yes, theoretically only the copyright holder(s) can change the license.  
  However, the FSFE agreement is a fiduciary relationship, which is entered 
  into for the purpose of protecting and defending the copyright.  They leave 
  the project management up to the project.  Legally, they can change the 
  license, but their intention is to change it only if the project wants to 
  change it, or to be able to change the license if the project no longer 
  exists and someone comes and tries to scoop up the code and make it 
 non-free.
  
  As mentioned above, it is possible they could change the license while the 
  project is active, but this would not be in their interest as it would 
  generate some rather negative publicity.  If their goal were to have all 
  software under GPL, then I might be more worried about this, but they have 
  explictly stated that they accept any free software license.
  
 
 After having sent a copy of my email to Georg and Shane, Georg had this to 
 say:
 
 You could add that this will be part of our published principles for
 the Freedom Task Force operations, and thus a public promise we're
 making to the projects in our fiduciary project.
 
 Even when considering this with a paranoid eye, ignoring that public
 promise would have strong negative ramifications for FSFE.

OK, thanks for the clarification.

__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] (no subject)

2006-11-10 Thread Les Mikesell
On Fri, 2006-11-10 at 19:41 +0100, Kern Sibbald wrote:
  
  Is a non-free version a big issue for you?  I've always been a big fan
  of perl's dual-license approach which effectively removes the
  restrictions
  of the GPL while allowing it to co-exist with GPL'd components.  I think
  it's been a good thing for everyone.
  
 
 I'm not aware of what Perl's dual license is.  If it is something like what 
 MySQL does, i.e. offer special versions for a price, then I'm not very 
 enthousiastic about that kind of model for Bacula. 

The other one is called the 'Artistic' license and is very BSD-like in
permitting unrestricted distribution.  By allowing your choice of
distribution license terms it cleverly avoids the trap of prohibiting
useful combinations with either gpl'd or non-gpl'd code.  Someone can
make a commercial version of perl and not distribute source, but they
can't prohibit anyone else from continuing to distribute under the
GPL - and there are no issues with linking with commercial libraries
like database clients.

  Nor would I like to see 
 some Venture Capital effort come along and snap up Bacula as they have done 
 for Amanda.  I also don't particularly like the BSD licenses as they don't 
 require a tit for a tat as Linus calls it.

That's a matter of religion, I guess.  I see enough examples of free
code and products like X, NFS, firefox, openoffice and java that would
never have been started if GPL had been a requirement that I can't
believe the requirement is necessary or even a good thing.  But, I
personally think that the existence of OS-X is a good thing even
if all of it's code does not make it back to freebsd - opinions 
will differ about that. 

-- 
   Les Mikesell
[EMAIL PROTECTED]


-
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] (no subject)

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 20:16, Les Mikesell wrote:
 On Fri, 2006-11-10 at 19:41 +0100, Kern Sibbald wrote:
   
   Is a non-free version a big issue for you?  I've always been a big fan
   of perl's dual-license approach which effectively removes the
   restrictions
   of the GPL while allowing it to co-exist with GPL'd components.  I think
   it's been a good thing for everyone.
   
  
  I'm not aware of what Perl's dual license is.  If it is something like 
what 
  MySQL does, i.e. offer special versions for a price, then I'm not very 
  enthousiastic about that kind of model for Bacula. 
 
 The other one is called the 'Artistic' license and is very BSD-like in
 permitting unrestricted distribution.  By allowing your choice of
 distribution license terms it cleverly avoids the trap of prohibiting
 useful combinations with either gpl'd or non-gpl'd code.  Someone can
 make a commercial version of perl and not distribute source, but they
 can't prohibit anyone else from continuing to distribute under the
 GPL - and there are no issues with linking with commercial libraries
 like database clients.

Thanks for the clarification of the dual Perl license. 

For something like Perl their license probably works quite well.  However, in 
the case of Bacula, were it a BSD or other totally non-tit-for-tat license, I 
am convinced some commercial firm would snap it up and pocket millions 
selling it rebranded with a new snazzy front-end.  This is not something I 
would like to see.

 
   Nor would I like to see 
  some Venture Capital effort come along and snap up Bacula as they have 
done 
  for Amanda.  I also don't particularly like the BSD licenses as they don't 
  require a tit for a tat as Linus calls it.
 
 That's a matter of religion, I guess.  I see enough examples of free
 code and products like X, NFS, firefox, openoffice and java that would
 never have been started if GPL had been a requirement that I can't
 believe the requirement is necessary or even a good thing. 

It seems to me that you are mixing terms slightly by implying that X, NFS, 
firefox, ... are free code and that GPLed code is not free (anyway that is 
how I read the above).  I can see there are clear differences in the 
licenses, but unless you are interested in building commercial software 
around free code, I don't see any disadvantage to the GPL.  

 But, I 
 personally think that the existence of OS-X is a good thing even
 if all of it's code does not make it back to freebsd - opinions 
 will differ about that. 


I believe everyone should be able to chose his/her license.  In my case, I 
believe in the current GPL license that Bacula is using -- at least for 
Bacula.  Were this a small project, I would probably put the code in the 
Public Domain as I have previously done with small projects.

In any case, the current subject (or no subject) is who the copyright holder 
is going to be.  There is no planned change in the license.

-
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 fix to scale output data

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 18:20, Jonathan B Bayer wrote:
 Hello bacula-users,
 
 I've just finished modifying Bacula Web 1.2 to scale the output.  I've 
changed it from displaying bytes to displaying megabytes.
 
 If you're interested, let me know.  The changes are in two files which I can 
send you.

Could you supply a screen shot or two showing the change?

Yes, please do send the files or if possible a diff -u versus the current 
CVS.

-
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] Syntax file for vim?

2006-11-10 Thread Ryan Parrish
Has anyone written a vim syntax file for the bacula conf files to get 
some nice highlighting?  I googled around and searched the list but 
came up blank, so i thought would ask before I attempted one for myself.

--Ryan



-
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] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Jaime Ventura
Kern,
This is not a bug i think. Bacula is not capable of doing what I 
want.
Making it simple
I want that ONLY messages regarding successful backups go to 
[EMAIL PROTECTED], right?
When a job starts, bacula send the message : 10-Nov 17:37 
bserver-dir: Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30   
Since this is a info message (msgtype = M_INFO) the bacula's 
messaging system put in on the job messages (jcr-jcr_msgs) to be sent 
to all dest that have the info type enabled (including [EMAIL PROTECTED]).
But when/if the job fails, that message (10-Nov 17:37 bserver-dir: 
Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) has already 
been queued to be sent to [EMAIL PROTECTED], even though it refers to a 
unsuccessful backup.
So when its time to send all messages to emails, the bacula's 
messaging system send that message (10-Nov 17:37 bserver-dir: Start 
Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) to 
[EMAIL PROTECTED], but using the subject bacula ERROR, because the job 
terminated unsuccessful.
   
This problem could also happen if I wanted bacula to send emails 
regarding unsuccessful backups, if i didnt use the MailOnError feature. 
This feature is implemented so that if messages that  where queued to be 
sent if the backup was insuccessful, to be discarded if the backup is 
successful.

So what Im asking you is if  i can  implement a MailOnSuccess 
feature to be used on the project.
Once again, thanks.
   



 


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 







Kern Sibbald wrote:
 On Friday 10 November 2006 19:04, Jaime Ventura wrote:
   
 Kern,
I now understand whats happening and if I where more specific 
 with the explanation maybe you would figure out what was happening to me.
Here's what I wanted:
   If backup  succides, then a messages would be sent to 
 [EMAIL PROTECTED]
   If not, then a message would be sent to [EMAIL PROTECTED]

Messages concerning backups failures would correctly be followed 
 by a message to [EMAIL PROTECTED]
But  all messages (success ou failure) would go to [EMAIL PROTECTED]
Actually their not.
When a backup is successfull, to [EMAIL PROTECTED] goes the full 
 report(starting job, ...bla,bla, report, OK), with a backup OK subject.
When a backup is NOT successfull, to [EMAIL PROTECTED] goes just 
 some messages(starting job, ...bla,bla), not the full report, with a 
 backup ERROR subject, and thats why  I was saying that error messages 
 would go to [EMAIL PROTECTED]
Those messages(starting job, ...bla,bla) are sent just after 
 the job starts and at that point bacula doesnt know if the backup has 
 succided or not.
   
Thats why (i think) you have created the MailOnError feature.
And I would like to have something like that for  successfully 
 terminated jobs.
Is there any way to do it on configuration (besides coding a new 
 feature)?
 

 I see what you are trying to do, and I don't see why it cannot be done.  
 However, it seems that something is going wrong, and I don't know what.  If 
 you are absolutely sure it is a bug, then you can file a bug report.  I'd 
 recommend that you include a conf file that explicitly reproduces the 
 problem. In any case, however, don't hold your breath as there are a number 
 of critical bugs to be worked on first ...


   
 Kern Sibbald wrote:
 
 On Friday 10 November 2006 11:08, Jaime Ventura wrote:
   
   
 kern,
 thanks for your reply.
 I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
 that there were only only one mail directive.
 I still receive the error messages on [EMAIL PROTECTED] email 
 account.(and also on [EMAIL PROTECTED] email account, but that's the 
 expected 
 behavior).

 I don't have much time right now, but if you point me out where in 
 the code is this implemented, I would like to take a look at it.
 Thanks
   
 
 
 Take a look at the file:  bacula/src/lib/message.c for the 
   
 implementation.
   
 The configuration code (reading conf files and creating the resource 
 structures) is probably in bacula/src/lib/parse-conf.c

   
   
  


 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 







 Kern Sibbald wrote:
 
 
 On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
   
   
   
 Hello
  This is my second email 

Re: [Bacula-users] Syntax file for vim?

2006-11-10 Thread DAve
Ryan Parrish wrote:
 Has anyone written a vim syntax file for the bacula conf files to get 
 some nice highlighting?  I googled around and searched the list but 
 came up blank, so i thought would ask before I attempted one for myself.
 
 --Ryan

I've not seen one, and I looked as well. It's been a long time since I 
created a syntax file or I would have done it myself already.

DAve


-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

-
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] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Kern Sibbald
On Friday 10 November 2006 21:57, Jaime Ventura wrote:
 Kern,
 This is not a bug i think. Bacula is not capable of doing what I 
 want.
 Making it simple
 I want that ONLY messages regarding successful backups go to 
 [EMAIL PROTECTED], right?

Yes, you are right.  The output to [EMAIL PROTECTED] will suppress error 
messages, but will contain data from jobs that failed.

If you want to get output only from jobs that succeeded, you will probably 
need to make your own email filter that checks the termination message in the 
job output.   Just send the output to a script rather than directly to bsmtp.  
Process the output in the script and decide whether or not to send it on to 
bsmtp or not.

 When a job starts, bacula send the message : 10-Nov 17:37 
 bserver-dir: Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30   
 Since this is a info message (msgtype = M_INFO) the bacula's 
 messaging system put in on the job messages (jcr-jcr_msgs) to be sent 
 to all dest that have the info type enabled (including [EMAIL PROTECTED]).
 But when/if the job fails, that message (10-Nov 17:37 bserver-dir: 
 Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) has already 
 been queued to be sent to [EMAIL PROTECTED], even though it refers to a 
 unsuccessful backup.
 So when its time to send all messages to emails, the bacula's 
 messaging system send that message (10-Nov 17:37 bserver-dir: Start 
 Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) to 
 [EMAIL PROTECTED], but using the subject bacula ERROR, because the job 
 terminated unsuccessful.

 This problem could also happen if I wanted bacula to send emails 
 regarding unsuccessful backups, if i didnt use the MailOnError feature. 
 This feature is implemented so that if messages that  where queued to be 
 sent if the backup was insuccessful, to be discarded if the backup is 
 successful.
 
 So what Im asking you is if  i can  implement a MailOnSuccess 
 feature to be used on the project.
 Once again, thanks.

 
 
 
  
 
 
 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 
 
   
 
 
 
 
 
 Kern Sibbald wrote:
  On Friday 10 November 2006 19:04, Jaime Ventura wrote:

  Kern,
 I now understand whats happening and if I where more specific 
  with the explanation maybe you would figure out what was happening to me.
 Here's what I wanted:
If backup  succides, then a messages would be sent to 
  [EMAIL PROTECTED]
If not, then a message would be sent to [EMAIL PROTECTED]
 
 Messages concerning backups failures would correctly be followed 
  by a message to [EMAIL PROTECTED]
 But  all messages (success ou failure) would go to 
[EMAIL PROTECTED]
 Actually their not.
 When a backup is successfull, to [EMAIL PROTECTED] goes the full 
  report(starting job, ...bla,bla, report, OK), with a backup OK subject.
 When a backup is NOT successfull, to [EMAIL PROTECTED] goes just 
  some messages(starting job, ...bla,bla), not the full report, with a 
  backup ERROR subject, and thats why  I was saying that error messages 
  would go to [EMAIL PROTECTED]
 Those messages(starting job, ...bla,bla) are sent just after 
  the job starts and at that point bacula doesnt know if the backup has 
  succided or not.

 Thats why (i think) you have created the MailOnError feature.
 And I would like to have something like that for  successfully 
  terminated jobs.
 Is there any way to do it on configuration (besides coding a new 
  feature)?
  
 
  I see what you are trying to do, and I don't see why it cannot be done.  
  However, it seems that something is going wrong, and I don't know what.  
If 
  you are absolutely sure it is a bug, then you can file a bug report.  I'd 
  recommend that you include a conf file that explicitly reproduces the 
  problem. In any case, however, don't hold your breath as there are a 
number 
  of critical bugs to be worked on first ...
 
 

  Kern Sibbald wrote:
  
  On Friday 10 November 2006 11:08, Jaime Ventura wrote:


  kern,
  thanks for your reply.
  I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped 
  so 
  that there were only only one mail directive.
  I still receive the error messages on [EMAIL PROTECTED] email 
  account.(and also on [EMAIL PROTECTED] email account, but that's the 
  expected 
  behavior).
 
  I don't have much time right now, but if you point me out where in 
  the code is this implemented, I would like to take a look at it.
  Thanks

  
  
  Take a look at the file:  bacula/src/lib/message.c for the 

  

Re: [Bacula-users] Data transfer rates

2006-11-10 Thread pedro moreno
On 11/10/06, DAve [EMAIL PROTECTED] wrote:
pedro moreno wrote: On 11/10/06, Ryan Novosielski [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 DAve wrote:  Good morning,  I'm not sure how to interpret the variation in rates. I don't think I  have a problem, though I would expect the backups across the 1gb
 network  to be far faster than they are. The backups across the 1gb network are  all FreeBSD boxes, the backups across the 100mb and the 13mb VLAN are  Windows and RedHat servers. The dir, and the sd clients are running on
  FreeBSD servers dedicated to that task, there are no other processes  running.   Any ideas where I might start looking? There are a couple of things that jump out at me. Compression seems to
 be affecting your rates a certain amount -- that probably makes sense, as it takes some time to do compression. If you can, I'd be curious to see what happens if you turn compression off and try the same numbers.
 That said, your speed issues might be due to A) spooling or B) misconfigured duplex settings on your machine. Check netstat -ian or your platform's equivalent to make sure your
 network settings are OK. As far as the spooling goes, you could try without to see what happens (if you are using it), but basically my take on that effect was that's the way it goes -- you spool and your rate
 drops. I'm not thrilled that I no longer have a good way to check the SD to tape data transfer rate, but as long as the backups run in an acceptable amount of time, I stay happy.
 - --  __ __ __ |Y#| || |\/| |\ |\ || |Ryan Novosielski - Systems Programmer III |$| |__| || |__/ | \| _| |novosirj@
umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - 
http://enigmail.mozdev.org iD8DBQFFVLDxmb+gadEcsb4RAhpWAJ0cG8KPP5SmnY8XWyGv80OU8CDCuACeK0zn PuKB65lC6TaN7Akq0Cf/XtI= =SsjZ -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 What help me get some extra rate was:
 Network Buffer Size, but it took me 1 week testing all my clients and decide wich value use on each client, before i setup the production server. Greetings!!! P.S
. My Backup server is FreeBSD to.Can you offer any guidelines as to how best determine the buffer size?DAve--Three years now I've asked Google why they don't have alogo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing forVeterans?Maybe they forgot who made that choice possible.-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 easierDownload 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.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users  Edit bacula-sd.conf
, change Network Buffer Size, restart the sd service, them edit bacula-fd.conf for each client restart the fd-service, do 3 backups for each client, get the average. Starting from 8192 to 262144. I didnt found any other way to made this, but this was my test server, the same machine all this was to get the best values and them setup the server to production.
Some NT4 boxes work good with 65536 another 32768, Linux RH9 65536, none of the clients support 262144 even FreeBSD 6.1. Was time-consume, but get me some extra rate.Greetings.
-
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