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

2007-03-27 Thread Rex Wheeler
Here are some btape commands and the output:

C:\Program Files\Bacula\binbtape -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: Backspace record at EOT failed.
ERR=Input/output error
btape: ../../stored/label.c:374 Bad Label write on DLT-7000 (Tape0):
ERR=../../stored/dev.c:1545 ioctl MTBSR error on
DLT-7000 (Tape0). ERR=Input/output error.

Wrote Volume label for volume test.
*readlabel
btape: ../../stored/label.c:81 Enter read_volume_label res=0
device=DLT-7000 (Tape0) vol= dev_Vol=*NULL*
btape: ../../stored/label.c:104 Leave read_volume_label() VOL_OK
btape: ../../stored/btape.c:419 Volume label read correctly.

Volume Label:
Id: VerNo : 0
VolName   :
PrevVolName   :
VolFile   : 0
LabelType : Unknown 0
LabelSize : 0
PoolName  :
MediaType :
PoolType  :
HostName  :
Date label written: -4712-01-01 at 00:00
*

 -Original Message-
 From: Robert Nelson [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 26, 2007 10:36 PM
 To: Rex Wheeler; bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] 

Re: [Bacula-users] Strange ERROR on successful backup

2007-03-27 Thread Ralf Gross
[EMAIL PROTECTED] schrieb:
 I already read about that and the Heartbeat Interval has already been
 setup and changed to 90 seconds. I have Heartbeat setup on both the SD and
 the FD of this server. I actually had to setup the Heartbeat to handle a
 different problem with the backup. The Heartbeat solved that problem but
 then caused/showed this problem. I did attach the trace file. I'm not sure
 why you didn't see it.

I can see the attached bacula-sd.trace file, so at least it reached the
list.

Ralf

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Freebsd and bacula-web

2007-03-27 Thread RYAN M. vAN GINNEKEN


Hello all i am back have been tring to set up a new Freebsd box with bacula-web 
port but haveing permission problems please help.  Web Page keep giving me the 
you do not have permission to access / error See below for some details 

[EMAIL PROTECTED] /usr/local/www/bacula-web]# uname -a 
FreeBSD backup1.computerking.ca 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Mar 18 
16:54:21 MST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KING1   i386 

[EMAIL PROTECTED] /usr/local/www/bacula-web]# pear list 
Installed packages, channel pear.php.net: 
= 
Package  Version State 
Archive_Tar  1.3.2   stable 
Console_Getopt   1.2.1   stable 
DB   1.7.9   stable 
PEAR 1.5.0   stable 
Structures_Graph 1.0.2   stable 


Here are the permissions !! i tried changing everthing to 777 but that had no 
effect!! I have added a vhost to the apache server pionting to the correct 
document root but still get errors please help.  test.php does not work either! 

[EMAIL PROTECTED] /usr/local/www]# ls -l 
total 4 
drwxr-xr-x  6 root  wheel   512 Mar 21 18:04 apache22 
drwxr-xr-x  8 www   www    1024 Mar 27 00:41 bacula-web 


[EMAIL PROTECTED] /usr/local/www/bacula-web]# ls -l 
total 136 
-rw-r--r--  1 www  www 47 Mar 27 00:41 CONTACT 
-rw-r--r--  1 www  www  15145 Mar 27 00:41 COPYING 
-rw-r--r--  1 www  www   1475 Mar 27 00:41 ChangeLog 
-rw-r--r--  1 www  www   1987 Mar 27 00:41 README 
-rw-r--r--  1 www  www    598 Mar 27 00:41 TODO 
-rw-r--r--  1 www  www    337 Mar 27 00:41 array_fill.func.php 
-rw-r--r--  1 www  www  24031 Mar 27 00:41 classes.inc 
-rw-r--r--  1 www  www  24020 Mar 27 00:41 classes.inc.orig 
drwxr-xr-x  5 www  www    512 Mar 27 00:41 external_packages 
drwxr-xr-x  2 www  www    512 Mar 27 00:41 images 
-rw-r--r--  1 www  www   8796 Mar 27 00:41 index.php 
-rw-r--r--  1 www  www   8695 Mar 27 00:41 index.php.orig 
drwxr-xr-x  3 www  www    512 Mar 27 00:41 js 
-rw-r--r--  1 www  www   1677 Mar 27 00:41 lang.php 
drwxr-xr-x  7 www  www    512 Mar 27 00:41 locale 
-rw-r--r--  1 www  www   3283 Mar 27 00:41 messages.po 
-rw-r--r--  1 www  www    411 Mar 27 00:41 paths.php 
-rw-r--r--  1 www  www   4363 Mar 27 00:41 report.php 
-rw-r--r--  1 www  www   4340 Mar 27 00:41 report.php.orig 
-rw-r--r--  1 www  www   2648 Mar 27 00:41 stats.php 
drwxr-xr-x  2 www  www    512 Mar 27 00:41 templates 
drwxr-xr-x  2 www  www    512 Mar 27 00:41 templates_c 
-rw-r--r--  1 www  www   1343 Mar 27 00:41 test.php 
-rwxr-xr-x  1 www  www   3492 Mar 27 00:41 tsmarty2c.php 



-- 
Computer King  CaN Mail  -  Sales Service Hosting Backup 

http://www.computerking.ca http://www.canmail.org 

NEW!!! Custom Service Packages 
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages 
 

-
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.phpp=sourceforgeCID=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-27 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\binbtape -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: Backspace record at EOT failed.
 ERR=Input/output error
 btape: ../../stored/label.c:374 Bad Label write on DLT-7000 (Tape0):
 ERR=../../stored/dev.c:1545 ioctl MTBSR error on
 DLT-7000 (Tape0). ERR=Input/output error.
 
 Wrote Volume label for volume test.
 *readlabel
 btape: ../../stored/label.c:81 Enter read_volume_label res=0
 device=DLT-7000 (Tape0) vol= dev_Vol=*NULL*
 btape: ../../stored/label.c:104 Leave read_volume_label() VOL_OK
 btape: ../../stored/btape.c:419 Volume label read correctly.
 
 Volume Label:
 Id: VerNo : 0
 VolName   :
 

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

2007-03-27 Thread Rex Wheeler

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.phpp=sourceforgeCID=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-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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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-27 Thread Rex Wheeler
You are correct. I fixed it and as you suspected, it is not connected to
my problem. 

Nothing in the event logs.

I do assume, however, that since folks responded to my post, that this
(tape drives on windows) is supposed to work...

 -Original Message-
 From: Robert Nelson [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 27, 2007 1:09 AM
 To: Rex Wheeler; bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Should tapes drives on windows work?
 
 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.phpp=sourceforgeCID=DEVDE
V
  ___
  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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing catalog name...

2007-03-27 Thread Jaime Ventura
Thanks Kern for your reply.
According to your instructions, seems like you are explaining how to 
change the database name, right?
Where I say to the catalog's name, Im referring to the catalog 
resource name and not the database name itself.

I mean, for example, change from:

Catalog {
  Name = MyCatalog
  dbname = bacula; user = bacula; password = X
}
to:
Catalog {
  Name = CatalogForSERVERS
  dbname = bacula; user = bacula; password = X
}

Thanks, once again,
   Jaime

Kern Sibbald wrote:
 On Monday 26 March 2007 20:49, Jaime Ventura wrote:
   
 Hello,
 Is there a safe way to change a catalog's name?
  Can I simply change it on the config files or its also mentioned on 
 the database itself?
 

 First backup the database before doing anything.

 I cannot reply for PostgreSQL, but for SQLite, you simply change the name of 
 the database file.  For MySQL, you change the name of the directory that 
 holds the database files, and you must also grant access to the users that 
 will access the new name.

 For both, you must also change the name in the bacula-dir.conf Catalog 
 resource entry.

 For PostgreSQL, you will need to find a PostgreSQL expert, or simply export 
 the database such as Bacula does when it backs it up, create a new one by 
 modifying the appropriate scripts and running them, then feeding the export 
 file back into PostgreSQL, and then making sure users have access rights to 
 the new name.  This would also work with MySQL and SQLite and is a more 
 conservative (but slower) way of doing the change.

   
 Thanks
 -- 



  


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

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

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

  




 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   


-- 



 


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

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

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






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job resume

2007-03-27 Thread Alan Brown
On Mon, 26 Mar 2007, Joseph Wright wrote:

 A useful feature would be to halt a job and then resume it, for when
 restarting bacula.  In fact I think it should happen
 by default that if a job gets cut off for some reason, such as a
 network timeout, it should be possible to resume
 later and only explicitly cancel a job.  Reloading the config is said
 to have unforeseen side effects, and if I have
 backups continuously running it means I have to cancel jobs in order
 to restart.  For a site running lots of backups
 around the clock, this could well be a showstopper.

Make the reload a higher or lower priority admin job than the backups, 
depending on your needs. That way you can ensure nothing else is running 
when it happens.


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and HP MSL2024 autochanger

2007-03-27 Thread Alan Brown
On Mon, 26 Mar 2007, John Goerzen wrote:

 Not really.  It works with mtx just fine.  I think I maybe added a
 couple of sleep statements into the changer script because the robot
 wasn't ready to accept new commands immediately with mtx returned, but I
 haven't tested it with current mtx/drivers so it may or may not still be
 a problem.

My experience with HP MSL units (They are rebranded Overland Data Neo 
units - see www.overlanddata.com ) is that MTX statements will stack

The problem is waiting for tapes to load after the robot has finished its 
load command and the fastest way to deal with this is to change sleep 
commands to wait_for_drive.

The sleep time given is a little optimistic - my experience is that it 
takes about 17 seconds to load a LTO2 tape. DLTs are likely to be a little 
slower.

Look in /etc/bacula/mtx-changer for these lines:

#
# Increase the sleep time if you have a slow device
# or remove the sleep and add the following:
# wait_for_drive $device
   sleep 15
   exit $rtn
   ;;

Comment the sleep line, uncomment wait_for_drive


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] sporadic backups of laptops etc?

2007-03-27 Thread Stephan Mueller
Hi, 

i read about the quick disconnect feature of bacula 2.0.3 in the release
notes and wondered: how do you handle backups of notebooks and other
computers on a not so regulary basis?

I want to give my users a simple tool à la back me up! which triggers
the backup for the defined fileset and sends the user an email when the
backup is complete and the user can disconnect from the network.

My approach would be to control the backup via console and some command
line scripting, etc. But if there is better way to do stuff like this,
please let me know. Maybe i can do the same via python? 


Cheers,

Steph.

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing catalog name...

2007-03-27 Thread Kern Sibbald
On Tuesday 27 March 2007 11:40, Jaime Ventura wrote:
 Thanks Kern for your reply.
 According to your instructions, seems like you are explaining how to 
 change the database name, right?

Yes

 Where I say to the catalog's name, Im referring to the catalog 
 resource name and not the database name itself.

OK, I speak of that as the name of the Catalog resource.

You simply change the name everywhere it appears, then restart the Director, 
or optionally use the reload command.



 
 I mean, for example, change from:
 
 Catalog {
   Name = MyCatalog
   dbname = bacula; user = bacula; password = X
 }
 to:
 Catalog {
   Name = CatalogForSERVERS
   dbname = bacula; user = bacula; password = X
 }
 
 Thanks, once again,
Jaime
 
 Kern Sibbald wrote:
  On Monday 26 March 2007 20:49, Jaime Ventura wrote:

  Hello,
  Is there a safe way to change a catalog's name?
   Can I simply change it on the config files or its also mentioned on 
  the database itself?
  
 
  First backup the database before doing anything.
 
  I cannot reply for PostgreSQL, but for SQLite, you simply change the name 
of 
  the database file.  For MySQL, you change the name of the directory that 
  holds the database files, and you must also grant access to the users that 
  will access the new name.
 
  For both, you must also change the name in the bacula-dir.conf Catalog 
  resource entry.
 
  For PostgreSQL, you will need to find a PostgreSQL expert, or simply 
export 
  the database such as Bacula does when it backs it up, create a new one by 
  modifying the appropriate scripts and running them, then feeding the 
export 
  file back into PostgreSQL, and then making sure users have access rights 
to 
  the new name.  This would also work with MySQL and SQLite and is a more 
  conservative (but slower) way of doing the change.
 

  Thanks
  -- 
 
 
 
   
 
 
  Jaime Ventura
  [Infra-estruturas e Comunicações]
 
  Rua Dr. António Bernardino de Almeida, 431
  4200 - 072 Porto
  Telef: +351 22 834 05 00 (04) - ext. 1641
  Fax: +351 22 832 11 59
 
  e-mail:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  url:   www.isep.ipp.pt http://www.isep.ipp.pt 
 
 
 
 
 
 
  -
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 

 
 
 -- 
 
 
 
  
 
 
 Jaime Ventura
 [Infra-estruturas e Comunicações]
 
 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59
 
 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt 
 
   
 
 
 

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing catalog name...

2007-03-27 Thread Jaime Ventura
Sorry for my previous errorious explanation and thanks for you reply.

Kern Sibbald wrote:
 On Tuesday 27 March 2007 11:40, Jaime Ventura wrote:
   
 Thanks Kern for your reply.
 According to your instructions, seems like you are explaining how to 
 change the database name, right?
 

 Yes

   
 Where I say to the catalog's name, Im referring to the catalog 
 resource name and not the database name itself.
 

 OK, I speak of that as the name of the Catalog resource.

 You simply change the name everywhere it appears, then restart the Director, 
 or optionally use the reload command.



   
 I mean, for example, change from:

 Catalog {
   Name = MyCatalog
   dbname = bacula; user = bacula; password = X
 }
 to:
 Catalog {
   Name = CatalogForSERVERS
   dbname = bacula; user = bacula; password = X
 }

 Thanks, once again,
Jaime

 Kern Sibbald wrote:
 
 On Monday 26 March 2007 20:49, Jaime Ventura wrote:
   
   
 Hello,
 Is there a safe way to change a catalog's name?
  Can I simply change it on the config files or its also mentioned on 
 the database itself?
 
 
 First backup the database before doing anything.

 I cannot reply for PostgreSQL, but for SQLite, you simply change the name 
   
 of 
   
 the database file.  For MySQL, you change the name of the directory that 
 holds the database files, and you must also grant access to the users that 
 will access the new name.

 For both, you must also change the name in the bacula-dir.conf Catalog 
 resource entry.

 For PostgreSQL, you will need to find a PostgreSQL expert, or simply 
   
 export 
   
 the database such as Bacula does when it backs it up, create a new one by 
 modifying the appropriate scripts and running them, then feeding the 
   
 export 
   
 file back into PostgreSQL, and then making sure users have access rights 
   
 to 
   
 the new name.  This would also work with MySQL and SQLite and is a more 
 conservative (but slower) way of doing the change.

   
   
 Thanks
 -- 



  


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

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

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






 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   
   
 -- 



  


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

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

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

  



 

   


-- 



 


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

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

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






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing catalog name...

2007-03-27 Thread Martin Simmons
 On Tue, 27 Mar 2007 11:24:23 +, Jaime Ventura said:
 
 Sorry for my previous errorious explanation and thanks for you reply.

Don't forget the various catalog maintenance scripts too.

__Martin


 
 Kern Sibbald wrote:
  On Tuesday 27 March 2007 11:40, Jaime Ventura wrote:

  Thanks Kern for your reply.
  According to your instructions, seems like you are explaining how to 
  change the database name, right?
  
 
  Yes
 

  Where I say to the catalog's name, Im referring to the catalog 
  resource name and not the database name itself.
  
 
  OK, I speak of that as the name of the Catalog resource.
 
  You simply change the name everywhere it appears, then restart the 
  Director, 
  or optionally use the reload command.
 
 
 

  I mean, for example, change from:
 
  Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = X
  }
  to:
  Catalog {
Name = CatalogForSERVERS
dbname = bacula; user = bacula; password = X
  }
 
  Thanks, once again,
 Jaime
 
  Kern Sibbald wrote:
  
  On Monday 26 March 2007 20:49, Jaime Ventura wrote:


  Hello,
  Is there a safe way to change a catalog's name?
   Can I simply change it on the config files or its also mentioned on 
  the database itself?
  
  
  First backup the database before doing anything.
 
  I cannot reply for PostgreSQL, but for SQLite, you simply change the name 

  of 

  the database file.  For MySQL, you change the name of the directory that 
  holds the database files, and you must also grant access to the users 
  that 
  will access the new name.
 
  For both, you must also change the name in the bacula-dir.conf Catalog 
  resource entry.
 
  For PostgreSQL, you will need to find a PostgreSQL expert, or simply 

  export 

  the database such as Bacula does when it backs it up, create a new one by 
  modifying the appropriate scripts and running them, then feeding the 

  export 

  file back into PostgreSQL, and then making sure users have access rights 

  to 

  the new name.  This would also work with MySQL and SQLite and is a more 
  conservative (but slower) way of doing the change.
 


  Thanks
  -- 
 
 
 
   
 
 
  Jaime Ventura
  [Infra-estruturas e Comunicações]
 
  Rua Dr. António Bernardino de Almeida, 431
  4200 - 072 Porto
  Telef: +351 22 834 05 00 (04) - ext. 1641
  Fax: +351 22 832 11 59
 
  e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  url: www.isep.ipp.pt http://www.isep.ipp.pt 
 
   
 
 
 
 
  -
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 


  -- 
 
 
 
   
 
 
  Jaime Ventura
  [Infra-estruturas e Comunicações]
 
  Rua Dr. António Bernardino de Almeida, 431
  4200 - 072 Porto
  Telef: +351 22 834 05 00 (04) - ext. 1641
  Fax: +351 22 832 11 59
 
  e-mail:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  url:   www.isep.ipp.pt http://www.isep.ipp.pt 
 
 
 
 
 
  
 

 
 
 -- 
 
 
 
  
 
 
 Jaime Ventura
 [Infra-estruturas e Comunicações]
 
 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59
 
 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt 
 
   
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 


Re: [Bacula-users] Install-problems with OpenSUSE 10.2

2007-03-27 Thread Jerome Massano

Hello

Please also excuse me for my English, I 'm French and my English lessons are
also lying years behind me ^^

I have installed bacula on an OpenSuSE 10.2 just a week ago. As I had to
install it on vary various systems, I installed it from the sources, and it
installed with no problem at all. I would suggest you to use this way of
install.

2007/3/26, Ulrich Walter [EMAIL PROTECTED]:


Hello,

At first, please be lenient toward me, I'm German and my English lessons
in
school are lying some years behind me.

Now, my problem as named in the subject:

My aim is to use a bacula-sytem to backup a Windows 2003 Server and some
WinXP
machines.
I tried to install the bacula-2.0.3-1.src.rpm on a machine with OpenSuSE
10.2
as OS. The command on the console was:

rpmbuild --rebuild \
--define build_su102 1 \
--define build_sqlite 1 \
bacula-2.0.3-1.src.rpm

The result is:

error: cannot open build_sqlite 1: No such file or directory


The packages sqlite and sqlite2 form the distribution-dvd are installed.

Please help me find the right way to install...


Greetings from Duisburg, Germany


Uli

-
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re : Re : Re : Re : Re : Windows::Permission denied

2007-03-27 Thread Brian Debelius
Ok, you are now beyond my experience.  Can someone help with fixing his 
EOF error?

26-Mar 18:35 btape: End of Volume TestVolume1 at 148:13128 on device 
HPStorag
eTape0 (Tape0). Write of 64512 bytes got -1.
26-Mar 18:35 btape: btape Error: Error writing final EOF to tape. This 
Volume ma
y not be readable.
../../stored/dev.c:1688 ioctl MTWEOF error on HPStorageTape0 (Tape0). 
ERR=Inpu
t/output error.

brian-

[EMAIL PROTECTED] wrote:
 Ok ! done ! :-) this is what I could get from the command prompt :: 
 (after some long time)

 Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488 
 rate=13848.6 K
 B/s
 Wrote blk_block=105, dev_blk_num=10500 VolBytes=67,737,535,488 
 rate=13857.9
 KB/s
 Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488 
 rate=13867.2
 KB/s
 17:54:54 Flush block, write EOF
 Wrote blk_block=106, dev_blk_num=4000 VolBytes=68,382,655,488 
 rate=13845.4 K
 B/s
 Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=107, dev_blk_num=14000 VolBytes=69,027,775,488 
 rate=13863.8
 KB/s
 Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488 
 rate=13845.1 K
 B/s
 Wrote blk_block=108, dev_blk_num=8500 VolBytes=69,672,895,488 
 rate=13854.2 K
 B/s
 Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488 
 rate=13863.2
 KB/s
 17:57:23 Flush block, write EOF
 Wrote blk_block=109, dev_blk_num=2000 VolBytes=70,318,015,488 
 rate=13842.1 K
 B/s
 Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488 
 rate=13851.1 K
 B/s
 Wrote blk_block=110, dev_blk_num=12000 VolBytes=70,963,135,488 
 rate=13860.0
 KB/s
 Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488 
 rate=13855.3 K
 B/s
 Wrote blk_block=111, dev_blk_num=6500 VolBytes=71,608,255,488 
 rate=13850.7 K
 B/s
 Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488 
 rate=13859.5
 KB/s
 Wrote blk_block=112, dev_blk_num=1000 VolBytes=72,253,375,488 
 rate=13854.9 K
 B/s
 17:59:52 Flush block, write EOF
 Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488 
 rate=13847.7 K
 B/s
 Wrote blk_block=113, dev_blk_num=1 VolBytes=72,898,495,488 
 rate=13856.4
 KB/s
 Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488 
 rate=13865.0
 KB/s
 Wrote blk_block=114, dev_blk_num=4500 VolBytes=73,543,615,488 
 rate=13860.5 K
 B/s
 Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=115, dev_blk_num=14500 VolBytes=74,188,735,488 
 rate=13864.5
 KB/s
 18:02:21 Flush block, write EOF
 Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488 
 rate=13844.5 K
 B/s
 Wrote blk_block=116, dev_blk_num=8000 VolBytes=74,833,855,488 
 rate=13853.0 K
 B/s
 Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488 
 rate=13861.4
 KB/s
 Wrote blk_block=117, dev_blk_num=2500 VolBytes=75,478,975,488 
 rate=13857.0 K
 B/s
 Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488 
 rate=13852.6 K
 B/s
 Wrote blk_block=118, dev_blk_num=12500 VolBytes=76,124,095,488 
 rate=13858.4
 KB/s
 18:04:51 Flush block, write EOF
 Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488 
 rate=13841.5 K
 B/s
 Wrote blk_block=119, dev_blk_num=6000 VolBytes=76,769,215,488 
 rate=13849.8 K
 B/s
 Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488 
 rate=13858.0
 KB/s
 Wrote blk_block=120, dev_blk_num=500 VolBytes=77,414,335,488 
 rate=13861.1 KB
 /s
 Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488 
 rate=13861.8 K
 B/s
 Wrote blk_block=121, dev_blk_num=10500 VolBytes=78,059,455,488 
 rate=13857.5
 KB/s
 Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488 
 rate=13865.6
 KB/s
 18:07:20 Flush block, write EOF
 Wrote blk_block=122, dev_blk_num=4000 VolBytes=78,704,575,488 
 rate=13846.7 K
 B/s
 Wrote blk_block=1225000, dev_blk_num=9000 VolBytes=79,027,135,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=123, dev_blk_num=14000 VolBytes=79,349,695,488 
 rate=13862.6
 KB/s
 Wrote blk_block=1235000, dev_blk_num=3500 VolBytes=79,672,255,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=124, dev_blk_num=8500 VolBytes=79,994,815,488 
 rate=13863.9 K
 B/s
 Wrote blk_block=1245000, dev_blk_num=13500 VolBytes=80,317,375,488 
 rate=13859.8
 KB/s
 18:09:49 Flush block, write EOF
 Wrote blk_block=125, dev_blk_num=2000 VolBytes=80,639,935,488 
 rate=13843.8 K
 B/s
 Wrote blk_block=1255000, dev_blk_num=7000 VolBytes=80,962,495,488 
 rate=13851.6 K
 B/s
 Wrote blk_block=126, dev_blk_num=12000 VolBytes=81,285,055,488 
 rate=13859.3
 KB/s
 Wrote blk_block=1265000, dev_blk_num=1500 VolBytes=81,607,615,488 
 rate=13852.9 K
 B/s
 Wrote blk_block=127, dev_blk_num=6500 VolBytes=81,930,175,488 
 rate=13860.6 K
 B/s
 Wrote blk_block=1275000, dev_blk_num=11500 VolBytes=82,252,735,488 
 rate=13868.3
 KB/s
 Wrote blk_block=128, dev_blk_num=1000 

[Bacula-users] Re : Re : Re : Re : Re : Re : Windows::Permission denied

2007-03-27 Thread spouynt
Is it that blocking ? I think that with this kind of error bacula will start 
the Job and fail while trying to finish it (because it's an I/O error) but my 
bacula dont start writing the jobs ! it always say that there is an error and 
stop without spending any time in writing files... :-( !

Thank you so much Brian for you precious help !

- Message d'origine 
De : Brian Debelius [EMAIL PROTECTED]
À : [EMAIL PROTECTED]
Cc : bacula-users@lists.sourceforge.net
Envoyé le : Mardi, 27 Mars 2007, 13h25mn 14s
Objet : Re: Re : Re : Re : Re : [Bacula-users] Re : Windows::Permission denied

Ok, you are now beyond my experience.  Can someone help with fixing his 
EOF error?

26-Mar 18:35 btape: End of Volume TestVolume1 at 148:13128 on device 
HPStorag
eTape0 (Tape0). Write of 64512 bytes got -1.
26-Mar 18:35 btape: btape Error: Error writing final EOF to tape. This 
Volume ma
y not be readable.
../../stored/dev.c:1688 ioctl MTWEOF error on HPStorageTape0 (Tape0). 
ERR=Inpu
t/output error.

brian-

[EMAIL PROTECTED] wrote:
 Ok ! done ! :-) this is what I could get from the command prompt :: 
 (after some long time)

 Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488 
 rate=13848.6 K
 B/s
 Wrote blk_block=105, dev_blk_num=10500 VolBytes=67,737,535,488 
 rate=13857.9
 KB/s
 Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488 
 rate=13867.2
 KB/s
 17:54:54 Flush block, write EOF
 Wrote blk_block=106, dev_blk_num=4000 VolBytes=68,382,655,488 
 rate=13845.4 K
 B/s
 Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=107, dev_blk_num=14000 VolBytes=69,027,775,488 
 rate=13863.8
 KB/s
 Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488 
 rate=13845.1 K
 B/s
 Wrote blk_block=108, dev_blk_num=8500 VolBytes=69,672,895,488 
 rate=13854.2 K
 B/s
 Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488 
 rate=13863.2
 KB/s
 17:57:23 Flush block, write EOF
 Wrote blk_block=109, dev_blk_num=2000 VolBytes=70,318,015,488 
 rate=13842.1 K
 B/s
 Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488 
 rate=13851.1 K
 B/s
 Wrote blk_block=110, dev_blk_num=12000 VolBytes=70,963,135,488 
 rate=13860.0
 KB/s
 Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488 
 rate=13855.3 K
 B/s
 Wrote blk_block=111, dev_blk_num=6500 VolBytes=71,608,255,488 
 rate=13850.7 K
 B/s
 Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488 
 rate=13859.5
 KB/s
 Wrote blk_block=112, dev_blk_num=1000 VolBytes=72,253,375,488 
 rate=13854.9 K
 B/s
 17:59:52 Flush block, write EOF
 Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488 
 rate=13847.7 K
 B/s
 Wrote blk_block=113, dev_blk_num=1 VolBytes=72,898,495,488 
 rate=13856.4
 KB/s
 Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488 
 rate=13865.0
 KB/s
 Wrote blk_block=114, dev_blk_num=4500 VolBytes=73,543,615,488 
 rate=13860.5 K
 B/s
 Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=115, dev_blk_num=14500 VolBytes=74,188,735,488 
 rate=13864.5
 KB/s
 18:02:21 Flush block, write EOF
 Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488 
 rate=13844.5 K
 B/s
 Wrote blk_block=116, dev_blk_num=8000 VolBytes=74,833,855,488 
 rate=13853.0 K
 B/s
 Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488 
 rate=13861.4
 KB/s
 Wrote blk_block=117, dev_blk_num=2500 VolBytes=75,478,975,488 
 rate=13857.0 K
 B/s
 Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488 
 rate=13852.6 K
 B/s
 Wrote blk_block=118, dev_blk_num=12500 VolBytes=76,124,095,488 
 rate=13858.4
 KB/s
 18:04:51 Flush block, write EOF
 Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488 
 rate=13841.5 K
 B/s
 Wrote blk_block=119, dev_blk_num=6000 VolBytes=76,769,215,488 
 rate=13849.8 K
 B/s
 Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488 
 rate=13858.0
 KB/s
 Wrote blk_block=120, dev_blk_num=500 VolBytes=77,414,335,488 
 rate=13861.1 KB
 /s
 Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488 
 rate=13861.8 K
 B/s
 Wrote blk_block=121, dev_blk_num=10500 VolBytes=78,059,455,488 
 rate=13857.5
 KB/s
 Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488 
 rate=13865.6
 KB/s
 18:07:20 Flush block, write EOF
 Wrote blk_block=122, dev_blk_num=4000 VolBytes=78,704,575,488 
 rate=13846.7 K
 B/s
 Wrote blk_block=1225000, dev_blk_num=9000 VolBytes=79,027,135,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=123, dev_blk_num=14000 VolBytes=79,349,695,488 
 rate=13862.6
 KB/s
 Wrote blk_block=1235000, dev_blk_num=3500 VolBytes=79,672,255,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=124, dev_blk_num=8500 VolBytes=79,994,815,488 
 rate=13863.9 K
 B/s
 Wrote blk_block=1245000, dev_blk_num=13500 VolBytes=80,317,375,488 
 rate=13859.8
 KB/s
 18:09:49 Flush 

[Bacula-users] Re : Re : Windows::Permission denied

2007-03-27 Thread Brian Debelius
You are not to the point to start backing up files yet.  This needs to 
be fixed first.


[EMAIL PROTECTED] wrote:
 Is it that blocking ? I think that with this kind of error bacula will start 
 the Job and fail while trying to finish it (because it's an I/O error) but my 
 bacula dont start writing the jobs ! it always say that there is an error and 
 stop without spending any time in writing files... :-( !

 Thank you so much Brian for you precious help !

 - Message d'origine 
 De : Brian Debelius [EMAIL PROTECTED]
 À : [EMAIL PROTECTED]
 Cc : bacula-users@lists.sourceforge.net
 Envoyé le : Mardi, 27 Mars 2007, 13h25mn 14s
 Objet : Re: Re : Re : Re : Re : [Bacula-users] Re : Windows::Permission denied

 Ok, you are now beyond my experience.  Can someone help with fixing his 
 EOF error?

 26-Mar 18:35 btape: End of Volume TestVolume1 at 148:13128 on device 
 HPStorag
 eTape0 (Tape0). Write of 64512 bytes got -1.
 26-Mar 18:35 btape: btape Error: Error writing final EOF to tape. This 
 Volume ma
 y not be readable.
 ../../stored/dev.c:1688 ioctl MTWEOF error on HPStorageTape0 (Tape0). 
 ERR=Inpu
 t/output error.

 brian-

 [EMAIL PROTECTED] wrote:
   
 Ok ! done ! :-) this is what I could get from the command prompt :: 
 (after some long time)

 Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488 
 rate=13848.6 K
 B/s
 Wrote blk_block=105, dev_blk_num=10500 VolBytes=67,737,535,488 
 rate=13857.9
 KB/s
 Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488 
 rate=13867.2
 KB/s
 17:54:54 Flush block, write EOF
 Wrote blk_block=106, dev_blk_num=4000 VolBytes=68,382,655,488 
 rate=13845.4 K
 B/s
 Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=107, dev_blk_num=14000 VolBytes=69,027,775,488 
 rate=13863.8
 KB/s
 Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488 
 rate=13845.1 K
 B/s
 Wrote blk_block=108, dev_blk_num=8500 VolBytes=69,672,895,488 
 rate=13854.2 K
 B/s
 Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488 
 rate=13863.2
 KB/s
 17:57:23 Flush block, write EOF
 Wrote blk_block=109, dev_blk_num=2000 VolBytes=70,318,015,488 
 rate=13842.1 K
 B/s
 Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488 
 rate=13851.1 K
 B/s
 Wrote blk_block=110, dev_blk_num=12000 VolBytes=70,963,135,488 
 rate=13860.0
 KB/s
 Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488 
 rate=13855.3 K
 B/s
 Wrote blk_block=111, dev_blk_num=6500 VolBytes=71,608,255,488 
 rate=13850.7 K
 B/s
 Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488 
 rate=13859.5
 KB/s
 Wrote blk_block=112, dev_blk_num=1000 VolBytes=72,253,375,488 
 rate=13854.9 K
 B/s
 17:59:52 Flush block, write EOF
 Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488 
 rate=13847.7 K
 B/s
 Wrote blk_block=113, dev_blk_num=1 VolBytes=72,898,495,488 
 rate=13856.4
 KB/s
 Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488 
 rate=13865.0
 KB/s
 Wrote blk_block=114, dev_blk_num=4500 VolBytes=73,543,615,488 
 rate=13860.5 K
 B/s
 Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=115, dev_blk_num=14500 VolBytes=74,188,735,488 
 rate=13864.5
 KB/s
 18:02:21 Flush block, write EOF
 Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488 
 rate=13844.5 K
 B/s
 Wrote blk_block=116, dev_blk_num=8000 VolBytes=74,833,855,488 
 rate=13853.0 K
 B/s
 Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488 
 rate=13861.4
 KB/s
 Wrote blk_block=117, dev_blk_num=2500 VolBytes=75,478,975,488 
 rate=13857.0 K
 B/s
 Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488 
 rate=13852.6 K
 B/s
 Wrote blk_block=118, dev_blk_num=12500 VolBytes=76,124,095,488 
 rate=13858.4
 KB/s
 18:04:51 Flush block, write EOF
 Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488 
 rate=13841.5 K
 B/s
 Wrote blk_block=119, dev_blk_num=6000 VolBytes=76,769,215,488 
 rate=13849.8 K
 B/s
 Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488 
 rate=13858.0
 KB/s
 Wrote blk_block=120, dev_blk_num=500 VolBytes=77,414,335,488 
 rate=13861.1 KB
 /s
 Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488 
 rate=13861.8 K
 B/s
 Wrote blk_block=121, dev_blk_num=10500 VolBytes=78,059,455,488 
 rate=13857.5
 KB/s
 Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488 
 rate=13865.6
 KB/s
 18:07:20 Flush block, write EOF
 Wrote blk_block=122, dev_blk_num=4000 VolBytes=78,704,575,488 
 rate=13846.7 K
 B/s
 Wrote blk_block=1225000, dev_blk_num=9000 VolBytes=79,027,135,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=123, dev_blk_num=14000 VolBytes=79,349,695,488 
 rate=13862.6
 KB/s
 Wrote blk_block=1235000, dev_blk_num=3500 VolBytes=79,672,255,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=124, dev_blk_num=8500 

[Bacula-users] Re : Re : Windows::Permission denied

2007-03-27 Thread spouynt
OK doc ! 

I forgot to say that I've chosen the second type of test, the complex one ! so, 
don't you think it could be some hardware problem ?

- Message d'origine 
De : Brian Debelius [EMAIL PROTECTED]
À : [EMAIL PROTECTED]
Cc : bacula-users@lists.sourceforge.net
Envoyé le : Mardi, 27 Mars 2007, 14h15mn 51s
Objet : Re : [Bacula-users] Re : Windows::Permission denied

You are not to the point to start backing up files yet.  This needs to 
be fixed first.


[EMAIL PROTECTED] wrote:
 Is it that blocking ? I think that with this kind of error bacula will start 
 the Job and fail while trying to finish it (because it's an I/O error) but my 
 bacula dont start writing the jobs ! it always say that there is an error and 
 stop without spending any time in writing files... :-( !

 Thank you so much Brian for you precious help !

 - Message d'origine 
 De : Brian Debelius [EMAIL PROTECTED]
 À : [EMAIL PROTECTED]
 Cc : bacula-users@lists.sourceforge.net
 Envoyé le : Mardi, 27 Mars 2007, 13h25mn 14s
 Objet : Re: Re : Re : Re : Re : [Bacula-users] Re : Windows::Permission denied

 Ok, you are now beyond my experience.  Can someone help with fixing his 
 EOF error?

 26-Mar 18:35 btape: End of Volume TestVolume1 at 148:13128 on device 
 HPStorag
 eTape0 (Tape0). Write of 64512 bytes got -1.
 26-Mar 18:35 btape: btape Error: Error writing final EOF to tape. This 
 Volume ma
 y not be readable.
 ../../stored/dev.c:1688 ioctl MTWEOF error on HPStorageTape0 (Tape0). 
 ERR=Inpu
 t/output error.

 brian-

 [EMAIL PROTECTED] wrote:
   
 Ok ! done ! :-) this is what I could get from the command prompt :: 
 (after some long time)

 Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488 
 rate=13848.6 K
 B/s
 Wrote blk_block=105, dev_blk_num=10500 VolBytes=67,737,535,488 
 rate=13857.9
 KB/s
 Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488 
 rate=13867.2
 KB/s
 17:54:54 Flush block, write EOF
 Wrote blk_block=106, dev_blk_num=4000 VolBytes=68,382,655,488 
 rate=13845.4 K
 B/s
 Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488 
 rate=13854.7 K
 B/s
 Wrote blk_block=107, dev_blk_num=14000 VolBytes=69,027,775,488 
 rate=13863.8
 KB/s
 Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488 
 rate=13845.1 K
 B/s
 Wrote blk_block=108, dev_blk_num=8500 VolBytes=69,672,895,488 
 rate=13854.2 K
 B/s
 Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488 
 rate=13863.2
 KB/s
 17:57:23 Flush block, write EOF
 Wrote blk_block=109, dev_blk_num=2000 VolBytes=70,318,015,488 
 rate=13842.1 K
 B/s
 Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488 
 rate=13851.1 K
 B/s
 Wrote blk_block=110, dev_blk_num=12000 VolBytes=70,963,135,488 
 rate=13860.0
 KB/s
 Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488 
 rate=13855.3 K
 B/s
 Wrote blk_block=111, dev_blk_num=6500 VolBytes=71,608,255,488 
 rate=13850.7 K
 B/s
 Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488 
 rate=13859.5
 KB/s
 Wrote blk_block=112, dev_blk_num=1000 VolBytes=72,253,375,488 
 rate=13854.9 K
 B/s
 17:59:52 Flush block, write EOF
 Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488 
 rate=13847.7 K
 B/s
 Wrote blk_block=113, dev_blk_num=1 VolBytes=72,898,495,488 
 rate=13856.4
 KB/s
 Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488 
 rate=13865.0
 KB/s
 Wrote blk_block=114, dev_blk_num=4500 VolBytes=73,543,615,488 
 rate=13860.5 K
 B/s
 Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488 
 rate=13856.0 K
 B/s
 Wrote blk_block=115, dev_blk_num=14500 VolBytes=74,188,735,488 
 rate=13864.5
 KB/s
 18:02:21 Flush block, write EOF
 Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488 
 rate=13844.5 K
 B/s
 Wrote blk_block=116, dev_blk_num=8000 VolBytes=74,833,855,488 
 rate=13853.0 K
 B/s
 Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488 
 rate=13861.4
 KB/s
 Wrote blk_block=117, dev_blk_num=2500 VolBytes=75,478,975,488 
 rate=13857.0 K
 B/s
 Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488 
 rate=13852.6 K
 B/s
 Wrote blk_block=118, dev_blk_num=12500 VolBytes=76,124,095,488 
 rate=13858.4
 KB/s
 18:04:51 Flush block, write EOF
 Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488 
 rate=13841.5 K
 B/s
 Wrote blk_block=119, dev_blk_num=6000 VolBytes=76,769,215,488 
 rate=13849.8 K
 B/s
 Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488 
 rate=13858.0
 KB/s
 Wrote blk_block=120, dev_blk_num=500 VolBytes=77,414,335,488 
 rate=13861.1 KB
 /s
 Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488 
 rate=13861.8 K
 B/s
 Wrote blk_block=121, dev_blk_num=10500 VolBytes=78,059,455,488 
 rate=13857.5
 KB/s
 Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488 
 rate=13865.6
 KB/s
 18:07:20 Flush block, write EOF
 Wrote blk_block=122, 

Re: [Bacula-users] Re : Re : Re : Re : Re : Windows::Permission denied

2007-03-27 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Look for errors in that output. The one I saw is the inability to write
to /tmp/btape.state or something like that. I'd say you need to make
this not error before you try to do other things.

=R

[EMAIL PROTECTED] wrote:
 Ok ! done ! :-) this is what I could get from the command prompt ::
 (after some long time)
 
 Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488
 rate=13848.6 K
 B/s
 Wrote blk_block=105, dev_blk_num=10500 VolBytes=67,737,535,488
 rate=13857.9
 KB/s
 Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488
 rate=13867.2
 KB/s
 17:54:54 Flush block, write EOF
 Wrote blk_block=106, dev_blk_num=4000 VolBytes=68,382,655,488
 rate=13845.4 K
 B/s
 Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488
 rate=13854.7 K
 B/s
 Wrote blk_block=107, dev_blk_num=14000 VolBytes=69,027,775,488
 rate=13863.8
 KB/s
 Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488
 rate=13845.1 K
 B/s
 Wrote blk_block=108, dev_blk_num=8500 VolBytes=69,672,895,488
 rate=13854.2 K
 B/s
 Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488
 rate=13863.2
 KB/s
 17:57:23 Flush block, write EOF
 Wrote blk_block=109, dev_blk_num=2000 VolBytes=70,318,015,488
 rate=13842.1 K
 B/s
 Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488
 rate=13851.1 K
 B/s
 Wrote blk_block=110, dev_blk_num=12000 VolBytes=70,963,135,488
 rate=13860.0
 KB/s
 Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488
 rate=13855.3 K
 B/s
 Wrote blk_block=111, dev_blk_num=6500 VolBytes=71,608,255,488
 rate=13850.7 K
 B/s
 Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488
 rate=13859.5
 KB/s
 Wrote blk_block=112, dev_blk_num=1000 VolBytes=72,253,375,488
 rate=13854.9 K
 B/s
 17:59:52 Flush block, write EOF
 Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488
 rate=13847.7 K
 B/s
 Wrote blk_block=113, dev_blk_num=1 VolBytes=72,898,495,488
 rate=13856.4
 KB/s
 Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488
 rate=13865.0
 KB/s
 Wrote blk_block=114, dev_blk_num=4500 VolBytes=73,543,615,488
 rate=13860.5 K
 B/s
 Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488
 rate=13856.0 K
 B/s
 Wrote blk_block=115, dev_blk_num=14500 VolBytes=74,188,735,488
 rate=13864.5
 KB/s
 18:02:21 Flush block, write EOF
 Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488
 rate=13844.5 K
 B/s
 Wrote blk_block=116, dev_blk_num=8000 VolBytes=74,833,855,488
 rate=13853.0 K
 B/s
 Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488
 rate=13861.4
 KB/s
 Wrote blk_block=117, dev_blk_num=2500 VolBytes=75,478,975,488
 rate=13857.0 K
 B/s
 Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488
 rate=13852.6 K
 B/s
 Wrote blk_block=118, dev_blk_num=12500 VolBytes=76,124,095,488
 rate=13858.4
 KB/s
 18:04:51 Flush block, write EOF
 Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488
 rate=13841.5 K
 B/s
 Wrote blk_block=119, dev_blk_num=6000 VolBytes=76,769,215,488
 rate=13849.8 K
 B/s
 Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488
 rate=13858.0
 KB/s
 Wrote blk_block=120, dev_blk_num=500 VolBytes=77,414,335,488
 rate=13861.1 KB
 /s
 Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488
 rate=13861.8 K
 B/s
 Wrote blk_block=121, dev_blk_num=10500 VolBytes=78,059,455,488
 rate=13857.5
 KB/s
 Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488
 rate=13865.6
 KB/s
 18:07:20 Flush block, write EOF
 Wrote blk_block=122, dev_blk_num=4000 VolBytes=78,704,575,488
 rate=13846.7 K
 B/s
 Wrote blk_block=1225000, dev_blk_num=9000 VolBytes=79,027,135,488
 rate=13854.7 K
 B/s
 Wrote blk_block=123, dev_blk_num=14000 VolBytes=79,349,695,488
 rate=13862.6
 KB/s
 Wrote blk_block=1235000, dev_blk_num=3500 VolBytes=79,672,255,488
 rate=13856.0 K
 B/s
 Wrote blk_block=124, dev_blk_num=8500 VolBytes=79,994,815,488
 rate=13863.9 K
 B/s
 Wrote blk_block=1245000, dev_blk_num=13500 VolBytes=80,317,375,488
 rate=13859.8
 KB/s
 18:09:49 Flush block, write EOF
 Wrote blk_block=125, dev_blk_num=2000 VolBytes=80,639,935,488
 rate=13843.8 K
 B/s
 Wrote blk_block=1255000, dev_blk_num=7000 VolBytes=80,962,495,488
 rate=13851.6 K
 B/s
 Wrote blk_block=126, dev_blk_num=12000 VolBytes=81,285,055,488
 rate=13859.3
 KB/s
 Wrote blk_block=1265000, dev_blk_num=1500 VolBytes=81,607,615,488
 rate=13852.9 K
 B/s
 Wrote blk_block=127, dev_blk_num=6500 VolBytes=81,930,175,488
 rate=13860.6 K
 B/s
 Wrote blk_block=1275000, dev_blk_num=11500 VolBytes=82,252,735,488
 rate=13868.3
 KB/s
 Wrote blk_block=128, dev_blk_num=1000 VolBytes=82,575,295,488
 rate=13852.6 K
 B/s
 18:12:18 Flush block, write EOF
 Wrote blk_block=1285000, dev_blk_num=5000 VolBytes=82,897,855,488
 rate=13848.6 K
 B/s
 Wrote blk_block=129, dev_blk_num=1 

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

2007-03-27 Thread Brian Debelius
What does tapeinfo say?, and try this

mt -f  Tape0 setblk 0

then run btape again.


Rex Wheeler wrote:
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re : Re : Re : Re : Re : Windows::Permission denied

2007-03-27 Thread Brian Debelius
Is that hard coded into btape? /tmp is unix

Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Look for errors in that output. The one I saw is the inability to write
 to /tmp/btape.state or something like that. I'd say you need to make
 this not error before you try to do other things.

 =R

 [EMAIL PROTECTED] wrote:
   
 Ok ! done ! :-) this is what I could get from the command prompt ::
 (after some long time)

 Wrote blk_block=1045000, dev_blk_num=5500 VolBytes=67,414,975,488
 rate=13848.6 K
 B/s
 Wrote blk_block=105, dev_blk_num=10500 VolBytes=67,737,535,488
 rate=13857.9
 KB/s
 Wrote blk_block=1055000, dev_blk_num=15500 VolBytes=68,060,095,488
 rate=13867.2
 KB/s
 17:54:54 Flush block, write EOF
 Wrote blk_block=106, dev_blk_num=4000 VolBytes=68,382,655,488
 rate=13845.4 K
 B/s
 Wrote blk_block=1065000, dev_blk_num=9000 VolBytes=68,705,215,488
 rate=13854.7 K
 B/s
 Wrote blk_block=107, dev_blk_num=14000 VolBytes=69,027,775,488
 rate=13863.8
 KB/s
 Wrote blk_block=1075000, dev_blk_num=3500 VolBytes=69,350,335,488
 rate=13845.1 K
 B/s
 Wrote blk_block=108, dev_blk_num=8500 VolBytes=69,672,895,488
 rate=13854.2 K
 B/s
 Wrote blk_block=1085000, dev_blk_num=13500 VolBytes=69,995,455,488
 rate=13863.2
 KB/s
 17:57:23 Flush block, write EOF
 Wrote blk_block=109, dev_blk_num=2000 VolBytes=70,318,015,488
 rate=13842.1 K
 B/s
 Wrote blk_block=1095000, dev_blk_num=7000 VolBytes=70,640,575,488
 rate=13851.1 K
 B/s
 Wrote blk_block=110, dev_blk_num=12000 VolBytes=70,963,135,488
 rate=13860.0
 KB/s
 Wrote blk_block=1105000, dev_blk_num=1500 VolBytes=71,285,695,488
 rate=13855.3 K
 B/s
 Wrote blk_block=111, dev_blk_num=6500 VolBytes=71,608,255,488
 rate=13850.7 K
 B/s
 Wrote blk_block=1115000, dev_blk_num=11500 VolBytes=71,930,815,488
 rate=13859.5
 KB/s
 Wrote blk_block=112, dev_blk_num=1000 VolBytes=72,253,375,488
 rate=13854.9 K
 B/s
 17:59:52 Flush block, write EOF
 Wrote blk_block=1125000, dev_blk_num=5000 VolBytes=72,575,935,488
 rate=13847.7 K
 B/s
 Wrote blk_block=113, dev_blk_num=1 VolBytes=72,898,495,488
 rate=13856.4
 KB/s
 Wrote blk_block=1135000, dev_blk_num=15000 VolBytes=73,221,055,488
 rate=13865.0
 KB/s
 Wrote blk_block=114, dev_blk_num=4500 VolBytes=73,543,615,488
 rate=13860.5 K
 B/s
 Wrote blk_block=1145000, dev_blk_num=9500 VolBytes=73,866,175,488
 rate=13856.0 K
 B/s
 Wrote blk_block=115, dev_blk_num=14500 VolBytes=74,188,735,488
 rate=13864.5
 KB/s
 18:02:21 Flush block, write EOF
 Wrote blk_block=1155000, dev_blk_num=3000 VolBytes=74,511,295,488
 rate=13844.5 K
 B/s
 Wrote blk_block=116, dev_blk_num=8000 VolBytes=74,833,855,488
 rate=13853.0 K
 B/s
 Wrote blk_block=1165000, dev_blk_num=13000 VolBytes=75,156,415,488
 rate=13861.4
 KB/s
 Wrote blk_block=117, dev_blk_num=2500 VolBytes=75,478,975,488
 rate=13857.0 K
 B/s
 Wrote blk_block=1175000, dev_blk_num=7500 VolBytes=75,801,535,488
 rate=13852.6 K
 B/s
 Wrote blk_block=118, dev_blk_num=12500 VolBytes=76,124,095,488
 rate=13858.4
 KB/s
 18:04:51 Flush block, write EOF
 Wrote blk_block=1185000, dev_blk_num=1000 VolBytes=76,446,655,488
 rate=13841.5 K
 B/s
 Wrote blk_block=119, dev_blk_num=6000 VolBytes=76,769,215,488
 rate=13849.8 K
 B/s
 Wrote blk_block=1195000, dev_blk_num=11000 VolBytes=77,091,775,488
 rate=13858.0
 KB/s
 Wrote blk_block=120, dev_blk_num=500 VolBytes=77,414,335,488
 rate=13861.1 KB
 /s
 Wrote blk_block=1205000, dev_blk_num=5500 VolBytes=77,736,895,488
 rate=13861.8 K
 B/s
 Wrote blk_block=121, dev_blk_num=10500 VolBytes=78,059,455,488
 rate=13857.5
 KB/s
 Wrote blk_block=1215000, dev_blk_num=15500 VolBytes=78,382,015,488
 rate=13865.6
 KB/s
 18:07:20 Flush block, write EOF
 Wrote blk_block=122, dev_blk_num=4000 VolBytes=78,704,575,488
 rate=13846.7 K
 B/s
 Wrote blk_block=1225000, dev_blk_num=9000 VolBytes=79,027,135,488
 rate=13854.7 K
 B/s
 Wrote blk_block=123, dev_blk_num=14000 VolBytes=79,349,695,488
 rate=13862.6
 KB/s
 Wrote blk_block=1235000, dev_blk_num=3500 VolBytes=79,672,255,488
 rate=13856.0 K
 B/s
 Wrote blk_block=124, dev_blk_num=8500 VolBytes=79,994,815,488
 rate=13863.9 K
 B/s
 Wrote blk_block=1245000, dev_blk_num=13500 VolBytes=80,317,375,488
 rate=13859.8
 KB/s
 18:09:49 Flush block, write EOF
 Wrote blk_block=125, dev_blk_num=2000 VolBytes=80,639,935,488
 rate=13843.8 K
 B/s
 Wrote blk_block=1255000, dev_blk_num=7000 VolBytes=80,962,495,488
 rate=13851.6 K
 B/s
 Wrote blk_block=126, dev_blk_num=12000 VolBytes=81,285,055,488
 rate=13859.3
 KB/s
 Wrote blk_block=1265000, dev_blk_num=1500 VolBytes=81,607,615,488
 rate=13852.9 K
 B/s
 Wrote blk_block=127, dev_blk_num=6500 VolBytes=81,930,175,488
 rate=13860.6 K
 B/s
 Wrote blk_block=1275000, dev_blk_num=11500 VolBytes=82,252,735,488
 rate=13868.3
 KB/s
 Wrote blk_block=128, dev_blk_num=1000 VolBytes=82,575,295,488
 rate=13852.6 K
 B/s
 18:12:18 Flush block, write EOF
 Wrote blk_block=1285000, dev_blk_num=5000 VolBytes=82,897,855,488
 

Re: [Bacula-users] Tape Full Error when tape is not full

2007-03-27 Thread Lonny Selinger
 Any syslog or OS console messages?

There wasn't for a while but when I tried to erase the tape again I did see
some messages in dmesg that pointed me to either the drive or the tape. I was
using a density code of 0x84 (35G Uncompressed with 0 byte/variable block
size) and the messages indicated a parity error:

st0: Failed to read 65532 byte block with 64512 byte transfer.
st0: Failed to read 65532 byte block with 64512 byte transfer.
st0: Error with sense data: Info fld=0xfc00, Current st0: sense key Aborted
Command
Additional sense: Scsi parity error
st0: Error with sense data: Info fld=0xfc00, Current st0: sense key Aborted
Command
Additional sense: Scsi parity error
st0: Error with sense data: Info fld=0xfc00, Current st0: sense key Aborted
Command
Additional sense: Scsi parity error

I loaded a different tape and set the density to 0x1b (just 35G) and relabled
the tape etc . everything worked fine. So basically Bacula was performing
as it should and listed the tape as full when the drive and tape seemed to
report they could no longer be written to. It just took a bit of monkeying
around to find out what was te cause (read/write error, hardware, controler,
whatever).

Turns out it was the flippn media ... at least DLT tapes are cheap /sarcasm
 :(

Thanks for all the help everyone!!!
--
Lonny
-- 
To mess up a Linux box, you need to work at it; to mess up your Windows box,
you just need to work ON it.


-
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.phpp=sourceforgeCID=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-27 Thread Rex Wheeler
It appears that setting the block size to 0 corrected the problem.
Thanks!

Is this something that I will have to do with each backup job, each
reboot of the operating system, or each power cycle of the tape drive?

Is there a place in the bacula configuration that I can get bacula to
issue the mt command for me so I don't have to worry about it?

Thanks,

Rex

(Here is the tape info you requested, although probably moot at this
point:)

C:\Program Files\Bacula\bintapeinfo -f Tape0
Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'DLT7000 '
Revision: '296D'
Attached Changer API: No
SerialNumber: 'CX730S2150'
MinBlock:2
MaxBlock:16777214
SCSI ID: 0
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x85
Density Code: 0x1b
BlockSize: 0
DataCompEnabled: no
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x10
DeCompType: 0x10
BOP: yes
Block Position: 0
ActivePartition: 0
EarlyWarningSize: 0
NumPartitions:0
MaxPartitions:0



 -Original Message-
 From: Brian Debelius [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 27, 2007 8:21 AM
 To: Rex Wheeler
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Should tapes drives on windows work?
 
 What does tapeinfo say?, and try this
 
 mt -f  Tape0 setblk 0
 
 then run btape again.
 
 
 Rex Wheeler wrote:
  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.phpp=sourceforgeCID=DEVDE
V
  ___
  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.phpp=sourceforgeCID=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-27 Thread Brian Debelius
 From an earlier post this week...

Great!

Now you have to modify the mtx-changer.cmd script.  This will make sure 
that the drives are set corectly across reboots.

:cmdLoad
   CALL :debug Doing mtx -f %ctl% load %slot% %drive%
   %MTX% -f %ctl% load %slot% %drive%
   SET rtn=%ERRORLEVEL%
   IF ERRORLEVEL 1 GOTO :cmdExit
   CALL :wait_for_drive %device%
   REM Force block size to 0 for variable   #add this
   %MT% -f %device% setblk 0#add this
   GOTO :cmdExit


Rex Wheeler wrote:
 It appears that setting the block size to 0 corrected the problem.
 Thanks!

 Is this something that I will have to do with each backup job, each
 reboot of the operating system, or each power cycle of the tape drive?

 Is there a place in the bacula configuration that I can get bacula to
 issue the mt command for me so I don't have to worry about it?

 Thanks,

 Rex

 (Here is the tape info you requested, although probably moot at this
 point:)

 C:\Program Files\Bacula\bintapeinfo -f Tape0
 Product Type: Tape Drive
 Vendor ID: 'QUANTUM '
 Product ID: 'DLT7000 '
 Revision: '296D'
 Attached Changer API: No
 SerialNumber: 'CX730S2150'
 MinBlock:2
 MaxBlock:16777214
 SCSI ID: 0
 SCSI LUN: 0
 Ready: yes
 BufferedMode: yes
 Medium Type: 0x85
 Density Code: 0x1b
 BlockSize: 0
 DataCompEnabled: no
 DataCompCapable: yes
 DataDeCompEnabled: yes
 CompType: 0x10
 DeCompType: 0x10
 BOP: yes
 Block Position: 0
 ActivePartition: 0
 EarlyWarningSize: 0
 NumPartitions:0
 MaxPartitions:0



   
 -Original Message-
 From: Brian Debelius [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 27, 2007 8:21 AM
 To: Rex Wheeler
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Should tapes drives on windows work?

 What does tapeinfo say?, and try this

 mt -f  Tape0 setblk 0

 then run btape again.


 Rex Wheeler wrote:
 
 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.phpp=sourceforgeCID=DEVDE
 V
   
 ___
 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.phpp=sourceforgeCID=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-27 Thread Brian Debelius
you should also look into the mt command and use it to enable 
compression, since from the output below, it does not appear to be.

Rex Wheeler wrote:
 It appears that setting the block size to 0 corrected the problem.
 Thanks!

 Is this something that I will have to do with each backup job, each
 reboot of the operating system, or each power cycle of the tape drive?

 Is there a place in the bacula configuration that I can get bacula to
 issue the mt command for me so I don't have to worry about it?

 Thanks,

 Rex

 (Here is the tape info you requested, although probably moot at this
 point:)

 C:\Program Files\Bacula\bintapeinfo -f Tape0
 Product Type: Tape Drive
 Vendor ID: 'QUANTUM '
 Product ID: 'DLT7000 '
 Revision: '296D'
 Attached Changer API: No
 SerialNumber: 'CX730S2150'
 MinBlock:2
 MaxBlock:16777214
 SCSI ID: 0
 SCSI LUN: 0
 Ready: yes
 BufferedMode: yes
 Medium Type: 0x85
 Density Code: 0x1b
 BlockSize: 0
 DataCompEnabled: no
 DataCompCapable: yes
 DataDeCompEnabled: yes
 CompType: 0x10
 DeCompType: 0x10
 BOP: yes
 Block Position: 0
 ActivePartition: 0
 EarlyWarningSize: 0
 NumPartitions:0
 MaxPartitions:0



   



-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tape Full Error when tape is not full

2007-03-27 Thread Martin Simmons
 On Tue, 27 Mar 2007 09:43:13 -0600 (CST), Lonny Selinger said:
 
  Any syslog or OS console messages?
 
 There wasn't for a while but when I tried to erase the tape again I did see
 some messages in dmesg that pointed me to either the drive or the tape. I was
 using a density code of 0x84 (35G Uncompressed with 0 byte/variable block
 size) and the messages indicated a parity error:
 
 st0: Failed to read 65532 byte block with 64512 byte transfer.
 st0: Failed to read 65532 byte block with 64512 byte transfer.
 st0: Error with sense data: Info fld=0xfc00, Current st0: sense key Aborted
 Command
 Additional sense: Scsi parity error
 st0: Error with sense data: Info fld=0xfc00, Current st0: sense key Aborted
 Command
 Additional sense: Scsi parity error
 st0: Error with sense data: Info fld=0xfc00, Current st0: sense key Aborted
 Command
 Additional sense: Scsi parity error
 
 I loaded a different tape and set the density to 0x1b (just 35G) and relabled
 the tape etc . everything worked fine. So basically Bacula was performing
 as it should and listed the tape as full when the drive and tape seemed to
 report they could no longer be written to. It just took a bit of monkeying
 around to find out what was te cause (read/write error, hardware, controler,
 whatever).
 
 Turns out it was the flippn media ... at least DLT tapes are cheap /sarcasm
  :(

OK, but beware that parity error might also be caused by a SCSI bus problem,
e.g. bad termination.

__Martin

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-fd and encrypting using certificate only

2007-03-27 Thread Michael Havas
Michael Havas wrote:
 Hi everyone,
 
 Following the advice of Pierre Bernhardt in a thread started by me 
 entitled Password Protection on Restore, I've decided to use data 
 encryption to not allow everyone who can use bconsole to perform a 
 restore-job.
 
 To do this, I wish to encrypt data using a master certificate but keep 
 the key offline in a safe to not allow decryption.
 
 I've looked through the documentation but cannot find configuration 
 option to specify the cert only and not the keypair used for encryption. 
 I've been mostly looking for something like PKI Certificate or PKI 
 Master Certificate but neither work. I've tried specifying only the cert 
 for PKI Keypair but the daemon dies with openssl wondering where it can 
 find the key.
 
 Does anybody know of such a way to specify the cert used in the 
 encryption only?
 
 Thanks,
 
 Michael
 

Hello again,

After looking around through the documentation I found that I required:
=== +
FileDaemon {
PKI Signatures = Yes# Enable Data Signing
PKI Encryption = Yes# Enable Data Encryption
  #  PKI Keypair = /etc/bacula/fd-example.pem
PKI Master Key = /etc/bacula/master.cert
}
=== -

Previously, I was confused because the directive is for a 'PKI Master 
Key' and not a 'PKI Master Cert' which it actually is.

You will notice that 'PKI Keypair' is commented since I do not wish to 
use a client public and private key as I do not wish the client to be 
able to decrypt the data unless I am present.

This leads to an error indicating the PKI Keypair muse be defined. I do 
not require a PKI Keypair as this would be a security vulnerability. Is 
it possible to get around this? Any hacky solution will do!

Thanks,

Michael

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] disk spooling and despooling: concurrency

2007-03-27 Thread Arno Lehmann
Hi,

On 3/25/2007 5:39 PM, Marc Cuypers wrote:
 Hi Arno,
 
 Thanks for answering.
 
 Arno Lehmann wrote:
 Hi,

 On 3/24/2007 9:16 PM, Marc Cuypers wrote:
 Hi,

 I'm still using bacula 1.38.5.

 To prevent shoe shining (writing, rewinding, writing again) with a tape
 drive bacula uses spooling.
 ...
 The spooling to the file and the writing to tape is not concurrent.  Is
 there a reason for this?
 Yes, but what it boils down to is that noone implemented a buffering 
 scheme like using a circular buffer and filling and emptying it 
 simultaneously. Note that many hard disk systems have already 
 difficulties delivering data fast enough to allow streaming on todays 
 tape drives. That would get worse if, due to concurrent writes and reads 
 to one disk, access times increased.

  Has this changed in later versions?
 No, not as far as I know.

  Are there
 any changes to be expected in this?
 I doubt it.

 I'm asking this because backups without spooling are faster than those
 with spooling.  Is this normal?
 It can be normal, and in most cases is.

 Overall throughput will probably increase when you run multiple 
 concurrent jobs.
 
 When running concurrent jobs, each job will have its own spool file in
 the spooling directory?  And normally when a spool file fills for one
 job, writing to tape can begin, while the other jobs keep spooling?

Alan answered this already, so I just add my comment because you 
addressed me :-)

Yes and yes.

Arno

 --
 Best regards,
 
 marc
 
 Questionable day.
 
 Ask somebody something.
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

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

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Sorting in update volumes

2007-03-27 Thread Tim Schoellhammer
Hi Arno,

ah ok. Thanks for the workaround.

Tim

Am Dienstag, den 27.03.2007, 22:59 +0200 schrieb Arno Lehmann:
 Hi Tim,
 
 On 3/26/2007 2:38 PM, Tim Schoellhammer wrote:
  Hi List,
  
  Little question:
  
  when i use the update volumes command on the bconsole.
  I get for the first volume when i change the InChanger-Flag this:
  
  Enter slot (0 or Enter for none): 1
  Defined Pools:
1: Default
2: Vollbackup
  = 3: Daily
4: MonatsPool
  Select the Pool (1-4): 3
  
  
  For the second volume i get this:
  
  Enter slot (0 or Enter for none): 2
  Defined Pools:
1: Default
2: Vollbackup
3: MonatsPool
  = 4: Daily
  Select the Pool (1-4): 4
  
  
  is the slip of the options normal? Or may i have a configuration mistake 
  in my configuration files?
 
 I'd say it's a Bacula problem... not enough to call a bug, IMO, but 
 probably independent of the configuration.
 
 The easy work-around is to use the command 'update volume=... 
 pool=daily' which allows reliable scripting.
 
 Arno
 
  Tim
  
  -
  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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Errors with VXA-320 jukebox

2007-03-27 Thread Markus Schreier
Hello Thomas, hello all,
i've tried to get an official comment from FSC. Up to now, without result.

I've now planed to install firmware V13205, as you suggested. To get  
things straight i also plan to upgrade to bacula 2.0.3 and install the  
provided patches.

I'm asking you (and all others): Is there something i missed? Is there  
a chance that backup will work there after?

Thanks for your help

with regards
Markus Schreier


-- 
[EMAIL PROTECTED]
0163/ORDIX-24


- Nachricht von [EMAIL PROTECTED] -
  Datum: Fri, 23 Mar 2007 23:47:02 +0100
Von: Thomas Harf [EMAIL PROTECTED]
Antwort an: Thomas Harf [EMAIL PROTECTED]
Betreff: Re: [Bacula-users] Errors with VXA-320 jukebox
 An: bacula-users@lists.sourceforge.net


 Markus Schreier schrieb:
 Hello Bacula experts,
 i'm using bacula 2.0.1 and experiance problems with an vxa-320
 autochanger. Sometimes tapes don't get mounted, sometimes bacula
 reports i/o-Errors.
 In the following you find 2 Parts of the bacula-logs:

 --- start logfile ---
 06-Mar 21:12 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 06-Mar 21:12 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 2.
 06-Mar 21:12 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 06-Mar 21:12 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 2.
 06-Mar 21:12 server02-sd: Please mount Volume A002 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-06_21.10.00
 06-Mar 22:12 server02-sd: Please mount Volume A002 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-06_21.10.00
 07-Mar 00:12 server02-sd: Please mount Volume A002 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-06_21.10.00
 07-Mar 04:12 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 07-Mar 04:12 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 2.
 07-Mar 04:12 server02-sd: Volume A002 previously written,   
 moving to end of data.
 07-Mar 04:13 server02-sd: Ready to append to end of Volume   
 A002  at file=20.
 --- end logfile ---
 I read, that bacula tries to mount the tape and all of a sudden it works
 No userintervention is known to me.
 Can anyone explain what realy happens?


 Now one other logfile:
 --- start logfile ---
 11-Mar 08:59 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 11-Mar 08:59 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 6.
 11-Mar 08:59 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 11-Mar 08:59 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 6.
 11-Mar 08:59 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 11-Mar 08:59 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 6.
 11-Mar 08:59 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 11-Mar 08:59 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 6.
 11-Mar 08:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 09:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 11:59 server02-sd: 3301 Issuing autochanger loaded? drive   
 0 command.
 11-Mar 11:59 server02-sd: 3302 Autochanger loaded? drive 0,   
 result  is Slot 6.
 11-Mar 11:59 server02-sd: NightlySave-server01.2007-03-11_08.10.00   
  Error: block.c:994 Read error on fd=6 at file:blk 0:0 on device
 VXA-320 (/dev/nst0). ERR=Input/output error.
 11-Mar 11:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 11:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 15:59 server02-sd: NightlySave-server01.2007-03-11_08.10.00   
  Error: block.c:994 Read error on fd=6 at file:blk 0:0 on device
 VXA-320 (/dev/nst0). ERR=Input/output error.
 11-Mar 15:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 15:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 23:59 server02-sd: NightlySave-server01.2007-03-11_08.10.00   
  Error: block.c:994 Read error on fd=6 at file:blk 0:0 on device
 VXA-320 (/dev/nst0). ERR=Input/output error.
 11-Mar 23:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for Job
 NightlySave-server01.2007-03-11_08.10.00
 11-Mar 23:59 server02-sd: Please mount Volume A006 on Storage  
   Device VXA-320 (/dev/nst0) for 

Re: [Bacula-users] Install-problems with OpenSUSE 10.2

2007-03-27 Thread Ulrich Walter
Am Dienstag, 27. März 2007 schrieb Jerome Massano:
 Hello

 Please also excuse me for my English, I 'm French and my English lessons
 are also lying years behind me ^^

It seems that we remind a lot of lessons from our time at school... we're able 
to communicate ;-)


 I have installed bacula on an OpenSuSE 10.2 just a week ago. As I had to
 install it on vary various systems, I installed it from the sources, and it
 installed with no problem at all. I would suggest you to use this way of
 install.

It's exactly what I have done, and it looks good: it works...

For the next days I will try to setup some jobs for testing it.
In case it doesn't do the things in the way I'm expecting, I will post it 
here. I read the last few days the quetions and the answers to the different 
problems with bacula, and I'm sure: This is the place where experts are 
talking.

Thank you!


Greetings from Duisburg, Germany

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bweb and brestore

2007-03-27 Thread RYAN M. vAN GINNEKEN
Anyone got bweb/brestore working with FreeBSD i cannot seem to find the files 
mentioned in the docs under src. Please if someone could point me in the right 
direction it would be nice thank you in advance. 



-- 
Computer King  CaN Mail - Sales Service Hosting Backup 

http://www.computerking.ca http://www.canmail.org 

NEW!!! Custom Service Packages 
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages 

-
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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage daemon didn't accept Device dds3 command

2007-03-27 Thread Daniel Moros

Hello I am a new user of bacula.

I have been using Version: 1.36.3-2ubuntu2 (on ubuntu) and everything was
just fine but now I installed and started using  Version: 1.38.11-8  (on
Debian), I've been constantly presented this error, and I don't know what it
means.

27-Mar 16:43 mdaniel-dir: Start Backup JobId 14, Job=
Palma.2007-03-27_16.43.23
27-Mar 16:43 mdaniel-dir: Palma.2007-03-27_16.43.23 Fatal error:
Storage daemon didn't accept Device dds3 command.
27-Mar 16:43 mdaniel-dir: Palma.2007-03-27_16.43.23 Error: bnet.c:257 Read
error from Storage daemon:chthon.ldc.usb.ve:9103: ERR=Connection reset by
peer
27-Mar 16:43 mdaniel-dir: Palma.2007-03-27_16.43.23 Error: Bacula
1.38.11(28Jun06): 27-Mar-2007 16:43:25

I looked up over the net what it would mean, but all I've found is that
other people have got a reason for the error, but haven't gotten that much
luck. I.e.:
5-Aug 00:13 server-dir: Client1.2006-08-15_00.13.29 Fatal error:
*Storage* *daemon* *didn*'*t* *accept* *Device* DVD because:
3924 *Device* DVD not in SD *Device* resources.

My configuration files look like:
bacula-sd.conf
[...]
Device {
 Name = dds3#
 Media Type = DDS-3
 Archive Device = /dev/nst0
 AutomaticMount = yes;   # when device opened, read it
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
}
[...]

bacula-dir.conf
[...]
Storage {
 Name = pequena
 Address = some.address# N.B. Use a fully qualified name
here
 SDPort = 9103
 Password = somepassword
 Device = dds3
 Media Type = DDS-3
}
[...]

I would appreciate it if you could please help me solve this situation.

Regards,

--
Daniel Moros
-
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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage daemon didn't accept Device dds3 command

2007-03-27 Thread Michael Nelson
On Tue, March 27, 2007 4:34 pm, Daniel Moros wrote:


 bacula-dir.conf
 [...]
 Storage {
   Name = pequena
I think the Name above should be dds3, not pequena

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FileSet: better solution to exclude dirs containing a special file?

2007-03-27 Thread Marc Schiffbauer
Hi all,

In a FileSet I want bacula to exclude all directories containing
file named .bacula_no_backup.

I managed this by defining this fileset:


FileSet {
  Name = lisa FileSet
  Include {
Options {
  signature = MD5
  noatime = yes
  aclsupport = yes
}
File = /srv
File = /home
  }
  Exclude {
File = \\|sh -c 'for D in /srv /home; do find $D -xdev -name 
.bacula_no_backup -type f -printf \%h\\n\; done | tee 
/root/bacula_excluded_dirs'
  }
}

Now I wonder: Is there a smarter solutions to achieve the same?

Anything that would avoid the use of an external program? Perhaps
some regex magic?

-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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Request: Bacula Support -- Fatal Append Error.

2007-03-27 Thread Nathan Metcalf
Ok, I have a 4 tape backup that runs each night at 9pm, it backups roughly
1.1T of data to LTO2 tapes. 
When it gets to the 4th tape it fails, and comes up with this in the
messages... 

28-Mar 09:53 kiama-sd: End of medium on Volume 001232L2
Bytes=366,559,822,103 Blocks=5,682,041 at 28-Mar-2007 09:53. 
28-Mar 09:54 kiama-sd: Job Nightly.2007-03-27_21.00.00 waiting. Cannot find
any appendable volumes. 
Please use the label  command to create a new Volume for: 
Storage:  LTO2Drive (/dev/nst0) 
Media type:   Ultrium 2 
Pool: TuesdayPool 
28-Mar 09:54 kiama-fd: Nightly.2007-03-27_21.00.00 Fatal error: backup.c:500
Network send error to SD. ERR=Input/output error 28-Mar 09:54 kiama-sd: Job
Nightly.2007-03-27_21.00.00 canceled while waiting for mount on Storage
Device LTO2Drive (/dev/nst0). 
28-Mar 09:54 kiama-sd: Nightly.2007-03-27_21.00.00 Fatal error: append.c:207
Fatal append error on device LTO2Drive (/dev/nst0): ERR=Job
Nightly.2007-03-27_21.00.00 canceled while waiting for mount on Storage
Device LTO2Drive (/dev/nst0). 

Now I would first think that the tape wasnt in the drive, but it was.. I did
list media, and got this: 



|   2 | 001203L2   | Error | 220,985,787,137 |  221 |
518,400 |   1 |4 | 1 | Ultrium 2 | 2007-02-27 22:18:12 | 

Why would the tape have an error? It didn't even load the tape into the
drive. Does bacula not load it because it's marked as error? 
Thanks, 
--Nathan

 

Nathan Metcalf
Australasian IT Support
Weatherbeeta P/L
8 Moncrief Rd
Nunawading, VIC, 3131
Australia

P.  +61 3 9845 0695
F.  +61 3 9845 0655
E.  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
W. http://www.weatherbeeta.com http://www.weatherbeeta.com/ 

 



***Confidentiality and Privilege Notice***

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments
-
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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage daemon didn't accept Device dds3 command

2007-03-27 Thread Daniel Moros

It doesn't work because the Name is only used as reference to the storage
device in the job. In this case I have the following job:
Job {
   Name = Palma
   Type = Backup
   Client = palma-fd
   FileSet = barraldcs
   Schedule = WeeklyCycle
   Storage = pequena
   Messages = Standard
   Pool = Default
   Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr
}

But anyway i already tried your suggestion and it doesn't eliminate the
problem.
thank you anyway.

On 3/27/07, Michael Nelson [EMAIL PROTECTED] wrote:


On Tue, March 27, 2007 4:34 pm, Daniel Moros wrote:


 bacula-dir.conf
 [...]
 Storage {
   Name = pequena
I think the Name above should be dds3, not pequena

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





--
Daniel Moros
-
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.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error relabeling a tape

2007-03-27 Thread Marc Schiffbauer
Hi *,

I cannot relabel a Tape in my DLT-Drive...

I wanted to relabel it from TestTape to Tape_21

Any hints someone what be wrong?


*mount
Automatically selected Storage: lisa-sd
3001 Mounted Volume: TestTape
3001 Device DLT8000 (/dev/nst0) is already mounted with Volume
TestTape
*relabel
Automatically selected Storage: lisa-sd
Automatically selected Pool: Default
+-++---+-+---+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes  |
volfiles | volretention | recycle | slot | inchanger | mediatype |
lastwritten |
+-++---+-+---+--+--+-+--+---+---+-+
|   2 | TestTape   | Purged|   1 | 2,037,676,032 |
4 |   31,536,000 |   1 |0 | 1 | DLT-IV|
2007-03-27 02:57:00 |
+-++---+-+---+--+--+-+--+---+---+-+
Enter MediaId or Volume name: 2
Enter new Volume name: Tape_21
Automatically selected Pool: Default
Connecting to Storage daemon lisa-sd at lisa:9103 ...
Sending relabel command from TestTape to Tape_21 ...
3912 Failed to label Volume: ERR=dev.c:425 Unable to open device
DLT8000 (/dev/nst0): ERR=Input/output error

Label command failed for Volume Tape_21.
Do not forget to mount the drive!!!
*unmount
Automatically selected Storage: lisa-sd
3901 Device DLT8000 (/dev/nst0) is already unmounted.
* 


-
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.phpp=sourceforgeCID=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-27 Thread Rex Wheeler
I am using a stand alone drive and not a changer. Is there a directive
that I can use to cause bacula to execute a script prior to the mount?

I see that there is a Mount Command directive, but it does not seem to
be called for my jobs. I am not sure if it will get called for Tape
devices.

I tried the following:

Device {
  Name = DLT-7000 
  Media Type = DLT
  Device Type = Tape
  Archive Device = Tape0
  AutomaticMount = yes 
  AlwaysOpen = yes
  RemovableMedia = yes
  RandomAccess = no
  Mount Command = init_dlt %a
}

My init_dlt.cmd file is in the same directory as the mtx-changer.cmd
file and contains:

@echo off
SET MT=C:\Program Files\Bacula\bin\mt.exe
%MT% -f %1 setblk 0 
%MT% -f %1 compression 1

When I run a job, my init_dlt script does not get called. My script
works if I just run it (I can tell because when I run it, the
compression indicator lights up on the tape drive.) Any suggestions?

Thanks,

Rex

 -Original Message-
 From: Brian Debelius [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 27, 2007 9:49 AM
 To: Rex Wheeler
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Should tapes drives on windows work?
 
  From an earlier post this week...
 
 Great!
 
 Now you have to modify the mtx-changer.cmd script.  This will make
sure
 that the drives are set corectly across reboots.
 
 :cmdLoad
CALL :debug Doing mtx -f %ctl% load %slot% %drive%
%MTX% -f %ctl% load %slot% %drive%
SET rtn=%ERRORLEVEL%
IF ERRORLEVEL 1 GOTO :cmdExit
CALL :wait_for_drive %device%
REM Force block size to 0 for variable   #add this
%MT% -f %device% setblk 0#add this
GOTO :cmdExit
 
 

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users