Re: [Bacula-users] Off-topic: FAT32 disaster recovery

2006-12-08 Thread Robert Nelson
Yep Microsoft is so obviously at fault here.  First of all they designed FAT
in the late 70s.  Shame on them for using a filesystem design similar to all
the other systems at the time.  Then to top it off they have the audacity to
try and repair it when the user boots the system with a drive attached which
is corrupted.

UNIX is such a better system.  Let's see what does it do in a similar
situation?  Well fsck notices the drive needs repair, finds all these file
fragments that are listed as allocated but not attached to any directory.
Gee it makes up names for them and puts them in the lost+found directory.

Gee seems like exactly the same thing to me.

The only real lessons to be learned here is.  If your drive has a problem
don't continue to use it without fixing the problem.  Don't use an OS that
caches data on removable drives (Windows doesn't MAC OS apparently does).
Don't use an OS that mounts a drive that hasn't been closed properly
(another MAC deficiency versus Windows).  Finally don't give your drive to
someone that doesn't know what they're talking about to have it fixed.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan Brown
Sent: Friday, December 08, 2006 6:16 AM
To: Georg Altmann
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Off-topic: FAT32 disaster recovery

On Fri, 8 Dec 2006, Georg Altmann wrote:

> Unfortunately nice people from Redmond can get in your way here.

understatement

> I 
> attached the FireWire disk to my desktop, booted Windows XP

Now you know why you should NEVER use MS products and operating systems to 
recover corrupted MS filesystems.

> My personal judgment is, that files already got corrupted by Mac OS X
> writing to the damaged filesystem and thereby overwriting blocks
(clusters?
> "chains"?  whatever) it mistakenly deemed free, but in reality belonged to
> already existing files.

Yup. Same problem as happens when Messy-Dog (MS DOS) does it.

> Anyway, this teaches us once more, that you should
> a) make regular backups (doh!)
> b) not rely on external hard disks for this
> c) not at all use crappy filesystems such as FAT32

FAT is fine for floppies and that's where it should have stayed.

AB


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring from a BSR...Misunderstanding?

2006-12-08 Thread Robert Nelson
I'm not sure if this affects your choices but Kern has checked in a fix to
1.40 that solves this problem.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Benjamin
Chambers
Sent: Friday, December 08, 2006 7:06 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restoring from a BSR...Misunderstanding?


Hi Kern,

>> On thing that you might try is to add the Volume name(s) to the catalog
by 
>> doing an add command before running the restore.

This can't be done because there are no pools defined in an empty database
and 
the pool is not included in the BSR:

bcsonole start
*add volume
You probably don't want to be using this command since it
creates database records without labeling the Volumes.
You probably want to use the "label" command.

Using default Catalog name=MyCatalog DB=bacula
No pools defined. Use the "create" command to create one.
bcsonole end

At this point, I'll either have to rewrite our code/documentation to use 
bextract or maintain a patch for 1.38.x to behaive as 1.36.x did (at this
point, 
I don't know what that patch might entail, but it should be fairly simple to

diff between the two releases).

What would you suggest?  I know I've caught you at a bad time because of the

imminent release of 1.40 - would you be able to advise on a patch which
removes 
the SD statistic write to the Catalog which may be the cause?

Cheers,

Ben


Benjamin Chambers, P.Eng.
ClarkConnect Account Manager
Point Clark Networks
1179 King Street West, Suite 211
Toronto, ON
Canada, M6K 3C5

Tel:  +1.416.977.0574 Ext. 111
Fax:  +1.416.946.1192
Email:  [EMAIL PROTECTED]

Kern Sibbald wrote:
> On Thursday 07 December 2006 22:11, Benjamin Chambers wrote:
>> Bacula version 1.38.9/1.38.11 with MySQL
>>
>> I would very much appreciate it if anyone could clarify an issue that has

> come 
>> up while attempting to restore from a bootstrap file.
>>
>> The question is actually fundamentally quite simple...Can a BSR file be
used 
> to 
>> perform a restore if you have the boostrap file and backup data...but
have 
> lost 
>> the Catalog?  The situation being, of course, failure of the server
itself, 
>> where Bacula runs.
>>
>> I have gone under the assumption for the last year or so that this was 
> possible, 
>> but with current testing over the last week, I'm starting to think this
it 
> is not.
> 
> In principle it was supposed to work without needing the catalog.  It
looks 
> like at some point I wasn't thinking through all the consequences and
added 
> code to ensure that the SD updated the catalog with the read statistics,
so I 
> imagine that is what is going on.
> 
> On thing that you might try is to add the Volume name(s) to the catalog by

> doing an add command before running the restore.
> 
> The correct solution is for the SD during a restore to attempt to read the

> Volume data from the catalog, but instead of failing when the data is not 
> there, it should complain and continue.
> 
>> The test is to save to a mounted file (Windows share) system.  I had read
in 
>> prior posts where the MediaType must be unique or you get into some 
> problems.  I 
>> have ensured to do this.
>>
>> Here's a short summary of test results:
>>
>> TEST 1
>> ==
>> 1.  Perform a backup of the server
>> 2.  Perform a 'run job=Restore' using 'mod' to specify the BSR file
created 
>> automatically in step 1.
>>
>> Result:  Restore OK (the catalog still existed)
>>
>> TEST 2
>> ==
>> 1.  Perform a backup of the server
>> 2.  Run /drop_mysql_database, create_mysql_database, make_mysql_tables 
> scripts 
>> to simulate the loss of the server (Catalog).
>> 3.  Perform a 'run job=Restore' using 'mod' to specify the BSR file
created 
>> automatically in step 1.
>>
>> Result:  Restore FAILS
>>
>> I have provided some debug below.  It looks as though the restore first 
> tries to 
>>   match the VolumeName picked up from the BSR against the Catalog.  
> Containing 
>> no data (because the database was re-initialized between backup/restore),

> this 
>> operation, of course, fails.  At this point, I'm not certain what 
> happens...if a 
>> BSR restore with no Catalog is possible, one would think that the SD
would 
> see 
>> if it could find the Volume specified in the BSR.  I *think* this is 
> happening, 
>> but somewhere along the line, the VolumeName becomes nil.
>>
>> I know I can use bextract to do a successful restore in this case...but
it's 
> not 
>> as convenient and it would be good to clear up the capabilities anyways, 
> because 
>> the section on "Disaster Recovery" doesn't (IMO) definitively say what
I'm 
>> trying to do is possible.
>>
>> Thanks in advance to anyone who has time and knowledge to shed some
light.
>>
>> Cheers,
>>
>> Ben
>>
>> **Job Report**
>> 07-Dec 15:58 Server-sd: Restore.2006-12-07_15.58.46 Warning: acquire.c:82

> Error 
>> getting Volume info: 1997 Volume "2006-12-07-0" not in catalog.
>> 07-Dec 15:58 Server-sd:

[Bacula-users] What a difference a database makes

2006-12-08 Thread Robert Nelson
I've been working on the regression tests for the imminent release of 1.40.
Initially I was using SQLite3 since it has zero maintenance and zero setup
and the tests aren't all that strenuous (at least as far as the database is
concerned).

 

However, I found a stress run was taking 12 hours on a dual proc machine
with 2 GB of memory.  That seemed rather outrageous so I tried with MySQL
and it dropped to an hour and a half.

 

Is SQLite3 really this bad?  I can't imagine so or it wouldn't survive.  In
that case, there must be something that we are doing or not doing in Bacula
or some problem in our build options that is killing the performance.

 

Is anyone out there using SQLite3?  Does anyone have any suggestions on how
we could change the default build defines or database creation scripts to
improve the performance?

 

If there are any suggestions I'd appreciate getting them quickly so that we
can incorporate them into 1.40.

 

Thanks,

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2006-12-08 Thread Robert Nelson
No I haven't incorporated the gigaslam test yet.

This is just the standard non-root file tests.

I'll take a look at those two pragmas and see if that helps.

More than 10 times slower is what I'm seeing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern
Sibbald
Sent: Friday, December 08, 2006 8:43 AM
To: bacula-users@lists.sourceforge.net
Cc: Robert Nelson; 'bacula-devel'
Subject: Re: [Bacula-devel] [Bacula-users] What a difference a database
makes

On Friday 08 December 2006 16:21, Robert Nelson wrote:
> I've been working on the regression tests for the imminent release of
1.40.
> Initially I was using SQLite3 since it has zero maintenance and zero setup
> and the tests aren't all that strenuous (at least as far as the database
is
> concerned).
> 
>  
> 
> However, I found a stress run was taking 12 hours on a dual proc machine
> with 2 GB of memory.  That seemed rather outrageous so I tried with MySQL
> and it dropped to an hour and a half.

Is that the gigaslam test?

> 
>  
> 
> Is SQLite3 really this bad?  I can't imagine so or it wouldn't survive.
In
> that case, there must be something that we are doing or not doing in
Bacula
> or some problem in our build options that is killing the performance.

Well, in some really rough measurements that I did, SQLite version 2 was 
roughly the same speed as MySQL for the regression scripts. There have been 
some reports that SQLite might suffer with really big databases compared to 
MySQL.

My equally rough tests with SQLite3 showed it was 4-10 (possibly more) times

slower than SQLite version 2.  I've never taken the time to try to find out 
why, so I have never mentioned it to the author.  For that reason, I always 
use SQLite version 2 for my zero maintenance tests -- I also run the 
regression scripts prior to major releases on MySQL and PostgreSQL, and my 
"production" database is MySQL.

> 
>  
> 
> Is anyone out there using SQLite3?  Does anyone have any suggestions on
how
> we could change the default build defines or database creation scripts to
> improve the performance?
> 
>  
> 
> If there are any suggestions I'd appreciate getting them quickly so that
we
> can incorporate them into 1.40.

When SQLite3 was first released, I looked into this and seems to me that he 
handled synchronization differently.   The two pragmas that I saw (long ago)

that made a difference were:

PRAGMA default_synchronous 
PRAGMA default_cache_size


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-devel




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Off-topic: FAT32 disaster recovery

2006-12-08 Thread Robert Nelson
First off you're one of the ones that started this war with your
anti-Microsoft comments.

Second Minix isn't a file system it is a UNIX clone, which Microsoft never
sold.  They did however sell Xenix at one time, which they ended up
licensing to SCO.

As far as the rest of your post, I'm not sure what your point is.  What
hardware vendors decide to do or require for their support has nothing to do
with what Microsoft does, which is what Georg was claiming.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan Brown
Sent: Friday, December 08, 2006 8:30 AM
To: Robert Nelson
Cc: 'Georg Altmann'; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Off-topic: FAT32 disaster recovery

On Fri, 8 Dec 2006, Robert Nelson wrote:

> Yet more disinformation, Microsoft hasn't released a desktop OS in more
than
> 7 years that required FAT or even selected it as the default on new
> installations.

FAT32 is STILL the standard shipped filesystem on most laptops, prebuilt 
desktops and external hard drives (and FAT16 is the standard on sub-2GB 
flash filesystems).

Most users don't know enough to switch them to HFS+ or NTFS. I can't see 
that changing anytime soon.

Some makers (including Toshiba and Acer) consider converting a filesystem 
from FAT32 to NTFS to be a warranty-busting move, so even if a user knows 
enough to make the change it may backfire on them.

Finally: Microsoft didn't invent FAT12. This is what has prevented them 
asserting patent claims on the derivative filesystems FAT16 and FAT32 and 
even in the early days of consumer hard drives there were better 
filesystems available such as Minix (Which Microsoft itself sold at one 
point)

In the case under consideration, the disk itself is fine, but the 
filesystem is badly corrupted due to user error. It may be possible to 
recover most files, but odds are high many older ones will have chunks 
overwritten due to the damaged index structure.

Please take the flamewar somewhere else.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Off-topic: FAT32 disaster recovery

2006-12-08 Thread Robert Nelson
Yet more disinformation, Microsoft hasn't released a desktop OS in more than
7 years that required FAT or even selected it as the default on new
installations.

Yes all Microsoft Operating Systems still support FAT as do all other
Operating Systems.  Otherwise it would be very hard to get your photos off
the compact flash cards, etc.

As for your proverbial "casual user", let's use a car as an example.

Someone is driving down the street and the engine starts making a funny
noise.  Does he take it to a mechanic; no he continues to drive it.  Now the
warning lights are starting to come on in the dash, is it time to seek help?
Nope he keeps driving.  Finally the car stops running, must be that d*mn
Ford engine.

Finally, regarding my other comment to which you seemed to have taken
offense, continuing with the car analogy, does the user seek the advice of
the mechanic?  Nope he goes and asks his friend, who also drives a car, if
he can fix it.

By your own admission you've said you don't understand the internals of
filesystems, you don't know what chkdsk does, and you don't know about the
various tools available for fixing corrupted drives.

Therefore, offended or not, I stand by my original comment.  If you have a
problem take it to someone that knows what they're doing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Georg
Altmann
Sent: Friday, December 08, 2006 7:40 AM
To: bacula-users@lists.sourceforge.net
Cc: Robert Nelson
Subject: Re: [Bacula-users] Off-topic: FAT32 disaster recovery



--On Freitag, 8. Dezember 2006 06:50 -0800 Robert Nelson 
<[EMAIL PROTECTED]> wrote:

> Yep Microsoft is so obviously at fault here.  First of all they designed
> FAT in the late 70s.  Shame on them for using a filesystem design similar
> to all the other systems at the time.  Then to top it off they have the
> audacity to try and repair it when the user boots the system with a drive
> attached which is corrupted.
>
> UNIX is such a better system.  Let's see what does it do in a similar
> situation?  Well fsck notices the drive needs repair, finds all these file
> fragments that are listed as allocated but not attached to any directory.
> Gee it makes up names for them and puts them in the lost+found directory.
>
> Gee seems like exactly the same thing to me.

Ok, this wasn't about starting a flame-war on Windows vs. 
Mac/UNIX/whatever, FAT vs. ext2/ufs/whatever, pointing fingers or anything. 
So please calm down.
Anyway, linux/freebsd doesn't mount a filesystem until you explicitly tell 
it to do so and it only runs fsck on filesystems in /etc/fstab. FreeBSD 
even stops the fsck run if it finds something serious and waits for manual 
intervention. Mordern filesystems (ntfs, ufs, ext2fs,...) are much more 
stable. And many of them have been available at the beginning of the 
nineties. MS in contrast happily continued to use FAT in all its OSes 
despite of its known problems. And now you still find disks in the range of 
multiple hundert GBs using a filesystem which wasn't designed for disks of 
this size. Problem is you almost have no choice, because it is in fact the 
only fs that is support on all platforms. Linux is coming up with some 
experimental NTFS support, though I wouldn't want to use that for critical 
data yet...

>
> The only real lessons to be learned here is.  If your drive has a problem
> don't continue to use it without fixing the problem.

Explain that to the casual computer user...

> Don't use an OS that
> caches data on removable drives (Windows doesn't MAC OS apparently does).
> Don't use an OS that mounts a drive that hasn't been closed properly
> (another MAC deficiency versus Windows).  Finally don't give your drive to
> someone that doesn't know what they're talking about to have it fixed.

Finally please stop making personal offenses. Thank you.

Regards,
Georg

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows backup to network speed issues

2006-12-08 Thread Robert Nelson
I get similar times between all the combinations I test, Windows -> Linux,
Linux -> Windows, Linux -> Linux and Windows -> Windows.

However it did take some tweaking.  The first thing to check is to see if
you are getting a lot of TCP/IP errors.  This could indicate one of adapters
isn't running full duplex or there is some other configuration problem.  The
other thing is the various TCP/IP tuning parameters such as Window Size,
etc.  Another thing that can make a huge difference, if you are running a
gigabit network, is use large packets.

Then there are all the apples and oranges issues.  Are the machines being
tested all on the same network segment, do they have equivalent hardware
(disk speed can make a huge difference), etc.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of DAve
Sent: Friday, December 08, 2006 9:20 AM
To: bacula-users
Subject: Re: [Bacula-users] Windows backup to network speed issues

Brian Jones wrote:
> I have a question on the speed of backing up Windows 2003/2000/XP boxes to
> disk across the network.
> 
> For 2 windows boxes, here is the rates I am getting though it is the same
> for all the windows boxes:
>   Rate:   432.1 KB/s
>   Rate:   528.4 KB/s
> 
> For the Linux boxes, here are 2 rates I am getting but again, it is the
same
> across all the Linux boxes:
> 
>   Rate:   9556.8 KB/s
>   Rate:   8616.3 KB/s
> 
> I did a test on one of the 2003 server boxes backing up one file that was
> about 13 gig in size.  The speed was as shown above for Windows boxes.
> Using winSCP to copy that same file to the same box running Bacula, I have
a
> rate of 4000 KB/s.
> 
> Is the windows Bacula client slow?  Are others seeing better speeds?  I am
> fairly new to Bacula so any help would be appreciated.
> 

Anyone please correct me if I am wrong, no egos in play here ;^)

I see speed differences as well. There are several things that explain 
most of my differences. The load on the server that is running the 
client can have a big effect. I have one very busy web server that backs 
up considerably slower than my FTP server. I noticed as well that full 
backups of a not in use file system go much faster than a differential 
of a heavily used filesystem.

Not Bacula faults, just the situation. I have tried to move my backup 
schedules to run when there is the least number of processes to interfer 
with the Bacula client.

Also, keep in mind, the transfer rate is not just the network speed 
attained, but the rate at which the data is transfered via Bacula which 
includes verification, compression, disk reading on the client box, and 
disk writing on the storage box.

In my testing a straight data transfer such as ftp always outruns 
Bacula, so comparisons are not valid.

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.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows backup to network speed issues

2006-12-08 Thread Robert Nelson
One other thing, as I was reminded earlier this week by a problem Arno was
having, whenever something weird is going on with your Window machine, try
disabling the anti-virus.  The same goes with any firewall software.  It
goes without saying (but I'm going to say it anyways :-), only do this with
a machine that is not on the internet and re-enable them immediately after
the test.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Jones
Sent: Friday, December 08, 2006 8:50 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Windows backup to network speed issues

I have a question on the speed of backing up Windows 2003/2000/XP boxes to
disk across the network.

For 2 windows boxes, here is the rates I am getting though it is the same
for all the windows boxes:
  Rate:   432.1 KB/s
  Rate:   528.4 KB/s

For the Linux boxes, here are 2 rates I am getting but again, it is the same
across all the Linux boxes:

  Rate:   9556.8 KB/s
  Rate:   8616.3 KB/s

I did a test on one of the 2003 server boxes backing up one file that was
about 13 gig in size.  The speed was as shown above for Windows boxes.
Using winSCP to copy that same file to the same box running Bacula, I have a
rate of 4000 KB/s.

Is the windows Bacula client slow?  Are others seeing better speeds?  I am
fairly new to Bacula so any help would be appreciated.

Thanks,
Brian 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FD service repeatedly crashing on Windows Server 2003

2006-12-12 Thread Robert Nelson
Short Answer:

Don't do that.

Long Answer:
Bacula-fd is an interactive service (it interacts with the desktop
user) it must be run using the System account.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michal
Winsor
Sent: Tuesday, December 12, 2006 7:48 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] FD service repeatedly crashing on Windows Server
2003

Hello,

I have a multi machine Bacula setup.  The Director and Storage Daemons 
are running on Linux.  Two File Daemons are running on Windows Server 
2003 SP1.

The file daemon services on WS2K3 seem to crash on a regular basis.  I 
setup service recovery (restart) after 15 minutes, but the end result is 
that the service is not running and backups are failing.

The file daemon services are running under a special "sys_backup" user 
identity which is a member of the Backup Operators group and has read 
permissions to the folders to be backed up.

Has anyone seen this?

Thanks for your help in advance.

- Michal

-- 
Michal J. Winsor, ISP
Information Technology Analyst

Open Systems Canada Limited
1627 Broad Street
Regina, SK S4P1X3
Tel.: 306.359.6725
http://www.oscl.ca


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] about the 1.40 version release

2006-12-13 Thread Robert Nelson
Yes TLS communication is supported by the Windows version.  Openssl is
installed as part of the Bacula installation.  Configuration is similar to
the UNIX environment and requires some hand editing of the configuration
files.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jaime
Ventura
Sent: Wednesday, December 13, 2006 7:22 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] about the 1.40 version release

Hello,
   I've read a few messages ago that the new stable version of 
bacula would be released 'till the end of 2006. Does this sting stand?
   On "The Current State of Bacula -- 1.39.29 (01 December 2006)" 
its says "Configurable TLS (SSL) communications encryption 
 
between each component"
   Does the w32 client supports such feature or just the *nix?
   Thanks.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] bacula 2.0.1 error in xp

2007-01-18 Thread Robert Nelson
This is a bug in Kern's 2.0.1 fix for old versions of the shell (circa NT4).
Unfortunately it broke all non-English systems and all systems that aren't
installed on the C drive.  I have a fix I'll check in today for those that
build from the CVS.  You can work around it by specifying the -c command
line option.

However the Director is normally run as a service.  The installer should
automatically install it with the correct command line option.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erich Prinz
Sent: Thursday, January 18, 2007 6:56 AM
To: Andres Sanchez Garcia
Cc: bacula-devel Development; bacula-users
Subject: Re: [Bacula-devel] [Bacula-users] bacula 2.0.1 error in xp

It's likely due to language differences.

I'll cc this response to the developers list for you...

On Jan 18, 2007, at 2:42 AM, Andres Sanchez Garcia wrote:

> hello!
>
> sorry, but my english is very poor.
>
> I installed bacula 2.0.1 in windows xp (spanish version). When i
> executed the bacula-dir.exe, i have this error:
>
> bacula-dir.exe: ERROR TERMINATION at ../../lib/parse_conf.c: 819
> config error: Cannot open config file "C:\Documents and Settings\All
> Users\Application Data\Bacula\bacula-dir.conf": No such file or  
> directory.
>
>
>
> NOTE: In windows XP spanish version the path is diferent: "C: 
> \Documents
> and Settings\All Users\Datos de Programa\Bacula\bacula-dir.conf"
>
> NOTE: I'm serching in bacula-dir.conf, to change the path. But all  
> path
> are ok for the spanish version.
>
> NOTE: I created a path "C:\Documents and Settings\All Users 
> \Application
> Data\Bacula\". And i linked the config files of bacula. It don't work.
>
> The version of bacula 2.0.0 in windows xp haven't this problem.
>
> It is a bug?
>
>
> Andres
>
> -- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-devel




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

2007-01-24 Thread Robert Nelson
Don't use sc.exe, you won't get all the parameters right.

You should be able to use winbacula-2.0.1.exe /s.

If you just want to remove or install the services use the following
commands:

c:\bacula\bin\bacula-fd /remove

c:\Program Files\bacula\bin\bacula-fd /install

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vladimir
Doisan
Sent: Wednesday, January 24, 2007 2:53 PM
To: Arno Lehmann
Cc: bacula-users
Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

Very cool!
I am crazy enough to start working on it today unless my wify shoots me
if I spend too much time working :)
Since you told me the most important command "sc", the script is ez. If
I will not have any emergencies at work, I will have testing done tomorrow.
Thanks a lot!


Arno Lehmann wrote:
> Hello,
> 
> On 1/24/2007 10:38 PM, Vladimir Doisan wrote:
> I think there is a bit of work needed to get the update 1.38 to 2.0
> happen automatically.
> If I understand correctly, you stop service, copy files, start service.
> Which would work just perfectly for upgrades 1.38.x -> 1.38.y
> and with slight path modifications it will work fine for 2.0.a -> 2.0.b
> However it will not work for the upgrade from 1.38.x -> 2.0.a
> 
>> True, I suppose.
> 
> Here's some steps what I think needs to be done
> 
> 1. Stop Service
> 
>> net stop bacula
> 
> 2. Delete Old Service (pointing to c:\bacula) probably need to delete
> some registry keys
> 
>> sc bacula delete
> 
>> or something.
> 
> 3. Move extracted files (.exe, .dll .txt ...) to correct folders
> ("ProgFiles\Bacula" and "Docs&Settins\AllUsers\AppData\bacula")
> 
>> %ProgramFiles% and %AllUsersProfile%\AppData\Bacula
> 
>> might work
> 
> 4. Move old .conf files to new folders
> 
>> copy ... that one was easy!
> 
> 5. Create new service (pointing to new path) need to create new registry
> keys
> 
>> sc create
> 
>> don't ask _me_ for details... Microsofts Web Site probably has some sort 
>> of a manual for the sc command. Or see if the output of 'sc create' 
>> helps you...
> 
> 6. Start new service
> 
>> net start bacula-fd
> 
>> (note the new service name!)
> 
> 7. Delete old c:\bacula directory (optional)
> 
>> I would keep it for a while.
> 
> File movement is trivial, but how to create / delete services and modify
> registry from CLI via rpc?
> 
>> sc is the magic command.
> 
> This is why I think there should be some switches in winbacula-2.0.exe
> to help automate this task of clicking next, next, next, finish. All of
> the user interaction stuff (clicking) could be automated.
> 
> Let me know what you think, I had crazy week (2 months actually), maybe
> I am way off...
> 
>> If you're crazy enough you'll have something ready tomorrow :-)
> 
>> Arno
> 
> 
> Vladimir
> 
> 
> 
> Michel Meyers wrote:
> 
 P.S. You will also have to adapt the service name, the new installer
 installs the FD as 'bacula-fd', not just 'bacula'.

 Greetings,
  Michel
> 
> 
> Michel Meyers wrote:
> 
 Vladimir Doisan wrote:

>> Oh, so the install directory would still be c:\bacula (whatever the
1.3x
>> was)?
 No, the new installer unfortunately uses the Program Files directory
for
 it (but I think it's the same for all machines, unless you have
multiple
 versions of Windows).


>> Maybe I was looking at the different script, or mixed it up with
>> something else... Could you give me the link?
 You can find it in examples/upgrade-win32-client.txt if you have the
 source tarball.

 Greetings,
   Michel
>>
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
__

Re: [Bacula-users] windows xp sp2 and powerfile c200 disc changer

2007-01-25 Thread Robert Nelson
No chance of that working until I issue a new update to mtx.  I have a C200
and it has a rather severe bug that I have a fix for.

As for not showing up with scsilist that is a separate issue.  The C200
driver doesn't create a normal WIN32 device name.  So you have to enter the
setupapi Device Interface Name.  This is a really long name that is really
ugly and is not supposed to be entered manually.  (The intent is a program
enumerates the devices and shows the user the friendly names and then uses
the ugly one internally to open the device.  I'll be adding support for
those in the next version of scsilist.

In the meantime you can figure out the name manually, it should be in the
registry at:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{53f56310-
b6bf-11d0-94f2-00a0c91efb8b}

Under that key will be another key starting with ##?#SBP2#POWERFILE-C200&...

If you strip off the leading ##?# and pass the rest of that keyname as the
device name (in double quotes) it should work.  For example on my system the
command is:

mtx -f
"SBP2#POWERFILE-C200&DISC_CHANGER&LUN2#003060f22832#{53f56310-b6bf-11d0-
94f2-00a0c91efb8b}" status

If you can build the Windows version yourself then I can send you the
updated patch to mtx, otherwise let me know and I can build it for you.

I have fixes to support the Sony VGP-XL1B as well.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric
Sent: Tuesday, January 23, 2007 11:45 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] windows xp sp2 and powerfile c200 disc changer

Does anyone have experience with configuring bacula to
work with a powerfile unit on win xp?  

I can't even get my changer to show up when I use
scsilist.exe although it is listed in the windows
device manager.

All I really need bacula (mtx?) to do is change out
and mount/unmount discs.  I can script all the copying
and disc burning, etc.

If you have a powerfile that you can operate with
bacula or any other free/open source software on a win
xp system, please let me know.

Eric


 


TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

2007-01-25 Thread Robert Nelson
Ah I just noticed a small omission :-) (One that would cause the installed
service not to work :-O.

Install should be:

"c:\Program Files\bacula\bin\bacula-fd" /install -c "C:\Documents and
Settings\All Users\Application Data\bacula\bacula-fd.conf"

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arno
Lehmann
Sent: Thursday, January 25, 2007 12:14 AM
To: 'bacula-users'
Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

Hello,

On 1/25/2007 8:54 AM, Robert Nelson wrote:
> Don't use sc.exe, you won't get all the parameters right.
> 
> You should be able to use winbacula-2.0.1.exe /s.
> 
> If you just want to remove or install the services use the following
> commands:
> 
> c:\bacula\bin\bacula-fd /remove
> 
> c:\Program Files\bacula\bin\bacula-fd /install

Ah... I wasn't aware that these switches still exist and work. During 
the first tries of the cross-compiled windows FD I tried them but hat 
difficulties to get the FD installed.

Might have been because my installation was broken, though.

Arno

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir
> Doisan
> Sent: Wednesday, January 24, 2007 2:53 PM
> To: Arno Lehmann
> Cc: bacula-users
> Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0
> 
> Very cool!
> I am crazy enough to start working on it today unless my wify shoots me
> if I spend too much time working :)
> Since you told me the most important command "sc", the script is ez. If
> I will not have any emergencies at work, I will have testing done
tomorrow.
> Thanks a lot!
> 
> 
> Arno Lehmann wrote:
> 
>>Hello,
>>
>>On 1/24/2007 10:38 PM, Vladimir Doisan wrote:
>>I think there is a bit of work needed to get the update 1.38 to 2.0
>>happen automatically.
>>If I understand correctly, you stop service, copy files, start service.
>>Which would work just perfectly for upgrades 1.38.x -> 1.38.y
>>and with slight path modifications it will work fine for 2.0.a -> 2.0.b
>>However it will not work for the upgrade from 1.38.x -> 2.0.a
>>
>>
>>>True, I suppose.
>>
>>Here's some steps what I think needs to be done
>>
>>1. Stop Service
>>
>>
>>>net stop bacula
>>
>>2. Delete Old Service (pointing to c:\bacula) probably need to delete
>>some registry keys
>>
>>
>>>sc bacula delete
>>
>>>or something.
>>
>>3. Move extracted files (.exe, .dll .txt ...) to correct folders
>>("ProgFiles\Bacula" and "Docs&Settins\AllUsers\AppData\bacula")
>>
>>
>>>%ProgramFiles% and %AllUsersProfile%\AppData\Bacula
>>
>>>might work
>>
>>4. Move old .conf files to new folders
>>
>>
>>>copy ... that one was easy!
>>
>>5. Create new service (pointing to new path) need to create new registry
>>keys
>>
>>
>>>sc create
>>
>>>don't ask _me_ for details... Microsofts Web Site probably has some sort 
>>>of a manual for the sc command. Or see if the output of 'sc create' 
>>>helps you...
>>
>>6. Start new service
>>
>>
>>>net start bacula-fd
>>
>>>(note the new service name!)
>>
>>7. Delete old c:\bacula directory (optional)
>>
>>
>>>I would keep it for a while.
>>
>>File movement is trivial, but how to create / delete services and modify
>>registry from CLI via rpc?
>>
>>
>>>sc is the magic command.
>>
>>This is why I think there should be some switches in winbacula-2.0.exe
>>to help automate this task of clicking next, next, next, finish. All of
>>the user interaction stuff (clicking) could be automated.
>>
>>Let me know what you think, I had crazy week (2 months actually), maybe
>>I am way off...
>>
>>
>>>If you're crazy enough you'll have something ready tomorrow :-)
>>
>>>Arno
>>
>>
>>Vladimir
>>
>>
>>
>>Michel Meyers wrote:
>>
>>
>>>>>P.S. You will also have to adapt the service name, the new installer
>>>>>installs the FD as 'bacula-fd', not just 'bacula'.
>>>>>
>>>>>Greetings,
>>>>> Michel
>>
>>
>>Michel Meyers wrote:
>>
>>
>>>>>Vladimir Doisan wrote:
>>>>>
>>>>>
>>>>>>>Oh, so the install directory would still be c:\bacula (w

Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

2007-01-25 Thread Robert Nelson
Necessary, there are two command line parsers that get run.  The one in the
Windows wrapper code which uses / and the one in the underlying Bacula code
that uses -.  The /install, /remove, /service, etc are all interpreted by
the wrapper.

The install command just takes whatever comes after the /install and puts it
into the service command line.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arno
Lehmann
Sent: Thursday, January 25, 2007 12:50 AM
To: 'bacula-users'
Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

Hello,

On 1/25/2007 9:27 AM, Robert Nelson wrote:
> Ah I just noticed a small omission :-) (One that would cause the installed
> service not to work :-O.
> 
> Install should be:
> 
> "c:\Program Files\bacula\bin\bacula-fd" /install -c "C:\Documents and
> Settings\All Users\Application Data\bacula\bacula-fd.conf"

Giving the configuration was not my problem at that time. However, I 
notice you use dashes and slashes for the parameters. Is that necessary, 
intentional, or can you use whatever you prefer?

Arno

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno
> Lehmann
> Sent: Thursday, January 25, 2007 12:14 AM
> To: 'bacula-users'
> Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0
> 
> Hello,
> 
> On 1/25/2007 8:54 AM, Robert Nelson wrote:
> 
>>Don't use sc.exe, you won't get all the parameters right.
>>
>>You should be able to use winbacula-2.0.1.exe /s.
>>
>>If you just want to remove or install the services use the following
>>commands:
>>
>>c:\bacula\bin\bacula-fd /remove
>>
>>c:\Program Files\bacula\bin\bacula-fd /install
> 
> 
> Ah... I wasn't aware that these switches still exist and work. During 
> the first tries of the cross-compiled windows FD I tried them but hat 
> difficulties to get the FD installed.
> 
> Might have been because my installation was broken, though.
> 
> Arno
> 
> 
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf Of Vladimir
>>Doisan
>>Sent: Wednesday, January 24, 2007 2:53 PM
>>To: Arno Lehmann
>>Cc: bacula-users
>>Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0
>>
>>Very cool!
>>I am crazy enough to start working on it today unless my wify shoots me
>>if I spend too much time working :)
>>Since you told me the most important command "sc", the script is ez. If
>>I will not have any emergencies at work, I will have testing done
> 
> tomorrow.
> 
>>Thanks a lot!
>>
>>
>>Arno Lehmann wrote:
>>
>>
>>>Hello,
>>>
>>>On 1/24/2007 10:38 PM, Vladimir Doisan wrote:
>>>I think there is a bit of work needed to get the update 1.38 to 2.0
>>>happen automatically.
>>>If I understand correctly, you stop service, copy files, start service.
>>>Which would work just perfectly for upgrades 1.38.x -> 1.38.y
>>>and with slight path modifications it will work fine for 2.0.a -> 2.0.b
>>>However it will not work for the upgrade from 1.38.x -> 2.0.a
>>>
>>>
>>>
>>>>True, I suppose.
>>>
>>>Here's some steps what I think needs to be done
>>>
>>>1. Stop Service
>>>
>>>
>>>
>>>>net stop bacula
>>>
>>>2. Delete Old Service (pointing to c:\bacula) probably need to delete
>>>some registry keys
>>>
>>>
>>>
>>>>sc bacula delete
>>>
>>>>or something.
>>>
>>>3. Move extracted files (.exe, .dll .txt ...) to correct folders
>>>("ProgFiles\Bacula" and "Docs&Settins\AllUsers\AppData\bacula")
>>>
>>>
>>>
>>>>%ProgramFiles% and %AllUsersProfile%\AppData\Bacula
>>>
>>>>might work
>>>
>>>4. Move old .conf files to new folders
>>>
>>>
>>>
>>>>copy ... that one was easy!
>>>
>>>5. Create new service (pointing to new path) need to create new registry
>>>keys
>>>
>>>
>>>
>>>>sc create
>>>
>>>>don't ask _me_ for details... Microsofts Web Site probably has some sort

>>>>of a manual for the sc command. Or see if the output of 'sc create' 
>>>>helps you...
>>>
>>>6. Start new service
>>>
>>>
>>>
>>>>net start bacula-fd
>>>

Re: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too

2007-01-25 Thread Robert Nelson
I never saw this on the developer's alias so it took me a lot longer to see
it.

Anyways, the simplest way to handle paths with spaces is don't put them in.
:-)

If you just put the program name in then Bacula will search using the same
rules that cmd.exe uses (current directory, Bacula bin directory, and PATH).
It will even try the different extensions in the same order as cmd.exe.  If
you have slashes in the program name then Bacula figures you went to all
that trouble to fully specify the name, the least you can do is append the 3
character extension.

So if your script is in the Bacula\bin directory then the following lines
should work fine:

Client Run Before Job = systemstate
Or
Client Run Before Job = systemstate.bat
Or
Client Run Before Job = "systemstate"
Or
Client Run Before Job = "systemstate.bat"
Or
ClientRunBeforeJob = "\"C:/Program Files/Bacula/systemstate.bat\""

The outer set of quotes is removed when the configuration file is parsed.
You need to escape the inner quotes so that they are there when the code
that parses the command line for execution runs so it can tell what the
program name is.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erich Prinz
Sent: Thursday, January 18, 2007 6:53 AM
To: Silver Salonen
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too


You might want to send this (the last posting) to the developers list  
for Robert to look over.

Erich

On Jan 18, 2007, at 1:15 AM, Silver Salonen wrote:

> On Thursday 11 January 2007 12:12, Silver Salonen wrote:
>> On Thursday 11 January 2007 12:08, Silver Salonen wrote:
>>> On Friday 03 November 2006 00:48, Scott Ruckh wrote:
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
> Scott
>> Ruckh
>> Sent: Thursday, November 02, 2006 9:31 AM
>> To: bacula-users@lists.sourceforge.net
>> Subject: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes  
>> -- Me
>> Too
>>
>> I saw this error already posted, but never saw a resolution.
>>
>> Director version:  1.39.27 (24 October 2006) (From CVS)
>> Director OS:  CentOS 4.3
>> Storage Daemon:  Built from same CVS
>> XP client:  winbacula-1.39.26.exe
>>
>> Error received:
>> 02-Nov 10:11 CLIENT-fd: ClientRunBeforeJob: run command
>> "C:/Bacula/bin/backup_systemstate.bat"
>> *
>> 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Fatal  
>> error:
>> Socket error on ClientRunBeforeJob command: ERR=Connection  
>> reset by
>> peer
>> 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Error:
> Bacula
>> 1.39.27 (24Oct06): 02-Nov-2006 10:11:54
>>
>>
>> This is in the job definition
>> ClientRunBeforeJob = "C:/Bacula/bin/backup_systemstate.bat"
>>
>> The contents of C:/Bacula/bin/backup_systemstate.bat:
>> ntbackup backup systemstate /F C:\SystemState\systemstate.bkf
>>
>> When the batch file is executed (outside of bacula) it works  
>> fine.
> The
>> Windows SYSTEM account has permissions to the directories in
> question.
>>
>> All of this worked fine before migrating to newer version of  
>> bacula.
>> Previous bacula version was 1.38.9.
>>
>> Backup job completes fine if ClientRunBeforeJob directive is
> commented
>> out.
>>
>> The XP bacula-fd.exe completely crashes and is closed after error
>> (service
>> is no longer running).
>>
>> Anyone know the cause of this error?
>>
>> Thanks.
>> Scott
>
> Yesterday.  01-Nov-2006
>
> Thanks.

 I just rebuilt from CVS again.  I got passed the crash, .BAT  
 file did
 complete, and backup is running.

 Now I will test for a few days and see if I have eliminated some  
 of my
 problems or have more to contend with.

 Thanks.
 Scott
>>>
>>> I have the same problem with 2.0.0 on Windows 2003 server :(
>>> The directive is: Client Run Before Job = "C:/Program
>>> Files/Bacula/systemstate.bat"
>>>
>>> Anything I can do about it? I'd really like to backup systemstate  
>>> also..
>>>
>>> Silver
>>
>> BTW, my bacula-dir is also 2.0.0 and it runs on FreeBSD-5.3.
>>
>> Silver
>
> Oh, darn. More problems with win32 ClientRunBeforeJob. After the  
> directive was
> being commented out from the job as it didn't succeed, I now put it  
> back,
> after upgrading both server and client to 2.0.1. Now the directive  
> seems to
> not support spaces in its path:
> 17-Jan 23:06 w2k3-fd: ClientRunBeforeJob: run command "C:/Program
> Files/Bacula/systemstate.bat"
> 17-Jan 23:06 w2k3-fd: ClientRunBeforeJob: 'C:/Program' is not  
> recognized as an
> internal or external command,
>
> I tried escaping space with backslash, but it gave me the same result.
> However, when I put the script into C:\bacul

Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0

2007-01-26 Thread Robert Nelson
Those messages come from the 1.3x Bacula-fd.exe.  The new version doesn't
display them.  But during an upgrade the old one is used to uninstall the
existing service.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mantas M.
Sent: Friday, January 26, 2007 1:43 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0


I've been looking for a way to automate the setup on xp workstations as 
well. After some fifteen tries to install and uninstall bacula in 
various ways i've decided to go the with the merest:

1. stop the service
2. replace the binary files
3. start the service again.

as far as i've tested this, it works completely fine, and you do not 
have to play with nullsoft installers.

I would like however to add some comments on the installers. Installer 
(as well as uninstaller) shows way to much messages which do not require 
any reaction form the user. For instance, why do we need that "service 
was successfully installed (removed)" message? I believe there should 
only be one saying, that service install failed, in case that happens.
If (un)installer wouldn't have this irritating feature, it'd be easy to 
push new versios using the original installers, since the /S switch 
takes care of pretty much all the rest.


Regards,

Mantas.


> Does anyone have any scripts to push updates to clients on Windows 2000
> network?
> OR alternatively,
> does Bacula-2.0.1.exe has any command line switches to help to automate
> deployment?
>
> If, nothing exists, I will write batch or bash script to do it.
>
> BTW - I did see the script to update existing 1.3x installs, but since
> the 2.0 is quite different, it will not work.
> Thanks everyone
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>   



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] GUI Interface Name Vote Results

2007-01-27 Thread Robert Nelson
Of course if badmin had been the winner then there would have had to be a
command called ton.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dan
Langille
Sent: Saturday, January 27, 2007 11:39 AM
To: bacula-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: Re: [Bacula-devel] [Bacula-users] GUI Interface Name Vote Results

On 27 Jan 2007 at 11:25, Alan Gerber wrote:

> Greetings and good Saturday to everyone!
> 
> The vote for the GUI interface is complete, and the results are all 
> tallied up.  We had 24 name suggestions, and 32 total votes.  Here are 
> the top 3 results for the vote:
> 
> bat (Bacula Admin Tool) with 54 points
> badmin with 26 points
> bacon with 17 points
> 
> It seems that bat was an overwhelmingly popular name, getting 14 first 
> choice votes, compared to the next highest first choice votes for badmin 
> and Frontula, which were tied for 4 first choice votes.
> 
> Congratulations to Peter Buschman for picking our top-rated name!


As someone else pointed out, it's a shame the standard method for 
getting more information about an application involves putting the 
application name second.  Otherwise, everyone would be typing:

  bat man



-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-devel




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Solved why Windows FD 1.38 sometime is slow

2007-01-30 Thread Robert Nelson
It sounds like Flow Control might be disabled on one of the adapters.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gabriele
Bulfon
Sent: Tuesday, January 30, 2007 9:42 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Solved why Windows FD 1.38 sometime is slow

 

I had headaches for a week, trying to figure out why some windows FDs were
VERY slow compared
to all the rest of FDs. These slow clients were all rating at around 1Mb/s.

After playing a bit with many system and bacula parameters, I decided not to
trust what was stated in the manual: "the default Maximum Network Buffer
Size = 32768".
Because I tried rising this parameter to double default, both on sd and all
fds, and noticed that I had
a slow down of all the FDs, I put back everything to default.
Then I decided to explicitly set the "Maximum Network Buffer Size = 32768"
to the windows machine
that was still so slowand it magically started to work as the rest of
fds!!!

Beacuse I have another windows FD on the same installation, with the same
version of bacula, and this one was going fine with the default (MNB not
specified), what I believe is that the windows setup has been built with a
different default (maybe 65536), and this setting may be fine only in
specific situations.
What I mean, is that probably 32768 is fine for almost any card, but 65536
may be fine only for cards
that support this buffer size.
What I know now is that explicitly setting the buffer to 32768 on the bacula
fd will work.
After finding this, I did the same on other 3 installations where I had
similar problems, and it worked!

Thanx to everyone that tried to help me.
Gabriele.


  


Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BSMTP Error Win32 v2.1.1

2007-02-02 Thread Robert Nelson
Can you try running the bsmtp command manually and add a -d10 to the
options?  That should display both sides of the conversation and then we can
see what's happening.

Also what does the line look like in the Bacula-dir.conf file?

> -Original Message-
> From: Erich Prinz [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 02, 2007 2:53 PM
> To: bacula-users
> Cc: Robert Nelson
> Subject: BSMTP Error Win32 v2.1.1
> 
> Running Bacula Win32 Version 2.1.1 on Windows 2003 SBS R2
> 
> Not sure if this a problem with the setup or Exchange. Can you point
> me in the right direction here?
> 
> After running a successful job:
> 
> 02-Feb 16:36 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> bsmtp: ../../tools/bsmtp.c:92 Fatal m
> alformed reply from localhost: 501 5.5.4 Invalid Address
> 
> 02-Feb 16:36 s01-ml110-dir: Client1.2007-02-02_16.35.23 Error: ../../
> lib/message.c:483 Mail program
> terminated in error.
> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -f "(Bacula)
> [EMAIL PROTECTED] " -s
> "Bacula: Backup OK of s01-ml110-fd Incremental"
> [EMAIL PROTECTED]
> ERR=Unknown error
> 
> 
> Using the AD/machine admin account here on the box for email address.
> Regular SMTP sends successfully BTW.
> 
> Erich




-
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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BSMTP Error Win32 v2.1.1

2007-02-02 Thread Robert Nelson
Yep, whoever wrote the bsmtp program originally never expected a friendly
name, just the actual address.

> -Original Message-
> From: Erich Prinz [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 02, 2007 3:29 PM
> To: Robert Nelson
> Cc: 'bacula-users'
> Subject: Re: BSMTP Error Win32 v2.1.1
> 
> Wondering if it doesn't like having the (Bacula) portion added to the
>  From section
> 
> Trace output.
> 
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: s01-
> ml110.culligancc.com --> helo s01-ml110.culligancc.com
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: s01-
> ml110.culligancc.com --> mail from:<(Bacula)
> [EMAIL PROTECTED] >
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> bsmtp: ../../tools/bsmtp.c:92 Fatal malformed reply from localhost:
> 501 5.5.4 Invalid Address
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> localhost <-- 220 culligancc.com Microsoft ESMTP MAIL Service,
> Version: 6.0.3790.1830 ready at  Fri, 2 Feb 2007 17:21:00 -0600
> 
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> localhost <-- 250 culligancc.com Hello [127.0.0.1]
> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> localhost <-- 501 5.5.4 Invalid Address
> 02-Feb 17:21 s01-ml110-dir: Client1.2007-02-02_17.20.37 Error: ../../
> lib/message.c:483 Mail program terminated in error.
> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -d10 -f
> "(Bacula) [EMAIL PROTECTED] " -s "Bacula: Backup OK of s01-
> ml110-fd Incremental" [EMAIL PROTECTED]
> ERR=Unknown error
> 
> Config parameters:
> 
>mailcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> localhost -d10 -f \"\(Bacula\) [EMAIL PROTECTED] \" -s
> \"Bacula: %t %e of %c %l\" %r"
>operatorcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> localhost -d10 -f \"\(Bacula\) [EMAIL PROTECTED] \" -s
> \"Bacula: Intervention needed for %j\" %r"
>mail = [EMAIL PROTECTED] = all, !skipped
>operator = [EMAIL PROTECTED] = mount
>console = all, !skipped, !saved
> 
> 
> 
> On Feb 2, 2007, at 5:12 PM, Robert Nelson wrote:
> 
> > Can you try running the bsmtp command manually and add a -d10 to the
> > options?  That should display both sides of the conversation and
> > then we can
> > see what's happening.
> >
> > Also what does the line look like in the Bacula-dir.conf file?
> >
> >> -Original Message-
> >> From: Erich Prinz [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, February 02, 2007 2:53 PM
> >> To: bacula-users
> >> Cc: Robert Nelson
> >> Subject: BSMTP Error Win32 v2.1.1
> >>
> >> Running Bacula Win32 Version 2.1.1 on Windows 2003 SBS R2
> >>
> >> Not sure if this a problem with the setup or Exchange. Can you point
> >> me in the right direction here?
> >>
> >> After running a successful job:
> >>
> >> 02-Feb 16:36 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> bsmtp: ../../tools/bsmtp.c:92 Fatal m
> >> alformed reply from localhost: 501 5.5.4 Invalid Address
> >>
> >> 02-Feb 16:36 s01-ml110-dir: Client1.2007-02-02_16.35.23 Error: ../../
> >> lib/message.c:483 Mail program
> >> terminated in error.
> >> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -f "(Bacula)
> >> [EMAIL PROTECTED] " -s
> >> "Bacula: Backup OK of s01-ml110-fd Incremental"
> >> [EMAIL PROTECTED]
> >> ERR=Unknown error
> >>
> >>
> >> Using the AD/machine admin account here on the box for email address.
> >> Regular SMTP sends successfully BTW.
> >>
> >> Erich
> >
> >
> >
> >





-
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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BSMTP Error Win32 v2.1.1

2007-02-04 Thread Robert Nelson
Actually the problem is most definitely a bug in bsmtp.  All Exchange is
doing is insisting the From address be a correctly formatted email address.

Bsmtp is wrapping the -f contents in '<' and '>'.  It should probably just
leave the address alone and then you could supply a full address and name
like "(Bacula) <[EMAIL PROTECTED]>" or just an address like "[EMAIL PROTECTED]".

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Erich Prinz
> Sent: Sunday, February 04, 2007 7:09 AM
> To: Kern Sibbald
> Cc: bacula-users
> Subject: Re: [Bacula-users] BSMTP Error Win32 v2.1.1
> 
> No surprise - it's an Exchange server and picky about EVERYTHING.
> 
> E
> 
> 
> On Feb 3, 2007, at 3:49 AM, Kern Sibbald wrote:
> 
> > On Saturday 03 February 2007 00:29, Erich Prinz wrote:
> >> Wondering if it doesn't like having the (Bacula) portion added to the
> >>  From section
> >
> > This is indicating that your SMTP server (localhost) rejected the
> > address you
> > supplied.  Certain SMTP servers are very picky about email address
> > and accept
> > only certain formats.
> >
> > The manual explains this problem, but unfortunately does not give
> > some real
> > examples of the different formats.
> >
> >>
> >> Trace output.
> >>
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: s01-
> >> ml110.culligancc.com --> helo s01-ml110.culligancc.com
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: s01-
> >> ml110.culligancc.com --> mail from:<(Bacula)
> >> [EMAIL PROTECTED] >
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> bsmtp: ../../tools/bsmtp.c:92 Fatal malformed reply from localhost:
> >> 501 5.5.4 Invalid Address
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> localhost <-- 220 culligancc.com Microsoft ESMTP MAIL Service,
> >> Version: 6.0.3790.1830 ready at  Fri, 2 Feb 2007 17:21:00 -0600
> >>
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> localhost <-- 250 culligancc.com Hello [127.0.0.1]
> >> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >> localhost <-- 501 5.5.4 Invalid Address
> >> 02-Feb 17:21 s01-ml110-dir: Client1.2007-02-02_17.20.37 Error: ../../
> >> lib/message.c:483 Mail program terminated in error.
> >> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -d10 -f
> >> "(Bacula) [EMAIL PROTECTED] " -s "Bacula: Backup OK of
> >> s01-
> >> ml110-fd Incremental" [EMAIL PROTECTED]
> >> ERR=Unknown error
> >>
> >> Config parameters:
> >>
> >>mailcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> >> localhost -d10 -f \"\(Bacula\) [EMAIL PROTECTED] \" -s
> >> \"Bacula: %t %e of %c %l\" %r"
> >>operatorcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> >> localhost -d10 -f \"\(Bacula\) [EMAIL PROTECTED] \" -s
> >> \"Bacula: Intervention needed for %j\" %r"
> >>mail = [EMAIL PROTECTED] = all, !skipped
> >>operator = [EMAIL PROTECTED] = mount
> >>console = all, !skipped, !saved
> >>
> >> On Feb 2, 2007, at 5:12 PM, Robert Nelson wrote:
> >>> Can you try running the bsmtp command manually and add a -d10 to the
> >>> options?  That should display both sides of the conversation and
> >>> then we can
> >>> see what's happening.
> >>>
> >>> Also what does the line look like in the Bacula-dir.conf file?
> >>>
> >>>> -Original Message-
> >>>> From: Erich Prinz [mailto:[EMAIL PROTECTED]
> >>>> Sent: Friday, February 02, 2007 2:53 PM
> >>>> To: bacula-users
> >>>> Cc: Robert Nelson
> >>>> Subject: BSMTP Error Win32 v2.1.1
> >>>>
> >>>> Running Bacula Win32 Version 2.1.1 on Windows 2003 SBS R2
> >>>>
> >>>> Not sure if this a problem with the setup or Exchange. Can you
> >>>> point
> >>>> me in the right direction here?
> >>>>
> >>>> After running a successful job:
> >&

[Bacula-users] MTX Announcement

2007-02-04 Thread Robert Nelson
I'm now the owner / maintainer of the mtx project (
http://sourceforge.net/projects/mtx ).  

 

This means that we can get any changes, that we need, integrated back into
the standard releases.  One of the first things I did while porting the web
site from Eric's machine to SourceForge was add Bacula (with a link to our
webpage) to the examples of applications that can be used with mtx. :-)

 

Please let me know if you know of any outstanding patches or feature
requests.

 

The project has been converted from CVS to Subversion.

 

I released a new version (1.3.10) of the development tree, the first new
version in a year and only the second new version in 5 years.  This new
version incorporates my changes to support Windows as well as support for
the Sony VGP-XL1B 200 Disc CD/DVD Changer.

 

I've redesigned the Compatibility Database and the Web pages that are used
to access and update it.  It should be much easier to browse the existing
entries and to report your success with various Media Changers.

 

Please take the time to try version 1.3.10 and report the compatibility
results.  ( http://mtx.sourceforge.net/contrib.php )  Once the current
development version has received enough testing I'll be promoting it to
stable status.  The current stable version is over 4 years old and quite out
of date.  This will make the current version available much more widely
since the Linux distributions usually only pick up the stable versions. 

 

-
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=lnk&kid=120709&bid=263057&dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] BSMTP Error Win32 v2.1.1

2007-02-05 Thread Robert Nelson
Hey I like to bash Microsoft and their products as much as the next guy :-)


I've used their products for over 20 years and worked there on the NT kernel
for 12 years starting before the first release.  So I certainly know all the
warts and skeletons. :-O  Exchange is definitely one of the packages
everyone loves to hate (both inside and outside Microsoft).

But I don't like to see anyone get a bad rap, so I try to correct
misconceptions where I can.

> -Original Message-
> From: Erich Prinz [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 05, 2007 8:07 AM
> To: Robert Nelson
> Cc: bacula-users
> Subject: Re: [Bacula-users] BSMTP Error Win32 v2.1.1
> 
> 
> But Robert, if it's a bug in BSMTP you've taken away my love-to-bash-
> Exchange mantra! Say it ain't so!
> 
> :-)
> 
> E~
> 
> On Feb 4, 2007, at 10:46 AM, Robert Nelson wrote:
> 
> > Actually the problem is most definitely a bug in bsmtp.  All
> > Exchange is
> > doing is insisting the From address be a correctly formatted email
> > address.
> >
> > Bsmtp is wrapping the -f contents in '<' and '>'.  It should
> > probably just
> > leave the address alone and then you could supply a full address
> > and name
> > like "(Bacula) <[EMAIL PROTECTED]>" or just an address like "[EMAIL 
> > PROTECTED]".
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:bacula-
> >> users-
> >> [EMAIL PROTECTED] On Behalf Of Erich Prinz
> >> Sent: Sunday, February 04, 2007 7:09 AM
> >> To: Kern Sibbald
> >> Cc: bacula-users
> >> Subject: Re: [Bacula-users] BSMTP Error Win32 v2.1.1
> >>
> >> No surprise - it's an Exchange server and picky about EVERYTHING.
> >>
> >> E
> >>
> >>
> >> On Feb 3, 2007, at 3:49 AM, Kern Sibbald wrote:
> >>
> >>> On Saturday 03 February 2007 00:29, Erich Prinz wrote:
> >>>> Wondering if it doesn't like having the (Bacula) portion added
> >>>> to the
> >>>>  From section
> >>>
> >>> This is indicating that your SMTP server (localhost) rejected the
> >>> address you
> >>> supplied.  Certain SMTP servers are very picky about email address
> >>> and accept
> >>> only certain formats.
> >>>
> >>> The manual explains this problem, but unfortunately does not give
> >>> some real
> >>> examples of the different formats.
> >>>
> >>>>
> >>>> Trace output.
> >>>>
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: s01-
> >>>> ml110.culligancc.com --> helo s01-ml110.culligancc.com
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog: s01-
> >>>> ml110.culligancc.com --> mail from:<(Bacula)
> >>>> [EMAIL PROTECTED] >
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >>>> bsmtp: ../../tools/bsmtp.c:92 Fatal malformed reply from localhost:
> >>>> 501 5.5.4 Invalid Address
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >>>> localhost <-- 220 culligancc.com Microsoft ESMTP MAIL Service,
> >>>> Version: 6.0.3790.1830 ready at  Fri, 2 Feb 2007 17:21:00 -0600
> >>>>
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >>>> localhost <-- 250 culligancc.com Hello [127.0.0.1]
> >>>> 02-Feb 17:21 s01-ml110-dir: ../../lib/message.c:472 Mail prog:
> >>>> localhost <-- 501 5.5.4 Invalid Address
> >>>> 02-Feb 17:21 s01-ml110-dir: Client1.2007-02-02_17.20.37
> >>>> Error: ../../
> >>>> lib/message.c:483 Mail program terminated in error.
> >>>> CMD="C:\Program Files\Bacula\bin\bsmtp" -h localhost -d10 -f
> >>>> "(Bacula) [EMAIL PROTECTED] " -s "Bacula: Backup OK of
> >>>> s01-
> >>>> ml110-fd Incremental" [EMAIL PROTECTED]
> >>>> ERR=Unknown error
> >>>>
> >>>> Config parameters:
> >>>>
> >>>>mailcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> >>>> localhost -d10 -f \"\(Bacula\) [EMAIL PROTE

Re: [Bacula-users] Some files always backed up, even without changes

2007-02-05 Thread Robert Nelson
Incremental backups are based solely on the modification date of the file.
If the file modification date is later than the last full or differential
backup then the file will be included in the incremental backup.

Most likely these files have bogus modification dates sometime in the
future.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Adam Compton
> Sent: Monday, February 05, 2007 9:25 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Some files always backed up, even without changes
> 
> Hello,
> 
> I am having a strange issue with some files always being backed up
> during incremental runs, even if they have not changed since the last
> incremental backup. In particular, I have a working directory of custom
> installer packages for some of the educational software we run here, and
> two of the ~30 package roots are being backed up during each incremental
> job, even though they haven't been touched in the interim. It's fine
> with me that they be backed up during full runs, of course, but having
> them backed up during the daily incrementals is chewing through my
> backup volume like crazy.
> 
> This is with the director, file daemon, and storage daemon all running
> on the same machine, and with the storage daemon writing to a file
> volume. The machine is a Gentoo Linux install (uname -a: Linux hercules
> 2.6.17-gentoo-r8 #2 Sat Nov 4 00:09:36 PST 2006 x86_64 AMD Athlon(tm) 64
> Processor 3200+ AuthenticAMD GNU/Linux), and bacula is at version 2.0.0.
> 
> I've run both the director and the file daemon at -d200, but I can't
> seem to figure out exactly where these files are selected to be backed
> up (although I can see them being backed up, of course). If anybody has
> any tips for troubleshooting this type of issue, I would really
> appreciate the help.
> 
> Thanks in advance!
> 
> Adam Compton
> Network Administrator
> Sierra Canyon School
> 
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Splitting config files

2007-02-05 Thread Robert Nelson
Yes this is a bug, please enter it and assign it to me.

Thanks,

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> Sent: Thursday, February 01, 2007 10:49 AM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Splitting config files
> 
> Brian Debelius wrote:
> > Michel Meyers wrote:
> >
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Brian Debelius wrote:
> >>
> >>> Darien Hager wrote:
> >>>
>  On Jan 31, 2007, at 11:07 AM, Brian Debelius wrote:
> 
> >>> ok, doing the above helps out a little.  You can now see part of the
> >>> path after the 'config file' line
> >>>
> >>> I changed it to
> >>> @C:\\Documents\ and\ Settings\\All\ Users\\Application\
> >>> Data\\Bacula\\schedule.conf
> >>>
> >> Maybe trying the good old DOS 8.3 notation will work? ie:
> >>
> >> c:\docume~1\alluse~1\applic~1\bacula\schedule.conf
> >>
> >> or a variation with double backslashes or single forward slashes.
> >>
> >> Just an idea.
> >>
> >> Greetings,
> >>   Michel
> >>
> >
> > I just tried  @c:/docume~1/alluse~1/applic~1/bacula/schedule.conf  and
> > this works.  Thanks.
> >
> >
> >
> >
> SoWould this qualify as a bug?
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-05 Thread Robert Nelson
Can you run the following commands and post the results?

Cacls c:\temp

Create the file

Cacls c:\temp\file

Add additional permissions

Cacls c:\temp\file

Backup file.

Remove file.

Restore file.

Cacls c:\temp\file

Thanks,


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Ralf Ertzinger
> Sent: Monday, February 05, 2007 12:11 PM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Backing up and restoring Windows permissions
> 
> Hi.
> 
> I am currently evaluating bacula, especially for backing up Windows
> machines.
> 
> My basic test setup works (director and storage on Linux (2.0.2),
> fd on Windows (2.0.1)) and I can backup and restore data from
> the Windows machine.
> 
> However, I can not seem to recreate the permissions on restore.
> 
> The test setup is as follows:
> 
> A file is created on C:\TEMP, having the inherited permission of
> "Everyone - Full access". The Windows machine is part of a AD domain,
> and additional permissions are granted on the file to a user from that
> domain (does not matter who), say "Allow read, deny remove".
> 
> The file is backed up, and deleted on the Windows machine. It is then
> restored from backup. The file comes back, but it just gets the inherited
> permissions, the additional permissions for the AD user are gone.
> 
> According to what I have read there is nothing special I have to do in
> order to have Windows permissions backed up, but I may have missed
> something.
> 
> The fd is running as a service, tried with both the local SYSTEM account
> and a Domain administrative account.
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Conversion from CVS to Subversion (svn)

2007-02-07 Thread Robert Nelson
One minor clarification below

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-devel-
> [EMAIL PROTECTED] On Behalf Of Kern Sibbald
> Sent: Wednesday, February 07, 2007 5:24 AM
> To: bacula-devel; bacula-users
> Subject: [Bacula-devel] Conversion from CVS to Subversion (svn)
> 
> Hello,
> 
> As you probably know Robert and I (mostly Robert) have been working on
> converting the CVS repository into a Subversion repository.  The
> conversion
> is now complete.
> 
> Bottom line:
> - The CVS is deactivated and can no longer be accessed (I think).

The CVS tree is still accessible at the old paths, it just can't be updated
because write access has been removed from all the developers.  It is still
possible to browse it using the original url:

http://bacula.cvs.sourceforge.net/bacula

This is useful if you need to refer back to one of the obsolete directories
that weren't migrated to Subversion.

> - The Bacula page on Source Forge now has links in the Code menu item
>to the SVN Browser, and information about SVN, i.e. how to checkout
>the repository.
> - The repository is organized a bit differently from before, and if you
>checkout the the whole Bacula project, you will get the code to
> everything.
> 



[Rest removed]





-
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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-12 Thread Robert Nelson
Sorry I thought I'd already responded.

Are you running an antivirus program?  If so, does it still happen if the
antivirus is disabled?

Do you have the portable option set to yes in the FileSet resource?  If so,
does it occur if you remove it?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Ralf Ertzinger
> Sent: Tuesday, February 06, 2007 2:34 AM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Backing up and restoring Windows permissions
> 
> Hi.
> 
> On Mon, 5 Feb 2007 13:17:45 -0800, Robert Nelson wrote:
> 
> > Can you run the following commands and post the results?
> >
> > Cacls c:\temp
> 
> C:\>cacls C:\TEMP
> C:\Temp Jeder:(OI)(CI)F
> 
> > Create the file
> >
> > Cacls c:\temp\file
> 
> C:\>cacls c:\temp\file
> c:\temp\file Jeder:F
> 
> > Add additional permissions
> >
> > Cacls c:\temp\file
> 
> C:\>cacls c:\temp\file
> c:\temp\file ADDIX\rertzinger:(OI)(CI)(DENY)(Beschränkter Zugriff:)
>   FILE_WRITE_DATA
>   FILE_APPEND_DATA
>   FILE_WRITE_EA
>   FILE_WRITE_ATTRIBUTES
> 
>  ADDIX\rertzinger:(OI)(CI)R
>  Jeder:F
> 
> > Backup file.
> >
> > Remove file.
> >
> > Restore file.
> >
> > Cacls c:\temp\file
> 
> C:\>cacls c:\temp\file
> c:\temp\file Jeder:F
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Migration error

2007-02-12 Thread Robert Nelson
Use regedit to open the following path

HKEY_LOCAL_MACHINE\HARDWARE\SYSTEM\CurrentControlSet\Services\Bacula-dir

Then edit the ImagePath value.

You need to make sure that you add the -d11 after the /service option.

> -Original Message-
> From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 12, 2007 10:43 PM
> To: bacula-users@lists.sourceforge.net; Robert Nelson
> Cc: Brian Debelius
> Subject: Re: [Bacula-users] Migration error
> 
> On Tuesday 13 February 2007 01:21, Brian Debelius wrote:
> > Kern Sibbald wrote:
> > > On Monday 12 February 2007 19:54, Brian Debelius wrote:
> > >> Hello,
> > >>
> > >> What is this trying to tell me?
> > >
> > > To get an accurate answer, you need to turn on debug level equal or
> > > greater than 10.  Probably -d11 will do.
> > >
> > >> 12-Feb 13:38 comp1-dir: The following 11 JobIds will be migrated:
> > >> 10,13,14,15,16,17,18,19,20,21,22 12-Feb 13:38 comp1-dir: Invalid
> > >> keyword: Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> Full
> > >> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error: Could
> > >> not start migration job.
> > >>
> > >> ##
> > >> # Migrate Job
> > >> ##
> > >> Job {
> > >>   Name = "Migrate Full"
> > >>   Type = Migrate
> > >>   Pool = "Full"
> > >>   Selection Type = Volume
> > >>   Selection Pattern = "full"
> > >>   Messages = Standard
> > >>   Level = Full   #ignored
> > >>   Client = comp1-fd  #ignored
> > >>   FileSet = "DefaultFileset" #ignored
> > >> }
> > >>
> > >> ##
> > >> # Full backup pool
> > >> ##
> > >> Pool {
> > >>   Name = "Full"
> > >>   Pool Type = Backup
> > >>   Recycle = yes
> > >>   Auto Prune = yes
> > >>   Volume Retention = 3 months
> > >>   Maximum Volume Jobs = 1
> > >>   Label Format = "full-${NumVols:p/4/0/r}"
> > >>   Storage = FileStorage0
> > >>   Next Pool = Tape
> > >> }
> >
> > Where/how would I do this under Windows?
> 
> I don't know as I have never run the director on Windows.  Perhaps Robert
> can
> help you.




-
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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Robert Nelson
Answers below

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Ralf Ertzinger
> Sent: Monday, February 12, 2007 11:52 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Backing up and restoring Windows permissions
> 
> Hi.
> 
> On Mon, 12 Feb 2007 22:48:21 -0800, Robert Nelson wrote:
> 
> > Are you running an antivirus program?  If so, does it still happen if
> > the antivirus is disabled?
> 
> There is no AV program on the Windows machine.
> 
> >
> > Do you have the portable option set to yes in the FileSet resource?
> > If so, does it occur if you remove it?
> 
> To the best of my knowledge this option is not set. The configuration
> sections relevant to the machine in question are below.
> 
> Is there a way to see (in the storage) whether the permissions were
> even saved? bls does not seem to tell me that, it just lists UNIX
> style permissions.
> 

In order to see if the correct permissions are being stored I would need to
look at beginning of the backup data.  If you can send me a copy of the file
with the data from the storage machine, I'll take a look.  Please try to
make it as small as possible and compress it.  Then send it directly to me,
I'm sure the others on the list will appreciate not receiving the
attachment. :-)

[Configs deleted]




-
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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Robert Nelson
Ralf and I did some testing offline.  The problem is with zero length files,
the error is in this code taken from save_file() in filed/backup.c

   /*
* Open any file with data that we intend to save, then save it.
*
* Note, if is_win32_backup, we must open the Directory so that
* the BackupRead will save its permissions and ownership streams.
*/
   if (ff_pkt->type != FT_LNKSAVED && (S_ISREG(ff_pkt->statp.st_mode) &&
 ff_pkt->statp.st_size > 0) ||
 ff_pkt->type == FT_RAW || ff_pkt->type == FT_FIFO ||
 (!is_portable_backup(&ff_pkt->bfd) && ff_pkt->type == FT_DIREND)) {

We never open the file or do a BackupRead if the file is zero length.

Kern, can you see any problem if we just remove the ff_pkt->statp.st_size >
0 portion of the test?


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Ralf Ertzinger
> Sent: Monday, February 12, 2007 11:52 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Backing up and restoring Windows permissions
> 
> Hi.
> 
> On Mon, 12 Feb 2007 22:48:21 -0800, Robert Nelson wrote:
> 
> > Are you running an antivirus program?  If so, does it still happen if
> > the antivirus is disabled?
> 
> There is no AV program on the Windows machine.
> 
> >
> > Do you have the portable option set to yes in the FileSet resource?
> > If so, does it occur if you remove it?
> 
> To the best of my knowledge this option is not set. The configuration
> sections relevant to the machine in question are below.
> 
> Is there a way to see (in the storage) whether the permissions were
> even saved? bls does not seem to tell me that, it just lists UNIX
> style permissions.
> 
> 
> 
> Director config:
> 
> Director {# define myself
>   Name = banea-dir
>   DIRport = 9101# where we listen for UA connections
>   QueryFile = "/usr/libexec/bacula/query.sql"
>   WorkingDirectory = "/var/lib/bacula"
>   PidDirectory = "/var/run"
>   Maximum Concurrent Jobs = 1
>   Password = "GVAslILAQw69HBIVsrX8egWouulz9d58q3DogOPExPnz" #
> Console password
>   Messages = Daemon
> }
> JobDefs {
>   Name = "DefaultJob"
>   Type = Backup
>   Level = Incremental
>   Client = banea-fd
>   FileSet = "Full Set"
>   Schedule = "WeeklyCycle"
>   Storage = File
>   Messages = Standard
>   Pool = Default
>   Priority = 10
> }
> Job {
> Name = "w2k"
> client = w2k-fd
> jobdefs = "DefaultJob"
> FileSet = "w2k-set"
> }
> Job {
>   Name = "BackupCatalog"
>   JobDefs = "DefaultJob"
>   Level = Full
>   FileSet="Catalog"
>   Schedule = "WeeklyCycleAfterBackup"
>   # This creates an ASCII copy of the catalog
>   RunBeforeJob = "/usr/libexec/bacula/make_catalog_backup bacula bacula"
>   # This deletes the copy of the catalog
>   RunAfterJob  = "/usr/libexec/bacula/delete_catalog_backup"
>   Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
>   Priority = 11   # run after main backup
> }
> Job {
>   Name = "RestoreFiles"
>   Type = Restore
>   Client=banea-fd
>   FileSet="Full Set"
>   Storage = File
>   Pool = Default
>   Messages = Standard
> }
> Fileset {
> Name = "w2k-set"
> Include {
> Options {
> signature = MD5
> }
> File = "C:/TEMP"
> }
> }
> Schedule {
>   Name = "WeeklyCycle"
>   Run = Full 1st sun at 23:05
>   Run = Differential 2nd-5th sun at 23:05
>   Run = Incremental mon-sat at 23:05
> }
> Schedule {
>   Name = "WeeklyCycleAfterBackup"
>   Run = Full sun-sat at 23:10
> }
> FileSet {
>   Name = "Catalog"
>   Include {
> Options {
>   signature = MD5
> }
> File = /var/lib/bacula/bacula.sql
>   }
> }
> Client {
>   Name = w2k-fd
>   Address = ADDIX-RE-W2K.addix.campus
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = "12345"  # password for FileDaemon
>   File Retention = 30 days# 30 days
>   Job Retention = 6 months# six months
>   AutoPrune = yes # Prune expired Jobs/Files
> }
> Storage {
>   Name = File
>   Address = banea.int.addix.net# N.B. Use a fully
> qualified name here
>   SDPort = 9103
>   Password = "3mhDDbTYzDcvOmRNKLf1wOlZ5PIjeFHbz2RLqbvDnFzG"
>   Device = FileStorage
>   M

Re: [Bacula-users] Migration error

2007-02-13 Thread Robert Nelson
Which logfile are you looking at?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> Sent: Tuesday, February 13, 2007 8:37 AM
> To: Robert Nelson
> Cc: 'Kern Sibbald'; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Migration error
> 
> Thanks.
> 
> Ok I did that, started the service, but I do not notice any change in
> the amount of information I am getting.  The log file doesnt seem to
> have anything more, and neither does the wx-console.
> 
> brian-
> 
> Robert Nelson wrote:
> > Use regedit to open the following path
> >
> > HKEY_LOCAL_MACHINE\HARDWARE\SYSTEM\CurrentControlSet\Services\Bacula-dir
> >
> > Then edit the ImagePath value.
> >
> > You need to make sure that you add the -d11 after the /service option.
> >
> >
> >> -Original Message-
> >> From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> >> Sent: Monday, February 12, 2007 10:43 PM
> >> To: bacula-users@lists.sourceforge.net; Robert Nelson
> >> Cc: Brian Debelius
> >> Subject: Re: [Bacula-users] Migration error
> >>
> >> On Tuesday 13 February 2007 01:21, Brian Debelius wrote:
> >>
> >>> Kern Sibbald wrote:
> >>>
> >>>> On Monday 12 February 2007 19:54, Brian Debelius wrote:
> >>>>
> >>>>> Hello,
> >>>>>
> >>>>> What is this trying to tell me?
> >>>>>
> >>>> To get an accurate answer, you need to turn on debug level equal or
> >>>> greater than 10.  Probably -d11 will do.
> >>>>
> >>>>
> >>>>> 12-Feb 13:38 comp1-dir: The following 11 JobIds will be migrated:
> >>>>> 10,13,14,15,16,17,18,19,20,21,22 12-Feb 13:38 comp1-dir: Invalid
> >>>>> keyword: Full
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job. 12-Feb 13:38 comp1-dir: Invalid keyword:
> >>>>>
> >> Full
> >>
> >>>>> 12-Feb 13:38 comp1-dir: Migrate_Full.2007-02-12_13.38.18 Error:
> Could
> >>>>> not start migration job.
> >>>>>
> >>>>> ##
> >>>>> # Migrate Job
> >>>>> ##
> >>>>> Job {
> >>>>>   Name = "Migrate Full"
> >>>>>   Type = Migrate
> >>>>>   Pool = "Full"
> >>>>>   Selection Type = Volume
> >>>>>   Selection Pattern = "full"
> &

Re: [Bacula-users] Migration error

2007-02-13 Thread Robert Nelson
The file you want isn't log, it should be something like name-dir.trace.
where name is the name of the machine.


> -Original Message-
> From: Brian Debelius [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 13, 2007 9:13 AM
> To: Robert Nelson
> Cc: 'Kern Sibbald'; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Migration error
> 
> C:\Documents and Settings\All Users\Application Data\Bacula\Work\log
> 
> Do I have to change the messages directive in the conf file at all?
> 
> ###
> # Standard message delivery -- send most everything to email address and
> to the console
> ###
> Messages {
>   Name = Standard
> #
> # NOTE! If you send to two email or more email addresses, you will need
> #  to replace the %r in the from field (-f part) with a single valid
> #  email address in both the mailcommand and the operatorcommand.
> #
>   mailcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> mail.intelesyscorp.com -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c
> %l\" %r"
>   operatorcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> mail.intelesyscorp.com -f \"\(Bacula\) %r\" -s \"Bacula: Intervention
> needed for %j\" %r"
>   mail = bdebelius = all, !skipped
>   operator = bdebelius = mount
>   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 = "C:\\Documents and Settings\\All Users\\Application
> Data\\Bacula\\Work\\log" = all, !skipped
> }
> 
> ###
> # Daemon message delivery for daemon messages (no job).
> ###
> Messages {
>   Name = Daemon
>   mailcommand = "\"C:\\Program Files\\Bacula\\bin\\bsmtp\" -h
> mail.intelesyscorp.com -f \"\(Bacula\) %r\" -s \"Bacula daemon message\"
> %r"
>   mail = bdebelius = all, !skipped
>   console = all, !skipped, !saved
>   append = "C:\\Documents and Settings\\All Users\\Application
> Data\\Bacula\\Work\\log" = all, !skipped
> }
> 
> 
> Robert Nelson wrote:
> > Which logfile are you looking at?
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:bacula-users-
> >> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> >> Sent: Tuesday, February 13, 2007 8:37 AM
> >> To: Robert Nelson
> >> Cc: 'Kern Sibbald'; bacula-users@lists.sourceforge.net
> >> Subject: Re: [Bacula-users] Migration error
> >>
> >> Thanks.
> >>
> >> Ok I did that, started the service, but I do not notice any change in
> >> the amount of information I am getting.  The log file doesnt seem to
> >> have anything more, and neither does the wx-console.
> >>
> >> brian-
> >>
> >> Robert Nelson wrote:
> >>
> >>> Use regedit to open the following path
> >>>
> >>> HKEY_LOCAL_MACHINE\HARDWARE\SYSTEM\CurrentControlSet\Services\Bacula-
> dir
> >>>
> >>> Then edit the ImagePath value.
> >>>
> >>> You need to make sure that you add the -d11 after the /service option.
> >>>
> >>>
> >>>
> >>>> -Original Message-
> >>>> From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> >>>> Sent: Monday, February 12, 2007 10:43 PM
> >>>> To: bacula-users@lists.sourceforge.net; Robert Nelson
> >>>> Cc: Brian Debelius
> >>>> Subject: Re: [Bacula-users] Migration error
> >>>>
> >>>> On Tuesday 13 February 2007 01:21, Brian Debelius wrote:
> >>>>
> >>>>
> >>>>> Kern Sibbald wrote:
> >>>>>
> >>>>>
> >>>>>> On Monday 12 February 2007 19:54, Brian Debelius wrote:
> >>>>>>
> >>>>>>
> >>>>>>> Hello,
> >>>>>>>
> >>>>>>> What is this trying to tell me?
> >>>>>>>
> >>>>>>>
> >>>>>> To get an accurate answer, you need to turn on debug level equal or
> >>>>>> greater than 10.  Probably -d11 will do.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>

Re: [Bacula-users] Backing up and restoring Windows permissions

2007-02-13 Thread Robert Nelson
How about something like this:

   bool do_read = false;

   if (ff_pkt->type != FT_LNKSAVED && S_ISREG(ff_pkt->statp.st_mode)) {
#ifdef HAVE_WIN32
  do_read = !is_portable_backup(&ff_pkt->bfd) || ff_pkt->statp.st_size >
0;
#else
  do_read = ff_pkt->statp.st_size > 0;
#endif
   } else if (ff_pkt->type == FT_RAW || ff_pkt->type == FT_FIFO ||
 (!is_portable_backup(&ff_pkt->bfd) && ff_pkt->type == FT_DIREND)) {
  do_read = true;
   }

   if (do_read) {

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Kern Sibbald
> Sent: Tuesday, February 13, 2007 8:33 AM
> To: Robert Nelson
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Backing up and restoring Windows permissions
> 
> On Tuesday 13 February 2007 11:29, Robert Nelson wrote:
> > Ralf and I did some testing offline.  The problem is with zero length
> > files, the error is in this code taken from save_file() in
> filed/backup.c
> >
> >/*
> > * Open any file with data that we intend to save, then save it.
> > *
> > * Note, if is_win32_backup, we must open the Directory so that
> > * the BackupRead will save its permissions and ownership streams.
> > */
> >if (ff_pkt->type != FT_LNKSAVED && (S_ISREG(ff_pkt->statp.st_mode) &&
> >  ff_pkt->statp.st_size > 0) ||
> >  ff_pkt->type == FT_RAW || ff_pkt->type == FT_FIFO ||
> >  (!is_portable_backup(&ff_pkt->bfd) && ff_pkt->type ==
> FT_DIREND))
> > {
> >
> > We never open the file or do a BackupRead if the file is zero length.
> >
> > Kern, can you see any problem if we just remove the ff_pkt-
> >statp.st_size >
> > 0 portion of the test?
> 
> Yes, that might create some errors on portable Win32 and on Unix, and it
> will
> certainly cause extra overhead.  On those systems, if the filesize is
> zero,
> we do not want to open it.
> 
> IMO, the if needs to be re-written so that the size test is used in all
> cases
> except for !is_portable_backup(...).
> 
> Probably about 10-20 minutes of hard thought could produce an if that is
> much
> more understandable (or several ifs if that is what it takes to simplify
> it).
> 
> 
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:bacula-users-
> > > [EMAIL PROTECTED] On Behalf Of Ralf Ertzinger
> > > Sent: Monday, February 12, 2007 11:52 PM
> > > To: bacula-users@lists.sourceforge.net
> > > Subject: Re: [Bacula-users] Backing up and restoring Windows
> permissions
> > >
> > > Hi.
> > >
> > > On Mon, 12 Feb 2007 22:48:21 -0800, Robert Nelson wrote:
> > > > Are you running an antivirus program?  If so, does it still happen
> if
> > > > the antivirus is disabled?
> > >
> > > There is no AV program on the Windows machine.
> > >
> > > > Do you have the portable option set to yes in the FileSet resource?
> > > > If so, does it occur if you remove it?
> > >
> > > To the best of my knowledge this option is not set. The configuration
> > > sections relevant to the machine in question are below.
> > >
> > > Is there a way to see (in the storage) whether the permissions were
> > > even saved? bls does not seem to tell me that, it just lists UNIX
> > > style permissions.
> > >
> > >
> > >
> > > Director config:
> > >
> > > Director {# define myself
> > >   Name = banea-dir
> > >   DIRport = 9101# where we listen for UA connections
> > >   QueryFile = "/usr/libexec/bacula/query.sql"
> > >   WorkingDirectory = "/var/lib/bacula"
> > >   PidDirectory = "/var/run"
> > >   Maximum Concurrent Jobs = 1
> > >   Password = "GVAslILAQw69HBIVsrX8egWouulz9d58q3DogOPExPnz" #
> > > Console password
> > >   Messages = Daemon
> > > }
> > > JobDefs {
> > >   Name = "DefaultJob"
> > >   Type = Backup
> > >   Level = Incremental
> > >   Client = banea-fd
> > >   FileSet = "Full Set"
> > >   Schedule = "WeeklyCycle"
> > >   Storage = File
> > >   Messages = Standard
> > >   Pool = Default
> > >   Priority = 10
> > > }
> > > Job {
> > > Name = "w2k"
> > > 

Re: [Bacula-users] Director not connecting to MySQL / Bacula 2.0.2Win32 binaries

2007-02-14 Thread Robert Nelson
Did you select MySQL in the director configuration page in the installer?

Can you send me a copy of the install.log file from the \Program
Files\Bacula directory?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Marc Levy
> Sent: Wednesday, February 14, 2007 2:51 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Director not connecting to MySQL / Bacula
> 2.0.2Win32 binaries
> 
> Hi,
> 
> I've been testing Bacula 2.0.2 for about a week now with the following
> config:
> - All deamons on various Win32 boxes (2Ksrv, XP pro),
> - sqlite for the catalog.
> Now that everyting is working quite well, i'd like to use a MySQL database
> for
> the catalog instead of the default sqlite.
> 
> So I install everything from scratch on a new box. The Win32 installer
> correctly
> sees the MySQL instance precedly installed 'Found MySQL (version 5.0.27)'
> in the
> messages list, but:
> 1/ all the MySQL related scripts *mysql*.(sql)|(cmd) are not installed
> (neither
> mind, got them from the source tarball)
> 2/ the director is enable to connect to the MySQL database (I can manually
> connect to the bacula database with the MySQL command line Client and yes:
> the
> database is created, the tables too)
> When starting the Director (bacula-dir.exe) the error message is as
> follow:
> 'bacula-dir Fatal error: ../../cats/sqlite.c:154 Database
> .db does not exist, please create it'
> ==> Seems that there is only the sqlite'support compiled into the
> binaries?
> ==> I played with the various items in the catalog{} ressource (DB
> Address, DB
> Port) with no luck.
> ==> By the way here is my Catalog ressource in the bacula-dir.conf:
> Catalog {
> Name = Catalog1
> DBName = bacula#<== matchs the MySQL database created
> user = bacula
> password = bacula  #<== I can manually connect to the database with
> this
> login/pwd
> DBAddress = "localhost" #<== tested with 127.0.0.1 , FQN, too but no luck
> DBPort = 3306  #<== with or without this option
> }
> 
> Any hint or help will be greatly appreciated (as I can't find any topic in
> the
> doc and/or newsgroups)
> 
> Many thanks in advance.
> 
> Marc.
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mtx-changer script

2007-02-19 Thread Robert Nelson
Have you looked at the mtx-changer script that comes with the Windows
version?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Erich Prinz
> Sent: Monday, February 19, 2007 7:40 PM
> To: bacula-users
> Cc: bacula-devel Development
> Subject: [Bacula-users] mtx-changer script
> 
> 
> I'm desperately inept when it comes to scripting - even worse
> attempting to convert a unix script to a wintel script.
> 
> Has anyone converted Alexander's Automating Tape usage script (found
> in the examples section of the source) to a Win32 platform script?
> 
> E~
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Upgrade autochanger configuration?

2007-03-01 Thread Robert Nelson


Since Bacula pretty much works with any autochanger that mtx supports you
could use the database on the mtx website at mtx.opensource-sw.net.

If there is enough interest I could set up something similar for Bacula.  We
would just need to agree on the information we would like to gather.  The
automatic upload is a bit trickier.



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Arno Lehmann
> Sent: Thursday, March 01, 2007 1:13 AM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Upgrade autochanger configuration?
> 
> Hi,
> 
> On 3/1/2007 4:32 AM, Ivan Adzhubey wrote:
> > Thanks a lot, Arno. Your reply saved me a day of scanning through the
> > documentation! Things looked a bit confusing because apparently, the guy
> who
> > installed Bacula first tried version 1.38.x and then settled down on
> 1.36.1
> > for whatever reasons he had. That left a bit of a mess in config files.
> 
> Which tells us a lot about the value of having a useful documentation
> about your systems :-)
> 
> > BTW, is there a place to submit user tested Bacula-compatible hardware
> setups?
> 
> Just this mailing list... or the -devel or -docs one, I guess.
> 
> > The one included with the documentation (well, both of them) look
> outdated
> > and unmaintained for years. It is rather short also, which IMHO is
> misleading
> > and can discourage potential Bacula users. It is my understanding that
> in
> > reality Bacula will happily work with almost any autochanger/tape drive
> > hardware except probably most exotic models.
> 
> Both your assumptions are correct... unfortunately, it seems to be hard
> task collecting and keeping up-to-date a compatibility list. The problem
> starts with the fact that many users don't report their configuration.
> 
> For those of us that do, a page in the wiki might be a good starting
> point. The luxury version would be a database accessible through a web
> front end, and when starting Bacula the first time you get asked if you
> want your systems data uploaded automatically to the database... now we
> only need someone to implement this :-)
> 
> >
> > Regards,
> > Ivan
> 
> Arno
> 
> --
> IT-Service Lehmann[EMAIL PROTECTED]
> Arno Lehmann  http://www.its-lehmann.de
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unable to truncate volume

2007-03-06 Thread Robert Nelson
The only time ftruncate returns EINVAL is if the file size is negative which
is not the case here.

So that error means that some system call that ftruncate made failed with an
error that the C runtime didn't expect, unknown error codes are mapped to
EINVAL.  

So the most likely guilty party is antivirus software.

Do you have an anti-virus package running?

If so which one?  

Are you using its autoprotect feature?

Can you try disabling autoprotect for the directory where the backups are
stored?


> -Original Message-
> From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 06, 2007 1:54 AM
> To: bacula-users@lists.sourceforge.net
> Cc: Silver Salonen; Robert Nelson
> Subject: Re: [Bacula-users] Unable to truncate volume
> 
> On Tuesday 06 March 2007 10:19, Silver Salonen wrote:
> > On Tuesday 13 February 2007 18:45, Brian Debelius wrote:
> > > Windows.
> > >
> > > Ok I have 5 volumes.  full- through full-0004.  They all were
> > > migrated last night.  When I run the backups today,  and 0001 were
> > > recylced ok.  0002 and 0003 were recycled but could not be truncated.
> > > 0004 was recycled ok
> > >
> > > one comment:  it would be nice if a volume fails to be recycled, that
> a
> > > new volume is created and the backup automatically continues instead
> of
> > > failing without a backup as long as there are no other options in the
> > > conf that would prevent this.
> > >
> > > here is the log of 0002 and 0003
> > >
> > > 3-Feb 10:19 comp0-dir: No prior Full backup Job record found.
> > > 13-Feb 10:19 comp0-dir: No prior or suitable Full backup found in
> > > catalog.
> >
> > Doing FULL backup.
> >
> > > 13-Feb 11:03 comp0-dir: Start Backup JobId 21,
> > > Job=comp1.2007-02-13_10.19.25 13-Feb 11:03 comp0-dir: Recycled volume
> > > "full-0002"
> > > 13-Feb 11:03 comp1-fd: ClientRunBeforeJob: run command "ntbackup
> backup
> >
> > systemstate /F c:\comp1_systemstate.bkf"
> >
> > > 13-Feb 11:08 comp0-sd: comp1.2007-02-13_10.19.25 Fatal
> >
> > error: ../../stored/label.c:448 Truncate error on device "FileStorage0"
> (d:
> > \bacula\): ERR=../../stored/dev.c:1942 Unable to truncate
> > device "FileStorage0" (d:\bacula\). ERR=Invalid argument
> >
> > > 13-Feb 11:08 comp0-sd: Marking Volume "full-0002" in Error in Catalog.
> > > 13-Feb 11:08 comp0-sd: comp1.2007-02-13_10.19.25 Fatal error: Job 21
> >
> > canceled.
> >
> > > 13-Feb 11:08 comp1-fd: comp1.2007-02-13_10.19.25 Fatal
> >
> > error: ../../filed/job.c:1752 Bad response to Append Data command.
> Wanted
> > 3000 OK data
> >
> > > , got 3903 Error append data
> > >
> > >
> > >
> > > 13-Feb 10:19 comp0-dir: No prior Full backup Job record found.
> > > 13-Feb 10:19 comp0-dir: No prior or suitable Full backup found in
> > > catalog.
> >
> > Doing FULL backup.
> >
> > > 13-Feb 11:08 comp0-dir: Start Backup JobId 22,
> > > Job=comp2.2007-02-13_10.19.30 13-Feb 11:08 comp0-dir: Recycled volume
> > > "full-0003"
> > > 13-Feb 11:08 comp2-fd: ClientRunBeforeJob: run command "ntbackup
> backup
> >
> > systemstate /F c:\comp2_systemstate.bkf"
> >
> > > 13-Feb 11:14 comp0-sd: comp2.2007-02-13_10.19.30 Fatal
> >
> > error: ../../stored/label.c:448 Truncate error on device "FileStorage0"
> (d:
> > \bacula\): ERR=../../stored/dev.c:1942 Unable to truncate
> > device "FileStorage0" (d:\bacula\). ERR=Invalid argument
> >
> > > 13-Feb 11:14 comp0-sd: Marking Volume "full-0003" in Error in Catalog.
> > > 13-Feb 11:14 comp0-sd: comp2.2007-02-13_10.19.30 Fatal error: Job 22
> >
> > canceled.
> >
> > > 13-Feb 11:14 comp2-fd: comp2.2007-02-13_10.19.30 Fatal
> >
> > error: ../../filed/job.c:1752 Bad response to Append Data command.
> Wanted
> > 3000 OK data
> >
> > > , got 3903 Error append data
> >
> > Hi.
> >
> > I've got the same problem.
> >
> > In my case:
> > * DIR is running on FreeBSD-5.3
> > * SD is running on Windows Server 2003 SP1
> > * FD is running on another Windows Server 2003 SP1.
> >
> > I used Bacula 2.0.0 everywhere and when the problem occured, I upgraded
> all
> > of them to 2.0.2, but the problem remained.
> >
> > Log:
> > ==
> > 05-Mar 23:05 bsdserv-dir: No prior

Re: [Bacula-users] Failed Windows backup

2007-03-14 Thread Robert Nelson
Change the -f "(Bacula) [EMAIL PROTECTED]" to -f "[EMAIL PROTECTED]".

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Administrator
Sent: Tuesday, March 13, 2007 3:25 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Failed Windows backup

 

 

I have just recently set up Bacula to backup a Windows 2003 server. The
setup is a bit unusual - 

Bacula Director is run on an Ubuntu 6.06 server and is version 1.36.3 
The File Director is run on a Windows Small Business Server 2003 
The Storage Director is run on a Windows 2000 system using an HP DAT72
device. I have run the test on this system and it works without error.

Using the documentation and various tutorial notes, I have tried to set up
the .conf file correctly. From the message I received it appears this is not
the case:-

01-Mar 18:30 Ubuntuccc-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:88 Fatal
malformed reply from localhost: 504 <[EMAIL PROTECTED]>: Sender address
rejected: need fully-qualified address

01-Mar 18:30 Ubuntuccc-dir: Client1.2007-03-01_18.30.00 Error: message.c:473
Mail program terminated in error. 
CMD=/usr/lib/bacula/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s
"Bacula: Backup Fatal Error of sbserverpdc-fd Full" [EMAIL PROTECTED]

ERR=Child exited with code 1 
01-Mar 23:50 Ubuntuccc-dir: Start Backup JobId 45,
Job=BackupCatalog.2007-03-01_23.50.00 
01-Mar 23:50 Ubuntuccc-dir: BackupCatalog.2007-03-01_23.50.00 Fatal error:
Storage daemon rejected Job command: 3915 Bad Job command. stat=-1 CMD:
JobId=45 job=BackupCatalog.2007-03-01_23.50.00 job_name=BackupCatalog
client_name=sbserverpdc-fd type=66 level=70 FileSet=Catalog NoAttr=0
SpoolAttr=0 FileSetMD5=b84+V6+tB/+hy4+qT8tJDD SpoolData=0

Your assistance will be appreciated. 

Thank you, 
KG Meyer 
[EMAIL PROTECTED] 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] running DIR on windows 2000

2007-03-14 Thread Robert Nelson
This usually means that either you have a problem in your configuration file
or the database hasn't been initialized properly.

In either case you should be able to figure it out using the following
command:

"C:\Program Files\Bacula\bin\bacula-dir.exe" /run -d 100 -t -c "C:\Documents
and Settings\All Users\Application Data\Bacula\bacula-dir.conf"

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Silver Salonen
> Sent: Wednesday, March 14, 2007 8:11 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] running DIR on windows 2000
> 
> Hi.
> 
> I'm trying to get all the Bacula 2.0.3 (with SQLite) components running on
> a
> single windows 2000.
> 
> I've configured them (slightly modified default configurations) and
> successfully started FD's and SD's services, but DIR's service says me:
> Could not start the Bacula Director service on Local Computer. Error 1067:
> The
> process terminated unexpectedly.
> 
> Is there a way to test/debug DIR's configuration on windows? I've tried
> executing several commands from cmd, but they give me nothing. These
> commands
> include:
> "C:\Program Files\Bacula\bin\bacula-dir.exe" -t -c "C:\Documents and
> Settings\All Users\Application Data\Bacula\bacula-dir.conf"
> and
> "C:\Program Files\Bacula\bin\bacula-dir.exe" /debug
> 
> What else should I try?
> 
> Silver
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ***************URGENT************Need Help!***************

2007-03-14 Thread Robert Nelson
Which part of this information from the Readme.txt file did you not
understand?

 

Storage Device Names



There is a utility installed called scsilist.exe which displays the
installed 

devices, their physical address and their device name.  A link to it is 

created in the Bacula menu when the Storage service is installed.

 

Changer and Tape device names in Windows are Changer0, Changer1, etc and 

Tape0, Tape1, etc.  If there isn't a device driver loaded for the Changer 

then you need to use the address :::.  Port is the 

SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0 since 

most adapters only have one bus), Target is the device's Target Device ID, 

Lun is the Logical Unit Number.

 

You must specify DeviceType = tape in the Device resource in bacula-sd.conf 

since auto detection of device type doesn't work at the present time.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, March 12, 2007 2:37 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] ***URGENTNeed
Help!***

 

 

 

Hi all,

In my Bacula Server I have this list of devices given by bacula's "device
list"



DeviceType Physical
Name
==    

HL-DT-ST DVD+-RW GSA-H21L CDRom0:0:0:0  CdRom0
HP  Ultrium 1-SCSI  P53W Tape 4:0:5:0  Tape0
HP  1x8 autoloader  1.50   Changer  4:0:5:1
DY5402J FCM024K 1.0CDRom5:0:0:0

Press any key to continue

I need to specify my "Archive Device = " and my "Changer Device =" in the
bacula's configuration file  bacula-sd .conf   !!
The problem is : under windows I have no idea about how the system names the
HP Ultrium nor the HP autoloader.

is there any one who tried the experience under windows and can help me ??

   
Nawfel

 

 

 

  _  

Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes
sur Yahoo! 
Questions/Réponses.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re : ***************URGENT************Need Help !***************

2007-03-14 Thread Robert Nelson
It isn't absolutely necessary to install the HP Windows driver you can use
the physical address as a device name, in this case "4:0:5:1".

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> Sent: Monday, March 12, 2007 6:52 AM
> To: [EMAIL PROTECTED]
> Cc: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Re : ***URGENTNeed
> Help !***
> 
> Hi,
> According to your scsilist, the Ultrium name is Tape0 so for the tape
> you would use  'Archive Device = Tape0'.
> For the changer you need to install the HP  windows driver for you
> changer.  It will then appear as Changer0, and you would use
> 'Changer Device = Changer0'.
> 
> brian-
> 
> [EMAIL PROTECTED] wrote:
> > thanks for the remark Florian,
> > but the problem is : without a backup server we can not make backups
> > nor restore ! so it's realy urgent given that the production has
> > started in a new country ! the version already running  is under
> > openSUSE 10, so in the new country we need to use it under Windows,
> > but I have no idea about how to specify the changer device for this OS.
> >
> > as you can see in the bacula's scsilist.exe log, the device has no
> > name attributed, that's what confused me
> >
> > regards,
> > Nawfel
> >
> > - Message d'origine 
> > De : Florian Heigl <[EMAIL PROTECTED]>
> > À : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > Envoyé le : Lundi, 12 Mars 2007, 11h38mn 33s
> > Objet : Re: [Bacula-users] ***URGENTNeed Help
> > !***
> >
> > Hey sorry,
> >
> > but answer me one question:
> >
> > What topic are You going to use if you ever have a really urgent
> problem?
> > Please chose more wisely, you make people think you have a production
> > breakdown and backups lost or something and all there is is that you
> > don't know how to specify the changer device on windows?
> >
> > It should show up in device manager -> logical storage where there is
> > a list of devices with their respective \\PhysicalDrive names
> >
> > Florian
> >
> > 2007/3/12, [EMAIL PROTECTED] 
> > <[EMAIL PROTECTED] >:
> >
> >
> >
> > Hi all,
> >
> > In my Bacula Server I have this list of devices given by bacula's
> > "device list"
> >
> >
> > DeviceType
> > Physical Name
> > ==   
> >  
> > HL-DT-ST DVD+-RW GSA-H21L CDRom0:0:0:0  CdRom0
> > HP  Ultrium 1-SCSI  P53W Tape 4:0:5:0
> > Tape0
> > HP  1x8 autoloader  1.50   Changer  4:0:5:1
> > DY5402J FCM024K 1.0CDRom5:0:0:0
> >
> > Press any key to continue
> >
> > I need to specify my "Archive Device = " and my "Changer Device ="
> > in the bacula's configuration file  bacula-sd .conf   !!
> > The problem is : under windows I have no idea about how the system
> > names the HP Ultrium nor the HP autoloader.
> >
> > is there any one who tried the experience under windows and can
> > help me ??
> >
> >
> > Nawfel
> >
> >
> >
> > 
> 
> > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> > questions ! Profitez des connaissances, des opinions et des
> > expériences des internautes sur Yahoo! Questions/Réponses
> > .
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
>  >
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > 
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> >
> >
> >
> >
> > --
> > 'Sie brauchen sich um Ihre Zukunft keine Gedanken zu machen'
> >
> >
> > 
> > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> > questions ! Profitez des connaissances, des opinions et des
> > expériences des internautes sur Yahoo! Questions/Réponses
> > .
> > 
> >
> > 

Re: [Bacula-users] ***************URGENT************Need Help!***************

2007-03-15 Thread Robert Nelson
First of all start with the configuration files installed by the installer.
They have examples that you should be able to use by just uncommenting the
proper definitions and changing a few entries.  I don’t know now you created
these configurations but they are all messed up.  You have entries from the
Autochanger resource in your Device resource and you are missing the
Autochanger resource.  

 

You need to pay particular attention to how the various resource structures
from the configuration files reference each other.  For example the Device
in the Storage resource in the Director configuration file must match the
Name in the Device resource in the Storage configuration file.  In your case
it should be HP_Ultrium not the physical address.  Device Names such as
changer0, tape0 and 4:0:5:1 are only specified in the Storage configuration.

 

Spend some time looking at the example configs and read the documentation
and you’ll probably have much better luck.

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 15, 2007 3:03 AM
To: Robert Nelson
Cc: bacula-users@lists.sourceforge.net
Subject: Re : [Bacula-users] ***URGENTNeed
Help!***

 

Hi all !
this is my file def conf of the storage deamon

Storage { # definition of myself
  Name = ilemma009-sd
  SDPort = 9103  # Director's port  
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 20

}

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

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = ilemma009-mon
  Password = "xx"
  Monitor = yes
}

Device {
  Name = "HP_Ultrium"# 
  Media Type = DDS-4
  Archive Device = Tape0 #Tape0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  RequiresMount = yes
  Changer Command = "mtx-changer %c %o %S %a %d"
  Changer Device = 4:0:5:1 #Changer0   #"4:0:5:1"   #4:0:5:1 doesn't
work !!
  AutoChanger = yes
  Alert Command = "tapeinfo -f %c | findstr TapeAlert"
}

Messages {
  Name = Standard
  director = ilemma009-dir = all
}



My director.conf file :

Director {# define myself
  Name = ilemma009-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "C:\\Program Files\\Bacula\\bin\\query.sql"
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  PidDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 11
  Password = "xxx" # Console password
  Messages = Daemon
}


# Definition of DDS tape storage device
Storage {
  Name = DDS-4
#  Do not use "localhost" here
  Address = ILEMMA009# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = ""  # password for Storage daemon
  Device = 4:0:5:1  # must be same as Device in Storage
daemon
  Media Type = DDS-4  # must be same as MediaType in Storage
daemon
  Autochanger = yes   # enable for autochanger device
}


what bacula say every day :

ilemma009-sd Version: 2.0.3 (06 March 2007) Linux Cross-compile Win32
Daemon started 15-Mar-07 10:01, 0 Jobs run since started.
 Heap: bytes=13,542 max_bytes=13,687 bufs=57 max_bufs=58

Running Jobs:
No Jobs running.


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName 
===
 5  Full  0 0   Error09-Mar-07 23:10 BackupCatalog
 6  Full  0 0   Error10-Mar-07 23:05 ilemma12
 7  Full  0 0   Error10-Mar-07 23:05 ilemma122
 8  Full  0 0   Error10-Mar-07 23:10 BackupCatalog
12  Full  0 0   Error12-Mar-07 23:05 ilemma12
13  Full  0 0   Error12-Mar-07 23:05 ilemma122
14  Full  0 0   Error12-Mar-07 23:10 BackupCatalog
15  Full  0 0   Error13-Mar-07 23:05 ilemma12
16  Full  0 0   Error13-Mar-07 23:05 ilemma122
17  Full  0 0   Error13-Mar-07 23:10 BackupCatalog


Device status:
Device "HP_Ultrium" is not open or does not exist.


In Use Volume status:





- Message d'origine 
De : Robert Nelson <[EMAIL PROTECTED]>

Re: [Bacula-users] running DIR on windows 2000

2007-03-15 Thread Robert Nelson


> -Original Message-
> From: Silver Salonen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 15, 2007 12:25 AM
> To: Robert Nelson
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] running DIR on windows 2000
> 
> OK, thanks. I guess, it's the database that's missing.
> 
> But the command you specified doesn't give me anything. Absolutely
> nothing.
> Should it?
> 

If there is an error in the configuration then you would have seen error
messages printed.  If there isn't an error in the configuration then nothing
is displayed.

In order to see what other problems there might be you can use the command:

"C:\Program Files\Bacula\bin\bacula-dir.exe" /run -d 100 -c "C:\Documents
and Settings\All Users\Application Data\Bacula\bacula-dir.conf"

This should produce a Bacula-dir.trace file in the current directory.

> Silver
> 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup failure - Bad job command

2007-03-15 Thread Robert Nelson
Run version 2.0.3 on all the machines.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 2:28 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] backup failure - Bad job command

 

I have the following setup:
Bacula Director running on an Ubuntu 6.06 server and is version 1.36.3

The File Director is run on a Windows Small Business Server 2003

The Storage Director is run on a Windows 2000 system using an HP DAT72
device.

I have resolved a previous problem I had with an incorrect mail address but
I am not able to run a backup and get the following message:

Job started. JobId=73

15-Mar 11:15 Ubuntuccc-dir: No prior Full backup Job record found.

15-Mar 11:15 Ubuntuccc-dir: No prior or suitable Full backup found. Doing
FULL backup.

15-Mar 11:15 Ubuntuccc-dir: Start Backup JobId 73,
Job=Client1.2007-03-15_11.15.41

15-Mar 11:15 Ubuntuccc-dir: Client1.2007-03-15_11.15.41 Fatal error: Storage
daemon rejected Job command: 3915 Bad Job command. stat=-1 CMD: JobId=73
job=Client1.2007-03-15_11.15.41 job_name=Client1 client_name=sbserverpdc-fd
type=66 level=70 FileSet=FullSet NoAttr=0 SpoolAttr=0
FileSetMD5=b4YDE8Nh9mlUoD1SWCQojD SpoolData=0

I thank you for your assistance.

KG Meyer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re : ****URGENT****Need Help!***

2007-03-15 Thread Robert Nelson
Well at least you read the part about starting with the configs that were
installed.  However you haven’t adjusted them to match your configuration.
Instead of wasting everyone’s time posting without thinking.  READ THE
DOCUMENTATION AND ADJUST THE CONFIGURATIONS TO SUIT YOUR ENVIRONMENT.

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, March 15, 2007 8:10 AM
To: Don MacArthur
Cc: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Re : URGENTNeed Help!***

 

Thank you all for your help,

I modified my files to get this config :


Autochanger {
  Name = Autochanger
  Device = Drive-1
  Device = Drive-2
  Changer Command = "mtx-changer %c %o %S %a %d"
  Changer Device = 4:0:5:1   #Changer0
}

Device {
  Name = Drive-1  #
  Drive Index = 0
  Media Type = DLT-8000
  Device Type = Tape
  Archive Device = Tape0
  AutomaticMount = yes   # when device opened, read it
  AlwaysOpen = yes
  RemovableMedia = yes
  RandomAccess = no
  AutoChanger = yes
  Alert Command = "tapeinfo -f %c | findstr TapeAlert"
}

Device {
  Name = Drive-2  #
  Drive Index = 1
  Media Type = DLT-8000
  Device Type = Tape
  Archive Device = Tape1
  AutomaticMount = yes   # when device opened, read it
  AlwaysOpen = yes
  RemovableMedia = yes
  RandomAccess = no
  AutoChanger = yes
  Alert Command = "tapeinfo -f %c | findstr TapeAlert"
}


I want to test with only 2 tapes but I get this log :

Running Jobs:
No Jobs running.


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName 
===
18  Full  0 0   Error15-Mar-07 23:50 ilemma009
19  Full  0 0   Error15-Mar-07 23:53 Client1


Device status:
Autochanger "Autochanger" with devices:
   "Drive-1" (Tape0)
   "Drive-2" (Tape1)
Device "Drive-1" (Tape0) is not open.
Drive 0 status unknown.
Device "Drive-2" (Tape1) is not open.
Drive 1 status unknown.


In Use Volume status:



I think the DLT-8000 is not the best Media Type to put there ! am I right ?
(;-)) please, if you know which media type I have to specify for my HP
StorageWorks 1/8 Ultrium 232 Tape Autoloader ? 

I feel like stuck there ! please help me !

Sincerly yours
Nawfel



- Message d'origine 
De : Don MacArthur <[EMAIL PROTECTED]>
À : Robert Nelson <[EMAIL PROTECTED]>
Cc : bacula-users@lists.sourceforge.net
Envoyé le : Jeudi, 15 Mars 2007, 14h27mn 05s
Objet : Re: [Bacula-users] ***URGENTNeed
Help!***

Hi Robert,

This comment is in reference to the conversation about using HP Windows
Drivers.  

In my conversations with HP and other vendors about drivers and tape
drives on Windows, the consensus seemed to be that using Windows drivers
created more problems that they solved.  Their advice was to address the
scsi devices directly.  The benefits are increased throughput and fewer
problems communicating with the devices.  

I do not have experience running the Bacula sd on Windows, but I have
run other enterprise backup systems on Windows and this was the advice I
was given by the vendors.  IIRC, the issue is with scsi device command
communication, and the applications handled it better directly with the
devices than through the Windows drivers.  

The earlier advice about determining the device id's using scsilist.exe
would facilitate this, I think.  

FWIW.

On Thu, 2007-03-15 at 03:30 -0700, Robert Nelson wrote:
> First of all start with the configuration files installed by the
> installer.  They have examples that you should be able to use by just
> uncommenting the proper definitions and changing a few entries.  I
> don’t know now you created these configurations but they are all
> messed up.  You have entries from the Autochanger resource in your
> Device resource and you are missing the Autochanger resource.  
> 
>  
> 
> You need to pay particular attention to how the various resource
> structures from the configuration files reference each other.  For
> example the Device in the Storage resource in the Director
> configuration file must match the Name in the Device resource in the
> Storage configuration file.  In your case it should be HP_Ultrium not
> the physical address.  Device Names such as changer0, tape0 and
> 4:0:5:1 are only specified in the Storage configuration.
> 
>  
> 
> Spend some time looking at the example configs and read the
> documentation and you’ll probably have much better luck.
> 
>  
> 
>
> ______
> 
> From: [EMAIL PROTECTED] [mailto:[EM

[Bacula-users] OEM Drivers vs Direct SCSI commands on Windows

2007-03-15 Thread Robert Nelson


> -Original Message-
> From: Don MacArthur [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 15, 2007 7:27 AM
> To: Robert Nelson
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users]
> ***URGENTNeedHelp!***
> 
> Hi Robert,
> 
> This comment is in reference to the conversation about using HP Windows
> Drivers.
> 
> In my conversations with HP and other vendors about drivers and tape
> drives on Windows, the consensus seemed to be that using Windows drivers
> created more problems that they solved.  Their advice was to address the
> scsi devices directly.  The benefits are increased throughput and fewer
> problems communicating with the devices.
> 

I think this may be more a reflection of their driver writing ability then
anything inherent in accessing a device using the Windows driver. :-)

As far as throughput is concerned, for changer devices it really isn't
relevant since the time taken by the robotics far exceeds any overhead from
the drivers.  Not to mention that in the case of Bacula, and most UNIX
derived Backup software, an external program is executed to perform the
actual changer operations; so performance isn't really an issue.

For tape devices, the only area where performance can be adjusted is in the
time required to setup the next write / read after the completion of the
current one.  If you are using overlapped I/O and submitting multiple
requests concurrently to the driver then it can initiate the next request
without transitioning back to user mode and incurring a context switch.  So
it would definitely perform much better than a user-mode application issuing
the SCSI commands.  The driver also has access to constructs, like tagged
command queuing, that aren't available to the application.

> I do not have experience running the Bacula sd on Windows, but I have
> run other enterprise backup systems on Windows and this was the advice I
> was given by the vendors.  IIRC, the issue is with scsi device command
> communication, and the applications handled it better directly with the
> devices than through the Windows drivers.
> 

I suspect that the other Enterprise Backup vendors are basing their comments
on experience with Windows 9X as well as their experience with some Windows
NT drivers that may not have been written correctly.  Also developers tend
to stick to what they know and the software was probably originally written
to send the commands directly.

The only advantage with bypassing a well written Windows driver is access to
some SCSI facilities that may not be abstracted through the driver model
such as device and tape diagnostic information.

> The earlier advice about determining the device id's using scsilist.exe
> would facilitate this, I think.
> 

The one thing you need to be careful of is that if there is a class driver
loaded, such as the tape class driver then you must send the SCSI commands
to it rather than to the physical address.

> FWIW.
> 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Path length

2007-03-16 Thread Robert Nelson
You can use v2.0 Windows Clients with v1.38 Servers.  In general we always
try to make sure clients and servers within 1 major release of each other
work.  This allows staged upgrades.  The only thing you need to do is make
sure you don't use any new features.

However it is best to upgrade the down rev machines as soon as possible so
you can take advantage of new features and to simplify management.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Kel Raywood
> Sent: Friday, March 16, 2007 10:55 PM
> To: Bacula-Users
> Subject: Re: [Bacula-users] Path length
> 
> Hi Rui,
> 
> you wrote:
> > ...
> > ERR=The system cannot find the path specified.
> >
> > The error is caused by the PATH length ?
> > ...
> > Bacula 1.38.2
> > OS Linux Redhat
> >
> > In bacula-dir.conf the FileSet is configured as File = "D:/"
> 
> You didn't mention the version of the the windows client.  However,
> there _was_ a 260 character limit on path length for windows clients
> before version 2.0 .
> 
> If possible, the best route would be to upgrade director, storage-daemon
> and all clients.  The path limit is now 64kB !
> 
> I think that you can use windows client v2.0 with director and
> storage-daemon v1.38 but I'm not certain.  You could try searching the
> list archives to see if Kern or another developer made a definitive
> statement about that.
> 
> 
> Hope this helps.
> 
> Kel
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Removable disk HOWTO?

2007-03-23 Thread Robert Nelson


> -Original Message-
> From: Erich Prinz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 22, 2007 10:15 AM
> To: Josh Fisher
> Cc: bacula-users@lists.sourceforge.net (E-mail); Robert Nelson
> Subject: Re: [Bacula-users] Removable disk HOWTO?
> 
> 
> On Mar 22, 2007, at 11:55 AM, Josh Fisher wrote:
> 
> >
> > Erich Prinz wrote:
> >> True, drives are assigned the next available drive letter.
> >>
> >> In many of the simple deployments I have, it is a simple two disk
> >> rotation. The USB drives always get the same drive mapping - which
> >> can easily get thrown out of whack with the introduction of another
> >> device by an end user. Hence why servers run headless and locked away
> >> in closets.
> >>
> >> Just thinking out loud, but Is it possible to use UNC versus drive
> >> mappings?
> >>
> >>
> >
> > The win32 Bacula SD probably uses fopen() and so would support UNC
> > paths. But I don't know if it is possible to symlink to a UNC path,
> > so I
> > don't know if UNC paths would work using the approach vchanger takes.
> > Also, that would not affect how USB drives are handled.
> 
>   Hmmm isn't this the mechanism drive mapping uses
> essentially a
> symlink?
> 

UNC Paths are a network concept and don't apply to local disks unless they
have been shared and are accessed through the redirector.  Unless you are
referring to names like \\??\C:\filename.ext, which look sort of like UNC
paths but aren't.  They still require a drive letter.

Drive letters are just NT object manager symlinks (not the same as NTFS
filesystem symlinks) to the device objects exposed by the disk device
drivers.  Similarly all WIN32 "devices" are just NT object manager symlinks
to various device objects exposed by NT drivers.  

It should be possible to create a link between the USB disk device object
and a name that is accessible to WIN32 applications using a path such as
\\.\DriveName\filename.exe.  I haven't tried this and I'm not sure that the
"c" runtime apis such as fopen() and open() wouldn't get confused.

> >
> > Perhaps the best approach would be to force the use of a Windows 2k or
> > greater NTFS filesystem on the USB drives to be used. Then it would be
> > possible to mount the USB drive partition at a "reparse point" on the
> > directory tree of a fixed disk NTFS volume, rather than assigning it a
> > drive letter at all. A NTFS reparse point is essentially what the rest
> > of the world calls a mountpoint. The difference is that in *nix any
> > drive partition can be mounted at a given mountpoint, so we can
> > have all
> > of the drives associated with a virtual changer always be mounted
> > at the
> > same mountpoint and they don't even have to use the same
> > filesystem. I'm
> > not so sure how Windows determines which USB drive partitions get
> > mounted at a particular reparse point, so I'm not sure if it is
> > possible
> > to have one reparse point at which all associated USB drives will get
> > mounted.
> 
>   I don't know either.
> 

Reparse points are more than mount points.  They are also used to implement
symlinks, Distributed File System, Remote Storage Server, and numerous other
things where you need a file system object to contain meta data which
represents something else.

In theory it shouldn't matter what fs is the target of a reparse point,
although the NTFS filesystem might enforce that it is NTFS so that
applications aren't confused by the filesystem characteristics changing in
the middle of the file tree.  But I don't think this is case.  The only
restriction I know of is that the filesystem that contains the reparse point
must support them (kind of obvious :-)

The trick is preventing the mount manager from assigning a drive letter.  It
uses information in the registry to specify which volume devices are
allocated drive letters and which ones should be mounted on a mount point.
I'm not sure if it is valid to have multiple volumes map to the same mount
point.

It should be possible to create a utility that creates the appropriate
information so that the mount manager will mount the device automatically on
the mount point.  But you would have to connect the USB device and then run
the utility.

I'll see if I can whip something up tomorrow.

> 
> > I am certain that the FAT32 filesystem could not be used
> > without drive letters.
> 

I'm not so sure about that.

>   Most USB drives ship with FAT32, however, it carries a 2GB
> limit on
> file size and that fact can cause issues.
> 

Re: [Bacula-users] Removable disk HOWTO?

2007-03-23 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Josh Fisher
> Sent: Tuesday, March 20, 2007 12:05 PM
> To: Hristo Benev
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Removable disk HOWTO?
> 
> The latest version is 0.7.4 and was posted to the bacula-users list
> 2006-12-12. It currently isn't  hosted anywhere that I know of,  and I
> don't think attachments are kept in the archives,  so here it is again.
> Perhaps I should find somewhere to host it.
> 

I took the liberty of enabling the docman feature of SourceForge for Bacula
and posted the HowTo files to it.  Here is a link:

http://sourceforge.net/docman/index.php?group_id=50727


> I don't know if anyone else is using this method for USB drives, but I
> can say that I have been using it with bacula 2.0.x for several months
> without any problems.
> 
> --- Josh Fisher
> 
> Hristo Benev wrote:
> > Hi,
> >
> > what is latest version of removable disk howto and where it could be
> > accessed?
> >
> > Thanks
> >
> > Hristo Benev
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> >




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Still Unable To Truncate Files

2007-03-26 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Eric Bambach
> Sent: Sunday, March 25, 2007 8:17 PM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Still Unable To Truncate Files
> 
> Hello again list.
> 
> Original thread is: [Bacula-users] Unable to Truncate Error Solved!
> 
> I have some additional information about my problem.
> 
> I am still getting error truncating files. It has to be some weird
> incompatibility with windows 2000 server and Bacula.
> 
> -The file permissions say everyone full control.
> -SysInternals Process explorer at the time of the error show that only
> bacula-sd.exe has an open handle for Vol0071 (Or any of the volumes for
> that matter).
> -SysInternals Filemon shows no access besides bacula-sd.exe to that
> volume at the time of the error.
> -I tried both the packged mingw.dll and a different version from the
> MinGW website.
> -I have no antivirus software installed.
> -Winver shows Windows 2000 Version 5.0 (Build 2195: Service Pack 4)
> -I have cygwin installed. Maybe a .dll conflict there?

There shouldn't be any possibility of a cygwin conflict.

> -Using 2x"Initio inic1620 S-ATA Controller" to power a dynamic disk
> Raid-5 array of 4x"WDC WD3200JD-00KLB0 SCSI Disk Device"
> -I DO have Legato Networker installed which backs up those files.
> (Off-site). But legato did not have filehandles for Vol0071 (or any
> other in the pool) open at the time.
> 
> Any ideas anyone? This will put a complete halt to using bacula in our
> environment. I am not opposed to debugging/tracing the problem for the
> developers because bacula seems like such an awesome product but I need
> some pointers as I am out of ideas for the moment.
> 

I built a new version of bacula-sd.exe and bacula.dll with additional
debugging output.  Please copy these to your system, reproduce the problem
and then send me the job log.

ftp://ftp.the-nelsons.org/pub/bacula-sd.exe
ftp://ftp.the-nelsons.org/pub/bacula.dll


> Perhaps the source needs an #IFDEF WIN32 chsize(...) #ELSE truncate(...)
> #ENDIF?
> 

If you look at the mingw source you will see that all ftruncate does is call
chsize.




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Should tapes drives on windows work?

2007-03-26 Thread Robert Nelson
Make sure the storage daemon isn't running when you run btape.

net stop bacula-sd

Once you are finished you can start the storage daemon with

Net start bacula-sd

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Rex Wheeler
> Sent: Monday, March 26, 2007 8:18 PM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Should tapes drives on windows work?
> 
> I tried to get a tape drive working with the storage daemon on Windows
> without success. Before I bang my head against the wall too much, I
> wanted to ask if in general this works or not. I realize that the
> Windows side of stuff is still "experimental".
> 
> I am running Windows 2003 Server that is up to date patch-wise. I am
> trying to use a DLT-7000 tape drive. The tape drive seems to work
> correctly with Windows backup and Veritas Backup Exec. The tape drive
> passed both the Quantum and HP DLT diagnostics.
> 
> I installed the 2.0.3 binaries on the server and set up the
> configuration files. My director on another machine can communicate with
> it.
> 
> My problem is that there seems to be some basic issue talking to the
> tape drive. When I fire up btape and try something simple like asking
> for capabilities I get:
> 
> *cap
> Configured device capabilities:
> EOF BSR BSF FSR FSF FASTFSF !BSFATEOM EOM REM !RACCESS AUTOMOUNT !LABEL
> !ANONVOLS ALWAYSOPEN MTIOCGET
> Device status:
> OPENED TAPE LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT
> Device parameters:
> Device name: Tape0
> File=0 block=0
> Min block=0 Max block=0
> Status:
>  Bacula status: file=0 block=0
>  Device status: BOT ONLINE IM_REP_EN file=0 block=0
> btape: ../../stored/btape.c:1799 Device status: 645.
> ERR=../../stored/dev.c:1545 ioctl MTBSR error on "DLT-7000" (Tape0)
> . ERR=Input/output error.
> 
> If I run the btape test command I don't even get past the first step.
> 
> Is there something basic about setting up tape drives under Windows I am
> missing?
> 
> Rex
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Should tapes drives on windows work?

2007-03-26 Thread Robert Nelson
The cap command just prints out the last error message encountered.  It
isn't actually hitting an error itself.

To provide useful information you need to supply the error messages in the
context in which they occur.  I recommend starting btape with the -v and -d
100 options and then post the output.

Are you using a blank tape?  Have you tried rewinding the tape and writing
an EOF mark to clear any existing data?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Robert Nelson
> Sent: Monday, March 26, 2007 9:05 PM
> To: 'Rex Wheeler'; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Should tapes drives on windows work?
> 
> Make sure the storage daemon isn't running when you run btape.
> 
> net stop bacula-sd
> 
> Once you are finished you can start the storage daemon with
> 
> Net start bacula-sd
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:bacula-users-
> > [EMAIL PROTECTED] On Behalf Of Rex Wheeler
> > Sent: Monday, March 26, 2007 8:18 PM
> > To: bacula-users@lists.sourceforge.net
> > Subject: [Bacula-users] Should tapes drives on windows work?
> >
> > I tried to get a tape drive working with the storage daemon on Windows
> > without success. Before I bang my head against the wall too much, I
> > wanted to ask if in general this works or not. I realize that the
> > Windows side of stuff is still "experimental".
> >
> > I am running Windows 2003 Server that is up to date patch-wise. I am
> > trying to use a DLT-7000 tape drive. The tape drive seems to work
> > correctly with Windows backup and Veritas Backup Exec. The tape drive
> > passed both the Quantum and HP DLT diagnostics.
> >
> > I installed the 2.0.3 binaries on the server and set up the
> > configuration files. My director on another machine can communicate with
> > it.
> >
> > My problem is that there seems to be some basic issue talking to the
> > tape drive. When I fire up btape and try something simple like asking
> > for capabilities I get:
> >
> > *cap
> > Configured device capabilities:
> > EOF BSR BSF FSR FSF FASTFSF !BSFATEOM EOM REM !RACCESS AUTOMOUNT !LABEL
> > !ANONVOLS ALWAYSOPEN MTIOCGET
> > Device status:
> > OPENED TAPE LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT
> > Device parameters:
> > Device name: Tape0
> > File=0 block=0
> > Min block=0 Max block=0
> > Status:
> >  Bacula status: file=0 block=0
> >  Device status: BOT ONLINE IM_REP_EN file=0 block=0
> > btape: ../../stored/btape.c:1799 Device status: 645.
> > ERR=../../stored/dev.c:1545 ioctl MTBSR error on "DLT-7000" (Tape0)
> > . ERR=Input/output error.
> >
> > If I run the btape test command I don't even get past the first step.
> >
> > Is there something basic about setting up tape drives under Windows I am
> > missing?
> >
> > Rex
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Should tapes drives on windows work?

2007-03-26 Thread Robert Nelson
Can you post your Bacula-sd.conf (Without the passwords)?

> -Original Message-
> From: Rex Wheeler [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 27, 2007 12:23 AM
> To: Robert Nelson; bacula-users@lists.sourceforge.net
> Subject: RE: [Bacula-users] Should tapes drives on windows work?
> 
> Here are some btape commands and the output:
> 
> C:\Program Files\Bacula\bin>btape -v -d 100 DLT-7000
> Tape block granularity is 1024 bytes.
> btape: ../compat/compat.cpp:378 Leave wchar_win32_path=\
> btape: ../compat/compat.cpp:107 Enter convert_unix_to_win32_path
> btape: ../compat/compat.cpp:158 path=\\?\bacula-sd.conf
> btape: ../compat/compat.cpp:167 Leave cvt_u_to_win32_path
> path=\\?\bacula-sd.conf
> btape: ../compat/compat.cpp:194 Enter wchar_win32_path
> btape: ../compat/compat.cpp:208 Leave wchar_win32_path no change
> btape: ../compat/compat.cpp:729 GetFileAttributes(\\?\bacula-sd.conf):
> The system cannot find the file specified.
> btape: ../../stored/stored_conf.c:675 Inserting director res: buster-mon
> btape: ../../stored/butil.c:286 Using device: "DLT-7000" for writing.
> btape: ../../stored/dev.c:254 init_dev: tape=1 dev_name=Tape0
> btape: ../../stored/dev.c:295 open dev: type=2 dev_name="DLT-7000"
> (Tape0) vol= mode=OPEN_READ_ONLY
> btape: ../../stored/dev.c:345 Open dev: device is tape
> btape: ../../stored/dev.c:360 Try open "DLT-7000" (Tape0)
> mode=OPEN_READ_ONLY
> btape: ../../stored/dev.c:434 open dev: tape 3 opened
> btape: ../../stored/dev.c:309 preserve=0x0 fd=3
> btape: ../../stored/dev.c:286 Close fd for mode change.
> btape: ../../stored/dev.c:295 open dev: type=2 dev_name="DLT-7000"
> (Tape0) vol= mode=OPEN_READ_WRITE
> btape: ../../stored/dev.c:345 Open dev: device is tape
> btape: ../../stored/dev.c:360 Try open "DLT-7000" (Tape0)
> mode=OPEN_READ_WRITE
> btape: ../../stored/dev.c:434 open dev: tape 3 opened
> btape: ../../stored/dev.c:309 preserve=0x0 fd=3
> btape: ../../stored/btape.c:368 open device "DLT-7000" (Tape0): OK
> *rewind
> btape: ../../stored/btape.c:469 Rewound "DLT-7000" (Tape0)
> *weof
> btape: ../../stored/btape.c:499 Wrote 1 EOF to "DLT-7000" (Tape0)
> *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 ...
> 
> 27-Mar 00:17 btape: btape Error: ../../stored/block.c:569 Write error at
> 0:0 on device "DLT-7000" (Tape0). ERR=Input/out
> put error.
> btape: ../../stored/block.c:581 === Write error. fd=3 size=64512 rtn=-1
> dev_blk=0 blk_blk=0 errno=5: ERR=Input/output er
> ror
> btape: ../../stored/block.c:748 dir_update_volume_info terminate writing
> -- OK
> btape: ../../stored/block.c:771 Leave terminate_writing_volume -- OK
> btape: ../../stored/dev.c:1433 bsf
> btape: ../../stored/dev.c:1534 bsr_dev
> 27-Mar 00:17 btape: btape Error: Backspace record at EOT failed.
> ERR=Input/output error
> btape: ../../stored/btape.c:821 Error writing block to device.
> *rewind
> btape: ../../stored/btape.c:469 Rewound "DLT-7000" (Tape0)
> *label
> Enter Volume Name: test
> 27-Mar 00:18 btape: Fatal Error at ../../stored/dev.c:1670 because:
> ../../stored/dev.c:1669 Attempt to WEOF on non-appendable Volume
> btape: ../../stored/label.c:311 write_volume_label()
> btape: ../../stored/label.c:588 Start create_volume_label()
> btape: ../../stored/reserve.c:213 free_volume: no vol on dev "DLT-7000"
> (Tape0)
> 
> Volume Label:
> Id: Bacula 1.0 immortal
> VerNo : 11
> VolName   : test
> PrevVolName   :
> VolFile   : 0
> LabelType : PRE_LABEL
> LabelSize : 0
> PoolName  : Default
> MediaType : DLT
> PoolType  : Backup
> HostName  :
> Date label written: 27-Mar-2007 00:18
> btape: ../../stored/label.c:369 Wrote label of 141 bytes to "DLT-7000"
> (Tape0)
> btape: ../../stored/label.c:372 Call write_block_to_dev()
> 27-Mar 00:18 btape: btape Error: ../../stored/block.c:569 Write error at
> 0:0 on device "DLT-7000" (Tape0). ERR=Input/out
> put error.
> btape: ../../stored/block.c:581 === Write error. fd=3 size=64512 rtn=-1
> dev_blk=0 blk_blk=0 errno=5: ERR=Input/output er
> ror
> btape: ../../stored/block.c:748 dir_update_volume_info terminate writing
> -- OK
> btape: ../../stored/block.c:771 Leave terminate_writing_volume -- OK
> btape: ../../stored/dev.c:1433 bsf
> btape: ../../stored/dev.c:1534 bsr_dev
> 27-Mar 00:19 btape: btape Error: Backspa

Re: [Bacula-users] Should tapes drives on windows work?

2007-03-27 Thread Robert Nelson
There is one typo in your configuration; in the messages resource it should
be molerat-dir not molerat-sd.  I doubt this has anything to do with the
problem though.

Are there any messages logged in the Windows Event log at the time of the
error?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Rex Wheeler
> Sent: Tuesday, March 27, 2007 12:56 AM
> To: Robert Nelson; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Should tapes drives on windows work?
> 
> 
> Storage {
>   Name = buster-sd
>   SDPort = 9103
>   WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
> Data\\Bacula\\Work"
>   Pid Directory = "C:\\Documents and Settings\\All Users\\Application
> Data\\Bacula\\Work"
>   Maximum Concurrent Jobs = 10
> }
> 
> Director {
>   Name = molerat-dir
>   Password = "xxx"
> }
> 
> Director {
>   Name = buster-mon
>   Password = "xxx"
>   Monitor = yes
> }
> 
> Device {
>   Name = DLT-7000
>   Media Type = DLT
>   Device Type = Tape
>   Archive Device = Tape0
>   AutomaticMount = yes
>   AlwaysOpen = yes
>   RemovableMedia = yes
>   RandomAccess = no
> }
> 
> Messages {
>   Name = Standard
>   director = molerat-sd = all
> }
> 
> > -Original Message-
> > From: Robert Nelson [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 27, 2007 12:49 AM
> > To: Rex Wheeler; bacula-users@lists.sourceforge.net
> > Subject: RE: [Bacula-users] Should tapes drives on windows work?
> >
> > Can you post your Bacula-sd.conf (Without the passwords)?
> >
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Scheduled eject under windows?

2007-03-28 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Gordon McLellan
> Sent: Wednesday, March 28, 2007 7:39 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Scheduled eject under windows?
> 
> Greetings List!
> 
> I've recently adopted bacula as a network backup solution for a small
> number of servers.  After working with it for a few hours, I stand
> impressed.  The flexibility and configuration options are awesome.
> 
> One thing I need help with is ejecting the tape, before it is full.
> I would like to do a 5 week rotation on my tapes.  The tapes are 400gb
> LTO3, but right now I'm only writing about 200gb to them.  I run a
> full backup Monday night and differential backups Tuesday-Friday.  I
> would like the tape to eject on Monday morning so I can swap it for
> the next week's tape.
> 
> My storage server is a Windows 2003 machine, which I understand comes
> with risks.  The drive lives on this machine because it is the one
> with the bulk of the storage (~150g), so it made sense to have the
> drive local to the biggest backup target.
> 
> >From google, I've pieced together a few scraps for how I might
> schedule the tape to eject, but so far I've had no luck.
> 
> I've set OfflineOnUnmount=yes in the storage daemon configuration, and
> when I issue the unmount command in the wx-console, the tape
> eventually ejects.  So I've setup an admin job on the director, which
> has a RunScript directive in it, commanding bconsole with the unmount
> command.  However, it's not working.  I also don't receive any errors,
> just that the job completed without error.
> 
> here's a snippet of my bacula-sd.conf
> Device {
>   Name = LTO3  #
>   Drive Index = 0
>   Media Type = LTO3
>   Device Type = Tape
>   Archive Device = Tape0
>   AutomaticMount = yes   # when device opened, read it
>   Offline On Unmount = Yes
>   AlwaysOpen = yes
>   RemovableMedia = yes
>   RandomAccess = no
>   Changer Device = Tape0
>   Alert Command = "tapeinfo -f %c | findstr TapeAlert"
> }
> 
> and here's the job in bacula-dir.conf
> 
> Job {
>   Name = "EjectTape"
>   Type = Admin
>   RunScript {
> Runs When = Before
> AbortJobOnError = No
> Command = "bconsole < c:\\eject"
>   }
>   Schedule = "EjectTape"
>   Client = third-fd
>   Messages = Standard
>   Pool = "Tape"
>   Storage = LTO3
>   Fileset = "Windows Full Set"
> }
> 
> the file "c:\\eject" is a plain text file with the contents:
> unmount
> quit
> 
> I have "C:\Program Files\Bacula\bin" in the system path, and if I run
> that script command on the command line, the tape ejects.
> 
> Any suggestions???
> 

Admin Jobs only run on the director, there is no client associated with
them.  You haven't specified RunsOnClient=no so the script is scheduled to
run on the client which is never going to happen.  Since the director is
running on a different machine from the tape drive running the script on the
director isn't going to help either.

What you really want is a RunScript command that runs on a Storage Daemon
but that facility isn't available.

Since in your case you know the storage daemon is on a specific client
machine you could run a fake backup job with the RunScript specifying
AbortJobOnError=yes and then put exit 1 at the end of the batch script.

> Oh, on a side note, I'm having trouble with the tapealert feature:
> State: 0x1 (VSS_WS_STABLE) 27-Mar 21:00 third-sd: 3997 Bad alert
> command: tapeinfo -f Tape0 | findstr TapeAlert: ERR=Unknown error.
> 
> when I run the command tapeinfo -f Tape0 | findstr TapeAlert on the
> command line, I get no output, which is to be expected.   tapeinfo -f
> Tape0 by itself gives me all sorts of data on the drive and tape.  Any
> thoughts about what it means "bad alert command"?
> 

There is a problem with tapealert and Windows.  Bacula calls that command
while it still has the device open so tapeinfo can't open it.  This is a
known problem which will be fixed in a future release.

> Thanks a bunch!
> Gordon
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
__

Re: [Bacula-users] linux-dir and windows-sd

2007-03-28 Thread Robert Nelson
Does the directory E:\backup exist?

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Raymond
Luong
Sent: Wednesday, March 28, 2007 4:43 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] linux-dir and windows-sd

 

Hi

 

I am using bacula 2.0.3 I got my linuxFC6-dir and windowsXP-sd machine to
talk to each other. When I try to run a backup it gives me the following
error. If anyone know how to resolve this problem, please feel free to pass
it along. As you can see the linux-dir does not know the SD is a windows
machines therefore is using the wrong /. Anyone know how to tell DIR SD is a
windows machines so it will use the \ instead?

Error:

Job queued. JobId=117

28-Mar 15:46 backupdir-dir: Start Backup JobId 117,
Job=Client1.2007-03-28_15.45.58

28-Mar 15:46 backupdir-dir: Created new Volume "Client1-2007-3-28-15.46.1"
in catalog.

28-Mar 15:45 backupsd-sd: Labeled new Volume "Client1-2007-3-28-15.46.1" on
device "FileStorage" (E:\backup).

28-Mar 15:45 backupsd-sd: Client1.2007-03-28_15.45.58 Error: Could not open
device "FileStorage" (E:\backup): ERR=../../stored/dev.c:483 Could not open:
E:\backup/Client1-2007-3-28-15.46.1, ERR=Permission denied

 

28-Mar 15:45 backupsd-sd: Client1.2007-03-28_15.45.58 Fatal error: Could not
ready device "FileStorage" (E:\backup) for append.

28-Mar 15:46 backupdir-fd: Client1.2007-03-28_15.45.58 Fatal error:
job.c:1758 Bad response to Append Data command. Wanted 3000 OK data

, got 3903 Error append data

 

28-Mar 15:46 backupdir-dir: Client1.2007-03-28_15.45.58 Error: Bacula 2.0.3
(06Mar07): 28-Mar-2007 15:46:04

  JobId:  117

  Job:Client1.2007-03-28_15.45.58

  Backup Level:   Incremental, since=2007-03-28 01:05:04

  Client: "backupdir-fd" 2.0.3 (06Mar07)
i686-pc-linux-gnu,redhat,(Zod)

  FileSet:"backupSet" 2007-03-16 17:05:59

  Pool:   "Default" (From Job resource)

  Storage:"File" (From Job resource)

  Scheduled time: 28-Mar-2007 15:45:57

  Start time: 28-Mar-2007 15:46:03

  End time:   28-Mar-2007 15:46:04

  Elapsed time:   1 sec

  Priority:   10

  FD Files Written:   0

  SD Files Written:   0

  FD Bytes Written:   0 (0 B)

  SD Bytes Written:   0 (0 B)

  Rate:   0.0 KB/s

  Software Compression:   None

  VSS:no

  Encryption: no

  Volume name(s): 

  Volume Session Id:  1

  Volume Session Time:1175121634

  Last Volume Bytes:  0 (0 B)

  Non-fatal FD errors:0

  SD Errors:  0

  FD termination status:  Error

  SD termination status:  Error

  Termination:*** Backup Error ***

 

 

Raymond Luong

IT Department

Mocana Corporation

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re : Re : ioctl MTWEOF error (was :Windows::Permission denied)

2007-03-29 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Arno Lehmann
> Sent: Thursday, March 29, 2007 5:03 PM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Re : Re : ioctl MTWEOF error (was
> :Windows::Permission denied)
> 
> Hi,
> 
> On 3/29/2007 6:20 PM, [EMAIL PROTECTED] wrote:
> >
> > Sorry brian, the boss asked me to install it under OpenSUSE 10.2 !
> 
> Probably a good choice because under linux, Bacula runs without serious
> problems. Usually :-)
> 

Yes that would be true, if any of his problems were Windows specific.
However issue that he's had has been configuration problems of his own
making.  He's put resource types in the wrong files or keywords in the wrong
resources, etc.

The closest he's come to a Windows specific issue is this last one with
MTWEOF.  I've ordered one the Ulrium 232 tape drives to see if I can repro
it.

> > So I'm going back from zero !!
> > not cool !
> 
> You will probably notice that, in the same time you spend with Bacula on
> Windows, you have a company-wide reliable and proven backup setup :-)
> 

Since all the time so far has been writing configuration files and they are
pretty much identical between Linux and Windows I disagree.

> Of course you won't help making the windows version better, and if
> you're a windows admin you'll have difficulties getting used to the
> nix/linux taste of things.
> 

The only benefit he's likely to get from moving to Linux is that there are
more people here with Linux experience that can assist him.


> > Thanks a lot..
> >
> > PS: do anybody have a tip for the OpenSuse Bacula installation  (I speak
> > about something not listed in the doc ;-) )
> 
> Start with the manual, and try to keep your configuration short and well
> documented for a start. From then on, you'll probably only add clients
> for a while, and any problems you encounter can be discussed on this list.
> 

If he'd read the manual on the three types of configuration files and their
respective resources and values he wouldn't have had any problems in the
first place.

> Arno
> 
> > - Message d'origine 
> > De : Brian Debelius <[EMAIL PROTECTED]>
> > À : [EMAIL PROTECTED]
> > Cc : bacula-users@lists.sourceforge.net
> > Envoyé le : Jeudi, 29 Mars 2007, 11h22mn 24s
> > Objet : Re: [Bacula-users] Re : ioctl MTWEOF error (was
> > :Windows::Permission denied)
> >
> > I clear all my tapes prior to labeling.  use mtx-changer to load a tape
> then
> > mt -f Tape0 rewind
> > mt -f Tape0 weof
> > mt -f Tape0 rewind
> >
> > [EMAIL PROTECTED] wrote:
> >  > This is what I got in the bacula console :
> >  >
> >  > Connecting to Director ILEMMA009:9101
> >  > 1000 OK: ilemma009-dir Version: 2.0.3 (06 March 2007)
> >  > Enter a period to cancel a command.
> >  > *messages
> >  > 29-Mar 09:11 ilemma009-dir: Start Backup JobId 31,
> >  > Job=Client1.2007-03-29_09.11.
> >  > 00
> >  > 29-Mar 09:11 ilemma009-sd: Job Client1.2007-03-29_09.11.00 waiting.
> >  > Cannot find
> >  > any appendable volumes.
> >  > Please use the "label"  command to create a new Volume for:
> >  > Storage:  "HPStorageTape0" (Tape0)
> >  > Media type:   HPUltriumTape
> >  > Pool: Default
> >  > 29-Mar 09:11 ilemma009-dir: Client1.2007-03-29_09.11.00 Error:
> >  > ../../lib/message
> >  > .c:713 Operator mail program terminated in error.
> >  > CMD="C:\Program Files\Bacula\bin\bsmtp" -h @smtp_host@ -f "(Bacula)
> >  > Administrato
> >  > r" -s "Bacula: Intervention needed for Client1.2007-03-29_09.11.00"
> >  > Administrato
> >  > r
> >  > ERR=Unknown error
> >  > *label
> >  > Automatically selected Catalog: MyCatalog
> >  > Using Catalog "MyCatalog"
> >  > Automatically selected Storage: HPTape
> >  > Connecting to Storage daemon HPTape at ILEMMA009:9103 ...
> >  > Enter autochanger drive[0]:
> >  > Enter new Volume name: A
> >  > Enter slot (0 or Enter for none): 0
> >  > Automatically selected Pool: Default
> >  > Connecting to Storage daemon HPTape at ILEMMA009:9103 ...
> >  > Sending label command for Volume "A" Slot 0 ...
> >  > Invalid slot=0 defined, cannot autoload Volume.
> >  > 3301 Issuing autochanger "loaded? drive 0" command.
> >  > 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> >  > 3301 Issuing autochanger "loaded? drive 0" command.
> >  > 3302 Autochanger "loaded? drive 0", result: nothing loaded.
> >  > 3912 Failed to label Volume: ERR=../../stored/dev.c:764 Rewind error
> >  > on "HPStora
> >  > geTape0" (Tape0). ERR=Unknown error.
> >  >
> >  > Label command failed for Volume A.
> >  > Do not forget to mount the drive!!!
> >  > *mount
> >  > Automatically selected Storage: HPTape
> >  > Enter autochanger drive[0]: 1
> >  > Enter autochanger slot: 1
> >  > 3301 Issuing autochanger "loaded? drive 1" command.
> >  > 3302 Autochanger "loaded? drive 1", result: nothing loaded.
> >  > 3304 Issuing autochanger "load slot 1, drive 1" command.
> >  > 3305 Autochang

Re: [Bacula-users] Trying to workaround the MTWEOF error

2007-03-30 Thread Robert Nelson
Brian,

Are you also seeing this on Windows?  If so it is quite possible that I have
a bug in the Windows emulation of the UNIX tape IOCTLs.  I've ordered an
Ultrium 232 drive to do further testing on both Windows and Linux.  If there
is anything we can do to fix this in Bacula I should have a fix next week.

In the meantime you can use the Maximum Volume Bytes to work around the
problem.  That isn't a good long term solution though; since it doesn't
account for the tape saved through compression.  You could be wasting as
much as half the tape.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> Sent: Friday, March 30, 2007 6:21 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Trying to workaround the MTWEOF error
> 
> Is there a way I can work around the end of tape MTWEOF error by telling
> bacula to limit the amount of data written to the tape?  Lets say I have
> an 80GB tape.  Is there a way to tell bacula to only write 75 or 70GB
> and then start a new tape?
> 
> My next thought is, Can logic be added to bacula such that when it
> realizes that it has written off the end of the tape, to have it rewind
> some amount of blocks, write an eof, and then continue onto the next
> tape, starting with and duplicating the blocks it backspaced over on the
> first tape?
> 
> brian
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Trying to workaround the MTWEOF error

2007-03-30 Thread Robert Nelson


> -Original Message-
> From: Brian Debelius [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 30, 2007 11:11 AM
> To: Robert Nelson
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Trying to workaround the MTWEOF error
> 
> Well, I know tha Nawfel had this problem with his Ultrium.  I have an
> Exabyte VXA-172, which is a firmware crippled VXA-320, and I have this
> problem also.  Yes this is a Windows installation.  Director, sd, and fd
> on one box.
> 

Hopefully the VXA-172 has the same problem and I'll be able to solve both
with one device.  My hardware acquisition budget is already strained :-).

> Ahh, so you are saying that Maximum Volume Bytes, is the count of bytes
> sent to the tape drive, not the count of bytes written to the tape.
> 

Yes unfortunately Bacula has no way of knowing what the count was after
compression, at least not in a device independent manner.

> brian-
> 
> Robert Nelson wrote:
> > Brian,
> >
> > Are you also seeing this on Windows?  If so it is quite possible that I
> have
> > a bug in the Windows emulation of the UNIX tape IOCTLs.  I've ordered an
> > Ultrium 232 drive to do further testing on both Windows and Linux.  If
> there
> > is anything we can do to fix this in Bacula I should have a fix next
> week.
> >
> > In the meantime you can use the Maximum Volume Bytes to work around the
> > problem.  That isn't a good long term solution though; since it doesn't
> > account for the tape saved through compression.  You could be wasting as
> > much as half the tape.
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:bacula-users-
> >> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> >> Sent: Friday, March 30, 2007 6:21 AM
> >> To: bacula-users@lists.sourceforge.net
> >> Subject: [Bacula-users] Trying to workaround the MTWEOF error
> >>
> >> Is there a way I can work around the end of tape MTWEOF error by
> telling
> >> bacula to limit the amount of data written to the tape?  Lets say I
> have
> >> an 80GB tape.  Is there a way to tell bacula to only write 75 or 70GB
> >> and then start a new tape?
> >>
> >> My next thought is, Can logic be added to bacula such that when it
> >> realizes that it has written off the end of the tape, to have it rewind
> >> some amount of blocks, write an eof, and then continue onto the next
> >> tape, starting with and duplicating the blocks it backspaced over on
> the
> >> first tape?
> >>
> >> brian
> >>
> >> ---
> --
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your
> >> opinions on IT & business topics through brief surveys-and earn cash
> >>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> ___
> >> Bacula-users mailing list
> >> Bacula-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>
> >
> >
> >
> >





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows Client, VSS Issues, 2.0.3?

2007-03-30 Thread Robert Nelson
What is the output from the command "vssadmin list writers"?

Also what is the output from the command "vssadmin list shadows" after the
successful backup but prior to the next backup?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Michael Gerszewski
> Sent: Friday, March 30, 2007 11:27 AM
> To: bacula-users
> Subject: [Bacula-users] Windows Client, VSS Issues, 2.0.3?
> 
> Greetings,
> 
> I have been evaluating Bacula for the School District I work for as a
> backup option for our Windows 2003 Servers.  I like many of the features
> Bacula has compared to other solutions.  I have been testing with 2.0.3
> with the director on a linux box, a storage daemon on a Windows 2003
> box, and a file daemon on an XP box.  I installed the Linux portion from
> RPMs and the Windows client with the windows installer.
> 
> I have it configured to do Disk backups.  The first couple of days,
> everything worked OK with small backups without much change (~100 MB
> full, 1-2 MB incremental).  Then I switched to a larger amount of files
> (~28 GB with ~800 MB of change per day).  Now the FD seems to hang up.
> Here are the symptoms:
> 
> If I start off a fresh boot, the first backup on this machine will work
> fine.  If I do not reboot the computer, or kill the bacula-fd and
> vssvc.exe processes, the next backup will do one of two things:
> 
> 1) Backup all the way to the end, and just hang
> or
> 2) Not start the backup at all and sit at 0 Bytes/files
> 
> I can break this cycle by killing the vssvc.exe process (Volume Shadow
> Copy).  Then the backup finishes successfully, and incidentally
> vssvc.exe start again.  If it hung at the beginning, it will generally
> give a warning or error that VSS could not start and the backup will be
> done without VSS.
> 
> One thing that seems odd is that the vssvc.exe process is always
> running, even when there isn't a backup running.  When I look at our
> servers that are running the MS backup utility, vssvc.exe is only
> running while a backup is in progress.
> 
> For our implementation, I really need to be able to use VSS, so I have
> not tried it with VSS disabled.
> 
> Any assistance would be appreciated.
> 
> Thanks
> 
> Mike Gerszewski
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows Client, VSS Issues, 2.0.3?

2007-03-30 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Michael Gerszewski
> Sent: Friday, March 30, 2007 12:07 PM
> To: bacula-users@lists.sourceforge.net
> Cc: Robert Nelson
> Subject: Re: [Bacula-users] Windows Client, VSS Issues, 2.0.3?
> 
> Thanks for the quick response.
> 
> vssadmin list writers:
> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line tool
> (C) Copyright 2001 Microsoft Corp.
> 
> Writer name: 'MSDEWriter'
> Writer Id: {f8544ac1-0611-4fa5-b04b-f7ee00b03277}
> Writer Instance Id: {b9048c82-c0b6-42e8-b885-3ddc806474bd}
> State: [1] Stable
> 
> Writer name: 'WMI Writer'
> Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
> Writer Instance Id: {a4358c3f-d8b3-4e32-971a-a1aa47f7b0fb}
> State: [9] Failed
> 
> Writer name: 'IIS Metabase Writer'
> Writer Id: {59b1f0cf-90ef-465f-9609-6ca8b2938366}
> Writer Instance Id: {38ebb2dd-0122-48e1-915e-23ce2aed2e95}
> State: [9] Failed
> 

Interesting the above two seemed to have failed their initialization.

> Writer name: 'Microsoft Writer (Bootable State)'
> Writer Id: {f2436e37-09f5-41af-9b2a-4ca2435dbfd5}
> Writer Instance Id: {9470d858-515e-47d9-bf71-ba1a26782a69}
> State: [1] Stable
> 
> Writer name: 'Microsoft Writer (Service State)'
> Writer Id: {e38c2e3c-d4fb-4f4d-9550-fcafda8aae9a}
> Writer Instance Id: {1a9ca255-4ad6-4172-9d04-d433e9958d33}
> State: [1] Stable
> 
> --
> 
> vssadmin list shadows (while backup is running):
> 
> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line tool
> (C) Copyright 2001 Microsoft Corp.
> 
> 
> Contents of shadow copy set {26035bf3-a48b-4993-afcb-6f48affefd4c}
>   (The shadow copy set contained 1 shadow copies at creation time, 1
> shadow copie
> s exist now)
> 'MS Software Shadow Copy provider 1.0' shadow copy
> {d6dc446b-5cae-46bb-a555-d344
> c70d65e5} on volume \\?\Volume{d27e6118-47d1-11d9-aa59-806d6172696f}\
> 
> --

That looks good.

> 
> vssadmin list shadows (after backup completes):
> 
> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line tool
> (C) Copyright 2001 Microsoft Corp.
> 
> No shadow copies present in the system.
> 
> -

That looks very good, doesn't seem we have any leftover crud.

> 
> A couple more notes that may or may not make a difference.  I am running
> SQL Server Express 2005 on this system, and the event logs show the
> databases freezing and unfreezing during the bacula backups.  The log is
> telling me the database was successfully backed up, but I am not backing
> up anything from my SQL databases (to my knowledge).
> 

That's expected, the system doesn't know what we'll be backing up at the
time we initiate the shadow.

> Thanks
> 
> Mike
> 

Can you also post the output from "vssadmin list shadows" when the backup is
hung?  Meanwhile, I'll check and make sure we release all our interface
pointers.

> 
> Robert Nelson wrote:
> > What is the output from the command "vssadmin list writers"?
> >
> > Also what is the output from the command "vssadmin list shadows" after
> the
> > successful backup but prior to the next backup?
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:bacula-users-
> >> [EMAIL PROTECTED] On Behalf Of Michael Gerszewski
> >> Sent: Friday, March 30, 2007 11:27 AM
> >> To: bacula-users
> >> Subject: [Bacula-users] Windows Client, VSS Issues, 2.0.3?
> >>
> >> Greetings,
> >>
> >> I have been evaluating Bacula for the School District I work for as a
> >> backup option for our Windows 2003 Servers.  I like many of the
> features
> >> Bacula has compared to other solutions.  I have been testing with 2.0.3
> >> with the director on a linux box, a storage daemon on a Windows 2003
> >> box, and a file daemon on an XP box.  I installed the Linux portion
> from
> >> RPMs and the Windows client with the windows installer.
> >>
> >> I have it configured to do Disk backups.  The first couple of days,
> >> everything worked OK with small backups without much change (~100 MB
> >> full, 1-2 MB incremental).  Then I switched to a larger amount of files
> >> (~28 GB with ~800 MB of change per day).  Now the FD seems to hang up.
> >> Here are the symptoms:
> >>
> >> If I start off a fresh boot, the first backup on this machine will work
> >> fine.  If I do not reboot the computer, or kill the bacula

Re: [Bacula-users] Windows Client, VSS Issues, 2.0.3?

2007-03-30 Thread Robert Nelson
Okay great, I think this should give me something to work with.  I'll try
and repro it here.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Michael Gerszewski
> Sent: Friday, March 30, 2007 12:48 PM
> To: bacula-users@lists.sourceforge.net
> Cc: Robert Nelson
> Subject: Re: [Bacula-users] Windows Client, VSS Issues, 2.0.3?
> 
> Bacula backup sitting at 0 bytes.  Floppy drive and hard drive did a
> seek like a normal VSS startup.
> 
> vssadmin list shadows:
> 
> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line tool
> (C) Copyright 2001 Microsoft Corp.
> 
> No shadow copies present in the system.
> 
> ---
> 
> When I try to run the vssadmin list writers, it waits for a response.
> Like VSS is just hung up.  I never do get a response from the vssadmin
> list writers unless I kill the FD and the VSS process.
> 
> It is difficult for me to reproduce the "hung at end" scenario.  But
> I'll certainly get you the output the next time I see it.
> 
> With the failed VSS components...When I check and Bacula hasn't been run
> yet on the system, both are listed as stable.  I did see another as
> failed, and sometimes they return a status: 7, failed.
> 
> I do run some MS backups on this system as well.  Hopefully those aren't
> causing any conflicts.
> 
> Thanks again.  A great community here.
> 
> Mike
> 
> Robert Nelson wrote:
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:bacula-users-
> >> [EMAIL PROTECTED] On Behalf Of Michael Gerszewski
> >> Sent: Friday, March 30, 2007 12:07 PM
> >> To: bacula-users@lists.sourceforge.net
> >> Cc: Robert Nelson
> >> Subject: Re: [Bacula-users] Windows Client, VSS Issues, 2.0.3?
> >>
> >> Thanks for the quick response.
> >>
> >> vssadmin list writers:
> >> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line
> tool
> >> (C) Copyright 2001 Microsoft Corp.
> >>
> >> Writer name: 'MSDEWriter'
> >> Writer Id: {f8544ac1-0611-4fa5-b04b-f7ee00b03277}
> >> Writer Instance Id: {b9048c82-c0b6-42e8-b885-3ddc806474bd}
> >> State: [1] Stable
> >>
> >> Writer name: 'WMI Writer'
> >> Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
> >> Writer Instance Id: {a4358c3f-d8b3-4e32-971a-a1aa47f7b0fb}
> >> State: [9] Failed
> >>
> >> Writer name: 'IIS Metabase Writer'
> >> Writer Id: {59b1f0cf-90ef-465f-9609-6ca8b2938366}
> >> Writer Instance Id: {38ebb2dd-0122-48e1-915e-23ce2aed2e95}
> >> State: [9] Failed
> >>
> >
> > Interesting the above two seemed to have failed their initialization.
> >
> >> Writer name: 'Microsoft Writer (Bootable State)'
> >> Writer Id: {f2436e37-09f5-41af-9b2a-4ca2435dbfd5}
> >> Writer Instance Id: {9470d858-515e-47d9-bf71-ba1a26782a69}
> >> State: [1] Stable
> >>
> >> Writer name: 'Microsoft Writer (Service State)'
> >> Writer Id: {e38c2e3c-d4fb-4f4d-9550-fcafda8aae9a}
> >> Writer Instance Id: {1a9ca255-4ad6-4172-9d04-d433e9958d33}
> >> State: [1] Stable
> >>
> >> --
> >>
> >> vssadmin list shadows (while backup is running):
> >>
> >> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line
> tool
> >> (C) Copyright 2001 Microsoft Corp.
> >>
> >>
> >> Contents of shadow copy set {26035bf3-a48b-4993-afcb-6f48affefd4c}
> >>   (The shadow copy set contained 1 shadow copies at creation time, 1
> >> shadow copie
> >> s exist now)
> >> 'MS Software Shadow Copy provider 1.0' shadow copy
> >> {d6dc446b-5cae-46bb-a555-d344
> >> c70d65e5} on volume \\?\Volume{d27e6118-47d1-11d9-aa59-806d6172696f}\
> >>
> >> --
> >
> > That looks good.
> >
> >> vssadmin list shadows (after backup completes):
> >>
> >> vssadmin 1.0 - Volume Shadow Copy Service administrative command-line
> tool
> >> (C) Copyright 2001 Microsoft Corp.
> >>
> >> No shadow copies present in the system.
> >>
> >> -
> >
> > That looks very good, doesn't seem we have any leftover crud.
> >
> >> A couple more notes that may or may not make a difference.  I am
> running
> >> SQL Server Express 2005 on this system, and the event logs show the
> >> databases freezing and u

Re: [Bacula-users] Sony SDX-260V ATAPI AIT-E Turbo Dirve Questions

2007-04-02 Thread Robert Nelson
I was never able to make mine work on Linux; it works fine on Windows.  In
fact this drive was part of my motivation for porting the Storage Daemon to
Windows.  As near as I can tell, Linux support of ATAPI and SATA tape drives
is broken.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Bob McDonald
> Sent: Monday, April 02, 2007 6:53 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Sony SDX-260V ATAPI AIT-E Turbo Dirve Questions
> 
> Has anyone had any success with one of these drives?
> 
> I've tried several configurations and am having no joy.
> 
> Running bacula 2.0.3 on Gentoo Linux.  Kernel - 2.6.20  GCC 4.1.2 Glibc
> 2.5.
> 
> I tried using ide-scsi but was unable to write to the drive.  basic mt
> commands worked (status, rewind, etc.) but tar and/or btape simply hung.
> 
> I then changed to ide-tape (atapi ide tape support).  This generates the
> /dev/ht0 and /dev/nht0 devices and seems to work much better.  However,
> the btape test fails on the block positioning step.
> 
> I've read all of the archived emails (although my German isn't up to
> par) and have seen several folks having the same problem but have not
> seen a definitive solution to the problem posted.
> 
> If anyone has any config info that has worked for them, I'd be
> interested in seeing it.
> 
> Here's my bacula-sd.conf specifics for this device:
> 
> Device {
>   Name = SDX-260V
>   Media Type = AIT-E
>   Archive Device = /dev/nht0
>   AutomaticMount = yes;
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
>   Minimum Block Size = 64512
>   Maximum Block Size = 64512
> }
> 
> 
> Thanks,
> 
> Bob
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Still Unable To Truncate Files

2007-04-03 Thread Robert Nelson


> >>
> Well I've done some testing. No matter what I did I was not able to
> trigger this using files < 2GB. I set the maximum volume size at 2GB so
> the files were all about 1.9ish GB. I let it run for many days backing
> up over 200GB of data and it did not trigger the truncate problem. I
> purged large jobs which marked dozens of files to be recycled and it had
> no problem re-using those files. I would guess it created 160 files and
> recycled at least 100 of them - some more than once-
> 
> I then used the label command to create 2 test volumes just over 2gb. I
> was able to get the error easily in a day. It did recycle them a few
> times, but eventually it tripped up. I would guess I recycled these two
> volumes only 5-6 times before it couldnt truncate them.
> 
> This is bizarre. any more ideas? Im hoping I have it pegged this
> time and its not another false alarm.
> 
> In light of this do you still want the debugging output from those
> specially compiled daemons?
> 

If you have the debugging out available for the case when it failed that
would be useful.  If not, hold off and I'll put in some more debug code to
try and narrow it further with this new information.

> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"

2007-04-03 Thread Robert Nelson
This is a bug in the Windows port of the SD.  I'll fix it.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> Sent: Tuesday, April 03, 2007 11:17 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> 
> Windows 2003r2 dir, sd, fd; Bacula v2.0.3; Exabyte VXA-172, LSI scsi
> 
> While playing around with debugging, I discovered this error at the
> command line; Invalid switch - "comp01-sd*.spool"
> 
> This surprised me, since the sd has been working fine as far as I know.
> The only reference I can find in the trace file is this
> 
> comp01-sd: ../compat/compat.cpp:1797 Calling
> CreateProcess(C:\WINDOWS\system32\cmd.exe, C:\WINDOWS\system32\cmd.exe
> /c del /q C:\Documents and Settings\All Users\Application
> Data\Bacula\Work/comp01-sd*.spool, ...)
> 
> and the only thing that seems odd in this, is that a backslash is a
> forward slash.
> 
> Any ideas?
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"

2007-04-03 Thread Robert Nelson
I put a fixed 2.0.3 version of bacula-sd.exe on my anonymous ftp site.

The URL is:

ftp://ftp.the-nelsons.org/pub/brian_debelius/bacula-sd.exe

Please let me know if this fixes the problem and I'll check in the fix for
the next 2.0.x release.

Thanks,

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Robert Nelson
> Sent: Tuesday, April 03, 2007 5:45 PM
> To: 'Brian Debelius'; bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> 
> This is a bug in the Windows port of the SD.  I'll fix it.
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:bacula-users-
> > [EMAIL PROTECTED] On Behalf Of Brian Debelius
> > Sent: Tuesday, April 03, 2007 11:17 AM
> > To: bacula-users@lists.sourceforge.net
> > Subject: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> >
> > Windows 2003r2 dir, sd, fd; Bacula v2.0.3; Exabyte VXA-172, LSI scsi
> >
> > While playing around with debugging, I discovered this error at the
> > command line; Invalid switch - "comp01-sd*.spool"
> >
> > This surprised me, since the sd has been working fine as far as I know.
> > The only reference I can find in the trace file is this
> >
> > comp01-sd: ../compat/compat.cpp:1797 Calling
> > CreateProcess(C:\WINDOWS\system32\cmd.exe, C:\WINDOWS\system32\cmd.exe
> > /c del /q C:\Documents and Settings\All Users\Application
> > Data\Bacula\Work/comp01-sd*.spool, ...)
> >
> > and the only thing that seems odd in this, is that a backslash is a
> > forward slash.
> >
> > Any ideas?
> >
> >
> > 
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"

2007-04-04 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> Sent: Wednesday, April 04, 2007 8:26 AM
> To: Robert Nelson
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> 
> Hello and Good Morning,
> 
> Ok, I copied the file onto one of my backup servers.  The backslash
> appears fixed, according to the output of the trace file.  When I run
> the SD at the command line, I get the following response now
> 
> Could not find c:\\comp01-sd*.spool
> 

This is expected.  The command is doing cleanup of any old spool files.  If
there aren't any found then that message will print.

> And there are no errors relating to this in the trace file.
> 
> brian-
> 
> Robert Nelson wrote:
> > I put a fixed 2.0.3 version of bacula-sd.exe on my anonymous ftp site.
> >
> > The URL is:
> >
> > ftp://ftp.the-nelsons.org/pub/brian_debelius/bacula-sd.exe
> >
> > Please let me know if this fixes the problem and I'll check in the fix
> for
> > the next 2.0.x release.
> >
> > Thanks,
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:bacula-users-
> >> [EMAIL PROTECTED] On Behalf Of Robert Nelson
> >> Sent: Tuesday, April 03, 2007 5:45 PM
> >> To: 'Brian Debelius'; bacula-users@lists.sourceforge.net
> >> Subject: Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> >>
> >> This is a bug in the Windows port of the SD.  I'll fix it.
> >>
> >>
> >>> -Original Message-
> >>> From: [EMAIL PROTECTED] [mailto:bacula-users-
> >>> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> >>> Sent: Tuesday, April 03, 2007 11:17 AM
> >>> To: bacula-users@lists.sourceforge.net
> >>> Subject: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> >>>
> >>> Windows 2003r2 dir, sd, fd; Bacula v2.0.3; Exabyte VXA-172, LSI scsi
> >>>
> >>> While playing around with debugging, I discovered this error at the
> >>> command line; Invalid switch - "comp01-sd*.spool"
> >>>
> >>> This surprised me, since the sd has been working fine as far as I
> know.
> >>> The only reference I can find in the trace file is this
> >>>
> >>> comp01-sd: ../compat/compat.cpp:1797 Calling
> >>> CreateProcess(C:\WINDOWS\system32\cmd.exe, C:\WINDOWS\system32\cmd.exe
> >>> /c del /q C:\Documents and Settings\All Users\Application
> >>> Data\Bacula\Work/comp01-sd*.spool, ...)
> >>>
> >>> and the only thing that seems odd in this, is that a backslash is a
> >>> forward slash.
> >>>
> >>> Any ideas?
> >>>
> >>>
> >>>
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"

2007-04-04 Thread Robert Nelson
In src/stored/stored.c around line 432 cleanup_old_files().

> -Original Message-
> From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 04, 2007 2:03 PM
> To: bacula-users@lists.sourceforge.net
> Cc: Robert Nelson
> Subject: Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> 
> On Wednesday 04 April 2007 21:21, Robert Nelson wrote:
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:bacula-users-
> > > [EMAIL PROTECTED] On Behalf Of Brian Debelius
> > > Sent: Wednesday, April 04, 2007 8:26 AM
> > > To: Robert Nelson
> > > Cc: bacula-users@lists.sourceforge.net
> > > Subject: Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> > >
> > > Hello and Good Morning,
> > >
> > > Ok, I copied the file onto one of my backup servers.  The backslash
> > > appears fixed, according to the output of the trace file.  When I run
> > > the SD at the command line, I get the following response now
> > >
> > > Could not find c:\\comp01-sd*.spool
> 
> Robert, I wasn't aware that we were cleaning up old spool files.  Can you
> tell
> me where the top level code is in Bacula?
> 
> Regards,
> 
> Kern
> 
> > >
> >
> > This is expected.  The command is doing cleanup of any old spool files.
> If
> > there aren't any found then that message will print.
> >
> > > And there are no errors relating to this in the trace file.
> > >
> > > brian-
> > >
> > > Robert Nelson wrote:
> > > > I put a fixed 2.0.3 version of bacula-sd.exe on my anonymous ftp
> site.
> > > >
> > > > The URL is:
> > > >
> > > > ftp://ftp.the-nelsons.org/pub/brian_debelius/bacula-sd.exe
> > > >
> > > > Please let me know if this fixes the problem and I'll check in the
> fix
> > > for
> > > > the next 2.0.x release.
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >> -Original Message-
> > > >> From: [EMAIL PROTECTED] [mailto:bacula-
> users-
> > > >> [EMAIL PROTECTED] On Behalf Of Robert Nelson
> > > >> Sent: Tuesday, April 03, 2007 5:45 PM
> > > >> To: 'Brian Debelius'; bacula-users@lists.sourceforge.net
> > > >> Subject: Re: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> > > >>
> > > >> This is a bug in the Windows port of the SD.  I'll fix it.
> > > >>
> > > >>
> > > >>> -Original Message-
> > > >>> From: [EMAIL PROTECTED] [mailto:bacula-
> users-
> > > >>> [EMAIL PROTECTED] On Behalf Of Brian Debelius
> > > >>> Sent: Tuesday, April 03, 2007 11:17 AM
> > > >>> To: bacula-users@lists.sourceforge.net
> > > >>> Subject: [Bacula-users] Invalid switch - "comp01-sd*.spool"
> > > >>>
> > > >>> Windows 2003r2 dir, sd, fd; Bacula v2.0.3; Exabyte VXA-172, LSI
> scsi
> > > >>>
> > > >>> While playing around with debugging, I discovered this error at
> the
> > > >>> command line; Invalid switch - "comp01-sd*.spool"
> > > >>>
> > > >>> This surprised me, since the sd has been working fine as far as I
> > > know.
> > > >>> The only reference I can find in the trace file is this
> > > >>>
> > > >>> comp01-sd: ../compat/compat.cpp:1797 Calling
> > > >>> CreateProcess(C:\WINDOWS\system32\cmd.exe,
> C:\WINDOWS\system32\cmd.exe
> > > >>> /c del /q C:\Documents and Settings\All Users\Application
> > > >>> Data\Bacula\Work/comp01-sd*.spool, ...)
> > > >>>
> > > >>> and the only thing that seems odd in this, is that a backslash is
> a
> > > >>> forward slash.
> > > >>>
> > > >>> Any ideas?
> > > >>>
> > > >>>
> > > >>>
> > >
> > >
> > > --
> ---
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > > your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > >
> http://

Re: [Bacula-users] Encoding problems on restore

2007-04-05 Thread Robert Nelson
Which version of Windows is this?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Christoph Litauer
> Sent: Thursday, April 05, 2007 7:38 AM
> To: bacula-users
> Subject: [Bacula-users] Encoding problems on restore
> 
> Hi,
> 
> I have problems restoring a german windows system backup'd with bacula.
> German windows installations contain german umlauts in some path names
> (e.g. c:/../Startmenü/...). The files are all created but as bacula
> tries to cahnge the file permissions I got lots of errors like:
> 
> 05-Apr 16:12 hisservld-fd: RestoreFiles.2007-04-05_16.10.57 Warning:
> Cannot change permissions of C:/temp/bacula/C/Dokumente und
> Einstellungen/Administrator/StartmenÌ/Programme/Autostart: ERR=No such
> file or directory
> 
> As you can see, the german umlaut ü has been changed to a UTF8
> representation. Any hints how to avoid this?
> 
> Thanks a lot in advance.
> 
> --
> Regards
> Christoph
> 
> Christoph Litauer  [EMAIL PROTECTED]
> Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer
> Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311
> PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows restore to different location problem

2007-04-05 Thread Robert Nelson
Which version of Bacula are you using?  It seems to me that this was already
fixed.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Yuri T
> Sent: Wednesday, March 28, 2007 7:40 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Windows restore to different location problem
> 
> Trying to restore to a windows 2000 server, marked this directory.
> 
>  d:/Public/Databases
> 
> Changed restore 'where' with mod to
> 
>   d:/Public/restored
> 
> 
> I get this error as if bacula is trying to create the win root directory
> in
> the subdirectory.
> 
> Error: Cannot create directory d:: ERR=Invalid argument
> 
> And also,
> 
> Error: ../../findlib/create_file.c:208 Could not create
> d:/Public/restored/$
> 
> Any clues as to how to fix or get around this?
> 
> 
> Yuri
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] DVD autoloader?

2007-04-06 Thread Robert Nelson
You can use the Sony VAIO XL1B2; it's a 200 disc changer that retails for
400 US$.  It is supported by the current release of mtx (version 1.39.11)
which you can download from http://sourceforge.net/projects/mtx.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Lucio Crusca
> Sent: Friday, April 06, 2007 5:03 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] DVD autoloader?
> 
> Hello *,
> 
> I plan to install Bacula on a fileserver which currently lacks a backup
> solution and I wonder if there are any DVD autoloaders around that I can
> use
> with bacula.
> 
> I've googled around but i've manged to find only boxed solutions that
> include
> backup software also, nothing like a bare dvd autoloader. The search
> 
> "dvd autoloader" bacula
> 
> yelds no results... moreover
> http://www.bacula.org/rel-manual/Autochanger_Support.html
> says that
> 
> Bacula provides autochanger support for reading and writing *tapes*
> 
> Am I the only one in the world willing to use Bacula with a DVD library?
> 
> Lucio.
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Bacula Status -- change of direction for myparticipation in the project

2007-04-19 Thread Robert Nelson
Comments inline below

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-devel-
> [EMAIL PROTECTED] On Behalf Of Kern Sibbald
> Sent: Thursday, April 19, 2007 3:10 AM
> To: bacula-devel; bacula-users
> Cc: Shane Coughlan
> Subject: [Bacula-devel] Bacula Status -- change of direction for
> myparticipation in the project
> 
> Hello,
> 
> Open Source is a fantastic success story, and shows every sign of becoming
> a
> gigantic snow ball over the next few years.  Usage of Bacula is increasing
> significantly, which is very pleasing.  However, the development side of
> Bacula, with one or two exceptions, I consider a total failure.
> 
> Bacula has received quite a number of submissions other than my
> contributions
> over the years.  However, in general, these submissions have been made
> without documentation (leaving it to me to document) and the developer
> after
> a short time has for various reasons moved on to other things (change of
> job,
> change of life status, other interests, ...).  All this is normal, but
> what I
> find very disappointing is that with only a couple of exceptions that come
> to
> mind there are no permanent Bacula developers other than myself.  (Just so
> that there is no confusion or ill feelings, Scott, Dan, and Eric have been
> around for quite a while and have and are making significant contributions
> --
> there are certainly others who don't come to mind immediately, so, please
> accept my appologies -- also, I think the users list is working quite
> well.
> What I am talking about is the lack of highly qualified, committed,
> and "permanent" Bacula developers).
> 

I hope I'm not one of the developers that you feel isn't qualified or
committed.  I'm not sure what you mean by "permanent".

I answer the questions on the mailing list that are specific to the Windows
version.  I usually ignore those that are general Bacula questions, even if
they are running Windows, unless there is some Windows specific aspect.


> My point here, is that today, I am essentially the only developer doing
> documentation, the only developer fixing bugs, the only developer doing
> testing on the different platforms.  After 7+ years of doing it 12-14
> hours a
> day for 6 and sometimes 7 days a week, I am more than a bit disappointed
> that
> there isn't more help.  The fault may possibly be my own, but what ever
> the
> case may be that is where we are.
> 

I have also been fixing bugs.

> As an example of what I am lamenting here is that there is a Win 2003 bug
> open
> since 20 March where restore of encrypted (and compressed if I remember
> right) data fails.  Another example is that despite my repeated requests
> over
> something like a six month period, no one (at this moment) has "signed up"
> to
> do Win32, Solaris, or FreeBSD regression testing.
> 

As far as this specific bug is concerned, I just realized it is assigned to
me.  However I thought there was someone else working on the Encryption
code.  Even though this problem is reported on Windows the problem is more
likely to be a generic problem with encryption support.

> My solution to this problem is several fold:
> 
> 1. As of release 2.2.0, Win32, Solaris, and FreeBSD will no longer
> be "officially" supported platforms.  So that there is no
> misunderstanding, I
> definitely would like to see them supported, but I am no longer going to
> do
> it alone, which means that I will accept patches for them, I will not
> accept
> bug reports that are specific to those platforms, they will be documented
> as "use if it works for you but don't complain if it doesn't", and the
> project will no longer supply binaries for the Director and Storage daemon
> for Win32.  Users can build it themselves if they want to use it.
> 

I don't understand why you are taking this position in regards to the
Windows version.  We've talked a number of times about the support and
documentation issues.  I agreed to provide support for any Windows specific
problems which I have been doing.  As far as documentation is concerned, you
said you would make the changes if I provided a description of the
differences.  In fact, in the last email you seemed quite happy when I
mentioned that there aren't any real configuration differences other than
the device names.

The README file included with the installation documents all the differences
of which I'm aware.

I periodically run the Windows regression tests (which I ported).  You've
also asked for help running the regression tests which I agreed to do.  But
each time you've indicated it would be at some point in the future but
you've never got back to me that you were ready.

I also offered to do the Windows releases for you and you agreed it would
help.  However, whenever you are making a release you've said that you were
taking care of the Windows release.

Currently I'm working on the new Bacula Tray application.  This will replace
the built-in tray code.  It will eliminate the need to run using 

Re: [Bacula-users] [Bacula-devel] Bacula Status -- change of direction formyparticipation in the project

2007-04-20 Thread Robert Nelson


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-devel-
> [EMAIL PROTECTED] On Behalf Of Kern Sibbald
> Sent: Friday, April 20, 2007 2:37 AM
> To: [EMAIL PROTECTED]
> Cc: Robert Nelson; 'Shane Coughlan'; 'bacula-users'
> Subject: Re: [Bacula-devel] Bacula Status -- change of direction
> formyparticipation in the project
> 
> On Thursday 19 April 2007 23:26, Robert Nelson wrote:
> > Comments inline below
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:bacula-devel-
> > > [EMAIL PROTECTED] On Behalf Of Kern Sibbald
> > > Sent: Thursday, April 19, 2007 3:10 AM
> > > To: bacula-devel; bacula-users
> > > Cc: Shane Coughlan
> > > Subject: [Bacula-devel] Bacula Status -- change of direction for
> > > myparticipation in the project
> > >
> > > Hello,
> > >
> > > Open Source is a fantastic success story, and shows every sign of
> becoming
> > > a
> > > gigantic snow ball over the next few years.  Usage of Bacula is
> increasing
> > > significantly, which is very pleasing.  However, the development side
> of
> > > Bacula, with one or two exceptions, I consider a total failure.
> > >
> > > Bacula has received quite a number of submissions other than my
> > > contributions
> > > over the years.  However, in general, these submissions have been made
> > > without documentation (leaving it to me to document) and the developer
> > > after
> > > a short time has for various reasons moved on to other things (change
> of
> > > job,
> > > change of life status, other interests, ...).  All this is normal, but
> > > what I
> > > find very disappointing is that with only a couple of exceptions that
> come
> > > to
> > > mind there are no permanent Bacula developers other than myself.
> (Just so
> > > that there is no confusion or ill feelings, Scott, Dan, and Eric have
> been
> > > around for quite a while and have and are making significant
> contributions
> > > --
> > > there are certainly others who don't come to mind immediately, so,
> please
> > > accept my appologies -- also, I think the users list is working quite
> > > well.
> > > What I am talking about is the lack of highly qualified, committed,
> > > and "permanent" Bacula developers).
> > >
> >
> > I hope I'm not one of the developers that you feel isn't qualified or
> > committed.  I'm not sure what you mean by "permanent".
> 
> I think you took my statements from the wrong angle.  I wasn't complaining
> about any of the existing developers, but indicating that the Bacula
> project
> does not have sufficient qualified, committed, and permanent (long term)
> developers.  I gave an idication somewhat above by what I mean by
> permanent.
> 
> In your case, you are certainly qualified, probably the most technically
> qualified of all the people who have worked on Bacula.  You have not been
> around long enough for me to consider you "permanent".  Only time will
> tell.
> However your participation, which is very much appreciated seems to come
> in
> bursts rather than consistently day after day.  This is fine, as I will
> accept all the help I can get in any form.  Example, your last email was
> on 6
> March.
> 

My last emails on the list were Apr 6th not Mar 6th.  For the last two weeks
I've been working on the new monitor program which is why I haven't been
posting to the list.

> >
> > I answer the questions on the mailing list that are specific to the
> Windows
> > version.  I usually ignore those that are general Bacula questions, even
> if
> > they are running Windows, unless there is some Windows specific aspect.
> 
> That's fine.
> 
> >
> >
> > > My point here, is that today, I am essentially the only developer
> doing
> > > documentation, the only developer fixing bugs, the only developer
> doing
> > > testing on the different platforms.  After 7+ years of doing it 12-14
> > > hours a
> > > day for 6 and sometimes 7 days a week, I am more than a bit
> disappointed
> > > that
> > > there isn't more help.  The fault may possibly be my own, but what
> ever
> > > the
> > > case may be that is where we are.
> > >
> >
> > I have also been fixing bugs.
> 
> Yes, you have fixed bugs, and I appreciate that.  However, I don't
> consider
> you as an active developer that 

Re: [Bacula-users] Bacula was reseting the SCSI controller when jobfinished / solved

2007-04-23 Thread Robert Nelson
Does this occur if you run tapeinfo manually?

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Andreas Helmcke
> Sent: Monday, April 23, 2007 12:39 AM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Bacula was reseting the SCSI controller when
> jobfinished / solved
> 
> running bacula 2.0.3 with mysql 4.1.13 on SuSE 10.0;
> mtx 1.3.10; smartctl 5.36
> ADIC scalar-100 with 4 LTO-1 drives
> 
> Hello,
> 
> I had some strange problems with bacula.
> Main effect:
> I am running 3 concurrent jobs every day which use 3 drives. Because of
> the "suboptimal" method of picking a drive for a job (as recently
> reported) bacula keeps changing the drives for the jobs so it has to
> unload / load the tapes.
> Somtimes the tapes could not be appended to after they where moved from
> one drive to another.
> 
> After several days of testing and searching (in fact using 3 different
> scsi-controlers) i finally got the culprit.
> 
> It was the "Alert Command = " line calling tapeinfo which seems to reset
> the scsi controller. So the first job which finishes called tapeinfo
> which reseted the scsi-bus and so confusing the still running jobs on
> the other drives.
> 
> After disabling the Alert Command i got no more reset messages in the
> message-log and no more problems with the tapes.
> 
> As far as i can tell by now (just tested once) the problem does not
> concern smartctl.
> 
> 
> Andreas
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Still Unable To Truncate Files

2007-04-28 Thread Robert Nelson
I'm looking into this.  I need to fix some other issues first.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Doug Rintoul
> Sent: Monday, April 23, 2007 10:29 AM
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Still Unable To Truncate Files
> 
> On Tue, 2007-04-03 at 01:45 -0700, Robert Nelson wrote:
> >
> > > >>
> > > Well I've done some testing. No matter what I did I was not able to
> > > trigger this using files < 2GB. I set the maximum volume size at 2GB
> so
> > > the files were all about 1.9ish GB. I let it run for many days backing
> > > up over 200GB of data and it did not trigger the truncate problem. I
> > > purged large jobs which marked dozens of files to be recycled and it
> had
> > > no problem re-using those files. I would guess it created 160 files
> and
> > > recycled at least 100 of them - some more than once-
> > >
> > > I then used the label command to create 2 test volumes just over 2gb.
> I
> > > was able to get the error easily in a day. It did recycle them a few
> > > times, but eventually it tripped up. I would guess I recycled these
> two
> > > volumes only 5-6 times before it couldnt truncate them.
> > >
> > > This is bizarre. any more ideas? Im hoping I have it pegged this
> > > time and its not another false alarm.
> > >
> > > In light of this do you still want the debugging output from those
> > > specially compiled daemons?
> > >
> >
> > If you have the debugging out available for the case when it failed that
> > would be useful.  If not, hold off and I'll put in some more debug code
> to
> > try and narrow it further with this new information.
> >
> Has any more been discovered about this issue? I am seeing this
> regularly on my systems as well. No problem when volumes are less than
> 2GB. However volumes larger than 2GB trigger this bug. I really do not
> want to set the maximum volume size to be 2GB and have to deal with 30+
> volumes for one backup. I am currently resorting to deleting the volume
> from the file system and creating a zero length file of the same name.
> Anything I can do to help debug?
> 
> Doug Rintoul
> CanIL.
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Goodbye and thanks for all the fish

2007-04-28 Thread Robert Nelson
I have been involved in the Bacula project for a year now.  

 

The first 9 months I spent working 6-7 days a week, 8+ hours a day:

porting Storage and the Director to Windows

rewriting the installer

redesigning the Windows build process and contributed
improvements to the Unix build

fixing numerous Windows-specific as well as general bugs

redesigning, simplifying and improving both the Windows and the
core code

porting the regression tests to Windows

migrating the Source Management from CVS to Subversion

 

I followed all the coding conventions, reviewed every significant change
with Kern, and did everything possible to comply with all rules (both those
outlined in the Developer's Guide as well as those inferred from reading
between the lines in Kern's emails).

 

I spent thousands of dollars putting together a test lab for all the tape
loader, tape drive and CD changer technologies.

 

During the last eight weeks I've been working on reproducing and fixing a
tape drive on Windows bug and writing a new monitor application for Windows.

 

I've watched the email lists for bugs that are specific to the new
components I've added as well as helping users with Windows specific install
problems.

 

I also worked on a couple of other open source projects with which I'm
involved.

 

Oh, and I caught up on some of my work that actually produces income.

 

The one thing I didn't do was update the manual.

 

As a result, my admin privileges for the Bacula project were removed and I
must submit all my changes as patches for review.

 

I've done my best to work with Kern and I thought everything was great until
the last week when he started threatening me with removing all the software
(Windows Server version) I'd just devoted the better part of the last year
working on.

 

I'm not sure what I've done to upset him, but I'm not prepared to work in
this environment.

 

One of the nice things about Open Source is that if you don't like the rules
you can not only take your marbles and go home, you can also take the other
guy's marbles too.

 

I'll be looking into providing a supported and compatible version of the
software for Windows.  Over time as the core code improves and diverges I'll
probably also release versions for the other platforms too.

 

I will also make sure that I pick up bug fixes from the Bacula project.

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Goodbye and thanks for all thefish

2007-04-28 Thread Robert Nelson
Quotes below from Kern contradicting his response below

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Kern Sibbald
> Sent: Saturday, April 28, 2007 7:23 AM
> To: [EMAIL PROTECTED]
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] [Bacula-devel] Goodbye and thanks for all
> thefish
> 
> Normally, I don't consider it my place to comment on a developer's parting
> words, and I don't disagree with most of what Robert has said, and there
> is
> no question that techically he is extremely brilliant, and that he has
> made a
> big contribution to Bacula, particularly in the Windows area.
> 
> However, there are a few items where I feel he may have presented an
> incorrect
> interpretation that I would like to clarify.  See below.
> 
> On Saturday 28 April 2007 09:14, Robert Nelson wrote:
> > I have been involved in the Bacula project for a year now.
> >
> >
> >
> > The first 9 months I spent working 6-7 days a week, 8+ hours a day:
> >
> > porting Storage and the Director to Windows
> >
> > rewriting the installer
> >
> > redesigning the Windows build process and contributed
> > improvements to the Unix build
> >
> > fixing numerous Windows-specific as well as general bugs
> >
> > redesigning, simplifying and improving both the Windows and
> the
> > core code
> >
> > porting the regression tests to Windows
> >
> > migrating the Source Management from CVS to Subversion
> >
> >
> >
> > I followed all the coding conventions, reviewed every significant change
> > with Kern, and did everything possible to comply with all rules (both
> those
> > outlined in the Developer's Guide as well as those inferred from reading
> > between the lines in Kern's emails).
> >
> >
> >
> > I spent thousands of dollars putting together a test lab for all the
> tape
> > loader, tape drive and CD changer technologies.
> >
> >
> >
> > During the last eight weeks I've been working on reproducing and fixing
> a
> > tape drive on Windows bug and writing a new monitor application for
> Windows.
> >
> >
> >
> > I've watched the email lists for bugs that are specific to the new
> > components I've added as well as helping users with Windows specific
> install
> > problems.
> >
> >
> >
> > I also worked on a couple of other open source projects with which I'm
> > involved.
> >
> >
> >
> > Oh, and I caught up on some of my work that actually produces income.
> >
> >
> >
> > The one thing I didn't do was update the manual.
> >
> >
> >
> > As a result, my admin privileges for the Bacula project were removed and
> I
> > must submit all my changes as patches for review.
> 
> Two points here: first, we are talking about a Source Forge "project
> manager"
> status.  Recently so that Robert could complete the CVS -> SVN conversion
> project, I gave Robert project manager status for Bacula on Source Forge.
> I did the for a specific task, not as something permanent since there are
> already three people serving as "project manager" for Bacula.
> 
> As I promised the Free Software Foundation Europe to do before June, I
> recently (as I mentioned on recent email) removed all "developers" who
> have
> not signed the FSFE FLA (with a few exceptions).  While doing this, I put
> Robert back to standard developer status, which seemed to me totally
> unworthy
> of any special mention.  As of this moment, Robert has full write access
> to
> the SVN as do all other developers.
> 
> I have never asked Robert to submit all his changes as patches for review.
> I
> did explicitly ask him to sumit a patch to me so that we could review it
> for
> possible inclusion into 2.2.0.  This is *exactly* the same status that all
> other developers have at this stage.  I have asked them all to submit to
> me
> any new features, but they can continue to work on fixing bugs.  This is
> completely normal, I have been doing the same thing for five years now.
> 
> Just this morning, Robert committed one or two bug fixes without notifying
> me
> (which is perfectly fine with me), so I have a hard time understanding
> this
> complaint.
> 
> Just so there is no confusion, I have said that I will be moving to a mode
> where I do review all patches in more detail, and I have

[Bacula-users] RE: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-15 Thread Robert Nelson
Couldn't you handle both cases transparently.  If the pattern has a "/" in
it then pass the full name, otherwise just pass the basename to fnmatch().
That way you get both behaviours without breaking existing examples and
configs.

Ironically the Windows example FileSet in the manual expects the above
behaviour since it has both

WildFile = "[A-Z]:/WINNT/system32/dhcp/tmp.edb"
And
WildFile = "*.tmp"



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Monday, April 10, 2006 5:09 AM
To: Martin Simmons
Cc: [EMAIL PROTECTED]; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

On Monday 10 April 2006 13:15, Martin Simmons wrote:
> > On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald 
> > <[EMAIL PROTECTED]>
> > said:
> >
> > Hello,
> >
> > It seems that it is becoming more frequent (probably because of the 
> > increasing number of Bacula users) that users submit support 
> > questions to the bugs database.  This morning a user submitted a bug 
> > stating that the WildFile option was broken. Normally, I would have 
> > dismissed this as a support problem because most of us realize that 
> > wild-cards and regexes are awfully tricky.
> >
> > However, this user presented a *really* simple case with debug 
> > output, so I took a look at it, and surprise both WildFile and 
> > RegexFile are broken because they match against the full path and 
> > filename rather than just the filename.
> >
> > I wonder how many users have torn out their hair trying to figure 
> > out why WildFile or RegexFile didn't work :-(
>
> Are you really sure that is a bug?  I think the word "filename" in the 
> documentation is ambiguous, but when it says "No directories will be 
> matched by this directive" it does not mean that the matching is 
> performed only on the basename part.
>
> The examples in "A Windows Example FileSet" are also written to assume 
> that WildFile compares the whole name.
>
> The current behaviour is very useful because it allows files in 
> selected directories to be matched, without accidentally matching 
> subdirectories (as Wild will do).
>

After a little more thought about this, I'm not so sure I should change the
behavior. It is not what I had originally intended (I didn't program it),
but to change it now, given all the examples in the doc would create a
number of problems.

I think the best solution is to ensure that the documentation is extremely
clear, then if there is really a demand, implement a new option such as
WildFilename that matches against only the filename (basename).

--
Best regards,

Kern

  (">
  /\
  V_V


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





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


RE: [Bacula-users] New user questions

2006-04-15 Thread Robert Nelson
Use 
estimate level=Incremental
Or
estimate level=Differential

>From the manual:

Using this command, you can get an idea how many files will
be backed up, or if you are unsure about your Include statements in
your FileSet, you can test them without doing an actual backup. The
default is to assume a Full backup. However, you can override this
by specifying a level=Incremental or level=Differential on the
command line. A Job name must be specified or you will be prompted
for one, and optionally a Client and FileSet may be specified on the
command line. It then contacts the client which computes the number
of files and bytes that would be backed up. Please note that this is an
estimate calculated from the number of blocks in the file rather than
by reading the actual bytes. As such, the estimated backup size will
generally be larger than an actual backup. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Novosielski
Sent: Saturday, April 15, 2006 4:05 PM
To: Francisco Reyes
Cc: John Kodis; Bacula List
Subject: Re: [Bacula-users] New user questions

Estimates are full. It's in the manual, IIRC.

Francisco Reyes wrote:

> John Kodis writes:
>
>> I'd guess that either you've changed something in your filesystem -- 
>> touched most of the files, or changed where a large filesystem is 
>> mounted -- or that Bacula overrode your request.
>
>
> Can't really imagine any of the above.
> Anyone could confirm that this sequence works for them:
> + Create full job
> + Change job to incremental
> + Do estimate on job (and estimate will show only changed files)
>
>>  Even if you specify
>> an incremental, Bacula will perform a full backup if there's no 
>> suitable full backup found.
>
>
> Full backup finished without problems. Got email with status and I 
> don't recall seeing any problems.
>
>>> And if the bacula-dir did die, will running backups stop? 
>>
>>
>> Yup.  Even if you're sure that your configuration files are correct, 
>> I'd be surprised if the Bacula director could survive the type of 
>> mid-job restart the you seem to be contemplating.
>
>
> I really should have written "if bacula-dir will die after doing a 
> reload if there are any syntax errors"
>
>> I have no idea, nor any reason to care as the database stuff has 
>> always just worked.  Are you just curious, or is there some other 
>> issue that you're chasing?
>
>
>
> It is actually a possible PostgreSQL performance issue. If each new 
> record is inserted independantly, the inserts will be slower than if 
> you have many inserts/updates within a single transaction.
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting 
> language that extends applications into web and mobile media. Attend 
> the live webcast and join the prime developer group breaking into this 
> new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216
> 42 ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



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





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


RE: [Bacula-users] New user questions

2006-04-15 Thread Robert Nelson
I don't know for sure, I've only been using Bacula for a couple of weeks.
But looking at the CVS logs it looks like it was added in June, 2004.

-Original Message-
From: Ryan Novosielski [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 15, 2006 4:17 PM
To: Robert Nelson
Cc: 'Francisco Reyes'; 'John Kodis'; 'Bacula List'
Subject: Re: [Bacula-users] New user questions

Neat! I think this is new for 1.38, as I'm pretty certain you weren't able
to do that in the past.

Robert Nelson wrote:

>Use 
>   estimate level=Incremental
>Or
>   estimate level=Differential
>
>From the manual:
>
>Using this command, you can get an idea how many files will be backed 
>up, or if you are unsure about your Include statements in your FileSet, 
>you can test them without doing an actual backup. The default is to 
>assume a Full backup. However, you can override this by specifying a 
>level=Incremental or level=Differential on the command line. A Job name 
>must be specified or you will be prompted for one, and optionally a 
>Client and FileSet may be specified on the command line. It then 
>contacts the client which computes the number of files and bytes that 
>would be backed up. Please note that this is an estimate calculated 
>from the number of blocks in the file rather than by reading the actual 
>bytes. As such, the estimated backup size will generally be larger than 
>an actual backup.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Ryan 
>Novosielski
>Sent: Saturday, April 15, 2006 4:05 PM
>To: Francisco Reyes
>Cc: John Kodis; Bacula List
>Subject: Re: [Bacula-users] New user questions
>
>Estimates are full. It's in the manual, IIRC.
>
>Francisco Reyes wrote:
>
>  
>
>>John Kodis writes:
>>
>>
>>
>>>I'd guess that either you've changed something in your filesystem -- 
>>>touched most of the files, or changed where a large filesystem is 
>>>mounted -- or that Bacula overrode your request.
>>>  
>>>
>>Can't really imagine any of the above.
>>Anyone could confirm that this sequence works for them:
>>+ Create full job
>>+ Change job to incremental
>>+ Do estimate on job (and estimate will show only changed files)
>>
>>
>>
>>> Even if you specify
>>>an incremental, Bacula will perform a full backup if there's no 
>>>suitable full backup found.
>>>  
>>>
>>Full backup finished without problems. Got email with status and I 
>>don't recall seeing any problems.
>>
>>
>>
>>>>And if the bacula-dir did die, will running backups stop? 
>>>>
>>>>
>>>Yup.  Even if you're sure that your configuration files are correct, 
>>>I'd be surprised if the Bacula director could survive the type of 
>>>mid-job restart the you seem to be contemplating.
>>>  
>>>
>>I really should have written "if bacula-dir will die after doing a 
>>reload if there are any syntax errors"
>>
>>
>>
>>>I have no idea, nor any reason to care as the database stuff has 
>>>always just worked.  Are you just curious, or is there some other 
>>>issue that you're chasing?
>>>  
>>>
>>
>>It is actually a possible PostgreSQL performance issue. If each new 
>>record is inserted independantly, the inserts will be slower than if 
>>you have many inserts/updates within a single transaction.
>>
>>---
>>This SF.Net email is sponsored by xPML, a groundbreaking scripting 
>>language that extends applications into web and mobile media. Attend 
>>the live webcast and join the prime developer group breaking into this 
>>new coding territory!
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=1216
>>42 ___
>>Bacula-users mailing list
>>Bacula-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>>
>
>
>
>---
>This SF.Net email is sponsored by xPML, a groundbreaking scripting 
>language that extends applications into web and mobile media. Attend 
>the live webcast and join the prime developer group breaking into this new
coding territory!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164
>2 ___
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>  
>





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


RE: [Bacula-users] New user questions

2006-04-15 Thread Robert Nelson
Great, also I'm not sure if anyone answered your question about the
differences between Full, Incremental, Differential.  This is covered pretty
well in the manual.  I know 640+ pages can be pretty intimidating but it has
a pretty good table of contents and lots of detail.

I would pay particular attention to the section on the job resource on pages
121 to 123.  These describe the different values for the level.  One thing
I've noticed with the manual is it is very long on detail and short on
summary information (pun intended :-).  The detail is really good for
figuring out the subtleties but unless you have the high level view its easy
to get lost in the detail.

For example a paragraph like the following at the beginning of the level
description would probably help new users.

Full - Backs up all files selected by the FileSet.
Incremental - Backs up all files modified since the last successful Full,
Incremental, or Differential.
Differential - Backs up all files modified since the last successful Full.

Then another short paragraph saying why you would choose one over the other.

-Original Message-
From: Francisco Reyes [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 15, 2006 4:57 PM
To: Robert Nelson
Cc: 'Bacula List'
Subject: Re: [Bacula-users] New user questions

Robert Nelson writes:

>   estimate level=Differential


Thanks. That worked.
Of the near 3 Million files only 256,000 have changed. That sounds about
right. 





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


[Bacula-users] RE: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-16 Thread Robert Nelson
But I think the behaviour would be very intuitive.  If you look at how it is
used below in the example from the Windows FileSet I think it is fairly
obvious.  I also think it is much clearer and easier to maintain than the
corresponding regex would be.  The code change was minimal and didn't
require any modification of the buffers themselves.  Here is the diff for
WildFile:

   } else  {
  for (k=0; kwildfile.size(); k++) {
-if (fnmatch((char *)fo->wildfile.get(k), ff->fname, fnmode|ic)
== 0) {
+const char *pattern = (const char *)fo->wildfile.get(k);
+const char *fname;
+
+if (strchr(pattern, '/') != NULL || (fname = strrchr(ff->fname,
'/')) == NULL)
+   fname = ff->fname;
+else
+   fname++;
+
+if (fnmatch(pattern, fname, fnmode|ic) == 0) {
if (ff->flags & FO_EXCLUDE) {

-Original Message-
From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 16, 2006 1:18 AM
To: Robert Nelson
Cc: 'Martin Simmons'; [EMAIL PROTECTED];
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

On Sunday 16 April 2006 00:21, Robert Nelson wrote:
> Couldn't you handle both cases transparently.  If the pattern has a 
> "/" in it then pass the full name, otherwise just pass the basename to
fnmatch().
> That way you get both behaviours without breaking existing examples 
> and configs.
>
> Ironically the Windows example FileSet in the manual expects the above 
> behaviour since it has both
>
>   WildFile = "[A-Z]:/WINNT/system32/dhcp/tmp.edb"
> And
>   WildFile = "*.tmp"

That is an interesting idea, but probably not something I would do, because
it makes matching more complicated by altering the input data (filenames)
depending on the pattern.

Tar has a similar feature, and I doubt that many on this list know about it
or that anyone on this list can explain exactly how it works.

Since wild-cards are terribly incomplete, the solution to the limitations
users will have with wild-cards is to use Bacula's regular expressions,
which are now implemented (experimentally) in Win32 in version 1.38.8.  The
only problem with the Win32 regex is that it is untested and it does not
have an "ignore case", which I will probably add in a future version.

>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kern 
> Sibbald
> Sent: Monday, April 10, 2006 5:09 AM
> To: Martin Simmons
> Cc: [EMAIL PROTECTED]; 
> bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-devel] Surprise bug + Scratch pool algorithm
>
> On Monday 10 April 2006 13:15, Martin Simmons wrote:
> > >>>>> On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald 
> > >>>>> <[EMAIL PROTECTED]>
> > >>>>> said:
> > >
> > > Hello,
> > >
> > > It seems that it is becoming more frequent (probably because of 
> > > the increasing number of Bacula users) that users submit support 
> > > questions to the bugs database.  This morning a user submitted a 
> > > bug stating that the WildFile option was broken. Normally, I would 
> > > have dismissed this as a support problem because most of us 
> > > realize that wild-cards and regexes are awfully tricky.
> > >
> > > However, this user presented a *really* simple case with debug 
> > > output, so I took a look at it, and surprise both WildFile and 
> > > RegexFile are broken because they match against the full path and 
> > > filename rather than just the filename.
> > >
> > > I wonder how many users have torn out their hair trying to figure 
> > > out why WildFile or RegexFile didn't work :-(
> >
> > Are you really sure that is a bug?  I think the word "filename" in 
> > the documentation is ambiguous, but when it says "No directories 
> > will be matched by this directive" it does not mean that the 
> > matching is performed only on the basename part.
> >
> > The examples in "A Windows Example FileSet" are also written to 
> > assume that WildFile compares the whole name.
> >
> > The current behaviour is very useful because it allows files in 
> > selected directories to be matched, without accidentally matching 
> > subdirectories (as Wild will do).
>
> After a little more thought about this, I'm not so sure I should 
> change the behavior. It is not what I had originally intended (I 
> didn't program it), but to change it now, given all the examples in 
> the doc would cr

[Bacula-users] RE: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-17 Thread Robert Nelson
At first I was somewhat confused about what the current behaviour is, both
by this thread, the documentation and my experience with file matching
algorithms used by other programs such as the various shells.

Judging from your example below I believe you may be confused about the
current behaviour as well.

The current code allows "*" to match any character INCLUDING the "/".

This means, given the pattern "*kern", and using WildFile, the following
files would match:

/xxx/kern
/xxx/abc_kern
/xxx/yyy/kern

But the following would not unless an asterisk is added to the end of the
pattern or WildDir or Wild was used.

/xxx/kern/yyy
/xxx/abc_kern/yyy

If you wanted "*kern" to match as part of the path or as a file then you
would have to use Wild rather than WildFile.  This will be matched when that
directory is processed as the tree is descended.

Perhaps most worrisome of all is that the following would match the pattern
"/test*.dat"

/test/archive/important/file1.dat

Or given the pattern "/xxx/yyy/*.c" the following would match

/xxx/yyy/abc.c
/xxx/yyy/backup_copy/abc.c

This is how the code works today.  I think these last two cases are
counter-intuitive and likely to cause someone problems at some point.  Off
the top of my head, I can't think of a case where it would be desirable
behaviour.

With this understanding of the current behaviour I believe it is important
to make FNM_FILE_NAME work properly and specify it.  This would just require
adding one missing check for a "/" in fnmatch() when FNM_FILE_NAME is set.
There isn't much difference in the current code when this flag is specified.
It certainly doesn't behave the way it is documented in GNU or POSIX. 

However fixing this "bug" would mean that the pattern "*.tmp" would no
longer match anything since absolute paths are always supplied.  Thus the
origins of my original suggestion.  While you could add a new keyword for
matching against just the base name you would either have to not fix the
above behaviour or break existing configurations.

As far as the code example is concerned I wouldn't implement it that way in
production code either.  I just included it to illustrate what I was
suggesting using the minimum changes required.  In production code I would
only scan the filename and patterns once.

While you could use regex the patterns would be much more complicated and
harder for the average user, who is familiar with using the shell, to
understand.  There is a reason why programs that deal with just filenames
use the glob(7) and fnmatch(3) patterns.

I think the reason that only one user has mentioned it in the last 5 years
is due to a few factors,

the code mostly works as expected,

I believe that Wild patterns are primarily used for exclusions and
most users don't examine which files are being excluded until they aren't
there when you try to restore.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Sunday, April 16, 2006 10:19 AM
To: Robert Nelson
Cc: 'Martin Simmons'; [EMAIL PROTECTED];
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

On Sunday 16 April 2006 11:52, Robert Nelson wrote:
> But I think the behaviour would be very intuitive.  If you look at how 
> it is used below in the example from the Windows FileSet I think it is 
> fairly obvious.  I also think it is much clearer and easier to 
> maintain than the corresponding regex would be.  The code change was 
> minimal and didn't require any modification of the buffers themselves.  
> Here is the diff for
> WildFile:

Well, I am sorry, but I don't agree with you on the point of it being very
intuitive.  With your change, I would no longer be able to do something
based on a part of the path -- for example, suppose I want to compress all
files where any part of the path has kern in the name.  I can do it with

   WildFile = "*kern"

With your suggestion, that would only match the filename part and would
never match against something in the path.

In addition, if I did implement it, I wouldn't do it as in the code below
because that code has a huge performance penalty especially if you are
dealing with 3 million files.  I leave it to you to work out why.

After a good deal of thought, IMO the correct way to solve the problem is
with regex, or possibly if it is really necessary with another directive
that explicitly lets the user match against only the filename part rather
than the full path, but I don't think a new directive will really be
necessary since no one has asked for it in the 5 years it has been
programmed.

>
>} else  {
>   for (k=0; kwildfile.size(); k++) {
> -if (fnmatch((char *)fo->wildfile.get(k), ff->fname,
fnmo

[Bacula-users] RE: [Bacula-devel] fnmatch

2006-04-17 Thread Robert Nelson
It seems from this discussion the manual needs changing anyways.

FNM_FILE_NAME is GNU specific, posix uses FNM_PATHNAME, behaviour is the
same.  I just used FNM_FILE_NAME because that is what you already use in
some places in the source.  So I don't believe there is any portability
issue, particularly since you have a copy of that routine in the source and
aren't using the platform version anyhow.

I offered to put this and the other changes I've suggested under an option
like EnhancedWild or AlternateWild, but it doesn't seem you are open to any
suggestions so I'll just fix my version and not bother you with any more
suggestions.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Monday, April 17, 2006 5:41 AM
To: Robert Nelson
Cc: 'Martin Simmons'; [EMAIL PROTECTED];
bacula-users@lists.sourceforge.net
Subject: [Bacula-devel] fnmatch

Hello,

I'm sorry, I'm not interested in changing how WildFile currently works. I
thought about it a long time, and IMO changing it would create lots of
problems with current users, not to mention require changing the manual.

In addition, I am not interested in FNM_FILE_NAME, because unless POSIX has
added something new, it is a GNU extention, which means it is not portable.

I consider this a non-problem and have already provided a resonable solution
for the few users who really care.

On Monday 17 April 2006 10:21, Robert Nelson wrote:
> At first I was somewhat confused about what the current behaviour is, 
> both by this thread, the documentation and my experience with file 
> matching algorithms used by other programs such as the various shells.
>
> Judging from your example below I believe you may be confused about 
> the current behaviour as well.
>
> The current code allows "*" to match any character INCLUDING the "/".
>
> This means, given the pattern "*kern", and using WildFile, the 
> following files would match:
>
> /xxx/kern
> /xxx/abc_kern
> /xxx/yyy/kern
>
> But the following would not unless an asterisk is added to the end of 
> the pattern or WildDir or Wild was used.
>
> /xxx/kern/yyy
> /xxx/abc_kern/yyy
>
> If you wanted "*kern" to match as part of the path or as a file then 
> you would have to use Wild rather than WildFile.  This will be matched 
> when that directory is processed as the tree is descended.
>
> Perhaps most worrisome of all is that the following would match the 
> pattern "/test*.dat"
>
> /test/archive/important/file1.dat
>
> Or given the pattern "/xxx/yyy/*.c" the following would match
>
> /xxx/yyy/abc.c
> /xxx/yyy/backup_copy/abc.c
>
> This is how the code works today.  I think these last two cases are 
> counter-intuitive and likely to cause someone problems at some point.  
> Off the top of my head, I can't think of a case where it would be 
> desirable behaviour.
>
> With this understanding of the current behaviour I believe it is 
> important to make FNM_FILE_NAME work properly and specify it.  This 
> would just require adding one missing check for a "/" in fnmatch() 
> when FNM_FILE_NAME is set. There isn't much difference in the current 
> code when this flag is specified. It certainly doesn't behave the way 
> it is documented in GNU or POSIX.
>
> However fixing this "bug" would mean that the pattern "*.tmp" would no 
> longer match anything since absolute paths are always supplied.  Thus 
> the origins of my original suggestion.  While you could add a new 
> keyword for matching against just the base name you would either have 
> to not fix the above behaviour or break existing configurations.
>
> As far as the code example is concerned I wouldn't implement it that 
> way in production code either.  I just included it to illustrate what 
> I was suggesting using the minimum changes required.  In production 
> code I would only scan the filename and patterns once.
>
> While you could use regex the patterns would be much more complicated 
> and harder for the average user, who is familiar with using the shell, 
> to understand.  There is a reason why programs that deal with just 
> filenames use the glob(7) and fnmatch(3) patterns.
>
> I think the reason that only one user has mentioned it in the last 5 
> years is due to a few factors,
>
>   the code mostly works as expected,
>
>   I believe that Wild patterns are primarily used for exclusions and 
> most users don't examine which files are being excluded until they 
> aren't there when you try to restore.
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kern 
> S

[Bacula-users] RE: [Bacula-devel] fnmatch

2006-04-17 Thread Robert Nelson
How very strange, I originally had FNM_PATHNAME in the email and then did a
grep to see which of the two names were used in the source.  However
sometime between doing the grep and editting the email I swapped the two in
my head.  The source refers to FNM_PATHNAME not FNM_FILE_NAME.  But it is
kind of academic anyways since the routine that uses it is match_files() and
it is only called by a couple of test tools. 

Ok, I'll put together a proposal, and submit it to the dev alias.

-Original Message-
From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 17, 2006 8:03 AM
To: Robert Nelson
Cc: 'Martin Simmons'; [EMAIL PROTECTED];
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-devel] fnmatch

On Monday 17 April 2006 16:12, Robert Nelson wrote:
> It seems from this discussion the manual needs changing anyways.
>
> FNM_FILE_NAME is GNU specific, posix uses FNM_PATHNAME, behaviour is 
> the same.  I just used FNM_FILE_NAME because that is what you already 
> use in some places in the source.  So I don't believe there is any 
> portability issue, particularly since you have a copy of that routine 
> in the source and aren't using the platform version anyhow.

As far as I know, FNM_FILE_NAME is not used in Bacula source.  It is indeed
in fnmatch.h and fnmatch.c, but neither of those routines are used by any
Bacula code unless fnmatch doesn't exist in the host machine libraries,
which to the best of my knowledge is never the case.  If Bacula code were to
use FNM_FILE_NAME, in the source, there would be some platform (e.g.
Solaris) where the compile would fail.

>
> I offered to put this and the other changes I've suggested under an 
> option like EnhancedWild or AlternateWild, but it doesn't seem you are 
> open to any suggestions so I'll just fix my version and not bother you 
> with any more suggestions.

I missed the above suggestion.  I am not and have noot been opposed to
someone adding an additional directive, though, I think the exact name
should be openly discussed on the list ...

>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Kern
Sibbald
> Sent: Monday, April 17, 2006 5:41 AM
> To: Robert Nelson
> Cc: 'Martin Simmons'; [EMAIL PROTECTED];
> bacula-users@lists.sourceforge.net
> Subject: [Bacula-devel] fnmatch
>
> Hello,
>
> I'm sorry, I'm not interested in changing how WildFile currently works. I
> thought about it a long time, and IMO changing it would create lots of
> problems with current users, not to mention require changing the manual.
>
> In addition, I am not interested in FNM_FILE_NAME, because unless POSIX
has
> added something new, it is a GNU extention, which means it is not
portable.
>
> I consider this a non-problem and have already provided a resonable
> solution for the few users who really care.
>
> On Monday 17 April 2006 10:21, Robert Nelson wrote:
> > At first I was somewhat confused about what the current behaviour is,
> > both by this thread, the documentation and my experience with file
> > matching algorithms used by other programs such as the various shells.
> >
> > Judging from your example below I believe you may be confused about
> > the current behaviour as well.
> >
> > The current code allows "*" to match any character INCLUDING the "/".
> >
> > This means, given the pattern "*kern", and using WildFile, the
> > following files would match:
> >
> > /xxx/kern
> > /xxx/abc_kern
> > /xxx/yyy/kern
> >
> > But the following would not unless an asterisk is added to the end of
> > the pattern or WildDir or Wild was used.
> >
> > /xxx/kern/yyy
> > /xxx/abc_kern/yyy
> >
> > If you wanted "*kern" to match as part of the path or as a file then
> > you would have to use Wild rather than WildFile.  This will be matched
> > when that directory is processed as the tree is descended.
> >
> > Perhaps most worrisome of all is that the following would match the
> > pattern "/test*.dat"
> >
> > /test/archive/important/file1.dat
> >
> > Or given the pattern "/xxx/yyy/*.c" the following would match
> >
> > /xxx/yyy/abc.c
> > /xxx/yyy/backup_copy/abc.c
> >
> > This is how the code works today.  I think these last two cases are
> > counter-intuitive and likely to cause someone problems at some point.
> > Off the top of my head, I can't think of a case where it would be
> > desirable behaviour.
> >
> > With this understanding of the current behaviour I believe it is
> > important to make FNM_FILE_NAME work properly and specify it.  This
&g

RE: [Bacula-users] Newbie Configuration Question

2006-04-17 Thread Robert Nelson
You need to add a storage resource to bacula-dir.conf.

This is the abstraction for a device controlled by a Storage Daemon.

You probably want something like

Storage {
  Name = 
  Address = 
  SDPort = 9103 
  Password = 
  Device = Drive-0
  Media Type = LTO-2
} 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Boris
Sent: Monday, April 17, 2006 9:07 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Newbie Configuration Question

I am new to bacula and I am trying to configure my setup. I am running
Fedora Core 3 and using a Dell 124T. From what I can see the Dell 124T has
passed all of the tests. So now I am trying to edit the configuration files.

 In the bacula-sd.conf I have this defined:

Autochanger {
  Name = Autochanger
  Device = Drive-0
#  Device = Drive-2
  Changer Command = "/root/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg2
}

Device {
  Name = Drive-0  #
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/nst1
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

In the bacula-dir.conf I have this defined:

JobDefs {
  Name = "MainJob"
  Type = Backup
  Level = Incremental
  Client = jerome-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = Drive-0
  Messages = Standard
  Pool = Default
  Priority = 10
}
Job {
  Name = "Client2"
  Client = jerome-fd
  JobDefs = "MainJob"
  Write Bootstrap = "/root/bacula/bin/working/Client2.bsr"
}
Job {
  Name = "BackupCatalog"
  JobDefs = "MainJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/root/bacula/bin/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/root/bacula/bin/delete_catalog_backup"
  Write Bootstrap = "/root/bacula/bin/working/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}
# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
Options {
  signature = MD5
}
   

File = /
  }

  Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
  }
}

Client {
  Name = jerome-fd
  Address = jerome
  FDPort = 9102
  Catalog = MyCatalog
  Password = "f0/iy0aB0V0gK9YxE2M3BPzEp1IkW9sbcysZ69mSSC1f"  #
password for FileDaemon
  File Retention = 30 days# 30 days
  Job Retention = 6 months# six months
  AutoPrune = yes # Prune expired Jobs/Files
}

And in jerome-fd.conf I have this defined:

FileDaemon {  # this is me
  Name = jerome-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /root/bacula/bin/working
  Pid Directory = /root/bacula/bin/working
  Maximum Concurrent Jobs = 20
}


When I try and start bacula I get this error:

./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
17-Apr 12:06 bacula-dir: ERROR TERMINATION at parse_conf.c:508 Config error:
Could not find config Resource "storage" referenced on
line 32 :   Storage = Drive-0


: line 32, col 19 of file /root/bacula/bin/bacula-dir.conf
  Storage = Drive-0


Looking at that it says that the Storgae = Drive-0 is wrong. Should this be
set to Device = Autochanger? Looking at the configuration it looks like you
can have multiple Device {} sections but the names must be different?

Any help would  be appreciated. If this is explained in the manual than
pointing to that section is fine. 

Thanks in Advance.




John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

"Remember! That light at the end of the tunnel Just might be the headlight
of an oncoming train!"




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





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

RE: [Bacula-users] Newbie Configuration Question

2006-04-17 Thread Robert Nelson
First off I don't think you're allowed to have multiple resources of the
same type with the same name.  So I would either rename one of them or if
you aren't using it just remove it.  The job resource must contain those
directives, either specified in the job resource or inherited from a
JobDefs.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Boris
Sent: Monday, April 17, 2006 10:40 AM
To: bacula-users@lists.sourceforge.net; Robert Nelson
Subject: RE: [Bacula-users] Newbie Configuration Question

OK I see where I made that mistake. I now get the following errors at
startup:

[EMAIL PROTECTED] bin]# ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
17-Apr 13:27 bacula-dir:  Fatal error: "type" directive in Job
"BackupCatalog" resource is required, but not found.
17-Apr 13:27 bacula-dir:  Fatal error: "messages" directive in Job
"BackupCatalog" resource is required, but not found.
17-Apr 13:27 bacula-dir:  Fatal error: "storage" directive in Job
"BackupCatalog" resource is required, but not found.
17-Apr 13:27 bacula-dir:  Fatal error: "pool" directive in Job
"BackupCatalog" resource is required, but not found.
17-Apr 13:27 bacula-dir:  Fatal error: "client" directive in Job
"BackupCatalog" resource is required, but not found.
17-Apr 13:27 bacula-dir ERROR TERMINATION Please correct configuration file:
/root/bacula/bin/bacula-dir.conf

Looking at bacula-dir.conf the BackupCatalog resource is entered twice in my
configuration. The first one was the default that is made at Install and has
the JobDefs set to DefaultJob. I copied this and changed the JobDefs field
to point to MainJob. Is this correct? 

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

"Remember! That light at the end of the tunnel Just might be the headlight
of an oncoming train!"

>>> "Robert Nelson" <[EMAIL PROTECTED]> 04/17/06 12:37 PM >>>
You need to add a storage resource to bacula-dir.conf.

This is the abstraction for a device controlled by a Storage Daemon.

You probably want something like

Storage {
  Name = 
  Address = 
  SDPort = 9103 
  Password = 
  Device = Drive-0
  Media Type = LTO-2
} 






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





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


RE: [Bacula-users] Newbie Configuration Question

2006-04-17 Thread Robert Nelson
Sorry I'm too poor to have an autochanger :-).  Someone else will have to
take over from here.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Boris
Sent: Monday, April 17, 2006 11:27 AM
To: bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] Newbie Configuration Question

Ok. Thanks to Robert and some more RTFM work I was able to start bacula.
I now have a new issue. This is the first time running this so bacula sees
that no Full backup was performed and elevates the differential to a Full.
Here is what I get:

*run
A job name must be specified.
The defined Job resources are:
 1: Client1
 2: Client2
 3: BackupCatalog
 4: RestoreFiles
Select Job resource (1-4): 2
Run Backup job
JobName:  Client2
FileSet:  Full Set
Level:Incremental
Client:   jerome-fd
Storage:  Drive-0
Pool: Default
When: 2006-04-17 14:21:22
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=17
*
17-Apr 14:21 jerome-dir: No prior Full backup Job record found.
17-Apr 14:21 jerome-dir: No prior or suitable Full backup found. Doing FULL
backup.
17-Apr 14:21 jerome-dir: Start Backup JobId 17,
Job=Client2.2006-04-17_14.21.32
17-Apr 14:21 jerome-sd: Job Client2.2006-04-17_14.21.32 waiting. Cannot find
any appendable volumes.
Please use the "label"  command to create a new Volume for:
Storage:  "Drive-0" (/dev/nst1)
Media type:   LTO-2
Pool: Default
*label
The defined Storage resources are:
 1: File
 2: Drive-0
Select Storage resource (1-2): 2
Enter new Volume name: Volume1
Enter slot (0 or Enter for none): 1
Automatically selected Pool: Default
Connecting to Storage daemon Drive-0 at jerome:9103 ...
Sending label command for Volume "Volume1" Slot 1 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 1, drive 0" command.
3305 Autochanger "load slot 1, drive 0", status is OK.
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result is Slot 1.
dev.c:362 dev.c:356 Unable to open device "Drive-0" (/dev/nst1):
ERR=Input/output error
3910 Unable to open device "Drive-0" (/dev/nst1): ERR=dev.c:356 Unable to
open device "Drive-0" (/dev/nst1): ERR=Input/output error

Label command failed for Volume Volume1.
Do not forget to mount the drive!!!


I watched the staus on the Dell-124T and bacula was succesful in loading the
tape from Slot 1 into the drive. So why didn't it label the tape? Since I
have 8 tapes in this magazine do I have to label each tape? 

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

"Remember! That light at the end of the tunnel Just might be the headlight
of an oncoming train!"




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





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


RE: [Bacula-users] case insensitive query

2006-04-21 Thread Robert Nelson
You can also try "select Name from Filename where CAST(Name AS CHAR) =
'makedev';".

On my machine it was somewhat faster than CONVERT.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cedric Tefft
Sent: Wednesday, April 19, 2006 3:33 AM
To: Troy Daniels
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] case insensitive query

Troy Daniels wrote:

> An update to this.
>
> I cant vouch for this exact query - on my system it takes a looonnggg 
> time to finish due to the 2 million plus files recorded and I gave up 
> and canceled it, but the following simplified version worked:
>
> mysql> select Name from Filename where LCASE(Name) = 'makedev';
> +-+
> | Name|
> +-+
> | MAKEDEV |
> +-+
> 1 row in set (1.15 sec)
>
> So I dont understand why it wouldn't work in the other query - but I'm 
> not a MySQL Guru.
>
> I am running MySQL Server 3.23.58 tho which could be the difference I 
> suppose.
>

Hmm... yeah, I tried that, but it didn't work for me, whereas the
CONVERT() strategy does:

mysql> select Name from Filename where LCASE(Name) = 'makedev';
Empty set (1.03 sec)

mysql> select Name from Filename where CONVERT(Name using 
mysql> latin1)='makedev';
+-+
| Name|
+-+
| MAKEDEV |
+-+
1 row in set (1.85 sec)


I am using mysql 5.0.18, though, like you,  I don't know why that should
make a difference.

- Cedric






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


[Bacula-users] Bacula Anonymous CVS Tree on SourceForge

2006-04-26 Thread Robert Nelson




For those of you 
that already know this I apologize for the 
repetition.
 
SourceForge is no 
longer syncing the developer cvs tree to the anonymous one.  The anonymous 
tree is currently out of date (circa 1.38.6).  They hope to have it fixed 
around the end of the month.
 


RE: [Bacula-users] Building windows version from source

2006-04-27 Thread Robert Nelson
You can also use the instructions in README.vc8 if you have Microsoft Visual
Studio 2005.

However you do need to add a couple of additional defines in the
Preprocessor config for baculafd.

_USE_32BIT_TIME_T

If you don't specify it then all messages from bacula-fd show up as
(null) on the director.

WIN32_VSS

This isn't needed unless you want VSS support.  I'm not sure why it
wasn't included before.  According to the readme it was a conscious decision
but the reason isn't given.

_WIN32_WINNT=0x0500

You will have problems building the WIN32_VSS support unless this is
specified.

_CRT_SECURE_NO_DEPRECATE 

This just eliminates a slew of unnecessary warnings.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Wednesday, April 26, 2006 11:20 PM
To: bacula-users@lists.sourceforge.net
Cc: James Harper
Subject: Re: [Bacula-users] Building windows version from source

On Thursday 27 April 2006 07:48, James Harper wrote:
> Are there instructions for building the windows version from source?
>
/src/win32/README.win32

We don't provide support on this because it is simply too complicated.  I
will 
answer simple, well defined questions though.  If you don't strictly follow 
what is documented, it most surely not work (e.g. you need a Windows VC++ 
2003 license).

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Anonymous CVS Tree on SourceForge

2006-05-02 Thread Robert Nelson



For those of you 
that already know this I apologize for repetition.
 
SourceForge is no 
longer syncing the developer cvs tree to the anonymous one.  The anonymous 
tree is currently out of date (circa 1.38.6).  They hope to have it fixed 
around the end of the month.
 


[Bacula-users] Storage Daemon ported to Windows

2006-05-10 Thread Robert Nelson




I've ported the 
Storage Daemon and related tools to Windows.  Tested the tape with btape 
and all tests passed.  WooHoo!!
 
Next I need to get 
the Daemon running as a service and do some more backup / restore 
testing.
 


RE: [Bacula-users] Storage Daemon ported to Windows

2006-05-11 Thread Robert Nelson
It's a native port of 1.38.9 built with Visual Studio 2005.  I haven't
tested files or dvds yet.  Also I don't have a changer so I can't test that.
Since I created an emulation for the ioctl interface defined in mtio.h, it
should be fairly easy to port mtx.

-Original Message-
From: Danie [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 11, 2006 2:08 AM
To: Robert Nelson
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Storage Daemon ported to Windows

Robert Nelson wrote:
> I've ported the Storage Daemon and related tools to Windows.  Tested 
> the tape with btape and all tests passed.  WooHoo!!
>  
> Next I need to get the Daemon running as a service and do some more 
> backup / restore testing.
>  
Hi Robert ,

Congrats on getting it ported! I would like to test it too , if you are 
interested :) . Is it a cygwin port or a native win32 port?

Daniel





---
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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage Daemon ported to Windows

2006-05-16 Thread Robert Nelson



I've ported the 
Storage Daemon and related tools to Windows.  Tested the tape with btape 
and all tests passed.  WooHoo!!
 
Next I need to get 
the Daemon running as a service and do some more backup / restore 
testing.
 


[Bacula-users] Public CVS on SourceForge

2006-05-16 Thread Robert Nelson



It looks like 
SourceForge has resolved the issues with the public CVS.  I just checked 
and it appears it is now up to date.


[Bacula-users] RE: [Bacula-devel] [Fwd: SUBJECT: SourceForge.net: CVS service offering changes]

2006-05-16 Thread Robert Nelson
For those of you not that familiar with sed here are the commands.  

You need to cd to the parent of the directory where you checked out the
bacula module.  

Windows using GNUWin32 with cmd.exe as the shell
find bacula -name CVS -exec sed -ie "s/@cvs\./@bacula.cvs./" {}/Root
^;

*nix or Windows using cygwin
find bacula -name CVS -exec sed -ie "s/@cvs\./@bacula.cvs./" {}/Root
\;

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Tuesday, May 16, 2006 8:42 AM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]; bacula-users@lists.sourceforge.net
Subject: [Bacula-devel] [Fwd: SUBJECT: SourceForge.net: CVS service offering
changes]

Hello,

If you are currently using the CVS, please take a careful look at the
following email from Source Forge.

At the moment, I won't have time to try the CVS until after the 20th, but
I suspect for those of you who are a bit knowledgeable concerning CVS can
find a way to apply the appropriate sed command to the appropriate files
within all the CVS directories in an existing CVS tree, thus avoiding the
requirement to check out a new copy if you don't want 

 Original Message 
Subject: SUBJECT: SourceForge.net: CVS service offering changes
From:"SourceForge.net Team" <[EMAIL PROTECTED]>
Date:Fri, May 12, 2006 2:06 am
To:  [EMAIL PROTECTED]
--

Greetings,

You are receiving this mail because you are a project admin for
a SourceForge.net-hosted project. One of our primary services,
CVS, suffered a series of interrelated, critical hardware failures
in recent weeks. We understand how frustrating this CVS outage
must be to you and your users; however, our top priority remains
preservation of the integrity of your data.

The series of CVS hardware failures prompted us to expedite the
deployment of planed improvements to our CVS infrastructure,
drawing upon much of the knowledge that we gained from our
Subversion deployment. Our improved CVS service architecture,
which we plan to deploy tomorrow afternoon (2006-05-12), will
offer greater performance and stability and will eliminate several
single points of failure.

The Site Status page (https://www.sf.net/docs/A04) will be
updated as soon as the new infrastructure is rolled out. In the
interim, please read the important information provided below
to learn about how these changes will affect your project.


Summary of changes, effective 2006-05-12:


1. Hostname for CVS service

Old: cvs.sourceforge.net

New: PROJECT_UNIX_NAME.cvs.sourceforge.net

This change will require new working copies to be checked out of all
repositories (so control files in the working copy will point to the
right place). We will be updating the instructions we supply, but
instructions that your team has written within documentation, etc. will
need to be updated.

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/gaim co gaim

would be changed to

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/gaim co gaim



2. ViewCVS

We are moving from ViewCVS to its successor, ViewVC. ViewVC is
currently in use for our Subversion service.



3. Sync delay

Old: CVS pserver, tarballs and ViewCVS provided against a separate
server which is a minimum of three hours behind developer CVS.

New: ViewVC will be provided against developer CVS (it will be current).
CVS pserver will be provided against a secondary server (not developer
server) with a maximum expected delay of two hours.

Follow-up work is planned (this infrastructure takes us 80% of the way)
to essentially eliminate the sync delay.



4. Read-only rsync service

As a new service offering, we are now providing read-only rsync access
against developer CVS. This allows projects to efficiently make
on-demand backups of their entire CVS repository.

All projects should be making regular backups of their CVS repository
contents using this service.



5. Nightly tarball service

Nightly tarball service is being dropped in lieu of read-only rsync
service. Projects which currently depend on nightly tarballs for
repository backups will need to begin using rsync to make a backup copy
of their repository contents.

We see this as a major functional improvement. For a number of reasons,
tarballs have fallen out of sync with the data in the repository at
times in the past few years. Tarballs required a substantial amount of
additional disk, and I/O to generate. The move to read-only rsync
allows backups to be produced on-demand, with an update frequency chosen
by the project.



6. Points of failure

In the past, developer CVS service for all projects was provided from a
single host. CVS pserver service was provided from individual backend
heads based on a split of the data.

Under our new design, developer CVS and most of our CVS-related services
are provided from one of ten CVS hosts (count subject to increase with
growth). Each host i

RE: [Bacula-users] tape drive recommendation

2006-05-16 Thread Robert Nelson
Be very wary about Linux and IDE Tape Drives.  I bought a Sony SDX-560 (IDE,
80/208 GB, 12MB/s) for 800 US$.  Unfortunately it would only work using PIO
mode on Linux even though DMA mode worked fine on Windows.  There is a SATA
version of this drive that I haven't tried, but suspect it would work better
than the IDE one.  I ended up buying the SCSI version SDX-550 for about the
same price as the IDE one.  The SCSI one works great but cost me an
additional  100 US$ for a Ultra 160 SCSI card.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mario
Ohnewald
Sent: Saturday, April 29, 2006 10:48 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] tape drive recommendation

Hello List,

i am looking for a cheap IDE Tape drive which holds about 20GB
uncompressed data.

It has to run smoothly with linux/bacula.
Internal or external does not matter.

Could anyone recommend me one?
Do i need to provide more info?

Thanks, Mario



---
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=lnk&kid=120709&bid=263057&dat=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=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  1   2   >