Re: [Bacula-users] More newbie whining

2006-09-27 Thread Kern Sibbald
On Wednesday 27 September 2006 01:41, Richard White wrote:
 As part of my exercise to get Bacula 1.38 running with full GUI toys, I have 
installed SLES 10 on a computer, downloaded and installed the latest MysQL, 
downloaded Bacula 1.38.11 with the bacula-gui-bimagemgr, then downloaded and 
extracted the following:

If you are using SuSE, I don't understand why you are not using rpms -- all 
the hard work of configuring is done for you.  I am running SuSE 10.1 with no 
problems.

Note, as I believe it is documented in the manual, you are going to need a few 
development libraries.

Also, we have never tested wxWidgets version 2.7.  The officially supported 
version is 2.6 (.2 I think).

 
 atk 1.9.1
 cairo 1.2.0
 glib 2.12.2
 gtk+ 2.10.4
 jpeg 6b
 libpng 1.2.8 (configure version)
 pango 1.14.4
 pkg-config 0.20
 tiff 3.7.4
 wxGTK 2.7.0-1
 wxWidgets 2.7.0-1
 
 I ran configure for all of the above and make|make install for those to 
which it applies, except for gtk+ and the wx items. My instructions say to do 
glib, gtk+ and wxGTK last, in that order. Also they say to configure gtk with 
this command line argument:
 
 -prefix=/opt/gtk
 
 As you know, configure, make and make install scroll a lot of text through 
the screen. I saw no errors until I tried it with gtk. At the end of make 
install, it informed me:
 
 checking for BASE_DEPENDENCIES... configure: error: Package requirements 
(glib-2.0 = 2.12.0  atk = 1.9.0  pango = 1.12.0  cairo = 1.2.0) were not 
met.
 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed 
software in a non-standard prefix.
 Alternatively you may set the BASE_DEPENDENDENCIES_CFLAGS and 
BASE_DEPENDENCIES_LIBS environment variables to avoid the need to call 
pkg-config. See the pkg-config man page for more details.
 
 I looked at the man page and, while I understood some of what it said, it 
didn't help me solve my problem. So I ran ./configure  [package name].log to 
capture the stdout. I did not then try to capture stderr, and this printed to 
the console:
 
 ./configure  cairo.log
 cat: /etc/ld.so.conf.d/*.conf: No such file or directory
 cat: /etc/ld.so.conf.d/*.conf: No such file or directory
 cat: /etc/ld.so.conf.d/*.conf: No such file or directory
 configure: WARNING: PDF backend will not be tested since poppler is not 
available
 configure: WARNING: SVG backend will not be tested since a librsvg is not 
available
 
 (Obviously, this is for cairo; others had similar errors with respect to No 
such file . . .)
 
 So I began looking at the config.log files in each of the package 
directories. Most of them had an error of this sort (this one is from 
pkg-config):
 
 configure: failed program was:
 | #ifndef __cplusplus
 |choke me
 | #endif
 .
 .
 .
 configure: failed program was:
 | /* confdefs.h.  */
 |
 | #define PACKAGE_NAME 
 | #define PACKAGE_TARNAME 
 | #define PACKAGE_VERSION 
 | #define PACKAGE_STRING 
 | #define PACKAGE_BUGREPORT 
 | #define PACKAGE_ pkg-config
 | #define VERSION 0.20
 | /* end confdefs.h  */
 | #include ac_nonexistent.h
 
 
 Or (This one is from atk):
 
 configure: failed program was:
 | /* confdefs.h.  */
 |
 | #define PACKAGE_NAME atk
 | #define PACKAGE_TARNAME atk
 | #define PACKAGE_VERSION 1.9.1
 | #define PACKAGE_STRING atk 1.9.1
 | #define PACKAGE_BUGREPORT 
http://bugzilla.gnome.org/enter_bug.cgi?product=atk;
 | #define PACKAGE_ atk
 | #define VERSION 1.9.1
 | #define GETTEXT_PACKAGE atk10
 | /* end confdefs.h  */
 | #include ac_nonexistent.h
 
 So I deleted the package directories and extracted them again so I could run 
configure, make and make install from a clean slate, capturing both sdtout 
and stderr. Here are some examples of stderr output:
 
 glib make:
 
 gconvert.c:91: warning: â€*visibilityâ€* attribute ignored on non-class 
types
 ghash.c: In function â€*IA__g_hash_table_refâ€*:
 ghash.c:170: warning: pointer targets in passing argument 1 of 
â€*IA__g_atomic_int_addâ€* differ in signedness
 
 tiff :
 
 dummy.c:9: warning: â€*libport_dummy_functionâ€* defined but not used
 tif_dir.c: In function â€*_TIFFVSetFieldâ€*:
 .
 .
 .
 ras2tiff.c:101: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
 
 pango install:
 
 libtool: link: warning: 
`/usr/lib/gcc/i586-suse-linux/4.1.0/../../..//libfontconfig.la' seems to be 
moved
 
 The glib, pkg-config and tiff look like file corruption, so I downloaded and 
extracted them again, but got the same results. Are the others telling me 
that they are looking for libraries that are either not installed or that 
SLES has them in unconventional places where the scripts will not find them? 
If this is the case, is there a straightforward change that will let them be 
found? If not, could I expect all these items to install on RH without these 
errors?
 
 -- 
 
 Tks n rgds,
 Richard White CNE6
 Network Engineer
 Mason County, Washington
 360-427-5501
 [EMAIL PROTECTED]
 
 -
 

Re: [Bacula-users] Double mount required for just-recycled media

2006-09-27 Thread Kern Sibbald
On Wednesday 27 September 2006 04:54, Ryan Novosielski wrote:
 I've noticed this happen a couple of times. Here's what I did to cause
 it both times.
 
 1) No media available to run a job.
 2) Purge a volume that has data on it.
 3) Run a mount.
 
 The version of Bacula is 1.38.11 on the director.
 
 Now observe below:
 
 *mount
 The defined Storage resources are:
  1: File
  2: helios_DDS
  3: helios_DAT72
 Select Storage resource (1-3): 3
 3001 OK mount. Device=helios_DAT72 (/dev/rmt/1lbn)
 *me
 26-Sep 22:50 helios-dir: Recycled volume combined_BW1
 *me
 26-Sep 22:50 helios-sd: Please mount Volume combined_BW1 on Storage
 Device helios_DAT72 (/dev/rmt/1lbn) for Job
 VistaBKsave.2006-09-26_22.43.15
 *me
 You have no messages.
 *mount
 The defined Storage resources are:
  1: File
  2: helios_DDS
  3: helios_DAT72
 Select Storage resource (1-3): 3
 3001 OK mount. Device=helios_DAT72 (/dev/rmt/1lbn)
 
 ...I can't figure out what's going on here, but I can make this happen
 pretty reliably. Here is my Device definition in my sd.conf -- I suspect
 this is the only non-standard config options I have and the only options
 that might make a difference:
 
 Device {
   Name = helios_DAT72   #
   Media Type = DDS-4
   Archive Device = /dev/rmt/1lbn
   AutomaticMount = yes;   # when device opened, read it
   AlwaysOpen = no;
   Volume Poll Interval = 30 minutes;
   Close on Poll = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   Spool Directory = /usr/local/bacula/var/spool;
 }
 
 ...any ideas from anyone?

Set the following:
Always Open = yes
(remove Volume Poll Interval)
Close on Poll = no

Cross your fingers.
 
 -- 
   _  _ _  _ ___  _  _  _
  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
  |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
 
 

-
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] Compression ratio

2006-09-27 Thread Janco van der Merwe
By Client compression do you mean the Compression=GZIP or the default 
compression? My Bacula is pretty much still default nothing special at this 
pointwell apart from the amount of data being backed up. If it is not 
possible at this point is there a possibility in the near future for Bacula to 
include the ratio, by that I mean will it be possible for the Bacula to include 
the ratio from the Hardware? 

Janco v.d Merwe
Network Administrator
Dunns Stores (PTY) Ltd
Switchboard: 011 541 3000
Direct: 011 541 3007
Fax: 086 632 1708

-Original Message-
From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
Sent: 27 September, 2006 08:29
To: bacula-users@lists.sourceforge.net
Cc: Janco van der Merwe
Subject: Re: [Bacula-users] Compression ratio

On Wednesday 27 September 2006 08:15, Janco van der Merwe wrote:
 On my previous e-mail that I sent to the forum I showed you the amount of 
data that was backed up to a single LTO3 tape and I received a request from 
the management to see if I, or rather Bacula, can't give the compression 
ratio details in the notification e-mail. I went through the manual to see if 
there is a way but I can't find it, most probably missed it, but is there a 
way that I can do that?  

Bacula provides the compression ratio if you turn on Client compression, which 
I don't recommend especially with the results you are getting.  With hardware 
compression, Bacula has insufficient information.

  
 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708
  
 
 
 This communication and any attachments are confidential and intended for the 
sole use of the
 intended recipient.  Any form of copying or disclosure of this communication 
to any third parties
 without permission is prohibited.  The contents of this communication and 
its attachments are
 not intended to be relied upon in law without subsequent written 
confirmation.  As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.
 
 If you have received this communication in error please notify us 
immediately and destroy or
 delete it.
 



This communication and any attachments are confidential and intended for the 
sole use of the
intended recipient.  Any form of copying or disclosure of this communication to 
any third parties
without permission is prohibited.  The contents of this communication and its 
attachments are
not intended to be relied upon in law without subsequent written confirmation.  
As such, Dunns
Stores (Pty) Ltd accept no responsibility or liability (including negligence) 
for the consequences
of anyone acting, or not acting, on information contained therein.

If you have received this communication in error please notify us immediately 
and destroy or
delete 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


[Bacula-users] Run before job

2006-09-27 Thread Diego
Hi I try various ways for backup a mysql. I think the best is do a mysqldump (run before job) and backup the sql file (Fileset = { File = tmp/mydatabase.sql } ) but I have a lot of problems with permissions with any command. Where the command run before job is executed?in the director host (bacula-director)?or in the client host (bacula-fd)?
this is the command I try:mysqldump -h localhost -u zimbra --all-databases --socket=/opt/zimbra/db/mysql.sock --password=7glTIK_2QcuMJ_wgQVv8Pmxz  mydatabase.sqlAny suggestions?
Thanks-- By Diego...8-P
-
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] restoring file to a logical volume

2006-09-27 Thread jeabacula
Hi Arno, I read these mails but it's not help me, I thnik I'm doing 
something wrong but I don't know what
thanks
lordjea

- Original Message - 
From: Arno Lehmann [EMAIL PROTECTED]
To: bacula lista bacula-users@lists.sourceforge.net
Sent: Tuesday, September 26, 2006 9:31 PM
Subject: Re: [Bacula-users] restoring file to a logical volume


Hi,

didn't you notice Kerns reply to your mail from September 22?

I thought he explained things quite clearly...

Arno

On 9/26/2006 6:11 PM, lordjea wrote:
 Hi, I'm trying to restore a file with to a logical volume /dev/mappe
 r/vg--uml--008-backup--root, I can't understand what happening

 Thanks

 
 26-sep 19:05 wrack-fd: Restore_Particiones_RAW.2006-09-26_16.55.44
 Error: attribs.c:337 File size of restored file /dev/mappe
 r/vg--uml--008-backup--root not correct. Original 0, restored 1073741824.
 26-sep 17:11 doom-dir: Restore_Particiones_RAW.2006-09-26_16.55.44
 Error: Bacula 1.38.9 (02May06): 26-sep-2006 17:11:20
   JobId:  649
   Job:Restore_Particiones_RAW.2006-09-26_16.55.44
   Client: wrack-fd
   Start time: 26-sep-2006 16:55:46
   End time:   26-sep-2006 17:11:20
   Files Expected: 1
   Files Restored: 1
   Bytes Restored: 1,070,530,936
   Rate:   1146,2 KB/s
   FD Errors:  1
   FD termination status:  Error
   SD termination status:  OK
   Termination:*** Restore Error ***
 26-sep 17:11 doom-dir: Begin pruning Jobs.
 26-sep 17:11 doom-dir: No Jobs found to prune.
 26-sep 17:11 doom-dir: Begin pruning Files.
 26-sep 17:11 doom-dir: No Files found to prune.
 26-sep 17:11 doom-dir: End auto prune.
 --


 LLama Gratis a cualquier PC del Mundo.
 Llamadas a fijos y móviles desde 1 céntimo por minuto.
 http://es.voice.yahoo.com
 http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/



 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share 
 your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.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 




__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


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


Re: [Bacula-users] restoring file to a logical volume

2006-09-27 Thread jeabacula
Hi, after try restore the file with error, I try to mount the filesystem on 
the lvm, it show me an error.

I think my trouble it's on the way that I do the backup, I will explain you:
#1-take a snapshot with:
lvcreate --snapshot -L 1G --name backup-root vg-uml-008/root
#2-then run the job:
Client {
  Name = wrack-fd
  Address = wrack.mydomain.com
  Catalog = Catalogo
  Password = kwhefwl9t34tn2467g9oo
}
Job {
  Name = wrack
  Client = wrack-fd
  #FileSet = Full UML
  FileSet = RawPartition
  Write Bootstrap = /usr/local/bacula/var/bacula/working/wrack.bsr
  #JobDefs = Default Servers
  JobDefs = Raw Servers
}

#The file set
FileSet {
  Name = RawPartition
  Include {
Options { signature=MD5; sparse=yes }
File = /dev/mapper/vg--uml--008-backup--root
#File = /home/jzam/mkfs/mnt-tmp
  }
}

#the jobdefs
JobDefs {
  Name = Raw Servers
  Type = Backup
  Schedule = WeeklyCycleRawServer
  Messages = Standard
  Storage = Tape
  Pool = Default
  Priority = 10
}

3# the backup with no error
#At the begening the backup do with no error, I tried again with the same 
file:


27-sep 01:05 doom-dir: Start Backup JobId 662, Job=wrack.2006-09-27_01.05.00
27-sep 01:20 doom-dir: Bacula 1.38.9 (02May06): 27-sep-2006 01:20:12
  JobId:  662
  Job:wrack.2006-09-27_01.05.00
  Backup Level:   Full
  Client: wrack-fd i686-pc-linux-gnu,debian,3.1
  FileSet:RawPartition 2006-09-20 17:10:37
  Pool:   Default
  Storage:Tape
  Scheduled time: 27-sep-2006 01:05:00
  Start time: 27-sep-2006 01:05:04
  End time:   27-sep-2006 01:20:12
  Elapsed time:   15 mins 8 secs
  Priority:   10
  FD Files Written:   1
  SD Files Written:   1
  FD Bytes Written:   1,073,871,504 (1.073 GB)
  SD Bytes Written:   1,062,273,164 (1.062 GB)
  Rate:   1182,7 KB/s
  Software Compression:   None
  Volume name(s): Backups1-dataware
  Volume Session Id:  15
  Volume Session Time:1159280556
  Last Volume Bytes:  222,551,069,894 (222.5 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

27-sep 01:20 doom-dir: Begin pruning Jobs.
27-sep 01:20 doom-dir: No Jobs found to prune.
27-sep 01:20 doom-dir: Begin pruning Files.
27-sep 01:20 doom-dir: No Files found to prune.
27-sep 01:20 doom-dir: End auto prune.

4# then the file it's backed up, I delete de logical volume to try to 
restore it and verify the file it's ok.
lvremove /dev/vg-uml-008/backup-root -f

5# I delete the file because it was a snapshot, to retore it I need a empty 
logical volume in the same group
lvcreate --size 1G --name backup-root vg-uml-008
#the logical volume it's not mounted

6# then I run the restore job, some time later I look the error message 
before showed

7# I try to mount the filesystem, Then I look an error

8# I don't know what I'm doing wrong
=(

thanks a lot
lordjea







- Original Message - 
From: John Drescher
To: lordjea
Sent: Tuesday, September 26, 2006 6:49 PM
Subject: Re: [Bacula-users] restoring file to a logical volume





On 9/26/06, lordjea [EMAIL PROTECTED] wrote:
Hi, I'm trying to restore a file with to a logical volume /dev/mappe
r/vg--uml--008-backup--root, I can't understand what happening

Thanks


26-sep 19:05 wrack-fd: Restore_Particiones_RAW.2006-09-26_16.55.44 Error: 
attribs.c:337 File size of restored file /dev/mappe
r/vg--uml--008-backup--root not correct. Original 0, restored 1073741824.
26-sep 17:11 doom-dir: Restore_Particiones_RAW.2006-09-26_16.55.44 Error: 
Bacula 1.38.9 (02May06): 26-sep-2006 17:11:20
  JobId:  649
  Job:Restore_Particiones_RAW.2006-09-26_16.55.44
  Client: wrack-fd
  Start time: 26-sep-2006 16:55:46
  End time:   26-sep-2006 17:11:20
  Files Expected: 1
  Files Restored: 1
  Bytes Restored: 1,070,530,936
  Rate:   1146,2 KB/s
  FD Errors:  1
  FD termination status:  Error
  SD termination status:  OK
  Termination:*** Restore Error ***
26-sep 17:11 doom-dir: Begin pruning Jobs.
26-sep 17:11 doom-dir: No Jobs found to prune.
26-sep 17:11 doom-dir: Begin pruning Files.
26-sep 17:11 doom-dir: No Files found to prune.
26-sep 17:11 doom-dir: End auto prune.


Did you try mounting the filesystem on the lvm after this command? I am 
assuming that there was some type of error in the recording of the filesize 
(during the backup) as I know you did not backup a 0 byte file and then try 
to restore it!

John 






__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com



Re: [Bacula-users] Compression ratio

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 9:08 AM, Janco van der Merwe wrote:
 By Client compression do you mean the Compression=GZIP or the default 
 compression? My Bacula is pretty much still default nothing special at this 
 pointwell apart from the amount of data being backed up. If it is not 
 possible at this point is there a possibility in the near future for Bacula 
 to include the ratio, by that I mean will it be possible for the Bacula to 
 include the ratio from the Hardware? 

That won't be possible, I guess.

There's no reliable way of determining the compression ratio the drives 
hardware achieves. (Well, there might be ways for distinct devices, but 
nothing portable or even standardized as far as I know.)

Actually, the compression ratio you achieve has noting to do with 
Bacula. I's just a thing between the tape drive and, most important, 
your data.

Storing plain text data on a tape with harware compression tends to 
result in very high compression ratio. If you manage to get 1 TB of mp3s 
onto a LTO3 tape I'd be rather astonished as that data should not be 
compressible.

Keep in mind that what the manufactures say about compressed capacity 
usually has a clause like typically... assuming a compression ratio of 
2:1 or, case of Sony, 2.6:1. That's not much more than an educated 
guess with lots of marketing language added to it :-)

Anyway, the only reliable way of determining the effective compression 
ratio is comparing the tapes uncompressed capacity (which you'd have to 
measure on a per-tape basis) and the capacity you achieve with 
compressed data.

Arno

 
 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708
 
 -Original Message-
 From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
 Sent: 27 September, 2006 08:29
 To: bacula-users@lists.sourceforge.net
 Cc: Janco van der Merwe
 Subject: Re: [Bacula-users] Compression ratio
 
 On Wednesday 27 September 2006 08:15, Janco van der Merwe wrote:
 
On my previous e-mail that I sent to the forum I showed you the amount of 
 
 data that was backed up to a single LTO3 tape and I received a request from 
 the management to see if I, or rather Bacula, can't give the compression 
 ratio details in the notification e-mail. I went through the manual to see if 
 there is a way but I can't find it, most probably missed it, but is there a 
 way that I can do that?  
 
 Bacula provides the compression ratio if you turn on Client compression, 
 which 
 I don't recommend especially with the results you are getting.  With hardware 
 compression, Bacula has insufficient information.
 
 
 
Janco v.d Merwe
Network Administrator
Dunns Stores (PTY) Ltd
Switchboard: 011 541 3000
Direct: 011 541 3007
Fax: 086 632 1708
 


This communication and any attachments are confidential and intended for the 
 
 sole use of the
 
intended recipient.  Any form of copying or disclosure of this communication 
 
 to any third parties
 
without permission is prohibited.  The contents of this communication and 
 
 its attachments are
 
not intended to be relied upon in law without subsequent written 
 
 confirmation.  As such, Dunns
 
Stores (Pty) Ltd accept no responsibility or liability (including 
 
 negligence) for the consequences
 
of anyone acting, or not acting, on information contained therein.

If you have received this communication in error please notify us 
 
 immediately and destroy or
 
delete it.

 
 
 
 
 This communication and any attachments are confidential and intended for the 
 sole use of the
 intended recipient.  Any form of copying or disclosure of this communication 
 to any third parties
 without permission is prohibited.  The contents of this communication and its 
 attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation.  As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including negligence) 
 for the consequences
 of anyone acting, or not acting, on information contained therein.
 
 If you have received this communication in error please notify us immediately 
 and destroy or
 delete 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

-- 
IT-Service 

Re: [Bacula-users] Run before job

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 9:29 AM, Diego wrote:
 Hi I try various ways for backup a mysql. I think the best is do a 
 mysqldump (run before job) and backup the sql file (Fileset = { File = 
 tmp/mydatabase.sql } ) but I have a lot of problems with permissions 
 with any command. Where the command run before job is executed?in the 
 director host (bacula-director)?or in the client host (bacula-fd)?

A Run Before Job command is executed on the director machine, a Client 
Run Before Job command on the FD machine.

 this is the command I try:
 
 mysqldump -h localhost -u zimbra --all-databases 
 --socket=/opt/zimbra/db/mysql.sock --password=7glTIK_2QcuMJ_wgQVv8Pmxz  
 mydatabase.sql

Thanks for the password :-)

You should change it NOW.

 Any suggestions?

Yes - Read the manual for mysqldump. There are some options you should 
consider for good results. Think about locking, key disabling, 
--add-drop-tables for example. This depends on your restore needs, though.

Make sure the command you execute results in the action you want. Run it 
from a shell, as the user Bacula would run it as.

Make sure there are no errors. For example, I could imagine that 
--all-databases might conflict with giving a limited account to use.

Verify that the database dump actually contains all the info you need.

And, last not least, do you have any error messages?

Arno

 Thanks
 -- 
 By Diego...  8-P
 
 
 
 
 -
 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] restoring file to a logical volume

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 10:26 AM, [EMAIL PROTECTED] wrote:
 Hi, after try restore the file with error, I try to mount the filesystem on 
 the lvm, it show me an error.

What error?

 I think my trouble it's on the way that I do the backup, I will explain you:
 #1-take a snapshot with:
 lvcreate --snapshot -L 1G --name backup-root vg-uml-008/root
 #2-then run the job:
 Client {
   Name = wrack-fd
   Address = wrack.mydomain.com
   Catalog = Catalogo
   Password = kwhefwl9t34tn2467g9oo
 }
 Job {
   Name = wrack
   Client = wrack-fd
   #FileSet = Full UML
   FileSet = RawPartition
   Write Bootstrap = /usr/local/bacula/var/bacula/working/wrack.bsr
   #JobDefs = Default Servers
   JobDefs = Raw Servers
 }
 
 #The file set
 FileSet {
   Name = RawPartition
   Include {
 Options { signature=MD5; sparse=yes }
 File = /dev/mapper/vg--uml--008-backup--root
 #File = /home/jzam/mkfs/mnt-tmp
   }
 }

Hmm. I'm not sure backing up the snapshot LV is the best solution. I 
might be wrong here, but I suspect that backing that up as a raw device 
might not give you a valid volume.

 #the jobdefs
 JobDefs {
   Name = Raw Servers
   Type = Backup
   Schedule = WeeklyCycleRawServer
   Messages = Standard
   Storage = Tape
   Pool = Default
   Priority = 10
 }
 
 3# the backup with no error
 #At the begening the backup do with no error, I tried again with the same 
 file:
 
 
 27-sep 01:05 doom-dir: Start Backup JobId 662, Job=wrack.2006-09-27_01.05.00
 27-sep 01:20 doom-dir: Bacula 1.38.9 (02May06): 27-sep-2006 01:20:12
   JobId:  662
   Job:wrack.2006-09-27_01.05.00
   Backup Level:   Full
   Client: wrack-fd i686-pc-linux-gnu,debian,3.1
   FileSet:RawPartition 2006-09-20 17:10:37
   Pool:   Default
   Storage:Tape
   Scheduled time: 27-sep-2006 01:05:00
   Start time: 27-sep-2006 01:05:04
   End time:   27-sep-2006 01:20:12
   Elapsed time:   15 mins 8 secs
   Priority:   10
   FD Files Written:   1
   SD Files Written:   1
   FD Bytes Written:   1,073,871,504 (1.073 GB)
   SD Bytes Written:   1,062,273,164 (1.062 GB)
   Rate:   1182,7 KB/s
   Software Compression:   None
   Volume name(s): Backups1-dataware
   Volume Session Id:  15
   Volume Session Time:1159280556
   Last Volume Bytes:  222,551,069,894 (222.5 GB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Backup OK
 
 27-sep 01:20 doom-dir: Begin pruning Jobs.
 27-sep 01:20 doom-dir: No Jobs found to prune.
 27-sep 01:20 doom-dir: Begin pruning Files.
 27-sep 01:20 doom-dir: No Files found to prune.
 27-sep 01:20 doom-dir: End auto prune.
 
 4# then the file it's backed up, I delete de logical volume to try to 
 restore it and verify the file it's ok.
 lvremove /dev/vg-uml-008/backup-root -f
 
 5# I delete the file because it was a snapshot, to retore it I need a empty 
 logical volume in the same group
 lvcreate --size 1G --name backup-root vg-uml-008
 #the logical volume it's not mounted
 
 6# then I run the restore job, some time later I look the error message 
 before showed

Well, this error message might no be an error at all.

 7# I try to mount the filesystem, Then I look an error

Which error?

 8# I don't know what I'm doing wrong
 =(

I'm not really fluent with LVM, but I guess it might be better not to 
back up the snapshot but the original LV.

Then, why do you want to backup the raw LV? I always thought that taking 
snapshot was especially helful if you want to access the files in a 
fixed state, so you might consider doing file based backups of the LV. 
This will also allow you to take differential and incremental backups.

Arno

 thanks a lot
 lordjea
 
 
 
 
 
 
 
 - Original Message - 
 From: John Drescher
 To: lordjea
 Sent: Tuesday, September 26, 2006 6:49 PM
 Subject: Re: [Bacula-users] restoring file to a logical volume
 
 
 
 
 
 On 9/26/06, lordjea [EMAIL PROTECTED] wrote:
 Hi, I'm trying to restore a file with to a logical volume /dev/mappe
 r/vg--uml--008-backup--root, I can't understand what happening
 
 Thanks
 
 
 26-sep 19:05 wrack-fd: Restore_Particiones_RAW.2006-09-26_16.55.44 Error: 
 attribs.c:337 File size of restored file /dev/mappe
 r/vg--uml--008-backup--root not correct. Original 0, restored 1073741824.
 26-sep 17:11 doom-dir: Restore_Particiones_RAW.2006-09-26_16.55.44 Error: 
 Bacula 1.38.9 (02May06): 26-sep-2006 17:11:20
   JobId:  649
   Job:Restore_Particiones_RAW.2006-09-26_16.55.44
   Client: wrack-fd
   Start time: 26-sep-2006 16:55:46
   End time:   26-sep-2006 17:11:20
   Files Expected: 1
   Files Restored: 1
   Bytes Restored: 1,070,530,936
   Rate:   1146,2 KB/s
   

Re: [Bacula-users] Bacula-users Digest, Vol 5, Issue 161

2006-09-27 Thread Daniel Hoeving
Thanks Richard, that clears a great deal up...

Daniel Hoeving
Network Administrator
Campus Crusade for Christ, Canada
E: [EMAIL PROTECTED]
P: (604)514-2107


Message: 2
Date: Tue, 26 Sep 2006 23:06:25 +0100
From: Richard Mortimer [EMAIL PROTECTED]
Subject: Re: [Bacula-users] Restoring file from volume
To: Daniel Hoeving [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain

On Mon, 2006-09-25 at 08:13 -0700, Daniel Hoeving wrote:
 Mike,
 
 Thank you, I've discovered the issue. Who ever set our back-ups up
 originally set a file retention period of thirty days and a job
 retention period of 365 so while I can see the job, the files are
 pruned...
 
 As I understand it from the manual I can use bscan to recover such
 files, however there doesn't seem to be a bscan executable file in our
 install is it a separate package (looked on the site, and it doesn't
 look like it)? And the man page doesn't say anything about using
 bscan.mysql etc...
   deuteronomy:/etc/bacula# locate bscan
   /usr/lib/bacula/bscan.mysql
   /usr/lib/bacula/bscan.pgsql
   /usr/lib/bacula/bscan.sqlite
   /usr/share/man/man8/bscan.8.gz
   /usr/share/man/man8/bscan.mysql.8.gz
   /usr/share/man/man8/bscan.pgsql.8.gz
   /usr/share/man/man8/bscan.sqlite.8.gz
   deuteronomy:/etc/bacula#
 
That looks like the 1.36.x packages in Debian/Sarge. They ship three
versions of bscan for each of the three different director backends.
Just use the appropriate version of bscan that corresponds to your
director backend. i.e. /usr/lib/bacula/bscan.mysql if you use mysql.
The options are as shown in the bscan manpage.

Note I think that Debian/testing packages have a bscan executable but
you are best off using the version that you currently have installed.

Hope this helps.

Richard


-
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] Run before job

2006-09-27 Thread Michael Nelson
On Wed, September 27, 2006 12:29 am, Diego said:

 Any suggestions?

1) Don't post passwords on mailing lists

2) I use automysqlbackup
(http://sourceforge.net/projects/automysqlbackup/).  I have it run, then
later on the bacula backup runs and backs up the stuff automysqlbackup
did.

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] about weekly/monthly pools and non-interactive usage

2006-09-27 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Where are you stuck? What have you tried?

The directives you need to look at are the ones Kern told me to remove
just recently from mine in order to solve my double mount problem.

Take a look at the archives or your INBOX. :)

m listus wrote:
 anyone got a clue?
 i'm stuck on this one...
 thanks,
 mlistus
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

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

iD8DBQFFGnyMmb+gadEcsb4RAszdAJ4yYhiJBVqy6bkpDi/ppEB3jrHEqACgnb/E
vK7duliESpuDy73sWs7LfKY=
=/1A3
-END PGP SIGNATURE-

-
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] Double mount required for just-recycled media

2006-09-27 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kern Sibbald wrote:
 On Wednesday 27 September 2006 04:54, Ryan Novosielski wrote:
 ...I can't figure out what's going on here, but I can make this happen
 pretty reliably. Here is my Device definition in my sd.conf -- I suspect
 this is the only non-standard config options I have and the only options
 that might make a difference:
 
 Set the following:
 Always Open = yes
 (remove Volume Poll Interval)
 Close on Poll = no
 
 Cross your fingers.

I suspected/feared as much. Shouldn't this work as is though? A mount
opens the tape, why should it ask me to mount it again?

Reason I use these is that I can't really trust (unfortunately) my
backup operators to learn to use the console properly. As is, all they
need to do is change the tape.

I guess if it came to killing this problem vs. keeping the directives,
I'd choose the latter anyway.
- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGn1qmb+gadEcsb4RAs/HAJ9+nEF9+U+FUK9Vz+g8RVvl9RGTwQCgz72f
bQVBcXSuilNOxhIZvejKqJI=
=Yqxf
-END PGP SIGNATURE-

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

2006-09-27 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bacula may be a great piece of software, but thank the compression on
your LTO drive, not Bacula in this case.

Janco van der Merwe wrote:
 Once again Bacula amazed me Please see the Last Volume Bytes section 
 of the Bacula e-mail sent to me. This is on a LTO 3 which you all know is 800 
 GB max compressed. What amazed me more is that I restored the data and all is 
 working.
 
 I had the same with my AIT but that was 295GB on a 260GB but thisthis 
 is just incredible! 
 
 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL 
 PROTECTED]
 Sent: 26 September, 2006 06:47
 To: [EMAIL PROTECTED]
 Subject: Bacula: Backup OK of f700100-fd Full
 
 26-Sep 06:41 brutus-dir: Start Backup JobId 71, 
 Job=F700100.2006-09-25_21.00.14
 26-Sep 06:47 brutus-dir: Bacula 1.38.11 (28Jun06): 26-Sep-2006 06:47:25
   JobId:  71
   Job:F700100.2006-09-25_21.00.14
   Backup Level:   Full
   Client: f700100-fd i686-pc-linux-gnu,redhat,7.3
   FileSet:F700100 2006-09-21 04:18:35
   Pool:   Daily
   Storage:PV124-T
   Scheduled time: 25-Sep-2006 21:00:13
   Start time: 26-Sep-2006 06:41:04
   End time:   26-Sep-2006 06:47:25
   Elapsed time:   6 mins 21 secs
   Priority:   18
   FD Files Written:   12,586
   SD Files Written:   12,586
   FD Bytes Written:   3,724,677,819 (3.724 GB)
   SD Bytes Written:   3,726,028,597 (3.726 GB)
   Rate:   9776.1 KB/s
   Software Compression:   None
   Volume name(s): 04L3
   Volume Session Id:  45
   Volume Session Time:1158820025
   Last Volume Bytes:  1,052,817,801,596 (1.052 TB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Backup OK
 
 
 
 
 This communication and any attachments are confidential and intended for the 
 sole use of the
 intended recipient.  Any form of copying or disclosure of this communication 
 to any third parties
 without permission is prohibited.  The contents of this communication and its 
 attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation.  As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including negligence) 
 for the consequences
 of anyone acting, or not acting, on information contained therein.
 
 If you have received this communication in error please notify us immediately 
 and destroy or
 delete 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

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

iD8DBQFFGn3cmb+gadEcsb4RAvPwAJ4mIsUBqfBkEcPnxP1NLqVY6r4HdwCfWAmP
j3QjP+5qvq3c3AHsaTOz9e0=
=qNiz
-END PGP SIGNATURE-

-
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] DAT tape (DDS-3) Compression

2006-09-27 Thread Hristo Benev




Arno Lehmann wrote:

  Hi,

On 9/25/2006 8:31 PM, Hristo Benev wrote:
  
  
Hi,

I have Python 04106-XXX Rev: 7550 DDS-3 tape drive.

Is there a way to check if HW compression is ON or OFF, and what is 
better to use HW or SW one currently I use GZIP=1 SW one

  
  
Well, Hardware compression is done in the tape hardware. You transfer 
the uncompressed data through your network and backup server and SCSI 
subsystem, but don't need extra CPU power on the client.

Personally, I prefer hardware compression, but there are claims that you 
might lose the whole tape contents when you encounter incompatible 
devices. Which is something I consider a myth, given that 
hardware-compressing tape drives are always compatible (as far as I know).

Trying to compress pre-compressed or encrypted data is 
counterproductive, so, if you need fine-grained control over compression 
you better use software compression.

  

I'm aware of all this, but in my case I think SW compression is better,
because I have 10MB network between servers (and that is enough for my
setup - except backup there is no high bandwidth demand application).

Also I've tested the HW compression (on similar drive in 1999) and the
backup was much slower??? and compression really bad!!!

Thats why I typed the command that should disable compression, but how
I can check???
mt -f /dev/tape compression off

  
  
tapeinfo gives me an error

tapeinfo -f /dev/tape

  
  
Try tapeinfo -f /dev/sgX
tapeinfo needs to be pointed to the generig SCSI device representing 
your tape drive.

Arno

  

I have st0 as device, but it gives me the same result

  
  
  
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=Hardware Error
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = C1
mtx: Request Sense: Additional Sense Qualifier = 85
mtx: Request Sense: BPV=yes
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
mtx: Request Sense: Field Pointer = 00 00
INQUIRY Command Failed

and mt status gives:
mt status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (4101):
 BOT ONLINE IM_REP_EN



Thank you,


  
  
  

By the way I use RedHat based OS (CentOS 4.4)

Thanks,
-- 
Hristo Benev
IT Manager

WAVEROAD
Partners in Telecommunications

514-935-2020 x225 T
514-935-1001 F
www.waveroad.ca
[EMAIL PROTECTED]



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


[Bacula-users] Restoring directory

2006-09-27 Thread Jon Ingason
I want to restore subdirectory and everything it contains. How do I do it?

-- 
Regards

Jon Ingason

-
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] Run before job

2006-09-27 Thread Scott Ruckh
This is what you said Arno Lehmann
 Hi,

 On 9/27/2006 9:29 AM, Diego wrote:
 Hi I try various ways for backup a mysql. I think the best is do a
 mysqldump (run before job) and backup the sql file (Fileset = { File =
 tmp/mydatabase.sql } ) but I have a lot of problems with permissions
 with any command. Where the command run before job is executed?in the
 director host (bacula-director)?or in the client host (bacula-fd)?

 A Run Before Job command is executed on the director machine, a Client
 Run Before Job command on the FD machine.

 this is the command I try:

 mysqldump -h localhost -u zimbra --all-databases
 --socket=/opt/zimbra/db/mysql.sock --password=7glTIK_2QcuMJ_wgQVv8Pmxz 
 mydatabase.sql

 Thanks for the password :-)

 You should change it NOW.

 Any suggestions?

 Yes - Read the manual for mysqldump. There are some options you should
 consider for good results. Think about locking, key disabling,
 --add-drop-tables for example. This depends on your restore needs, though.

 Make sure the command you execute results in the action you want. Run it
 from a shell, as the user Bacula would run it as.

 Make sure there are no errors. For example, I could imagine that
 --all-databases might conflict with giving a limited account to use.

 Verify that the database dump actually contains all the info you need.

 And, last not least, do you have any error messages?

As the original poster is not concerned with passwords, check out:
http://www.worldcommunity.com/opensource/utilities/mysql_backup.html

It is a configurable perl script that can be run before a backup to dump
databases to disk.

-
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] how to get noatime to work

2006-09-27 Thread Bart Trojanowski
Hello,

I am trying to get the noatime=yes to work in a fileset.

I am running debian/etch with becula version:

Version: 1.38.11 (28 June 2006) x86_64-pc-linux-gnu debian testing/unstable

My kernel is Linux 2.6.17, and I am almost certain that it supports
O_NOATIME... but I don't think that is being questioned at this point...

Here is my config:

--- 8 ---

FileSet {
  Name = meson-files-exports-vservers
  Include {
Options {
  signature = MD5
  noatime = yes
}
File = /exports/vol2/vservers
  }
}

--- 8 ---

This is the error I get...

--- 8 ---

25-Sep 23:03 meson-dir: ERROR in inc_conf.c:599 Config error: Keyword noatime 
not permitted in this resource
: line 88, col 14 of file /etc/bacula/bacula-dir.conf
  noatime = yes

25-Sep 23:03 meson-dir: ERROR in inc_conf.c:584 Config error: Expecting 
keyword, got: =

: line 88, col 15 of file /etc/bacula/bacula-dir.conf
  noatime = yes

25-Sep 23:03 meson-dir: ERROR in inc_conf.c:599 Config error: Keyword = not 
permitted in this resource
: line 88, col 15 of file /etc/bacula/bacula-dir.conf
  noatime = yes

25-Sep 23:03 meson-dir: ERROR in inc_conf.c:599 Config error: Keyword yes not 
permitted in this resource
: line 88, col 20 of file /etc/bacula/bacula-dir.conf
  noatime = yes

--- 8 ---

I am not sure if what I am doing is an error or not.  I couldn't find
any examples that included noatime.

Thanks in advance,
Bart.

-- 
WebSig: http://www.jukie.net/~bart/sig/


signature.asc
Description: Digital signature
-
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] different backup level on different media type for the same job

2006-09-27 Thread Benoit Callebaut
Hello,
I want to do incremental daily backup on disk and weekly differential 
and monthly full backups on tape

I have created several pools, with volumes on disk for daily backups 
(for the daily pool) and volumes on tape for weekly and montly backups.
Unfortunately, in the job definition, I have to specify the media.

Running the job make

Is it possible to do what I am trying to do ?
Or do I have to create 2 jobs for that ?

-
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] Problem starting bacula-dir with Enable VSS

2006-09-27 Thread Diego Rozzini Pires
Hi,


I' new with bacula and i'm having some difficults in enable VSS for 
Windows 2003.
I'm using Gentoo, kernel 2.6.17-gentoo-r7 and Bacula Version 1.36.3 on 
server, and bacula-fd 1.38.10 on Windows 2003 Server.

When I open the tray icon on Windows i have this:
servername-fd Version: 1.38.10 (08 June 2006) VSS Windows Server 2003 
MVS NT 5.2.

I already started VSS in the Windows server using: net start vss. And 
also restarted the FD.

My FileSet are this:
FileSet {
  Name = Promedonserver2
  Enable VSS = yes
  Include {
Options {
  Compression=GZIP6
  signature = MD5
  }
File = d:/backup
  }
}

When i try to start bacula-dir i got this message:

backupserver bacula # /etc/init.d/bacula restart
 * Starting bacula storage daemon ...
 * Starting bacula file daemon ...
 * Starting bacula director ...
19-Sep 18:21 bacula-dir: ERROR TERMINATION at parse_conf.c:821
Config error: Keyword EnableVSS not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
: line 184, col 13 of file /etc/bacula/bacula-dir.conf
  Enable VSS = yes

I alredy verified my conf looking for some trailing brace open and tried 
to use only one FileSet for test but i didn't found anything.

I've looked at google and bacula site but i didn't find anything too. If 
i skipped something on google or bacula site, please let me know!

Thanks for help!

-- 
__
 
 Diego Rozzini Pires
 Consultor de Tecnologia Trainee
 ZeniSys Tecnologia da Informação
 [EMAIL PROTECTED]
 Fone : 55 11 4425-2424
 Móvel: 55 11 82083168
 Visite : http://www.zenisys.com.br
__


-
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] Bacula 1.38.11 HP-UX binaries

2006-09-27 Thread Heigl Florian - Munich-MR - external



Hi,

I finally was able 
to catch up again, static fd and postgres sd/dir are
done, the mysql 
build will follow this weekend.

The 11.00 version 
will be updated as soon as I get my 11.00 system
back, borrowed it 
out for a few weeks.

anyway the 
downloadurl is:
http://deranfangvomen.de/~floh/bacula/bacula-1.38.11-client.tar.Z
http://deranfangvomen.de/~floh/bacula/bacula-1.38.11-pgsql.tar.Z

archives are 
at:
http://deranfangvomen.de/~floh/bacula/

is there anyone that 
could help me look into largefile and acl support?
they're detected by 
configure and get lost somewhere later. ;)

Greetings,
Florian
-
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] Manual ejection of tape confuses bacula

2006-09-27 Thread Sarath Jayewardena
Hi,

I am experimenting to see whether bacula would be a good system for me to
backup our department's servers. I am running bacula director and storage
daemon on a Debian (sarge) machine which has a scsi DLT tape drive
attached to it. The version of bacula is 1.36.2. It looks promising,
except for one annoying, and in my view, serious problem:

The tape drive allows me to eject the tape by pressing an 'unload'
button. However, afterwards, when I re-insert the tape, bacula cannot read
it, so all the backup data is useless. (Of course, if I have 'unmounted'
the tape from within bconsole before  ejecting, bacula has no problem
accessing the data afterwards.) The question is, is there any way to make
bacula accept the tape if the tape was accidientally, 'improperly'
ejected?

I have browsed the mailing list archive and seen the advice that I could
use AlwaysOpen = no and OfflineOnUnmount = yes to guarantee that
bacula unmounts the tape after each backup. But the advice comes with
the warning that for each backup bacula will be rewinding and
re-positioning the tape consuming a lot of time, so leaving the default
behaviour is really preferred.

If someone knows that this problem does not exist in newer versions of
bacula, I could upgrade to the version (1.38.11) in the Debian testing
distribution.

I would greatly appreciate any help regarding this. Thanks.

- Sarath


-
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] migration vs. replication

2006-09-27 Thread Jeff Dickens
No comment?  It would at least be nice to know if I was wide of the mark.

Jeff Dickens wrote:
 I was just looking through the migration docs, and boy this is just what 
 I've been waiting for.  Now I'm wondering if a vmware machine can access 
 a physical tape drive so I give this a shake without stepping on my 
 current config.

 But the following question presented itself:  If you do a migration and 
 forget to purge the job from the source pool, haven't you succeeded in 
 replicating a job ?  Aha!  Maybe there's already a way to do this, but 
 it sounds to me like some of this code could be reused to implement a 
 formal replication facility.

   

-
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] new User bacula

2006-09-27 Thread GRASSO Maurizio



HEllo 
when I try to create Volume lbel from Bconsole, I 
have the following error message

Using default Catalog name=MyCatalog 
DB=baculaAutomatically selected Storage: FileEnter new Volume name: 
PROVA_BACKUPAutomatically selected Pool: DefaultConnecting to Storage 
daemon File at redoranas:9103 ...Sending label command for Volume 
"PROVA_BACKUP" Slot 0 ...3910 Unable to open device "FileStorage" 
(/tmp/bacula): ERR=dev.c:450 Could not open: /tmp/bacula/PROVA_BACKUP, 
ERR=Permission denied

Label command failed for Volume PROVA_BACKUP.Do 
not forget to mount the drive!!!*what means ?
-
-
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] new User bacula

2006-09-27 Thread Matt Cowger
It means that the user that the SD is running as cannot create a file  
in /tmp/bacula.  Are you sure that directory exists and is writeable?

--Matt


On Sep 21, 2006, at 12:44 AM, GRASSO Maurizio wrote:

 HEllo
 when I try to create Volume lbel from Bconsole, I have the  
 following error message

 Using default Catalog name=MyCatalog DB=bacula
 Automatically selected Storage: File
 Enter new Volume name: PROVA_BACKUP
 Automatically selected Pool: Default
 Connecting to Storage daemon File at redoranas:9103 ...
 Sending label command for Volume PROVA_BACKUP Slot 0 ...
 3910 Unable to open device FileStorage (/tmp/bacula): ERR=dev.c: 
 450 Could not open: /tmp/bacula/PROVA_BACKUP, ERR=Permission denied

 Label command failed for Volume PROVA_BACKUP.
 Do not forget to mount the drive!!!
 *
 what means ?
 -
 -- 
 ---
 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] Problem starting bacula-dir with Enable VSS

2006-09-27 Thread Bill Moran

Just a me too.  I can verify that I'm having the same problem with
a 1.38.10 director on FreeBSD (installed from ports).

In response to Diego Rozzini Pires [EMAIL PROTECTED]:
 
 I' new with bacula and i'm having some difficults in enable VSS for 
 Windows 2003.
 I'm using Gentoo, kernel 2.6.17-gentoo-r7 and Bacula Version 1.36.3 on 
 server, and bacula-fd 1.38.10 on Windows 2003 Server.
 
 When I open the tray icon on Windows i have this:
 servername-fd Version: 1.38.10 (08 June 2006) VSS Windows Server 2003 
 MVS NT 5.2.
 
 I already started VSS in the Windows server using: net start vss. And 
 also restarted the FD.
 
 My FileSet are this:
 FileSet {
   Name = Promedonserver2
   Enable VSS = yes
   Include {
 Options {
   Compression=GZIP6
   signature = MD5
   }
 File = d:/backup
   }
 }
 
 When i try to start bacula-dir i got this message:
 
 backupserver bacula # /etc/init.d/bacula restart
  * Starting bacula storage daemon ...
  * Starting bacula file daemon ...
  * Starting bacula director ...
 19-Sep 18:21 bacula-dir: ERROR TERMINATION at parse_conf.c:821
 Config error: Keyword EnableVSS not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
 : line 184, col 13 of file /etc/bacula/bacula-dir.conf
   Enable VSS = yes
 
 I alredy verified my conf looking for some trailing brace open and tried 
 to use only one FileSet for test but i didn't found anything.
 
 I've looked at google and bacula site but i didn't find anything too. If 
 i skipped something on google or bacula site, please let me know!
 
 Thanks for help!
 
 -- 
 __
  
  Diego Rozzini Pires
  Consultor de Tecnologia Trainee
  ZeniSys Tecnologia da Informação
  [EMAIL PROTECTED]
  Fone : 55 11 4425-2424
  Móvel: 55 11 82083168
  Visite : http://www.zenisys.com.br
 __
 
 
 -
 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


-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.


-
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] migration vs. replication

2006-09-27 Thread Kern Sibbald
On Wednesday 27 September 2006 17:26, Jeff Dickens wrote:
 No comment?  It would at least be nice to know if I was wide of the mark.

This has been discussed before on either this list or the developer's list. 
Bottom line: what you want isn't so easy.

 
 Jeff Dickens wrote:
  I was just looking through the migration docs, and boy this is just what 
  I've been waiting for.  Now I'm wondering if a vmware machine can access 
  a physical tape drive so I give this a shake without stepping on my 
  current config.
 
  But the following question presented itself:  If you do a migration and 
  forget to purge the job from the source pool, haven't you succeeded in 
  replicating a job ?  Aha!  Maybe there's already a way to do this, but 
  it sounds to me like some of this code could be reused to implement a 
  formal replication facility.
 

 
 -
 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] Problem starting bacula-dir with Enable VSS

2006-09-27 Thread Attila Fülöp
Enable VSS = yes

works for me. FreeBSD / 1.38.5 from ports.

Bill Moran wrote:
 Just a me too.  I can verify that I'm having the same problem with
 a 1.38.10 director on FreeBSD (installed from ports).
 
 In response to Diego Rozzini Pires [EMAIL PROTECTED]:
 I' new with bacula and i'm having some difficults in enable VSS for 
 Windows 2003.
 I'm using Gentoo, kernel 2.6.17-gentoo-r7 and Bacula Version 1.36.3 on 
 server, and bacula-fd 1.38.10 on Windows 2003 Server.

 When I open the tray icon on Windows i have this:
 servername-fd Version: 1.38.10 (08 June 2006) VSS Windows Server 2003 
 MVS NT 5.2.

 I already started VSS in the Windows server using: net start vss. And 
 also restarted the FD.

 My FileSet are this:
 FileSet {
   Name = Promedonserver2
   Enable VSS = yes
   Include {
 Options {
   Compression=GZIP6
   signature = MD5
   }
 File = d:/backup
   }
 }
 
 When i try to start bacula-dir i got this message:

 backupserver bacula # /etc/init.d/bacula restart
  * Starting bacula storage daemon ...
  * Starting bacula file daemon ...
  * Starting bacula director ...
 19-Sep 18:21 bacula-dir: ERROR TERMINATION at parse_conf.c:821
 Config error: Keyword EnableVSS not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
 : line 184, col 13 of file /etc/bacula/bacula-dir.conf
   Enable VSS = yes

 I alredy verified my conf looking for some trailing brace open and tried 
 to use only one FileSet for test but i didn't found anything.

 I've looked at google and bacula site but i didn't find anything too. If 
 i skipped something on google or bacula site, please let me know!

 Thanks for help!

 -- 
 __
  
  Diego Rozzini Pires
  Consultor de Tecnologia Trainee
  ZeniSys Tecnologia da Informação
  [EMAIL PROTECTED]
  Fone : 55 11 4425-2424
  Móvel: 55 11 82083168
  Visite : http://www.zenisys.com.br
 __


 -
 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] DAT tape (DDS-3) Compression

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 3:52 PM, Hristo Benev wrote:
...
 I'm aware of all this, but in my case I think SW compression is better, 
 because I have 10MB network between servers (and that is enough for my 
 setup - except backup there is no high bandwidth demand application).
 
 Also I've tested the HW compression (on similar drive in 1999) and the 
 backup was much slower??? and compression really bad!!!

That's something I can't comment on, but I'm quite sure that with all 
tape drives I know compressed backups are faster as long as the 
uncompressed data throughput of the SCSI bus is fast enough to avoid 
shoeshining the tape drive.

 Thats why I typed the command that should disable compression, but how I 
 can check???
 mt  -f /dev/tape compression off
 
tapeinfo gives me an error

tapeinfo -f /dev/tape


Try tapeinfo -f /dev/sgX
tapeinfo needs to be pointed to the generig SCSI device representing 
your tape drive.

Arno


  

 I have st0 as device, but it gives me the same result

Use sg? not st?. st is Sscsi Tape. nst is Non-Rewinding SCSI Tape, ans 
sg is SCSI Generic.

Arno

  

mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=Hardware Error
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = C1
mtx: Request Sense: Additional Sense Qualifier = 85
mtx: Request Sense: BPV=yes
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
mtx: Request Sense: Field Pointer = 00 00
INQUIRY Command Failed

and mt status gives:
mt status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (4101):
 BOT ONLINE IM_REP_EN



Thank you,



  

 By the way I use RedHat based OS (CentOS 4.4)
 
 Thanks,
 
 -- 
 Hristo Benev
 IT Manager
 
 WAVEROAD
 Partners in Telecommunications
 
 514-935-2020 x225 T
 514-935-1001 F
 www.waveroad.ca http://www.waveroad.ca
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.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] Restoring directory

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 4:19 PM, Jon Ingason wrote:
 I want to restore subdirectory and everything it contains. How do I do it?

How do you start your restores (bconsole, wx-console, whatever...) , and 
what does not work?

Usually, you mark the directory you're interested in, type done and 
that's it. More or less :-)

Arno

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

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


Re: [Bacula-users] Problem starting bacula-dir with Enable VSS

2006-09-27 Thread Bill Moran
In response to Attila Fülöp [EMAIL PROTECTED]:

 Enable VSS = yes
 
 works for me. FreeBSD / 1.38.5 from ports.

FileSet {
  Name = WindowsXP
  Include {
Options {
#   Enable VSS = Yes
#  compression = GZIP1
}
File = C:/
  }
}

If I uncomment the VSS line, I get:
27-Sep 13:38 backup-dir: ERROR in inc_conf.c:330 Config error: Keyword 
EnableVSS not permitted in this resource
: line 114, col 18 of file /usr/local/etc/bacula-dir.conf
   Enable VSS = Yes

This config:
FileSet {
  Name = WindowsXP
  Include {
#   Enable VSS = Yes
Options {
#  compression = GZIP1
}
File = C:/
  }
}

Generates the same error.  The error is the same whether I use the  or
not.

 Bill Moran wrote:
  Just a me too.  I can verify that I'm having the same problem with
  a 1.38.10 director on FreeBSD (installed from ports).
  
  In response to Diego Rozzini Pires [EMAIL PROTECTED]:
  I' new with bacula and i'm having some difficults in enable VSS for 
  Windows 2003.
  I'm using Gentoo, kernel 2.6.17-gentoo-r7 and Bacula Version 1.36.3 on 
  server, and bacula-fd 1.38.10 on Windows 2003 Server.
 
  When I open the tray icon on Windows i have this:
  servername-fd Version: 1.38.10 (08 June 2006) VSS Windows Server 2003 
  MVS NT 5.2.
 
  I already started VSS in the Windows server using: net start vss. And 
  also restarted the FD.
 
  My FileSet are this:
  FileSet {
Name = Promedonserver2
Enable VSS = yes
Include {
  Options {
Compression=GZIP6
signature = MD5
}
  File = d:/backup
}
  }
  
  When i try to start bacula-dir i got this message:
 
  backupserver bacula # /etc/init.d/bacula restart
   * Starting bacula storage daemon ...
   * Starting bacula file daemon ...
   * Starting bacula director ...
  19-Sep 18:21 bacula-dir: ERROR TERMINATION at parse_conf.c:821
  Config error: Keyword EnableVSS not permitted in this resource.
  Perhaps you left the trailing brace off of the previous resource.
  : line 184, col 13 of file /etc/bacula/bacula-dir.conf
Enable VSS = yes
 
  I alredy verified my conf looking for some trailing brace open and tried 
  to use only one FileSet for test but i didn't found anything.
 
  I've looked at google and bacula site but i didn't find anything too. If 
  i skipped something on google or bacula site, please let me know!
 
  Thanks for help!
 
  -- 
  __
   
   Diego Rozzini Pires
   Consultor de Tecnologia Trainee
   ZeniSys Tecnologia da Informação
   [EMAIL PROTECTED]
   Fone : 55 11 4425-2424
   Móvel: 55 11 82083168
   Visite : http://www.zenisys.com.br
  __
 
 
  -
  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


-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.


-
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 

Re: [Bacula-users] Problem starting bacula-dir with Enable VSS

2006-09-27 Thread Attila Fülöp
Bill Moran wrote:
 In response to Attila Fülöp [EMAIL PROTECTED]:
 
 Enable VSS = yes

 works for me. FreeBSD / 1.38.5 from ports.

To be more precise

FileSet {
   Name = WinXP
   Enable VSS = yes

   Include {

Note, not in Options and not in Include, just in FileSet
The thread starter did it right though.


 FileSet {
   Name = WindowsXP
   Include {
 Options {
 #   Enable VSS = Yes
 #  compression = GZIP1
 }
 File = C:/
   }
 }
 
 If I uncomment the VSS line, I get:
 27-Sep 13:38 backup-dir: ERROR in inc_conf.c:330 Config error: Keyword 
 EnableVSS not permitted in this resource
 : line 114, col 18 of file /usr/local/etc/bacula-dir.conf
Enable VSS = Yes
 
 This config:
 FileSet {
   Name = WindowsXP
   Include {
 #   Enable VSS = Yes
 Options {
 #  compression = GZIP1
 }
 File = C:/
   }
 }
 
 Generates the same error.  The error is the same whether I use the  or
 not.
 
 Bill Moran wrote:
 Just a me too.  I can verify that I'm having the same problem with
 a 1.38.10 director on FreeBSD (installed from ports).

 In response to Diego Rozzini Pires [EMAIL PROTECTED]:
 I' new with bacula and i'm having some difficults in enable VSS for 
 Windows 2003.
 I'm using Gentoo, kernel 2.6.17-gentoo-r7 and Bacula Version 1.36.3 on 
 server, and bacula-fd 1.38.10 on Windows 2003 Server.

 When I open the tray icon on Windows i have this:
 servername-fd Version: 1.38.10 (08 June 2006) VSS Windows Server 2003 
 MVS NT 5.2.

 I already started VSS in the Windows server using: net start vss. And 
 also restarted the FD.

 My FileSet are this:
 FileSet {
   Name = Promedonserver2
   Enable VSS = yes
   Include {
 Options {
   Compression=GZIP6
   signature = MD5
   }
 File = d:/backup
   }
 }
  
 When i try to start bacula-dir i got this message:

 backupserver bacula # /etc/init.d/bacula restart
  * Starting bacula storage daemon ...
  * Starting bacula file daemon ...
  * Starting bacula director ...
 19-Sep 18:21 bacula-dir: ERROR TERMINATION at parse_conf.c:821
 Config error: Keyword EnableVSS not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
 : line 184, col 13 of file /etc/bacula/bacula-dir.conf
   Enable VSS = yes

 I alredy verified my conf looking for some trailing brace open and tried 
 to use only one FileSet for test but i didn't found anything.

 I've looked at google and bacula site but i didn't find anything too. If 
 i skipped something on google or bacula site, please let me know!

 Thanks for help!

 -- 
 __
  
  Diego Rozzini Pires
  Consultor de Tecnologia Trainee
  ZeniSys Tecnologia da Informação
  [EMAIL PROTECTED]
  Fone : 55 11 4425-2424
  Móvel: 55 11 82083168
  Visite : http://www.zenisys.com.br
 __


 -
 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
 
 



-
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] how to get noatime to work

2006-09-27 Thread Dan Langille
On 25 Sep 2006 at 23:33, Bart Trojanowski wrote:

 Hello,
 
 I am trying to get the noatime=yes to work in a fileset.
 
 I am running debian/etch with becula version:
 
 Version: 1.38.11 (28 June 2006) x86_64-pc-linux-gnu debian testing/unstable
 
 My kernel is Linux 2.6.17, and I am almost certain that it supports
 O_NOATIME... but I don't think that is being questioned at this point...
 
 Here is my config:
 
 --- 8 ---
 
 FileSet {
   Name = meson-files-exports-vservers
   Include {
 Options {
   signature = MD5
   noatime = yes
 }
 File = /exports/vol2/vservers
   }
 }
 
 --- 8 ---
 
 This is the error I get...
 
 --- 8 ---
 
 25-Sep 23:03 meson-dir: ERROR in inc_conf.c:599 Config error: Keyword noatime 
 not permitted in this resource
 : line 88, col 14 of file /etc/bacula/bacula-dir.conf
   noatime = yes
 
 25-Sep 23:03 meson-dir: ERROR in inc_conf.c:584 Config error: Expecting 
 keyword, got: =
 
 : line 88, col 15 of file /etc/bacula/bacula-dir.conf
   noatime = yes
 
 25-Sep 23:03 meson-dir: ERROR in inc_conf.c:599 Config error: Keyword = not 
 permitted in this resource
 : line 88, col 15 of file /etc/bacula/bacula-dir.conf
   noatime = yes
 
 25-Sep 23:03 meson-dir: ERROR in inc_conf.c:599 Config error: Keyword yes not 
 permitted in this resource
 : line 88, col 20 of file /etc/bacula/bacula-dir.conf
   noatime = yes
 
 --- 8 ---
 
 I am not sure if what I am doing is an error or not.  I couldn't find
 any examples that included noatime.
 

I get similar errors if I add noatime = yes to one of my FileSets.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-
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] DAT tape (DDS-3) Compression

2006-09-27 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I see everyone saying this, but my machine works fine when I use the
actual tape device, on Solaris. I don't know what the generic name would
be on Solaris, but I don't have to use it.

Arno Lehmann wrote:
 Hi,
 
 On 9/27/2006 3:52 PM, Hristo Benev wrote:
 ...
 I'm aware of all this, but in my case I think SW compression is better, 
 because I have 10MB network between servers (and that is enough for my 
 setup - except backup there is no high bandwidth demand application).

 Also I've tested the HW compression (on similar drive in 1999) and the 
 backup was much slower??? and compression really bad!!!
 
 That's something I can't comment on, but I'm quite sure that with all 
 tape drives I know compressed backups are faster as long as the 
 uncompressed data throughput of the SCSI bus is fast enough to avoid 
 shoeshining the tape drive.
 
 Thats why I typed the command that should disable compression, but how I 
 can check???
 mt  -f /dev/tape compression off

 tapeinfo gives me an error

 tapeinfo -f /dev/tape


 Try tapeinfo -f /dev/sgX
 tapeinfo needs to be pointed to the generig SCSI device representing 
 your tape drive.

 Arno

 
  

 I have st0 as device, but it gives me the same result
 
 Use sg? not st?. st is Sscsi Tape. nst is Non-Rewinding SCSI Tape, ans 
 sg is SCSI Generic.
 
 Arno
 
  

 mtx: Request Sense: Long Report=yes
 mtx: Request Sense: Valid Residual=no
 mtx: Request Sense: Error Code=0 (Unknown?!)
 mtx: Request Sense: Sense Key=Hardware Error
 mtx: Request Sense: FileMark=no
 mtx: Request Sense: EOM=no
 mtx: Request Sense: ILI=no
 mtx: Request Sense: Additional Sense Code = C1
 mtx: Request Sense: Additional Sense Qualifier = 85
 mtx: Request Sense: BPV=yes
 mtx: Request Sense: Error in CDB=no
 mtx: Request Sense: SKSV=no
 mtx: Request Sense: Field Pointer = 00 00
 INQUIRY Command Failed

 and mt status gives:
 mt status
 SCSI 2 tape drive:
 File number=0, block number=0, partition=0.
 Tape block size 512 bytes. Density code 0x25 (DDS-3).
 Soft error count since last status=0
 General status bits on (4101):
 BOT ONLINE IM_REP_EN



 Thank you,



  

 By the way I use RedHat based OS (CentOS 4.4)

 Thanks,

 -- 
 Hristo Benev
 IT Manager

 WAVEROAD
 Partners in Telecommunications

 514-935-2020 x225 T
 514-935-1001 F
 www.waveroad.ca http://www.waveroad.ca
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]


 

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


 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

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

iD8DBQFFGsJAmb+gadEcsb4RAgUpAJ41/wmp41vefarVkTBcef0GbtTelgCeJEuN
ydQJODC2oOJS4DBbjk0SCc0=
=ZuxK
-END PGP SIGNATURE-

-
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] different backup level on different media type for the same job

2006-09-27 Thread Arno Lehmann
Hi,

On 9/21/2006 3:21 PM, Benoit Callebaut wrote:
 Hello,
 I want to do incremental daily backup on disk and weekly differential 
 and monthly full backups on tape
 
 I have created several pools, with volumes on disk for daily backups 
 (for the daily pool) and volumes on tape for weekly and montly backups.
 Unfortunately, in the job definition, I have to specify the media.
 
 Running the job make

I can't exactly follow here...

 Is it possible to do what I am trying to do ?

Yes.

 Or do I have to create 2 jobs for that ?

Definitely not.

You set up different pools. One pool is used on disk storage only, the 
other (or others - I refer having pools for Full, Diff and Incr backups 
separate) is used with tapes.

The magic happens in the schedule: A line like run= pool=Full 
storage=Tape timespec starts a job that goes to tape, and a line like 
run= pool=Incr storage=Disk different timespec _in the same 
schedule_ starts a job to disk.

With the 1.39 development versions it's most useful to have a storage 
definition in the pool resource, and set up jobs with full, differential 
and incremental pool directives - then even in case of automatically 
upgraded or manually started jobs the data will go to the right media, 
wich oherwise can be a pain...

Arno

 
 -
 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] DAT tape (DDS-3) Compression

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 7:33 PM, Hristo Benev wrote:
...
 sg does not exist for me.

check if you've got the module sg loaded. lsmod is one possibility here.

 So I cannot use it, I have only /dev/st0 and /dev/tape is link to nst0

Try modprobe sg. If this doesn't work either you don't have sg as a 
module, you don't run linux :-), or there's some problem which should 
show up in the system log.

If there's no sg you should check how your kernel is configured. IMO, sg 
is a very valuable interface for all sorts of stuff. Like getting 
information about devices :-)

Arno


 Thank you anyway.
 
 -- 
 Hristo Benev
 IT Manager
 
 WAVEROAD
 Partners in Telecommunications
 
 514-935-2020 x225 T
 514-935-1001 F
 www.waveroad.ca http://www.waveroad.ca
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 

-- 
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] newbie using bacula

2006-09-27 Thread Kern Sibbald
On Wednesday 27 September 2006 19:00, Max Amani wrote:
 Hi kern ,
   I hope I am not bugging you . 

It is always better to ask the list as they are better at this than I am.

   I am new to bacula and I have been having problem with my backup . I set 
up bacula on Freebsd 6.1 to backup couple window servers. One is backing up 
without problem but the other two are giving me the same error message in the 
middle of their backup process. The error is as follow; 

   ###

   26-Sep 17:26 backup-dir: Tsiu_Weekly.2006-09-26_15.26.15 Fatal error: 
Network er   ror with FD during Backup: 
ERR=Connection reset by peer
 26-Sep 17:26 backup-dir: Tsiu_Weekly.2006-09-26_15.26.15 Fatal error: No Job 
sta   tus returned from FD.
 26-Sep 17:26 backup-dir: Tsiu_Weekly.2006-09-26_15.26.15 Error: Bacula 
1.38.5 (1   8Jan06): 26-Sep-2006 17:26:51
   JobId:  60
   Job:Tsiu_Weekly.2006-09-26_15.26.15
   Backup Level:   Full (upgraded from Incremental)
   Client: tsiu-fd Windows Server 2003,MVS,NT 5.2.3790
   FileSet:Tsiu Full Set 2006-09-21 14:47:16
   Pool:   Default
   Storage:File
   Scheduled time: 26-Sep-2006 15:23:30
   Start time: 26-Sep-2006 15:26:17
   End time:   26-Sep-2006 17:26:51
   Priority:   10
   FD Files Written:   0
   SD Files Written:   0
   FD Bytes Written:   0
   SD Bytes Written:   0
   Rate:   0.0 KB/s
   Software Compression:   None
   Volume name(s):
   Volume Session Id:  1
   Volume Session Time:1159308602
   Last Volume Bytes:  9,367,113,290
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  Error
   SD termination status:  Running
   Termination:*** Backup Error ***
 
   ###

   I tried using the Heartbeat Interval but still the same error keep coming. 
All the set up are the same as the one that is working fine. I really need 
your help I 've been working on this for long .
   Do you have any suggestion that can help me ?

Make sure you have set the heartbeat interval in both the SD and FD.  I 
suspect you have bad firmware in your Windows machines (very common), or a 
bad network card, or a bad switch (3Coms are very problematic -- I just threw 
out the last one that I will ever own).


   Thanks
 
   
 -
 Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

-
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] DAT tape (DDS-3) Compression

2006-09-27 Thread Arno Lehmann
Hi,

On 9/27/2006 8:26 PM, Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I see everyone saying this, but my machine works fine when I use the
 actual tape device, on Solaris.

That's because we've only got linux running...

 I don't know what the generic name would
 be on Solaris, but I don't have to use it.

That reminds me... do you know the cdrecord program? If you ever did any 
research, code-review, bug hunting or general discussion about the used 
libscg you might have encountered the author of that program, who has 
really strong views about the quality of the APIs of linux vs. Sun 
software...

Arno

 Arno Lehmann wrote:
 
Hi,

On 9/27/2006 3:52 PM, Hristo Benev wrote:
...

I'm aware of all this, but in my case I think SW compression is better, 
because I have 10MB network between servers (and that is enough for my 
setup - except backup there is no high bandwidth demand application).

Also I've tested the HW compression (on similar drive in 1999) and the 
backup was much slower??? and compression really bad!!!

That's something I can't comment on, but I'm quite sure that with all 
tape drives I know compressed backups are faster as long as the 
uncompressed data throughput of the SCSI bus is fast enough to avoid 
shoeshining the tape drive.


Thats why I typed the command that should disable compression, but how I 
can check???
mt  -f /dev/tape compression off


tapeinfo gives me an error

tapeinfo -f /dev/tape
   


Try tapeinfo -f /dev/sgX
tapeinfo needs to be pointed to the generig SCSI device representing 
your tape drive.

Arno


 


I have st0 as device, but it gives me the same result

Use sg? not st?. st is Sscsi Tape. nst is Non-Rewinding SCSI Tape, ans 
sg is SCSI Generic.

Arno


 


mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=Hardware Error
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = C1
mtx: Request Sense: Additional Sense Qualifier = 85
mtx: Request Sense: BPV=yes
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
mtx: Request Sense: Field Pointer = 00 00
INQUIRY Command Failed

and mt status gives:
mt status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (4101):
BOT ONLINE IM_REP_EN



Thank you,

   


 


By the way I use RedHat based OS (CentOS 4.4)

Thanks,

-- 
Hristo Benev
IT Manager

WAVEROAD
Partners in Telecommunications

514-935-2020 x225 T
514-935-1001 F
www.waveroad.ca http://www.waveroad.ca
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]




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




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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

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


[Bacula-users] scsi tape and btape problems

2006-09-27 Thread Tom Plancon
Hello All,

I'm setting up Bacula 1.38.11 with Postgresql on a dual Opteron system
running FC4 and a HP Storageworks DAT-72 external SCSI tape drive. The
tape drive is not behaving well and I'm trying to isolate whether it's a
Bacula issue or my system. I'm hoping list members can enlighten me as
to what might be going on by looking through these log files---

Following are scsi references in my dmesg:

3w-9xxx: scsi0: AEN: INFO (0x04:0x0053): Battery capacity test
is overdue:.
scsi0 : 3ware 9000 Storage Controller
3w-9xxx: scsi0: Found a 3ware 9000 Storage Controller at 0xfcffd000,
IRQ: 217.
3w-9xxx: scsi0: Firmware FE9X 2.08.00.006, BIOS BE9X 2.03.01.052, Ports: 4.
  Vendor: AMCC  Model: 9500S-4LP  DISK   Rev: 2.08
  Type:   Direct-Access  ANSI SCSI revision: 03
SCSI device sda: 312477696 512-byte hdwr sectors (159989 MB)
SCSI device sda: drive cache: none
SCSI device sda: 312477696 512-byte hdwr sectors (159989 MB)
SCSI device sda: drive cache: none
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: Attached scsi disk sda
  Vendor: AMCC  Model: 9500S-4LP  DISK   Rev: 2.08
  Type:   Direct-Access  ANSI SCSI revision: 03
SCSI device sdb: 312477696 512-byte hdwr sectors (159989 MB)
SCSI device sdb: drive cache: none
SCSI device sdb: 312477696 512-byte hdwr sectors (159989 MB)
SCSI device sdb: drive cache: none
 sdb: sdb1
sd 0:0:1:0: Attached scsi disk sdb
libata version 1.20 loaded.
sata_nv :00:07.0: version 0.8
ACPI: PCI Interrupt Link [APSI] enabled at IRQ 23
GSI 17 sharing vector 0xE1 and IRQ 17
ACPI: PCI Interrupt :00:07.0[A] - Link [APSI] - GSI 23 (level,
low) - IRQ 225
PCI: Setting latency timer of device :00:07.0 to 64
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xCC00 irq 225
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xCC08 irq 225
ata1: SATA link down (SStatus 0)
scsi1 : sata_nv
ata2: SATA link down (SStatus 0)
scsi2 : sata_nv
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 22
GSI 18 sharing vector 0xE9 and IRQ 18
ACPI: PCI Interrupt :00:08.0[A] - Link [APSJ] - GSI 22 (level,
low) - IRQ 233
PCI: Setting latency timer of device :00:08.0 to 64
ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xB800 irq 233
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xB808 irq 233
ata3: SATA link down (SStatus 0)
scsi3 : sata_nv
ata4: SATA link down (SStatus 0)
scsi4 : sata_nv
Fusion MPT base driver 3.03.04
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.04
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
GSI 19 sharing vector 0x32 and IRQ 19
ACPI: PCI Interrupt :01:09.0[A] - Link [APC3] - GSI 18 (level,
low) - IRQ 50
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
scsi5 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=50
  Vendor: HPModel: C7438ARev: ZP5A
  Type:   Sequential-Access  ANSI SCSI revision: 03
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
st: Version 20050830, fixed bufsize 32768, s/g segs 256
st 5:0:3:0: Attached scsi tape st04st0: try direct i/o: yes (alignment
512 B), max page reachable by HBA 4503599627370495..

...Fusion MPT base driver 3.03.04
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.04
ACPI: PCI Interrupt :01:09.0[A] - Link [APC3] - GSI 18 (level,
low) - IRQ 50
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
scsi6 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=50
  Vendor: HPModel: C7438ARev: ZP5A
  Type:   Sequential-Access  ANSI SCSI revision: 03
st 6:0:3:0: Attached scsi tape st04st0: try direct i/o: yes (alignment
512 B), max page reachable by HBA 4503599627370495
st0: Block limits 1 - 16777215 bytes.



The output of cat /proc/scsi/scsi:


Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: AMCC Model: 9500S-4LP  DISK  Rev: 2.08
  Type:   Direct-AccessANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: AMCC Model: 9500S-4LP  DISK  Rev: 2.08
  Type:   Direct-AccessANSI SCSI revision: 03
Host: scsi8 Channel: 00 Id: 03 Lun: 00
  Vendor: HP   Model: C7438A   Rev: ZP5A
  Type:   Sequential-Access
 ANSI SCSI revision: 03
 
 
Partial output of lsmod:


Module  Size  Used by


snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore  45025  1 snd
snd_page_alloc 46289  2 snd_intel8x0,snd_pcm
forcedeth  60869  0
tg3   140101  0
floppy107993  0
st 77289  2
ext3  179665  2
jbd   100073  1 ext3
mptspi 43209  0
mptscsih   

[Bacula-users] CVS warning

2006-09-27 Thread Kern Sibbald
Hello,

I've narrowed down the kernel crash that I have been seeing in code *after* 
the 1.39.22 beta version was released (the beta is OK).  The problem is in 
bscan, and for the moment seems to be limited to bscan.  

If for some reason you are using the current CVS, I recommend not using a 
bscan built from it on a Linux system (actually on any system, though it 
seems to run fine on Solaris and FreeBSD) until I pin point and fix the 
problem.  

Bacula itself seems OK, at least it has never crashed my system.  If you need 
bscan, it can be safely built from the 1.39.22 beta.

Best regards,

Kern

-
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] DAT tape (DDS-3) Compression

2006-09-27 Thread Hristo Benev




Arno Lehmann wrote:

  Hi,

On 9/27/2006 3:52 PM, Hristo Benev wrote:
...
  
  
I'm aware of all this, but in my case I think SW compression is better, 
because I have 10MB network between servers (and that is enough for my 
setup - except backup there is no high bandwidth demand application).

Also I've tested the HW compression (on similar drive in 1999) and the 
backup was much slower??? and compression really bad!!!

  
  
That's something I can't comment on, but I'm quite sure that with all 
tape drives I know compressed backups are faster as long as the 
uncompressed data throughput of the SCSI bus is fast enough to avoid 
shoeshining the tape drive.

  
  
Thats why I typed the command that should disable compression, but how I 
can check???
mt  -f /dev/tape compression off



  
tapeinfo gives me an error

tapeinfo -f /dev/tape
   


  
  Try tapeinfo -f /dev/sgX
tapeinfo needs to be pointed to the generig SCSI device representing 
your tape drive.

Arno

  

  
  
  
  

   

  

I have st0 as device, but it gives me the same result

  
  
Use sg? not st?. st is Sscsi Tape. nst is Non-Rewinding SCSI Tape, ans 
sg is SCSI Generic.

Arno

  
  

   

  
  
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=0 (Unknown?!)
mtx: Request Sense: Sense Key=Hardware Error
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = C1
mtx: Request Sense: Additional Sense Qualifier = 85
mtx: Request Sense: BPV=yes
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
mtx: Request Sense: Field Pointer = 00 00
INQUIRY Command Failed

and mt status gives:
mt status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x25 (DDS-3).
Soft error count since last status=0
General status bits on (4101):
BOT ONLINE IM_REP_EN



Thank you,

   


  
   

  

By the way I use RedHat based OS (CentOS 4.4)

Thanks,

-- 
Hristo Benev
IT Manager

WAVEROAD
Partners in Telecommunications

514-935-2020 x225 T
514-935-1001 F
www.waveroad.ca http://www.waveroad.ca
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]




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




___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

  
  
  

sg does not exist for me.

So I cannot use it, I have only /dev/st0 and /dev/tape is link to nst0

Thank you anyway.

-- 
Hristo Benev
IT Manager

WAVEROAD
Partners in Telecommunications

514-935-2020 x225 T
514-935-1001 F
www.waveroad.ca
[EMAIL PROTECTED]



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


Re: [Bacula-users] Problem starting bacula-dir with Enable VSS

2006-09-27 Thread DAve
Attila Fülöp wrote:
 Enable VSS = yes
 
 works for me. FreeBSD / 1.38.5 from ports.
 
 Bill Moran wrote:
 Just a me too.  I can verify that I'm having the same problem with
 a 1.38.10 director on FreeBSD (installed from ports).

 In response to Diego Rozzini Pires [EMAIL PROTECTED]:
 I' new with bacula and i'm having some difficults in enable VSS for 
 Windows 2003.
 I'm using Gentoo, kernel 2.6.17-gentoo-r7 and Bacula Version 1.36.3 on 
 server, and bacula-fd 1.38.10 on Windows 2003 Server.

 When I open the tray icon on Windows i have this:
 servername-fd Version: 1.38.10 (08 June 2006) VSS Windows Server 2003 
 MVS NT 5.2.

 I already started VSS in the Windows server using: net start vss. And 
 also restarted the FD.

 My FileSet are this:
 FileSet {
   Name = Promedonserver2
   Enable VSS = yes
   Include {
 Options {
   Compression=GZIP6
   signature = MD5
   }
 File = d:/backup
   }
 }
  
 When i try to start bacula-dir i got this message:

 backupserver bacula # /etc/init.d/bacula restart
  * Starting bacula storage daemon ...
  * Starting bacula file daemon ...
  * Starting bacula director ...
 19-Sep 18:21 bacula-dir: ERROR TERMINATION at parse_conf.c:821
 Config error: Keyword EnableVSS not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
 : line 184, col 13 of file /etc/bacula/bacula-dir.conf
   Enable VSS = yes

 I alredy verified my conf looking for some trailing brace open and tried 
 to use only one FileSet for test but i didn't found anything.

 I've looked at google and bacula site but i didn't find anything too. If 
 i skipped something on google or bacula site, please let me know!

 Thanks for help!

## This fails
FileSet {
   Name = Elwood-esmonitor1
   Include {
   Options {
 compression=GZIP
 signature=SHA1
 portable = yes
 Enable VSS = yes
}
   File = C:\\bacula
   File = C:\\mrtg
   }
}


bash-2.05b# /usr/local/etc/rc.d/900-bacula.sh restart
27-Sep 12:53 bacula-dir: ERROR TERMINATION at inc_conf.c:592
Config error: Keyword EnableVSS not permitted in this resource
 : line 141, col 23 of file /usr/local/etc/bacula-elwood.conf
 Enable VSS = yes

bash-2.05b# bconsole -c bconsole.conf
Connecting to Director 10.0.240.200:49001
1000 OK: director-dir Version: 1.38.5 (18 January 2006)

bash-2.05b# uname -a
FreeBSD director.tls.net 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Tue Mar 14 
13:18:57 EST 2006 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/DIRECTOR  i386


I moved the Enable VSS = yes up out of options and quoted the yes and 
now it works, at least the director starts. I mistakenly believed when 
the docs stated to add Enable VSS = yes to my fileset it would be an 
option. Apparently not.

## This works
FileSet {
   Name = Elwood-esmonitor1
   Enable VSS = yes
   Include {
   Options {
 compression=GZIP
 signature=SHA1
 portable = yes
   }
   File = C:\\bacula
   File = C:\\mrtg
   }
}

See if that helps you.

DAve

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

Maybe they forgot who made that choice possible.

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


Re: [Bacula-users] CVS warning

2006-09-27 Thread Michael Brennen
On Wednesday 27 September 2006 04:07 pm, Kern Sibbald wrote:

 If for some reason you are using the current CVS, I recommend not using a
 bscan built from it on a Linux system (actually on any system, though it
 seems to run fine on Solaris and FreeBSD) until I pin point and fix the
 problem.

For what it's worth, CVS as of yesterday is running reasonably well.  As 
always, I will be glad to supply more information as needed.

There are three known exceptions so far.

As reported a couple of weeks ago in the client side encryption on a Windows 
system, I cannot use the master key configuration; a message is issued that 
complains about the private key not being found.  The fd key works, the 
master key does not.

There remains the problem I reported a few days ago of only using drive 0 of 
my 4 drive autochanger.

I've not tried a restore from windows in the past couple of days, but as 
posted a few days ago I was having trouble with an incorrect pool selection 
after going through the file selection.

-- 

   -- 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] how to get noatime to work

2006-09-27 Thread Bart Trojanowski
* Arno Lehmann [EMAIL PROTECTED] [060927 18:23]:
 Hi,
 
 On 9/26/2006 5:33 AM, Bart Trojanowski wrote:
  Hello,
  
  I am trying to get the noatime=yes to work in a fileset.
  
  I am running debian/etch with becula version:
  
  Version: 1.38.11 (28 June 2006) x86_64-pc-linux-gnu debian testing/unstable
 
 According to the ReleaseNotes file, you need 1.39.18 and upwards for the 
 noatime option. That is still a beta version.

Thanks, Arno.  When this version becomes available to me through Debian,
and I upgrade and try again.

Do you know if I will be able to add this flag to my FileSet without
the job being promoted to a full backup?

-Bart

-- 
WebSig: http://www.jukie.net/~bart/sig/


signature.asc
Description: Digital signature
-
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