Re: [Bacula-users] Restore more than one client

2006-03-17 Thread Erich Prinz

Mr. Goldim,

Keep it simple.

If you need to separate machines for access control, consider using  
ACL directives in the bacula-dir.conf file and create a catalog for  
each client.


I'll leave it to you to read through the documentation on how to do  
this.


Erich

On Mar 17, 2006, at 8:26 AM, Leonardo dos Santos Goldim wrote:


hy guys,

i have bacula installed and running making backup of two machines  
(Smart08, Smart09), the backup generation is ok.
when i try to restore a backup for Smart09, bacula use the storage  
Smart08, not Smar09. when i restore Smart08, the proccess work fine.


why bacula always use Smart08 storage and not use the storage  
configured for each client?


sorry by the bad english, but y learning yet.

Tks
Goldim


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


[Bacula-users] bacula-web install trick

2006-03-17 Thread Mark Nienberg
I don't know if this is common knowledge or not, but this may help 
someone.  In order to get bacula-web running on Fedora Core 4, and I 
assume on any system using PHP 5, do the following:



Download and untar bacula-web from
http://indpnday.com/bacula_stuff/bacula-web/mantisbt/main_page.php

Let's say you put it in /var/www/html/bacula-web

cd /var/www/html/bacula-web/external_packages
mv phplot/ phplot.old

now download the latest phplot from
http://sourceforge.net/projects/phplot

untar it into the bacula-web/external_packages directory being sure the 
directory is named phplot


Make sure everything you just installed is readable by the httpd user. 
See your httpd.conf for the user and group.


chmod -R apache.apache /var/www/html/bacula-web

See the bacula-web documentation for help with other problems you might 
run into.


Mark Nienberg



---
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] Unable to restore windows files.

2006-03-17 Thread Erik P. Olsen
This operation was a test to see that I could restore some windows files I had 
recently backed up. Bacula version is 1.38.5 and the windows ditto 1.38.4.


The files which I had backed up were 8 image file named 
D:\Images\Poloskade\DSC_00??.JPG with ?? as placeholders for different digits. 
The restore job gave following result (I am only showing the error message for 
one of the files, it is similar for the rest):


*restore client=epowork-fd select current all done yes
Automatically selected FileSet: W2K Set
+---+---+--+---+-++---+
| JobId | Level | JobFiles | JobBytes  | StartTime   | VolumeName | 
StartFile |

+---+---+--+---+-++---+
|54 | F |9 | 9,435,247 | 2006-03-16 16:35:27 | bacula01   | 
   25 |

+---+---+--+---+-++---+
You have selected the following JobId: 54

Building directory tree for JobId 54 ...
1 Job, 9 files inserted into the tree and marked for extraction.
Bootstrap records written to 
/etc/bacula/working/epo-dir.restore.*Console*.2006-03-17_21.02.01.bsr


The job will require the following Volumes:

   bacula01


9 files selected to be restored.

Job started. JobId=59
*
17-Mar 21:27 epo-dir: Start Restore Job RestoreFiles.2006-03-17_21.27.32
*
You have messages.
*
*messages
17-Mar 21:28 epo-sd: Ready to read from volume "bacula01" on device "DDS-4" 
(/dev/nst0).

17-Mar 21:28 epo-sd: Forward spacing to file:block 25:0.
17-Mar 21:32 epowork-fd: RestoreFiles.2006-03-17_21.27.32 Error: Cannot create 
directory /tmp/bacula-restores/D/\Images\Poloskade: ERR=No error
17-Mar 21:32 epowork-fd: RestoreFiles.2006-03-17_21.27.32 Error: 
c:\cygwin\home\kern\bacula\k\src\win32\findlib\../../findlib/create_file.c:241 
Could not create /tmp/bacula-restores/D/\Images\Poloskade/DSC_0031.JPG: ERR=The 
system cannot find the path specified.


17-Mar 21:30 epo-sd: End of Volume at file 25 on device "DDS-4" (/dev/nst0), 
Volume "bacula01"

17-Mar 21:30 epo-sd: End of all volumes.
17-Mar 21:32 epowork-fd: RestoreFiles.2006-03-17_21.27.32 Error: Cannot create 
directory /tmp/bacula-restores/D/\Images\Poloskade: ERR=No error
17-Mar 21:30 epo-dir: RestoreFiles.2006-03-17_21.27.32 Error: Bacula 1.38.5 
(18Jan06): 17-Mar-2006 21:30:15

  JobId:  59
  Job:RestoreFiles.2006-03-17_21.27.32
  Client: epowork-fd
  Start time: 17-Mar-2006 21:27:34
  End time:   17-Mar-2006 21:30:15
  Files Expected: 9
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  9
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Restore Error ***

17-Mar 21:30 epo-dir: Begin pruning Jobs.
17-Mar 21:30 epo-dir: No Jobs found to prune.
17-Mar 21:30 epo-dir: Begin pruning Files.
17-Mar 21:30 epo-dir: No Files found to prune.
17-Mar 21:30 epo-dir: End auto prune.

Reading the manual I find that I have to create the D directory because the 
restore process cannot do it by it self (strange, how come? It can create all 
sorts of other directories at least when restoring linux files). So I have 
created the D directory but to no avail. Can it be due to the strange 
nomenclature with slashes both ways?


Please, can someone shed some light on this?
Thanks in advance.

--
Regards,
Erik P. Olsen.



---
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: where is bacula-web?

2006-03-17 Thread Mark Nienberg

Barry Benowitz wrote:

Mark,

Bacula-web is separate. There is a pointer for it somewhere in the docs
but I forget where. It's a pretty neat package.


Thanks.  Google turned up the website to download from.
Mark



---
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] Strange Question during Restore.

2006-03-17 Thread Erik P. Olsen

Erik P. Olsen wrote:
What am I supposed to answer to the question in the attached message 
box? It poped up during restore of files just backed up from a windows 
client. Nothing in the back-up process indicated any failure. It 
reported 9 files and 9,436,595 bytes written by the Storage Daemon. I 
assume the tape is OK - but how about the database? Is there a way to 
verify/repair the database?


I was using wx-console for the restore operation and if I enter a null string to 
this peculiar question I get a segmentation fault, so I assume it is nothing but 
a bug.


--
Regards,
Erik P. Olsen


---
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] where is bacula-web?

2006-03-17 Thread Barry Benowitz
Mark,

Bacula-web is separate. There is a pointer for it somewhere in the docs
but I forget where. It's a pretty neat package.

Regards,

Barry


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Nienberg
Sent: Friday, March 17, 2006 2:48 PM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] where is bacula-web?

I'd like to try out the bacula-web interface.  I installed my bacula by 
rebuilding the src rpms.  I see bacula-web documentation files but I 
don't see the php web pages themselves.  Is this a separate download or 
am I missing it?  Or maybe I was supposed to enable something in the 
configure?

Thanks,
Mark



---
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&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] where is bacula-web?

2006-03-17 Thread Mark Nienberg
I'd like to try out the bacula-web interface.  I installed my bacula by 
rebuilding the src rpms.  I see bacula-web documentation files but I 
don't see the php web pages themselves.  Is this a separate download or 
am I missing it?  Or maybe I was supposed to enable something in the 
configure?


Thanks,
Mark



---
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] New user Question about GUI Interface

2006-03-17 Thread John Boris
I am evaluating Bacula and would like to know if the enable-gnome option
is required. Does the GNOME interface make this package easier to
configure and maintain? The problem I have is my Fedora Core 3 Server
was installed without X Windows and I haven't found any sort of docs
that explains how to install it after the fact. So should I install X
Windows on my server or not?

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


[Bacula-users] More on the IBM Ultrium 3851 L28

2006-03-17 Thread Simone Piccardi
Hi,
after some troubles I got this changer working.

The most of the trouble was to figure that this model doesnt have a SCSI
interface to the changer. So I had to write a custom mtx-changer script
using netcat to have the tapes changed via the telnet interface of the
device.

The script is quite rough (I'm not a shell programmer, nor an expert),
and tested just on a total of one (1) working environment. So I'm not
sure if it will work for other people, but up to now is working nice for me.

In any case you can find it for download here:
https://svn.truelite.it/truedoc/attachment/wiki/BaculaBackup/mtx-changer?rev=&format=raw

I hope it can be useful for someone else. I put it under the GPL, so you
can freely use, modify and improve it. I cannot find a copyright notice
on the standard I got from my system, so I put in it just my name, feel
free to add the other authors to it.

Bye
Simone
-- 
Simone Piccardi Truelite Srl
[EMAIL PROTECTED] (email/jabber) Via Monferrato, 6
Tel. +39-347-103243350142 Firenze
http://www.truelite.it  Tel. +39-055-7879597Fax. +39-055-736


---
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] Restore more than one client

2006-03-17 Thread Leonardo dos Santos Goldim

hy guys,

i have bacula installed and running making backup of two machines 
(Smart08, Smart09), the backup generation is ok.
when i try to restore a backup for Smart09, bacula use the storage 
Smart08, not Smar09. when i restore Smart08, the proccess work fine.


why bacula always use Smart08 storage and not use the storage configured 
for each client?


sorry by the bad english, but y learning yet.

Tks
Goldim


---
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] Volume Use Duration

2006-03-17 Thread Ralf Gross
Beren said:

> I've got a Volume Use Duration of 23h on my pool, but for some reason
> bacula (1.38.5) marks it as used after only a couple of hours after it
> starts backing up.

Have there been volumes in that pool before you added the 'Volume Use
Duration' parameter? If so, you have to update the volume paramters.

Ralf



---
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] Database Corrupt?

2006-03-17 Thread Frank Sweetser
On Fri, Mar 17, 2006 at 11:01:00AM +0200, Danie Theron wrote:
> 17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: 
> sql_create.c:851 sql_create.c:851 insert INSERT INTO Filename (Name) 
> VALUES ('Copy of phone list new .xls') failed:
> Incorrect key file for table: 'Filename'. Try to repair it

> Is it possible that my database can be corrupt?

Almost certain, given that the database server asked you to run a repair
on the tables.  Assuming you're running MySQL, you can get directions on
how to do so at

http://dev.mysql.com/doc/refman/4.1/en/repair-table.html

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Network Engineer  |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC


---
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] tape writing error in bacula

2006-03-17 Thread david robert
thanks for your reply i have checked the thread and i am using 2.4.27-2-686-smp kernel and is there any other solution and in my syslog i am getting the following error messages     Mar 17 00:10:23 localhost kernel: scsi0:0:6:0: Device is active, asserting ATNMar 17 00:10:23 localhost kernel: Recovery code sleepingMar 17 00:10:28 localhost kernel: Recovery code awakeMar 17 00:10:28 localhost kernel: Timer ExpiredMar 17 00:10:28 localhost kernel: aic7xxx_abort returns 0x2003Mar 17 00:10:28 localhost kernel: scsi0:0:6:0: Attempting to queue a TARGET RESET messageMar 17 00:10:28 localhost kernel: CDB: 0xa 0x0 0x0 0xfc 0x0 0x0Mar 17 00:10:28 localhost kernel: aic7xxx_dev_reset returns 0x2003Mar 17 00:10:28 localhost kernel: Recovery SCB completesMar 17 00:10:33 localhost kernel: scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 6 lun 0Mar 17 00:10:33 loc
 alhost
 kernel: st0: Error 1 (sugg. bt 0x0, driver bt 0x0, host bt 0x1).  thanks  Wolfgang Denk <[EMAIL PROTECTED]> wrote:  In message <[EMAIL PROTECTED]> you wrote:> > I am getting the tape writing error when i schedule the job my tape drive is detecting and it is fine.Is this on Linux?> Error message as follows> > 16-Mar 00:10 cool-dir: Created new FileSet record "Full Set" 2006-03-16 00:10:03> 16-Mar 00:10 cool-dir: Start Backup JobId 1, Job=NightlySave.2006-03-16_00.10.00> 16-Mar 00:10 cool-sd: Wrote label to prelabeled Volume "Wednesday" on device "/dev/nst0"> 16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Error: block.c:552 Write error at 0:1706 on device /dev/nst0. ERR=Input/output error.> 16-
 Mar
 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Error: Error writing final EOF to tape. This tape may not be readable.> dev.c:1213 ioctl MTWEOF error on /dev/nst0. ERR=No such device or address.> 16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Fatal error: Fatal device error: ERR=dev.c:639 ioctl MTIOCGET error on /dev/nst0. ERR=No such device or address.> 16-Mar 00:10 cool-fd: NightlySave.2006-03-16_00.10.00 Fatal error: backup.c:477 Network send error 32768 to SD. ERR=Broken pipeThe symptoms look very much to what I've been expeiencing lately -see my message "Strange SCSI problems" of March 13 on this list.Check your system logs if you see any error messages there; lookespecially for messages like these: "sense key Unit Attention","Additional sense: Power on, reset, or bus device reset occurred".Best regards,Wolfgang Denk-- Software Engineering: Embedded and Realtime Systems, Embedded
 LinuxPhone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]"I haven't lost my mind - it's backed up on tape somewhere."---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory!http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642___Bacula-users mailing listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
		Win a BlackBerry device from O2 with Yahoo!. Enter now.

[Bacula-users] Volume Use Duration

2006-03-17 Thread Beren
Hi Everyone,

I've got a Volume Use Duration of 23h on my pool, but for some reason
bacula (1.38.5) marks it as used after only a couple of hours after it
starts backing up.

Any ideas?

Cheers,

Beren


---
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&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Too early End Of Medium

2006-03-17 Thread Michael 'buk' Scherer
Thanks for your help Wolfgang but as it seems, the solution was much simpler.

I did the tests with our "backup" tape-library and they worked fine.
Ok, tape drive broken, I changed them and it works.

I dunno why but I threw a cleaning tape into the new library just to clean the 
head before the weekend and thought about the old (replaced) library.
The library has 6 slots, one of them holds a cleaning tape and the library is 
configured to clean itself whenever it needs it.

Mh, doesn't seem to have worked.
I cleaned the replaced tapedrive and *BINGO* works again.

Right, time to check the automagic cleaning thingy ;)

Greetings and a nice weekend to all of you.

Michael

On Fri, 17 Mar 2006 - 11:01am, Wolfgang Denk wrote:

>In message <[EMAIL PROTECTED]> you wrote:
>>
>...
>> What the hell is that?
>...
>> >Running Bacula 1.38.5 on Linux.
>
>The Linux SCSI tape device driver has default settings which cause  a
>lot  of  problems  whenever  you  try to run multivolume backups. For
>details please see "man 4 st".
>
>Most critical options are:  MT_ST_BUFFER_WRITES,  MT_ST_ASYNC_WRITES,
>MT_ST_READ_AHEAD.  Especially  the combination of MT_ST_BUFFER_WRITES
>and MT_ST_ASYNC_WRITES prevents any way to  reliably  handle  end  of
>tape conditions.
>
>Try if it helps to turn off all these options by issuing the command:
>"mt -f /dev/nst0 rewind ; mt -f /dev/nst0 stoptions 0" after mounting
>a tape; if this is an autoloader device, add these commands  to  your
>mtx-changer script after loading a tape.
>
>Best regards,
>
>Wolfgang Denk
>
>


-- 
  I love deadlines, especially the sound they make as they go whooshing by.



---
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] tape writing error in bacula

2006-03-17 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote:
>
>   I am getting the tape writing error when i schedule the job my tape drive 
> is detecting and it is fine.

Is this on Linux?

>   Error message as follows
>
>   16-Mar 00:10 cool-dir: Created new FileSet record "Full Set" 2006-03-16 
> 00:10:03
> 16-Mar 00:10 cool-dir: Start Backup JobId 1, 
> Job=NightlySave.2006-03-16_00.10.00
> 16-Mar 00:10 cool-sd: Wrote label to prelabeled Volume "Wednesday" on device 
> "/dev/nst0"
> 16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Error: block.c:552 
> Write error at 0:1706 on device /dev/nst0. ERR=Input/output error.
> 16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Error: Error writing 
> final EOF to tape. This tape may not be readable.
> dev.c:1213 ioctl MTWEOF error on /dev/nst0. ERR=No such device or address.
> 16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Fatal error: Fatal 
> device error: ERR=dev.c:639 ioctl MTIOCGET error on /dev/nst0. ERR=No such 
> device or address.
>   16-Mar 00:10 cool-fd: NightlySave.2006-03-16_00.10.00 Fatal error: 
> backup.c:477 Network send error 32768 to SD. ERR=Broken pipe

The symptoms look very much to what I've been  expeiencing  lately  -
see my message "Strange SCSI problems" of March 13 on this list.

Check your system logs if you see  any  error  messages  there;  look
especially  for  messages  like  these:  "sense  key Unit Attention",
"Additional sense: Power on, reset, or bus device reset occurred".


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
"I haven't lost my mind - it's backed up on tape somewhere."


---
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&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Too early End Of Medium

2006-03-17 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote:
>
...
> What the hell is that?
...
> >Running Bacula 1.38.5 on Linux.

The Linux SCSI tape device driver has default settings which cause  a
lot  of  problems  whenever  you  try to run multivolume backups. For
details please see "man 4 st".

Most critical options are:  MT_ST_BUFFER_WRITES,  MT_ST_ASYNC_WRITES,
MT_ST_READ_AHEAD.  Especially  the combination of MT_ST_BUFFER_WRITES
and MT_ST_ASYNC_WRITES prevents any way to  reliably  handle  end  of
tape conditions.

Try if it helps to turn off all these options by issuing the command:
"mt -f /dev/nst0 rewind ; mt -f /dev/nst0 stoptions 0" after mounting
a tape; if this is an autoloader device, add these commands  to  your
mtx-changer script after loading a tape.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
It is your destiny. - Darth Vader


---
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&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RE: [Bacula-users] DDS-4 Tape Low Capacity

2006-03-17 Thread Jens R . Victorin
Check if you have a "Maximum Volume Bytes" directive in your DIR.conf file or a 
"Maximum Volume Size" directive in your SD.conf file limiting the amount of 
data written to tape.

/Jens

> Dear All,
> 
>  
> 
> I hope someone can shed some light on this.
> 
>  
> 
> I have a Seagate DDS-4 drive (Osprey I think). I have TDK catridges that
> claim to be 20/40GB (I guess the upper figure is with hardware data
> compression). However, in use with Bacula and also when used with "fill" on
> btape, I get a maximum of about 1,200,000,000 bytes written on each tape
> before it reckons the tape is full. I was expecting to get about 20 times as
> much data on a tape.
> 
>  
> 
> Has anyone any ideas?
> 
>  
> 
> Many thanks
> 
>  
> 
> Catsmuvva (aka Nicole)
> 
>  
> 
> 
>


---
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&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Some kind of backup quota

2006-03-17 Thread Tom Fischer
Hi Ryan,

On Thu, 16 Mar 2006 21:17:53 -0500
Ryan Novosielski <[EMAIL PROTECTED]> wrote:

> There IS a problem with this idea, and that is that assuming you're 
> writing to the same volume each time, if the whole volume recycles,
> this  is probably going to be a problem because you will have NO old
> backups  ever. Although, I guess what you're attempting to do is keep
> very quick  backups, more like a trash or a versioning system than a
> backup for  someone over time.

No, the 5min Schedule is only for testing to simulate a complete week
:-) 

Regards

Tom


---
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] Some kind of backup quota

2006-03-17 Thread Tom Fischer
Hi Kern,

On Fri, 17 Mar 2006 07:55:21 +0100
Kern Sibbald <[EMAIL PROTECTED]> wrote:

> If you are using Bacula 1.38.5, you *could* implement such a feature
> on a  Volume basis by implementing the NewVolume method in Python,
> then consult the  database to see how much has been backed up for this
> particular job (assuming  you have one job per user).  If it exceeds
> your maximum, you simply cancel  the Job.  Thus I think it is
> possible, but I *highly* recommend against it  since I believe that
> most users will conform to IT requests provided they  have the
> appropriate information -- e.g. a daily warning by email that they 
> are exceeding the backup quota. Also one can apply quotas directly
> through  the OS; impose higher fees for using too much storage,
> publish a list of big  offenders ...  It all depends on your company
> politics ...

Sending the customer a warning Email would be my other solution. And i
think i will implement this instead of some quotas. Would be the best
for all. So the customer have the control over it and it is up to him to
take care of his space.

Thx for your answers

Tom


---
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] Pool problem (can't swim?)

2006-03-17 Thread Ger Apeldoorn
Hi!

I've got a problem with Pools and backing up to a file resource...

The trouble is that although i tell it to backup using the NAS-Files pool, it 
stubbornly inists to backup to the Default pool to which that SD has no 
access. (The NAS is just a big HDD)

This is the STAT from the SD:
%<---
nas-sd Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu debian 
testing/unstable
Daemon started 16-Mar-06 11:25, 1 Job run since started.

Running Jobs:
Writing: Full Backup job job1 JobId=838 Volume=""
pool="Default" device=""FileStorageNAS" (/data/bacula)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6
Writing: Full Backup job job2 JobId=840 Volume=""
pool="Default" device=""FileStorageNAS" (/data/bacula)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=4 fd=8

(%<)


Jobs waiting to reserve a drive:
   3608 JobId=888 wants Pool="NAS-Files" but have Pool="Default" on drive 
"FileStorageNAS" (/data/bacula).
   3607 JobId=888 wants Vol="Volume0002" drive has Vol="" on drive 
"FileStorageNAS" (/data/bacula).


Device status:
Device "FileStorageNAS" (/data/bacula) is not open or does not exist.
Device is BLOCKED waiting for media.

%<---

Here is relevant stuff from my bacula-sd.conf on the NAS:
It is configured to automatically create a new volume for each job.
%<---
Storage { # definition of myself
  Name = bigfilemachine-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = "/var/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

Device {
  Name = FileStorageNAS
  Media Type = File
  Archive Device = /path/bacula
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}
%<---

Here's the directors config:
%<---
JobDefs {
  Name = "DefaultNASJob"
  Type = Backup
  Level = Differential
  Client = minime-fd
  FileSet = "minime"
  Schedule = "WeeklyCycle"
  Storage = FileNAS
  Messages = Standard
  Pool = NAS-Files
  Priority = 10
}

Job {
  Name = "testmachineNAS"
  Client = testmachine-fd
  JobDefs = "DefaultNASJob"
  FileSet = "testmachine"
  Write Bootstrap = "/var/bacula/working/testmachine.bsr"
}

FileSet {
  Name = "testmachine"
  Include {
Options { signature = MD5
  compression=GZIP }
File = /etc
  }
}

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

# Definition of file storage device
Storage {
  Name = FileNAS
  Address = bigfilemachine.whatever.com# N.B. Use a fully 
qualified name here
  SDPort = 9103
  Password = "modified"  
  Device = FileStorageNAS
  Media Type = File
}

Pool {
  Name = NAS-Files
  Maximum Volume Jobs = 1
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle 
Volumes
  AutoPrune = yes # Prune expired volumes
  VolumeRetention = 60 days
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volumes = 100
  LabelFormat = "Volume"
}
%<---

Any help greatly appreciated!!

Many thanks, 
Ger



---
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] DDS-4 Tape Low Capacity

2006-03-17 Thread Nicole King








Dear All,

 

I hope someone can shed some light on this.

 

I have a Seagate DDS-4 drive (Osprey I think). I have TDK
catridges that claim to be 20/40GB (I guess the upper figure is with hardware
data compression). However, in use with Bacula and also when used with “fill”
on btape, I get a maximum of about 1,200,000,000 bytes written on each tape
before it reckons the tape is full. I was expecting to get about 20 times as
much data on a tape.

 

Has anyone any ideas?

 

Many thanks

 

Catsmuvva (aka Nicole)

 








[Bacula-users] tape writing error in bacula

2006-03-17 Thread david robert
Hi Guys,     I am getting the tape writing error when i schedule the job my tape drive is detecting and it is fine.     Error message as follows     16-Mar 00:10 cool-dir: Created new FileSet record "Full Set" 2006-03-16 00:10:0316-Mar 00:10 cool-dir: Start Backup JobId 1, Job=NightlySave.2006-03-16_00.10.0016-Mar 00:10 cool-sd: Wrote label to prelabeled Volume "Wednesday" on device "/dev/nst0"16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Error: block.c:552 Write error at 0:1706 on device /dev/nst0. ERR=Input/output error.16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Error: Error writing final EOF to tape. This tape may not be readable.dev.c:1213 ioctl MTWEOF error on /dev/nst0. ERR=No such device or address.16-Mar 00:10 cool-sd: NightlySave.2006-03-16_00.10.00 Fatal error: Fatal device error: ERR=dev.c:639 ioctl MTIOCGET error on /dev/nst0. ER
 R=No
 such device or address.  16-Mar 00:10 cool-fd: NightlySave.2006-03-16_00.10.00 Fatal error: backup.c:477 Network send error 32768 to SD. ERR=Broken pipe     Can some one help me how to fix this.     Thanks
		Yahoo! Messenger 
 NEW - crystal clear PC to PC 
calling worldwide with voicemail 


[Bacula-users] Database Corrupt?

2006-03-17 Thread Danie Theron

Hi , I've noticed this morning that my backups are failing , see below :

17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: 
sql_create.c:851 sql_create.c:851 insert INSERT INTO Filename (Name) 
VALUES ('Copy of phone list new .xls') failed:

Incorrect key file for table: 'Filename'. Try to repair it
17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: 
sql_create.c:853 Create db Filename record INSERT INTO Filename (Name) 
VALUES ('Copy of phone list new .xls') failed. ERR=Incorrect key file 
for table: 'Filename'. Try to repair it
17-Mar 10:42 venus-dir: apollousers.2006-03-17_09.29.35 Fatal error: 
catreq.c:371 Attribute create error. sql_create.c:853 Create db Filename 
record INSERT INTO Filename (Name) VALUES ('Copy of phone list new 
.xls') failed. ERR=Incorrect key file for table: 'Filename'. Try to 
repair it



Is it possible that my database can be corrupt?

TIA

Daniel


---
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] Too early End Of Medium

2006-03-17 Thread Michael 'buk' Scherer
Running btape test 

*test
[...]
btape: btape.c:795 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:469 Wrote 1 EOF to "TapeStorage" (/dev/nst0)
btape: btape.c:811 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:469 Wrote 1 EOF to "TapeStorage" (/dev/nst0)
btape: btape.c:820 Rewind OK.
Got EOF on tape.
btape: btape.c:832 Read block 496 failed! ERR=Success
*

What the hell is that?
I'm pretty sure that everything worked perfectly.
Is there any new/old settings I'm missing?

Greetings,
 Michael


On Fri, 17 Mar 2006 - 9:19am, Michael 'buk' Scherer wrote:

>Good morning.
>
>Running Bacula 1.38.5 on Linux.
>
>I just tried to bextract all files from a tape.
>To process started, recovered some files, got to the end of the first block 
>and 
>thought it was at the end of tape.
>
>Mmmmh.
>
>Ok, next try with 'bls' to list all tapes 
>17-Mar 09:15 bls: Got EOF at file 1  on device "TapeStorage" (/dev/nst0), 
>Volume "D01170"
>17-Mar 09:15 bls: End of Volume at file 1 on device "TapeStorage" (/dev/nst0), 
>Volume "D01170"
>17-Mar 09:15 bls: End of all volumes.
>
>There are ~140GB saved on that tape, how do I make Bacula to go over the EOF 
>and read all data from the tape?
>
>This is an IBM LTO1 drive 'ULT3580'.
>
>Greetings, 
> Michael
>
>PS: Storage-Daemon-Config:
> 54 Device {   
>   
>
> 55 Name= TapeStorage  
>   
>
> 56 Drive Index = 0
>   
>
> 57 AutoChanger = yes  
>   
>
> 58 Media Type  = LTO  
>   
>
> 59 #Archive Device = /dev/tape
>   
>
> 60 Archive Device  = /dev/nst0
>   
>
> 61 LabelMedia  = yes  
>   
>
> 62 RandomAccess= no   
>   
>
> 63 AutomaticMount  = yes  
>   
>
> 64 RemovableMedia  = yes  
>   
>
> 65 AlwaysOpen  = no   
>   
>
> 66 Spool Directory = /u01/tmp/spool   
>   
>
> 67 Maximum Spool Size  = 20G  
>   
>
> 68 Maximum Open Wait   = 30 seconds   
>   
>
> 69 } 
>
>
>


-- 
  I love deadlines, especially the sound they make as they go whooshing by.



---
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] Too early End Of Medium

2006-03-17 Thread Michael 'buk' Scherer
Good morning.

Running Bacula 1.38.5 on Linux.

I just tried to bextract all files from a tape.
To process started, recovered some files, got to the end of the first block and 
thought it was at the end of tape.

Mmmmh.

Ok, next try with 'bls' to list all tapes 
17-Mar 09:15 bls: Got EOF at file 1  on device "TapeStorage" (/dev/nst0), 
Volume "D01170"
17-Mar 09:15 bls: End of Volume at file 1 on device "TapeStorage" (/dev/nst0), 
Volume "D01170"
17-Mar 09:15 bls: End of all volumes.

There are ~140GB saved on that tape, how do I make Bacula to go over the EOF 
and read all data from the tape?

This is an IBM LTO1 drive 'ULT3580'.

Greetings, 
 Michael

PS: Storage-Daemon-Config:
 54 Device {


 55 Name= TapeStorage   


 56 Drive Index = 0 


 57 AutoChanger = yes   


 58 Media Type  = LTO   


 59 #Archive Device = /dev/tape 


 60 Archive Device  = /dev/nst0 


 61 LabelMedia  = yes   


 62 RandomAccess= no


 63 AutomaticMount  = yes   


 64 RemovableMedia  = yes   


 65 AlwaysOpen  = no


 66 Spool Directory = /u01/tmp/spool


 67 Maximum Spool Size  = 20G   


 68 Maximum Open Wait   = 30 seconds


 69 } 


-- 
  I love deadlines, especially the sound they make as they go whooshing by.



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