[Bacula-users] bacula 2.0.1 error in xp

2007-01-18 Thread Andres Sanchez Garcia
hello!

sorry, but my english is very poor.

I installed bacula 2.0.1 in windows xp (spanish version). When i
executed the bacula-dir.exe, i have this error:

bacula-dir.exe: ERROR TERMINATION at ../../lib/parse_conf.c: 819
config error: Cannot open config file "C:\Documents and Settings\All
Users\Application Data\Bacula\bacula-dir.conf": No such file or directory.



NOTE: In windows XP spanish version the path is diferent: "C:\Documents
and Settings\All Users\Datos de Programa\Bacula\bacula-dir.conf"

NOTE: I'm serching in bacula-dir.conf, to change the path. But all path
are ok for the spanish version.

NOTE: I created a path "C:\Documents and Settings\All Users\Application
Data\Bacula\". And i linked the config files of bacula. It don't work.

The version of bacula 2.0.0 in windows xp haven't this problem.

It is a bug?


Andres

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


[Bacula-users] Marking Directories/Files to be restored

2007-01-18 Thread Janco van der Merwe
We are trying to run a DR test and I'm have some problems
 
  CommandDescription
  ======
  cd change current directory
  count  count marked files in and below the cd
  dirlong list current directory, wildcards allowed
  done   leave file selection mode
  estimate   estimate restore size
  exit   same as done command
  find   find files, wildcards allowed
  help   print help
  ls list current directory, wildcards allowed
  lsmark list the marked files in and below the cd
  mark   mark dir/file to be restored recursively, wildcards allowed
  markdirmark directory name to be restored (no files)
  pwdprint current working directory
  unmark unmark dir/file to be restored recursively in dir
  unmarkdir  unmark directory name only no recursion
  quit   quit and do not do restore
  ?  print help
 
$ ls
Arthur Data/
Departments/
UCS/
$ mark Arthur Data
No files marked.
$ markdir Arthur Data
No directories marked.
$ lsmark
$
 
On this particular Win2003 Server client we backup to partitions, the D:/ and 
E:/. On the E:/ partition we have the 3 directories shown above but I only want 
to restore the Arthur Data dir but as you can see it does not want to mark it. 
I tried to mark one of the other dirs but it does exactly the same, I even 
tried marking the E:/ but nothing. Any idea? 
 
Janco v.d Merwe
Network Administrator
Dunns Stores (Pty) Ltd
Switchboard: (011) 541 3000
Direct: (011) 541 3007
Fax: 0866321708
 



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


[Bacula-users] FW: Marking Directories/Files to be restored

2007-01-18 Thread Janco van der Merwe
Sorry problem solved - user error
 
Janco v.d Merwe
Network Administrator
Dunns Stores (Pty) Ltd
Switchboard: (011) 541 3000
Direct: (011) 541 3007
Fax: 0866321708



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Janco van der 
Merwe
Sent: 18 January, 2007 10:55
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Marking Directories/Files to be restored
 
We are trying to run a DR test and I'm have some problems
 
  CommandDescription
  ======
  cd change current directory
  count  count marked files in and below the cd
  dirlong list current directory, wildcards allowed
  done   leave file selection mode
  estimate   estimate restore size
  exit   same as done command
  find   find files, wildcards allowed
  help   print help
  ls list current directory, wildcards allowed
  lsmark list the marked files in and below the cd
  mark   mark dir/file to be restored recursively, wildcards allowed
  markdirmark directory name to be restored (no files)
  pwdprint current working directory
  unmark unmark dir/file to be restored recursively in dir
  unmarkdir  unmark directory name only no recursion
  quit   quit and do not do restore
  ?  print help
 
$ ls
Arthur Data/
Departments/
UCS/
$ mark Arthur Data
No files marked.
$ markdir Arthur Data
No directories marked.
$ lsmark
$
 
On this particular Win2003 Server client we backup to partitions, the D:/ and 
E:/. On the E:/ partition we have the 3 directories shown above but I only want 
to restore the Arthur Data dir but as you can see it does not want to mark it. 
I tried to mark one of the other dirs but it does exactly the same, I even 
tried marking the E:/ but nothing. Any idea? 
 
Janco v.d Merwe
Network Administrator
Dunns Stores (Pty) Ltd
Switchboard: (011) 541 3000
Direct: (011) 541 3007
Fax: 0866321708
 
 




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


[Bacula-users] qt-console

2007-01-18 Thread Kern Sibbald
Hello,

This is just to let you know that I have now committed the first cut of the 
qt-console (the name until voting is completed) to the Source Forge CVS. The 
new directory is:

  /src/qt-console

the current procedure is:

  cd /src/qt-console
  make

the program will be named qt-console.

I've improved the layout somewhat, but I have not yet figured out how to limit 
the size of the left window compared to the right window.  I would like the 
left window to remain unchanged when the Window is resized.  It would change 
size horizontally only when the size bar is moved.  The window on the right, 
should grow/shrink with the main window being resized.


In addition, I have not figured out how to get the silly widgets within the 
containers to grow to fill the container.  Oh well, that will surely come.

Finally, if you know how to hook other window classes (dialogs) in 
subdirectories into the Stacked Widget, please let me know.  I envision to 
have each major item in the left "browser" or "function" window pull up 
dialogs in the right window that are in a subdirectory (e.g. restore, backup, 
reports, ...).  Each subdirectory can contain one or more forms (xxx.ui) that 
will be used depending on how the user proceeds through the dialogs, ...

Anyone who can figure out any of the above, please let me know.  Otherwise, 
with a bit of time and reading on Qt, I'll get there.

If you are wondering about what the windows should contain.  The left window 
is meant to be a tree that looks very similar to a browser directory tree in 
many windows -- e.g. Windows Explorer.  The items represent Bacula daemons 
and actions you can perform (restore, backup, see the catalog, ...).  Some of 
the items will open to expose sub-items.  For example a Restore item could 
have under it 5 or 10 different ways to restore (all, by file, by date, ...).  
Once an item is clicked in the left tree window, the right window, which is a 
set of StackedWidgets will display the appropriate "dialog" for the thing 
that you have chosen.  In some cases, such as the console, this will simply 
be a Text window.  In other cases, it may be a tabbed window, and in others 
simply something that looks like a dialog box.  Everyone on these lists who 
has been using a GUI has seen this kind of interface before.  If my 
description is not clear, it will become so after we are able to fill in a 
few real items and make them functional.

Regards,

Kern

PS: two people have officially offered their help with the project and have 
been accepted:

1. Christopher Rasch-Olsen Raa  -- developer
2. Julián Hernandez -- GUI usability

Thanks guys.

One other persons is still considering the project ...

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


[Bacula-users] Problem installing Bacula 2.0 from rpm

2007-01-18 Thread Jon Ingason
Hi I have problem installing Bacula 2.0 on FC6. The FC6 is instlled on
HP dx5051 with AMD 64 CPU. When I try to install I get following:

[EMAIL PROTECTED] 2.0]# rpm -i bacula-mysql-2.0.0-1.fc6.x86_64.rpm
warning: bacula-mysql-2.0.0-1.fc6.x86_64.rpm: Header V3 DSA signature:
NOKEY, key ID faf24cca
error: Failed dependencies:
libacl.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libacl.so.1(ACL_1.0)(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libc.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libcrypto.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libdl.so.2()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libgcc_s.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libm.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libmysqlclient_r.so.15()(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libpthread.so.0()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libpthread.so.0(GLIBC_2.3.3)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
librt.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libssl.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libstdc++.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libstdc++.so.6(CXXABI_1.3)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libtermcap.so.2()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libutil.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
libutil.so.1(GLIBC_2.2.5)(64bit) is needed by
bacula-mysql-2.0.0-1.x86_64
libz.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
[EMAIL PROTECTED] 2.0]#

There seems to be dependancy problem but everything is on is place so
there should not be any:

libacl.so: /lib/libacl.so.1
libc.so: /lib/libc.so.6 /usr/lib/libc.so
libcrypto.so: /lib/libcrypto.so.6 /usr/lib/libcrypto.so
libdl.so: /lib/libdl.so.2 /usr/lib/libdl.so
libgcc_s.so: /lib/libgcc_s.so.1
libm.so: /lib/libm.so.6 /usr/lib/libm.so
libmysqlclient_r.so: /usr/lib/mysql/libmysqlclient_r.so.15
libpthread.so: /lib/libpthread.so.0 /usr/lib/libpthread.so
librt.so: /lib/librt.so.1 /usr/lib/librt.so
libssl.so: /lib/libssl.so.6 /usr/lib/libssl.so
libstdc++.so: /usr/lib/libstdc++.so.6
libtermcap.so: /lib/libtermcap.so.2
libutil.so: /lib/libutil.so.1 /usr/lib/libutil.so
libz.so: /usr/lib/libz.so.1 /usr/lib/libz.so

Where is the problem?
-- 
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.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Snapshots - now ready

2007-01-18 Thread Kern Sibbald
As always, thanks :-)

On Wednesday 10 January 2007 17:35, Dan Langille wrote:
> Folks,
> 
> I previously mentioned that I provide daily snapshots of the Bacula 
> code through http://www.langille.org/
> 
> These snapshots have now been moved to http://snapshots.bacula.org/
> 
> Snapshots are taking just before midnight EST.  The lastest snapshot 
> is available through a constant URL found on the main page.  
> Historical snapshots are available from the archives directory.  The 
> snapshots will be useful to those want to test out the latest version 
> without using CVS.
> 
> The plan is to run the regresssion scripts each night and have the 
> results available on the website.  Such regression tests go a long 
> way towards keep the product reliable and stable.  Problems are 
> quickly highlighted.  At present, my time is short, so if anyone 
> wants to help out in designing and putting together the automation of 
> the regressions scripts, please get in touch.  Ideally, we could do 
> this on multiple platforms and centralizing the results.
> 
> -- 
> Dan Langille : Software Developer looking for work
> my resume: http://www.freebsddiary.org/dan_langille.php
> PGCon - The PostgreSQL Conference - http://www.pgcon.org/
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
> 

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


Re: [Bacula-users] [Bacula-devel] Snapshots - now ready

2007-01-18 Thread James Harper
> The plan is to run the regresssion scripts each night and have the
> results available on the website.  Such regression tests go a long
> way towards keep the product reliable and stable.  Problems are
> quickly highlighted.  At present, my time is short, so if anyone
> wants to help out in designing and putting together the automation of
> the regressions scripts, please get in touch.  Ideally, we could do
> this on multiple platforms and centralizing the results.

Are you aware of any 'virtual tape drive' implementations that run under
Linux? I think it's on the roadmap for IET (iSCSI Enterprise Target),
but still vapourware at this stage, although I think I just saw a patch
to implement a virtual DVD burner. It would be really nice to be able to
run regression tests on a (virtual) tape drive, and to be able to
simulate all sorts of failure modes to make sure they are handled
gracefully.

James


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


Re: [Bacula-users] [Bacula-devel] Snapshots - now ready

2007-01-18 Thread Kern Sibbald
On Thursday 18 January 2007 13:02, James Harper wrote:
> > The plan is to run the regresssion scripts each night and have the
> > results available on the website.  Such regression tests go a long
> > way towards keep the product reliable and stable.  Problems are
> > quickly highlighted.  At present, my time is short, so if anyone
> > wants to help out in designing and putting together the automation of
> > the regressions scripts, please get in touch.  Ideally, we could do
> > this on multiple platforms and centralizing the results.
> 
> Are you aware of any 'virtual tape drive' implementations that run under
> Linux? I think it's on the roadmap for IET (iSCSI Enterprise Target),
> but still vapourware at this stage, although I think I just saw a patch
> to implement a virtual DVD burner. It would be really nice to be able to
> run regression tests on a (virtual) tape drive, and to be able to
> simulate all sorts of failure modes to make sure they are handled
> gracefully.

Well, disk-changer is a sort of virtual autochanger that works on disk.  It 
does test the autochanger functionality quite well, but at the low level, the 
I/O interface is to file, so it does not test the exact read/write part of a 
tape drive.


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


Re: [Bacula-users] Autochanger using disk-changer problems.

2007-01-18 Thread Kern Sibbald
On Monday 08 January 2007 22:41, Joshua Colson wrote:
> Hello Everyone,
> 
> I'm new to Bacula and I'm having some trouble configuring an Autochanger
> using the disk-changer script. I'm using Bacula version 1.38.11
> installed from RPM on SuSE 10.1 (x86_64). I've gone through the "Brief
> Tutorial" on the bacula.org site and everything went fine. Now I'm
> trying to configure a virtual tape library using the disk-changer script
> and I cannot get it to work. Here is the relevant bits of my config:
> 
> bacula-sd.conf:
> 
> [snip]
> Autochanger {
>   Name = p912-sd:_var_backups_vtl
>   Device = p912-sd:_var_backups_drive0
>   Device = p912-sd:_var_backups_drive1
>   Changer Command = "/etc/bacula/disk-changer %c %o %S %a %d"
>   Changer Device = /var/backups/vtl
> }
> 
> Device {
>   Name = p912-sd:_var_backups_drive0
>   Media Type = File
>   Archive Device = /var/backups/drive0
>   LabelMedia = yes;
>   Random Access = Yes;
>   AutomaticMount = yes;
>   RemovableMedia = no;
>   AlwaysOpen = no;
>   Autochanger = yes;
>   Drive Index = 0;
> }
> 
> Device {
>   Name = p912-sd:_var_backups_drive1
>   Media Type = File
>   Archive Device = /var/backups/drive1
>   LabelMedia = yes;
>   Random Access = Yes;
>   AutomaticMount = yes;
>   RemovableMedia = no;
>   AlwaysOpen = no;
>   Autochanger = yes;
>   Drive Index = 1;
> }
> ...
> 
> 
> bacula-dir.conf:
> 
> [snip]
> Storage {
>   Name = p912:_var_backups_drive0
>   Address = p912
>   SDPort = 9103
>   Password = "good_password"
>   Device = p912-sd:_var_backups_drive0
>   Media Type = File
> }
> 
> Storage {
>   Name = p912:_var_backups_vtl
>   Address = p912
>   SDPort = 9103
>   Password = "good_password"
>   Device = p912-sd:_var_backups_vtl
>   Media Type = File
> }
> ...
> 
> 
> Communication is working fine between the Director and Storage daemon.
> I've found that if I remove the 'Autochanger' directive from the Storage
> resources in the bacula-sd.conf file I can get the drives to work as
> they should individually but not as part of the autochanger. Then if I
> add the 'Autochanger' directive to the drives, the storage daemon starts
> listing the following in response to the 'status storage' command:
> 
> ...
> Device "p912-sd:_var_backups_drive0" (/var/backups/drive0) is not open
> or does not exist.
> Drive 0 is not loaded.
> Device "p912-sd:_var_backups_drive1" (/var/backups/drive1) is not open
> or does not exist.
> Drive 1 is not loaded.
> ...
> 
> Then if I attempt to label a tape in the drive it gives an error
> complaining that '/var/backups/drive0' "Is a directory".
> 
> Does anyone have an idea as to what I'm doing wrong? I would greatly
> appreciate any help! If I left anything relevant out, please let me
> know.

The disk-changer script simulates the mtx-changer script rather faithfully, 
though it does not detect certain error conditions.  Thus removing the 
Autochanger resource will not get you anywhere.

The script is documented in the beginning of the file.  Other than that, since 
I wrote it for quickly debugging the Autochanger code, it is not supported.  
Sorry, but you are pretty much on your own.


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

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


Re: [Bacula-users] qt-console

2007-01-18 Thread Roberto Alsina
On Thu 18 Jan 2007 07:03, Kern Sibbald wrote:
> Hello,
>
> This is just to let you know that I have now committed the first cut of the
> qt-console (the name until voting is completed) to the Source Forge CVS.
> The new directory is:
>
>   /src/qt-console
>
> the current procedure is:
>
>   cd /src/qt-console
>   make
>
> the program will be named qt-console.
>
> I've improved the layout somewhat, but I have not yet figured out how to
> limit the size of the left window compared to the right window.  I would
> like the left window to remain unchanged when the Window is resized.  It
> would change size horizontally only when the size bar is moved.  The window
> on the right, should grow/shrink with the main window being resized.
>
>
> In addition, I have not figured out how to get the silly widgets within the
> containers to grow to fill the container.  Oh well, that will surely come.
>
> Finally, if you know how to hook other window classes (dialogs) in
> subdirectories into the Stacked Widget, please let me know.  I envision to
> have each major item in the left "browser" or "function" window pull up
> dialogs in the right window that are in a subdirectory (e.g. restore,
> backup, reports, ...).  Each subdirectory can contain one or more forms
> (xxx.ui) that will be used depending on how the user proceeds through the
> dialogs, ...
>
> Anyone who can figure out any of the above, please let me know.  Otherwise,
> with a bit of time and reading on Qt, I'll get there.

Are you using designer? If you are, send me the UI file and I will give it a 
look today. If you are not... it's more involved :-)

>
> If you are wondering about what the windows should contain.  The left
> window is meant to be a tree that looks very similar to a browser directory
> tree in many windows -- e.g. Windows Explorer.  The items represent Bacula
> daemons and actions you can perform (restore, backup, see the catalog,
> ...).  Some of the items will open to expose sub-items.  For example a
> Restore item could have under it 5 or 10 different ways to restore (all, by
> file, by date, ...). Once an item is clicked in the left tree window, the
> right window, which is a set of StackedWidgets will display the appropriate
> "dialog" for the thing that you have chosen.  In some cases, such as the
> console, this will simply be a Text window.  In other cases, it may be a
> tabbed window, and in others simply something that looks like a dialog box.
>  Everyone on these lists who has been using a GUI has seen this kind of
> interface before.  If my description is not clear, it will become so after
> we are able to fill in a few real items and make them functional.
>
> Regards,
>
> Kern
>
> PS: two people have officially offered their help with the project and have
> been accepted:
>
> 1. Christopher Rasch-Olsen Raa  -- developer
> 2. Julián Hernandez -- GUI usability
>
> Thanks guys.
>
> One other persons is still considering the project ...
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
   
-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`) [EMAIL PROTECTED]
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'   Buenos Aires - Argentina

Debugging is twice as hard as writing the code in the first place. 
Therefore, if you write the code as cleverly as possible, you are, 
by definition, not smart enough to debug it. --Brian W. Kernighan 

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


Re: [Bacula-users] [Bacula-devel] Snapshots - now ready

2007-01-18 Thread Dan Langille
On 18 Jan 2007 at 23:02, James Harper wrote:

> > The plan is to run the regresssion scripts each night and have the
> > results available on the website.  Such regression tests go a long
> > way towards keep the product reliable and stable.  Problems are
> > quickly highlighted.  At present, my time is short, so if anyone
> > wants to help out in designing and putting together the automation of
> > the regressions scripts, please get in touch.  Ideally, we could do
> > this on multiple platforms and centralizing the results.
> 
> Are you aware of any 'virtual tape drive' implementations that run under
> Linux? I think it's on the roadmap for IET (iSCSI Enterprise Target),
> but still vapourware at this stage, although I think I just saw a patch
> to implement a virtual DVD burner. It would be really nice to be able to
> run regression tests on a (virtual) tape drive, and to be able to
> simulate all sorts of failure modes to make sure they are handled
> gracefully.

Bacula has a vitural autochanger.

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



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


[Bacula-users] Bacula 2.0.0 Verify VolumeToCatalog Error

2007-01-18 Thread kshatriyak
Hello,

Today I ran a Verify (VolumeToCatalog) to see if my files were written 
correctly to tape.

I have a fileset that looks like this:

Include {
   File = /test
   File = /test/part1
   File = /test/part2
   File = /test/part3
}

/test is a phyisically mounted disk on the root system, and part1-3 are 
also physically mounted disks.

When I run a verify against this, I'm getting:

18-Jan 14:09 bacula-dir: The following files are missing:
18-Jan 14:09 bacula-dir:   /test/part1/
18-Jan 14:09 bacula-dir:   /test/part2/
18-Jan 14:09 bacula-dir:   /test/part3/

However, i can recover all files which reside under /test, under 
/test/part1/, etc ...

I suspect the directory i-nodes (part1-3) are not backupped because they 
are "hidden" by the mount? Though, why am I getting an error with Verify 
then, I guess they are in the catalog ... ?

Thanks!


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


Re: [Bacula-users] [Bacula-devel] qt-console

2007-01-18 Thread jhernandez
Hi!

I've registered the project on www.openusability.org and have been
accepted.  Please see:

http://www.openusability.org/projects/bacula-gui/

At this moment, the project is looking for usability experts (which
I'm not one).


On 1/18/07, Kern Sibbald <[EMAIL PROTECTED]> wrote:
> Hello,
>
> This is just to let you know that I have now committed the first cut of the
> qt-console (the name until voting is completed) to the Source Forge CVS. The
> new directory is:
>
>   /src/qt-console
>
> the current procedure is:
>
>   cd /src/qt-console
>   make
>
> the program will be named qt-console.
>
> I've improved the layout somewhat, but I have not yet figured out how to limit
> the size of the left window compared to the right window.  I would like the
> left window to remain unchanged when the Window is resized.  It would change
> size horizontally only when the size bar is moved.  The window on the right,
> should grow/shrink with the main window being resized.
>
>
> In addition, I have not figured out how to get the silly widgets within the
> containers to grow to fill the container.  Oh well, that will surely come.
>
> Finally, if you know how to hook other window classes (dialogs) in
> subdirectories into the Stacked Widget, please let me know.  I envision to
> have each major item in the left "browser" or "function" window pull up
> dialogs in the right window that are in a subdirectory (e.g. restore, backup,
> reports, ...).  Each subdirectory can contain one or more forms (xxx.ui) that
> will be used depending on how the user proceeds through the dialogs, ...
>
> Anyone who can figure out any of the above, please let me know.  Otherwise,
> with a bit of time and reading on Qt, I'll get there.
>
> If you are wondering about what the windows should contain.  The left window
> is meant to be a tree that looks very similar to a browser directory tree in
> many windows -- e.g. Windows Explorer.  The items represent Bacula daemons
> and actions you can perform (restore, backup, see the catalog, ...).  Some of
> the items will open to expose sub-items.  For example a Restore item could
> have under it 5 or 10 different ways to restore (all, by file, by date, ...).
> Once an item is clicked in the left tree window, the right window, which is a
> set of StackedWidgets will display the appropriate "dialog" for the thing
> that you have chosen.  In some cases, such as the console, this will simply
> be a Text window.  In other cases, it may be a tabbed window, and in others
> simply something that looks like a dialog box.  Everyone on these lists who
> has been using a GUI has seen this kind of interface before.  If my
> description is not clear, it will become so after we are able to fill in a
> few real items and make them functional.
>
> Regards,
>
> Kern
>
> PS: two people have officially offered their help with the project and have
> been accepted:
>
> 1. Christopher Rasch-Olsen Raa  -- developer
> 2. Julián Hernandez -- GUI usability
>
> Thanks guys.
>
> One other persons is still considering the project ...
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>


-- 
Julián

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


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

2007-01-18 Thread Erich Prinz

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

Erich

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

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

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

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

 Thanks.
 Scott
>>>
>>> I have the same problem with 2.0.0 on Windows 2003 server :(
>>> The directive is: Client Run Before Job = "C:/Program
>>> Files/Bacula/systemstate.bat"
>>>
>>> Anything I can do about it? I'd really like to backup systemstate  
>>> also..
>>>
>>> Silver
>>
>> BTW, my bacula-dir is also 2.0.0 and it runs on FreeBSD-5.3.
>>
>> Silver
>
> Oh, darn. More problems with win32 ClientRunBeforeJob. After the  
> directive was
> being commented out from the job as it didn't succeed, I now put it  
> back,
> after upgrading both server and client to 2.0.1. Now the directive  
> seems to
> not support spaces in its path:
> 17-Jan 23:06 w2k3-fd: ClientRunBeforeJob: run command "C:/Program
> Files/Bacula/systemstate.bat"
> 17-Jan 23:06 w2k3-fd: ClientRunBeforeJob: 'C:/Program' is not  
> recognized as an
> internal or external command,
>
> I tried escaping space with backslash, but it gave me the same result.
> However, when I put the script into C:\bacula\, it ran  
> successfully, so now
> at last I can backup the system state also. I think it would be  
> right to put
> scripts into Bacula's own directory, not to create a separate one.
>
> Silver
>
> -- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


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


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

2007-01-18 Thread Erich Prinz
It's likely due to language differences.

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

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

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


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


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

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

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

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

It's likely due to language differences.

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

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

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


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




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


[Bacula-users] stop a running job and change the tape

2007-01-18 Thread Manuel Staechele
hi list,

is there a possibility to sotp a job, change the tape and then resume 
the job.
so i dont want cancel the job but say "job stop or wait i need to change 
the tape"...

reason for asking, some times the tape is nearly full but i have evening 
and so i want to change the tape with a new one so bacula can work over 
night.

thanks for any help

greetings manuel


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


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

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


> line option.
>
> However the Director is normally run as a service.  The installer should
> automatically install it with the correct command line option.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Erich Prinz
> Sent: Thursday, January 18, 2007 6:56 AM
> To: Andres Sanchez Garcia
> Cc: bacula-devel Development; bacula-users
> Subject: Re: [Bacula-devel] [Bacula-users] bacula 2.0.1 error in xp
>
> It's likely due to language differences.
>
> I'll cc this response to the developers list for you...
>
> On Jan 18, 2007, at 2:42 AM, Andres Sanchez Garcia wrote:
>
>   
>> hello!
>>
>> sorry, but my english is very poor.
>>
>> I installed bacula 2.0.1 in windows xp (spanish version). When i
>> executed the bacula-dir.exe, i have this error:
>>
>> bacula-dir.exe: ERROR TERMINATION at ../../lib/parse_conf.c: 819
>> config error: Cannot open config file "C:\Documents and Settings\All
>> Users\Application Data\Bacula\bacula-dir.conf": No such file or  
>> directory.
>>
>>
>>
>> NOTE: In windows XP spanish version the path is diferent: "C: 
>> \Documents
>> and Settings\All Users\Datos de Programa\Bacula\bacula-dir.conf"
>>
>> NOTE: I'm serching in bacula-dir.conf, to change the path. But all  
>> path
>> are ok for the spanish version.
>>
>> NOTE: I created a path "C:\Documents and Settings\All Users 
>> \Application
>> Data\Bacula\". And i linked the config files of bacula. It don't work.
>>
>> The version of bacula 2.0.0 in windows xp haven't this problem.
>>
>> It is a bug?
>>
>>
>> Andres
>>
>> -- 
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to  
>> share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php? 
>> page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>> 
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
>
>
>
>   


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


Re: [Bacula-users] bweb - print() on closed filehandle GEN0 at...]

2007-01-18 Thread Eric Bollengier

> Kern Sibbald schrieb:
> > I've now installed bweb on a second machine, and have never run into a
> > problem like you describe.  Perhaps Eric will have some idea on this, but
> > one piece of advice that I just got from Eric regarding a problem I had
> > is to always look in the Apache error_log when things go wrong. That
> > often points to the problem, though you might need to open one of the
> > cgi-bin/bweb/xxx.pl files to get down to more details.
>
> I've done a fresh install from bacula-gui-2.0.1.tar.gz.
>
> Some notes:
>
> * hard coded path to bweb.conf in install_bweb (/etc/bacula)

I will move all bweb.conf references to Bweb.pm, and the install
script will do a sed 's//' to adapt it.

> Ok, now I'm at the same point as before. I can access
> http://myserver/bweb and get the list of my 2 clients. But as soon as
> I try to get the state of a client or the 'Defined Jobs' I get errors
> in my apache error.log.

You can set debug to "on" in configuration, we will see sql queries and
debug messages to error.log.

I think it's a problem with bconsole (in Bconsole.pm) It's look like
wrong bconsole option or something like.

Can you give me your bweb.conf ?

> The second problem are the png graphs.
>
> [Wed Jan 17 16:20:56 2007] [error] [client x.60.5.110] Can't call
> method "png" on an undefined value at /usr/lib/cgi-bin/bweb/bgraph.pl
> line 220., referer: http://vu0em005/cgi-bin/bweb/bweb.pl?action=graph

With the debug=on option, you will see SQL queries on error.log
You execute them into a mysql session, to see if you get data.


Thanks for your feedback !

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


[Bacula-users] Need -client rpm for suse 9.3

2007-01-18 Thread Peter Eisch

Does anyone have a bacula-client RPM of 1.38.11 (or newer) for suse 9.3
available?

Thanks,

peter


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


Re: [Bacula-users] Windows restore issues

2007-01-18 Thread Dwight Tovey
On Thu, 2007-01-18 at 11:34 +1100, James Harper wrote:
> > I've still got a couple of minor issues with restoring a Windows
> system
> > while using a BartPE CD:
> > 
> > * Specifying the target for the restore.  The system currently has the
> >   following partitions:
> >Part 1 - 100G Primary partition defined as C:
> >Part 2 - 400G Extended partition
> >Part 3 - 400G Logical partition defined as E:
> > 
> >   Restoring C: works fine: I just specify the target as blank and the
> >   directory structure is correctly recovered into the C: disk.
> However,
> >   BartPE seems to be mounting what should be E: as D: with the CD
> >   mounted as E:.  If I leave the target as blank, the files go to the
> C:
> >   disk.  If I specify the target as D:, the files go to the D: drive,
> >   but under a \e directory.  Once the restore is finished I can move
> the
> >   directory structure back up to the root, but it would be nice to
> have
> >   them go to the correct place to begin with and avoid the extra step.
> 
> Create a junction called C:\bacula-restores\E to the actual D: drive,
> and direct bacula to restore to C:\bacula-restores. It should do the
> right thing from there. If the tools to do the junction mapping aren't
> in bartpe you should be able to add them without much fuss, although by
> the time you have restored C: they should be there, depending on what
> version of windows you have.
> 

I forgot that you can do that with Windows.  That should work.  I've
about run out of cycles for backup/restore testing so I'm not sure if
I'll get a chance to try it, but if I do I'll post the results.

> > 
> > * Windows does not see the second partition.  After restoring the
> system
> >   and rebooting, I have to go into Window's 'Disk Management' and
> assign
> >   a drive letter.  I had assigned the letter when I created the
> >   partition, and and it was defined when I created the backup.  Why
> did
> >   it get lost now?  In a previous test I had backed up/restored only
> the
> >   C: drive without touching the partition table, and Windows lost the
> >   partition that time as well.  Any ideas as to what is missing?
> 
> I think windows assigns the letters using volume uuids. If you are
> restoring the system, especially to D:\E and then moving the files back
> to in \E back to \, and possibly even using a junction, then it may not
> restore the uuid correctly, and therefore windows will think it's a
> second disk. C:\ should work regardless because it can't really be
> anything else.
> 
> > One more detail: when I first booted BartPE with no partitions defined
> > on the disk, the CD was mounted as E:.  In the process of defining the
> > partitions, I assigned the second partition as E: which then meant
> that
> > none of the files/programs on the CD could be found.  I had to power
> off
> > and reboot, at which time BartPE mounted the second partition as D:
> > instead of E: and kept the CD at E:.  Could that be causing both of
> the
> > problems?
> 
> I'm not sure, but I would guess not. Is there an option in bartpe to
> assign the CD to an out of the way drive letter like Z:? it's been a
> while since I've used it.
> 
I didn't see anything, but I'll look when I get a chance.  For us it
isn't currently all that big a deal, and we may even be able to handle
it through a change to the process: as the last step before rebooting,
go back and assign that partition to E: again.

BTW: the machine that I have been testing on is a clone of our Domain
Controller / Exchange Server.  With the exception of the minor glitches
mentioned above, after the restore the system came up just fine and
users were able to log in and get their at their email.  I'm still not
an expert with Windows (and I intend to keep it that way), but are there
other potential issues with restoring Domain Controllers / Exchange
Servers / other MS servers (other than data-loss between backup and
crash) that I've missed?

/dwight

-- 
Dwight Tovey <[EMAIL PROTECTED]>
Work to Live : Live to Ride : Ride to Work

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


[Bacula-users] Compression Issue

2007-01-18 Thread SOPRO
Hi all !

I'm new in Bacula and I'm testing it to implement in my network.
I'm using this backup strategy:

Sunday => Full Backup on Tape
Mon-Sat => Differential Backup on FileStorage

This is my Schedule section:

Schedule {
  Name = "Weekly"
  Run = Full sun at 12:00
  Run = Differential mon-sat sun at 18:00
  FullPool = Tape
  DifferentialPool = File
}

 I'm using "compression = GZIP" in my FileSet section, but I know that
it's not a good idea use this option with a DDS-4 tape drive with
hardware compression enabled. Moreover, it will run software and
hardware compression, using CPU without need.

  So, are there a way to enable software compression only on "File"
backups using the same Schedule and FileSet ? Any sugestion ? :-)

 Thanks !

 Fabricio.

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


Re: [Bacula-users] Problem installing Bacula 2.0 from rpm

2007-01-18 Thread Martin Simmons
> On Thu, 18 Jan 2007 11:46:16 +0100, Jon Ingason said:
> 
> Hi I have problem installing Bacula 2.0 on FC6. The FC6 is instlled on
> HP dx5051 with AMD 64 CPU. When I try to install I get following:
> 
> [EMAIL PROTECTED] 2.0]# rpm -i bacula-mysql-2.0.0-1.fc6.x86_64.rpm
> warning: bacula-mysql-2.0.0-1.fc6.x86_64.rpm: Header V3 DSA signature:
> NOKEY, key ID faf24cca
> error: Failed dependencies:
> libacl.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libacl.so.1(ACL_1.0)(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libc.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libc.so.6(GLIBC_2.2.5)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libc.so.6(GLIBC_2.3)(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libc.so.6(GLIBC_2.3.4)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libc.so.6(GLIBC_2.4)(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libcrypto.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libdl.so.2()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libdl.so.2(GLIBC_2.2.5)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libgcc_s.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libm.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libm.so.6(GLIBC_2.2.5)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libmysqlclient_r.so.15()(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libpthread.so.0()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libpthread.so.0(GLIBC_2.3.3)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> librt.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libssl.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libstdc++.so.6()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libstdc++.so.6(CXXABI_1.3)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libtermcap.so.2()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libutil.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> libutil.so.1(GLIBC_2.2.5)(64bit) is needed by
> bacula-mysql-2.0.0-1.x86_64
> libz.so.1()(64bit) is needed by bacula-mysql-2.0.0-1.x86_64
> [EMAIL PROTECTED] 2.0]#
> 
> There seems to be dependancy problem but everything is on is place so
> there should not be any:
> 
> libacl.so: /lib/libacl.so.1
> libc.so: /lib/libc.so.6 /usr/lib/libc.so
> libcrypto.so: /lib/libcrypto.so.6 /usr/lib/libcrypto.so
> libdl.so: /lib/libdl.so.2 /usr/lib/libdl.so
> libgcc_s.so: /lib/libgcc_s.so.1
> libm.so: /lib/libm.so.6 /usr/lib/libm.so
> libmysqlclient_r.so: /usr/lib/mysql/libmysqlclient_r.so.15
> libpthread.so: /lib/libpthread.so.0 /usr/lib/libpthread.so
> librt.so: /lib/librt.so.1 /usr/lib/librt.so
> libssl.so: /lib/libssl.so.6 /usr/lib/libssl.so
> libstdc++.so: /usr/lib/libstdc++.so.6
> libtermcap.so: /lib/libtermcap.so.2
> libutil.so: /lib/libutil.so.1 /usr/lib/libutil.so
> libz.so: /usr/lib/libz.so.1 /usr/lib/libz.so
> 
> Where is the problem?

I suspect these are all 32-bit libraries, so maybe you have a 32-bit (i686)
version of FC6 installed?  If so, you need the i686 (or i386 etc) version of
bacula too.

__Martin

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


[Bacula-users] Bacula trying to write to device rather than mount point when using USB removable storage device

2007-01-18 Thread Benjamin Chambers

I'm doing some testing using v2.0.1 with a USB storage device.  In this case, 
it 
is an Iomega REV USB drive, but essentially, it could be any USB mass storage 
device.

Here is the configuration for the SD:

Device {
   Name = "_REV-USB"
   MediaType = "Iomega REV, USB"
   ArchiveDevice = "/dev/scd0"
   LabelMedia = "yes"
   RandomAccess = "yes"
   AutomaticMount = "yes"
   RemovableMedia = "yes"
   AlwaysOpen = "yes"
   DeviceType = "File"
   RequiresMount = "yes"
   MountPoint = "/var/bacula/mnt/rev/usb"
   MountCommand = "/bin/mount %a %m"
   UnmountCommand = "/bin/umount %m"
   MaximumVolumeSize = 70GB
}

Note, I put the DeviceType = "File" because otherwise Bacula thinks it is a DVD 
device and requires the "Write Command" directive.

I know you *could* put the 'ArchiveDevice' directive as the mountpoint (in this 
case /var/bacula/mnt/rev/usb/), however, then you would required the user to 
mount/umount the device, or use the RunBefore/After scripts.  Using the 
similarities to DVD and the additional directives when "Requires Mount" = yes 
is 
so much more elegant.

The problem is that Bacula is trying to write to the device (/dev/scd0), rather 
than the mount point.  The exact message when you try and label the volume is:

*
   Connecting to Storage daemon _REV-USB at 192.168.2.185:9103 ...
   Sending label command for Volume "Default-0001" Slot 0 ...
   3910 Unable to open device "_REV-USB" (/dev/scd0): ERR=dev.c:482 Could not
 open: /dev/scd0/Default-0001, ERR=Not a directory

   Label command failed for Volume Default-0001.
   Do not forget to mount the drive!!!
*

Has anyone got a USB mass storage device to work in 2.0.1?

Can anyone tell me if this is:

   a) Corrected by fixing my configuration
   b) Not an advised (or supported) method to mount USB mass storage devices
   c) An anomaly of the Iomega REV drive that is "part File, part DVD" in
  terms of how Bacula treats the device
   d) A bug

Thanks in advance.

Ben

-- 
Benjamin Chambers, P.Eng.
http://www.clarkconnect.com
Point Clark Networks
1179 King Street West, Suite 211
Toronto, ON
Canada, M6K 3C5
Email:  [EMAIL PROTECTED]

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


Re: [Bacula-users] Compression Issue

2007-01-18 Thread Arno Lehmann
Hi,

On 1/18/2007 9:57 PM, SOPRO wrote:
> Hi all !
> 
> I'm new in Bacula and I'm testing it to implement in my network.
> I'm using this backup strategy:
> 
> Sunday => Full Backup on Tape
> Mon-Sat => Differential Backup on FileStorage
> 
> This is my Schedule section:
> 
> Schedule {
>   Name = "Weekly"
>   Run = Full sun at 12:00
>   Run = Differential mon-sat sun at 18:00
>   FullPool = Tape
>   DifferentialPool = File
> }
> 
>  I'm using "compression = GZIP" in my FileSet section, but I know that
> it's not a good idea use this option with a DDS-4 tape drive with
> hardware compression enabled. Moreover, it will run software and
> hardware compression, using CPU without need.

All true. You could turn off hardware compression, though.

>   So, are there a way to enable software compression only on "File"
> backups using the same Schedule and FileSet ? Any sugestion ? :-)

Bad news: I don't think that's possible.

Would be good, but you'd have tind someone to implement it :-)

Arno

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

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

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


Re: [Bacula-users] Bacula trying to write to device rather than mount point when using USB removable storage device

2007-01-18 Thread Arno Lehmann
Hi,

On 1/18/2007 11:07 PM, Benjamin Chambers wrote:
> I'm doing some testing using v2.0.1 with a USB storage device.  In this case, 
> it 
> is an Iomega REV USB drive, but essentially, it could be any USB mass storage 
> device.
> 
> Here is the configuration for the SD:
> 
> Device {
>Name = "_REV-USB"
>MediaType = "Iomega REV, USB"
>ArchiveDevice = "/dev/scd0"

This is a configuration error.

>LabelMedia = "yes"
>RandomAccess = "yes"
>AutomaticMount = "yes"
>RemovableMedia = "yes"
>AlwaysOpen = "yes"
>DeviceType = "File"
>RequiresMount = "yes"

RequiresMount, MountPoint, unmountCommand are for DVDs only.

>MountPoint = "/var/bacula/mnt/rev/usb"
>MountCommand = "/bin/mount %a %m"
>UnmountCommand = "/bin/umount %m"
>MaximumVolumeSize = 70GB
> }
> 
> Note, I put the DeviceType = "File" because otherwise Bacula thinks it is a 
> DVD 
> device and requires the "Write Command" directive.

Yes. Or rather, the directives above don't apply to file storage.

> I know you *could* put the 'ArchiveDevice' directive as the mountpoint (in 
> this 
> case /var/bacula/mnt/rev/usb/), however, then you would required the user to 
> mount/umount the device, or use the RunBefore/After scripts.  Using the 
> similarities to DVD and the additional directives when "Requires Mount" = yes 
> is 
> so much more elegant.

But it does not work.

> The problem is that Bacula is trying to write to the device (/dev/scd0), 
> rather 
> than the mount point.  The exact message when you try and label the volume is:
> 
> *
>Connecting to Storage daemon _REV-USB at 192.168.2.185:9103 ...
>Sending label command for Volume "Default-0001" Slot 0 ...
>3910 Unable to open device "_REV-USB" (/dev/scd0): ERR=dev.c:482 Could not
>  open: /dev/scd0/Default-0001, ERR=Not a directory
> 
>Label command failed for Volume Default-0001.
>Do not forget to mount the drive!!!
> *
> 
> Has anyone got a USB mass storage device to work in 2.0.1?

Not me, but I know of others. Well, I kind of have - I operate simple 
usb disks but without any special consideration regarding mounting etc. 
These are setups where the disks are not meant to be removed.

Josh Fishers "Removable Disk Howto revised" is probably interesting for 
you - you find it searching in the list archives.

> Can anyone tell me if this is:
> 
>a) Corrected by fixing my configuration

Yes. But probably diferent than what you intend.

>b) Not an advised (or supported) method to mount USB mass storage devices

Yes.

>c) An anomaly of the Iomega REV drive that is "part File, part DVD" in
>   terms of how Bacula treats the device

Don't know.

>d) A bug

No.

There's one other option, by the way: Try to understand how writing to 
DVD works for Bacula. Then, create a script similar to dvd-handler - 
basically, you could replace the invocations of growisofs with a cp, ge 
the available space using df, and so on.

My original idea was that dvd-handler could be used as a template for 
low performance storage systems like ftp, CD-RW and others, but 
currently Bacula reads directly, so whatever media you use, you must be 
able to mount it for reading. Writing can be done by a handler script.

Arno

> Thanks in advance.
> 
> Ben
> 

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

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


Re: [Bacula-users] Windows restore issues

2007-01-18 Thread Steen Meyer
Onsdag 17 januar 2007 22:11 skrev Dwight Tovey:
> I've still got a couple of minor issues with restoring a Windows system
> while using a BartPE CD:
>
> * Specifying the target for the restore.  The system currently has the
>   following partitions:
>Part 1 - 100G Primary partition defined as C:
>Part 2 - 400G Extended partition
>Part 3 - 400G Logical partition defined as E:
>
>   Restoring C: works fine: I just specify the target as blank and the
>   directory structure is correctly recovered into the C: disk.  However,
>   BartPE seems to be mounting what should be E: as D: with the CD
>   mounted as E:.  If I leave the target as blank, the files go to the C:
>   disk.  If I specify the target as D:, the files go to the D: drive,
>   but under a \e directory.  Once the restore is finished I can move the
>   directory structure back up to the root, but it would be nice to have
>   them go to the correct place to begin with and avoid the extra step.
>
> * Windows does not see the second partition.  After restoring the system
>   and rebooting, I have to go into Window's 'Disk Management' and assign
>   a drive letter.  I had assigned the letter when I created the
>   partition, and and it was defined when I created the backup.  Why did
>   it get lost now?  
Windows does its own drive letter assignments which it stores in its registry 
- with new partitions that is not signed it does its own thing upon boot - 
that's why sometimes when you restore images containing a windows 
installation with more than one partition, sometimes it cannot boot or more 
precisely it can boot but noone can login because it swaps the partitions, 
because it registers the partitions as new. Then you have to edit the 
registry with a tool or remotely.

>   In a previous test I had backed up/restored only the 
>   C: drive without touching the partition table, and Windows lost the
>   partition that time as well.  Any ideas as to what is missing?
What do you mean by windows lost the partition?
>
Cheers

Steen
> One more detail: when I first booted BartPE with no partitions defined
> on the disk, the CD was mounted as E:.  In the process of defining the
> partitions, I assigned the second partition as E: which then meant that
> none of the files/programs on the CD could be found.  I had to power off
> and reboot, at which time BartPE mounted the second partition as D:
> instead of E: and kept the CD at E:.  Could that be causing both of the
> problems?
>
> Thanks in advance.
>
>   /dwight

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


Re: [Bacula-users] Need -client rpm for suse 9.3

2007-01-18 Thread Peter Eisch

Thanks to all that replied -- I'm good to go!

Thanks again,

peter


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


Re: [Bacula-users] Bacula trying to write to device rather than mount point when using USB removable storage device

2007-01-18 Thread Benjamin Chambers

Thanks for the reply Arno.

The manual certainly seems to be converging on the idea that USB and DVD SD's 
are handled similarly:

http://www.bacula.org/rel-manual/Storage_Daemon_Configuratio.html#SECTION00175

OK...not in the 18pt font header, but certainly in the content of the 
documentation in the following sections...

Hmmm

Confused which direction to take.

B.

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

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

Arno Lehmann wrote:
> Hi,
> 
> On 1/18/2007 11:07 PM, Benjamin Chambers wrote:
>> I'm doing some testing using v2.0.1 with a USB storage device.  In this 
>> case, it 
>> is an Iomega REV USB drive, but essentially, it could be any USB mass 
>> storage 
>> device.
>>
>> Here is the configuration for the SD:
>>
>> Device {
>>Name = "_REV-USB"
>>MediaType = "Iomega REV, USB"
>>ArchiveDevice = "/dev/scd0"
> 
> This is a configuration error.
> 
>>LabelMedia = "yes"
>>RandomAccess = "yes"
>>AutomaticMount = "yes"
>>RemovableMedia = "yes"
>>AlwaysOpen = "yes"
>>DeviceType = "File"
>>RequiresMount = "yes"
> 
> RequiresMount, MountPoint, unmountCommand are for DVDs only.
> 
>>MountPoint = "/var/bacula/mnt/rev/usb"
>>MountCommand = "/bin/mount %a %m"
>>UnmountCommand = "/bin/umount %m"
>>MaximumVolumeSize = 70GB
>> }
>>
>> Note, I put the DeviceType = "File" because otherwise Bacula thinks it is a 
>> DVD 
>> device and requires the "Write Command" directive.
> 
> Yes. Or rather, the directives above don't apply to file storage.
> 
>> I know you *could* put the 'ArchiveDevice' directive as the mountpoint (in 
>> this 
>> case /var/bacula/mnt/rev/usb/), however, then you would required the user to 
>> mount/umount the device, or use the RunBefore/After scripts.  Using the 
>> similarities to DVD and the additional directives when "Requires Mount" = 
>> yes is 
>> so much more elegant.
> 
> But it does not work.
> 
>> The problem is that Bacula is trying to write to the device (/dev/scd0), 
>> rather 
>> than the mount point.  The exact message when you try and label the volume 
>> is:
>>
>> *
>>Connecting to Storage daemon _REV-USB at 192.168.2.185:9103 ...
>>Sending label command for Volume "Default-0001" Slot 0 ...
>>3910 Unable to open device "_REV-USB" (/dev/scd0): ERR=dev.c:482 Could not
>>  open: /dev/scd0/Default-0001, ERR=Not a directory
>>
>>Label command failed for Volume Default-0001.
>>Do not forget to mount the drive!!!
>> *
>>
>> Has anyone got a USB mass storage device to work in 2.0.1?
> 
> Not me, but I know of others. Well, I kind of have - I operate simple 
> usb disks but without any special consideration regarding mounting etc. 
> These are setups where the disks are not meant to be removed.
> 
> Josh Fishers "Removable Disk Howto revised" is probably interesting for 
> you - you find it searching in the list archives.
> 
>> Can anyone tell me if this is:
>>
>>a) Corrected by fixing my configuration
> 
> Yes. But probably diferent than what you intend.
> 
>>b) Not an advised (or supported) method to mount USB mass storage devices
> 
> Yes.
> 
>>c) An anomaly of the Iomega REV drive that is "part File, part DVD" in
>>   terms of how Bacula treats the device
> 
> Don't know.
> 
>>d) A bug
> 
> No.
> 
> There's one other option, by the way: Try to understand how writing to 
> DVD works for Bacula. Then, create a script similar to dvd-handler - 
> basically, you could replace the invocations of growisofs with a cp, ge 
> the available space using df, and so on.
> 
> My original idea was that dvd-handler could be used as a template for 
> low performance storage systems like ftp, CD-RW and others, but 
> currently Bacula reads directly, so whatever media you use, you must be 
> able to mount it for reading. Writing can be done by a handler script.
> 
> Arno
> 
>> Thanks in advance.
>>
>> Ben
>>
> 

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


[Bacula-users] building directory tree for restore takes long time

2007-01-18 Thread Nick Jones
I'm trying to test the restore functionality of our backup system
using bacula 1.38.11 under Yellow Dog Linux on an XServe G5.

Everything is working great, except for the restore time.  Building
the directory tree from the MySQL DB takes forever (2 hrs + ).
However this is normal, I *think*, due to the fact that the jobID I'm
selecting from is our whole filesystem, 45,000,000 files.

If only the option 11 under *restore all command worked recursively.
Although I would probably have the same problem if that were the case.

Do I just need to chop up the job into multiple jobs or are there
other ways to improve performance with this?  Also, is it possible
this is recursively following symbolic links and that's why it takes
so long?  What does "building the directory tree" do exactly?

Thanks

Nick

-- 
Nick Jones
University of Iowa
Dept of Neurology
Systems Analyst
319-356-0451

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


Re: [Bacula-users] Compression Issue

2007-01-18 Thread SOPRO
Thanks Arno, I´ll post a sugestion on bacula-devel list.

Fabricio.


2007/1/18, Arno Lehmann <[EMAIL PROTECTED]>:
> Hi,
>
> On 1/18/2007 9:57 PM, SOPRO wrote:
> > Hi all !
> >
> > I'm new in Bacula and I'm testing it to implement in my network.
> > I'm using this backup strategy:
> >
> > Sunday => Full Backup on Tape
> > Mon-Sat => Differential Backup on FileStorage
> >
> > This is my Schedule section:
> >
> > Schedule {
> >   Name = "Weekly"
> >   Run = Full sun at 12:00
> >   Run = Differential mon-sat sun at 18:00
> >   FullPool = Tape
> >   DifferentialPool = File
> > }
> >
> >  I'm using "compression = GZIP" in my FileSet section, but I know that
> > it's not a good idea use this option with a DDS-4 tape drive with
> > hardware compression enabled. Moreover, it will run software and
> > hardware compression, using CPU without need.
>
> All true. You could turn off hardware compression, though.
>
> >   So, are there a way to enable software compression only on "File"
> > backups using the same Schedule and FileSet ? Any sugestion ? :-)
>
> Bad news: I don't think that's possible.
>
> Would be good, but you'd have tind someone to implement it :-)
>
> Arno
>
> >  Thanks !
> >
> >  Fabricio.
> >
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> --
> IT-Service Lehmann[EMAIL PROTECTED]
> Arno Lehmann  http://www.its-lehmann.de
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

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


Re: [Bacula-users] Bacula trying to write to device rather than mount point when using USB removable storage device

2007-01-18 Thread Arno Lehmann
Hello,

On 1/19/2007 12:19 AM, Benjamin Chambers wrote:
> Thanks for the reply Arno.
> 
> The manual certainly seems to be converging on the idea that USB and DVD SD's 
> are handled similarly:
> 
> http://www.bacula.org/rel-manual/Storage_Daemon_Configuratio.html#SECTION00175

Right, but I guess the manual needs some work there. Or I'll have to 
look up Kerns mails regarding how he implemented better removable disk 
handling :-)

> OK...not in the 18pt font header, but certainly in the content of the 
> documentation in the following sections...

... because "Requires Mount = Yes|No
 You must set this directive to yes for DVD-writers, and to no for 
all other devices (tapes/files). This directive indicates if the device 
requires to be mounted to be read, and if it must be written in a 
special way. If it set, Mount Point, Mount Command, Unmount Command and 
Write Part Command directives must also be defined." does not make 
sense. Unless, of course, you take the path I mentioned - use a special 
handler script to copy part files (which is more or less nonsense).

Anyway, the above snippet states that when you set RequiresMount, the 
device "must be written in a special way". Which is not why you use 
removable USB devices... Also, it states that it must be set to no for 
files. Which contradicts the lines under the heading which you probably 
referred to.

> Hmmm
> 
> Confused which direction to take.

I'm quite sure Kern presented his way of using removable USB storage 
devices, and I suppose Joshs HowTo might be interesting.

Arno

> B.
> 
> Benjamin Chambers, P.Eng.
> ClarkConnect Account Manager
> Point Clark Networks
> 1179 King Street West, Suite 211
> Toronto, ON
> Canada, M6K 3C5
> 
> Tel:  +1.416.977.0574 Ext. 111
> Fax:  +1.416.946.1192
> Email:  [EMAIL PROTECTED]
> 
> Arno Lehmann wrote:
> 
>>Hi,
>>
>>On 1/18/2007 11:07 PM, Benjamin Chambers wrote:
>>
>>>I'm doing some testing using v2.0.1 with a USB storage device.  In this 
>>>case, it 
>>>is an Iomega REV USB drive, but essentially, it could be any USB mass 
>>>storage 
>>>device.
>>>
>>>Here is the configuration for the SD:
>>>
>>>Device {
>>>   Name = "_REV-USB"
>>>   MediaType = "Iomega REV, USB"
>>>   ArchiveDevice = "/dev/scd0"
>>
>>This is a configuration error.
>>
>>
>>>   LabelMedia = "yes"
>>>   RandomAccess = "yes"
>>>   AutomaticMount = "yes"
>>>   RemovableMedia = "yes"
>>>   AlwaysOpen = "yes"
>>>   DeviceType = "File"
>>>   RequiresMount = "yes"
>>
>>RequiresMount, MountPoint, unmountCommand are for DVDs only.
>>
>>
>>>   MountPoint = "/var/bacula/mnt/rev/usb"
>>>   MountCommand = "/bin/mount %a %m"
>>>   UnmountCommand = "/bin/umount %m"
>>>   MaximumVolumeSize = 70GB
>>>}
>>>
>>>Note, I put the DeviceType = "File" because otherwise Bacula thinks it is a 
>>>DVD 
>>>device and requires the "Write Command" directive.
>>
>>Yes. Or rather, the directives above don't apply to file storage.
>>
>>
>>>I know you *could* put the 'ArchiveDevice' directive as the mountpoint (in 
>>>this 
>>>case /var/bacula/mnt/rev/usb/), however, then you would required the user to 
>>>mount/umount the device, or use the RunBefore/After scripts.  Using the 
>>>similarities to DVD and the additional directives when "Requires Mount" = 
>>>yes is 
>>>so much more elegant.
>>
>>But it does not work.
>>
>>
>>>The problem is that Bacula is trying to write to the device (/dev/scd0), 
>>>rather 
>>>than the mount point.  The exact message when you try and label the volume 
>>>is:
>>>
>>>*
>>>   Connecting to Storage daemon _REV-USB at 192.168.2.185:9103 ...
>>>   Sending label command for Volume "Default-0001" Slot 0 ...
>>>   3910 Unable to open device "_REV-USB" (/dev/scd0): ERR=dev.c:482 Could not
>>> open: /dev/scd0/Default-0001, ERR=Not a directory
>>>
>>>   Label command failed for Volume Default-0001.
>>>   Do not forget to mount the drive!!!
>>>*
>>>
>>>Has anyone got a USB mass storage device to work in 2.0.1?
>>
>>Not me, but I know of others. Well, I kind of have - I operate simple 
>>usb disks but without any special consideration regarding mounting etc. 
>>These are setups where the disks are not meant to be removed.
>>
>>Josh Fishers "Removable Disk Howto revised" is probably interesting for 
>>you - you find it searching in the list archives.
>>
>>
>>>Can anyone tell me if this is:
>>>
>>>   a) Corrected by fixing my configuration
>>
>>Yes. But probably diferent than what you intend.
>>
>>
>>>   b) Not an advised (or supported) method to mount USB mass storage devices
>>
>>Yes.
>>
>>
>>>   c) An anomaly of the Iomega REV drive that is "part File, part DVD" in
>>>  terms of how Bacula treats the device
>>
>>Don't know.
>>
>>
>>>   d) A bug
>>
>>No.
>>
>>There's one other option, by the way: Try to understand how writing to 
>>DVD works for Bacula. Then, create a script similar to dvd-handler - 
>>basically, you could replace the invocations of growisofs with a cp, ge 
>>the available space using df

Re: [Bacula-users] Windows restore issues

2007-01-18 Thread James Harper
> BTW: the machine that I have been testing on is a clone of our Domain
> Controller / Exchange Server.  With the exception of the minor
glitches
> mentioned above, after the restore the system came up just fine and
> users were able to log in and get their at their email.  I'm still not
> an expert with Windows (and I intend to keep it that way), but are
there
> other potential issues with restoring Domain Controllers / Exchange
> Servers / other MS servers (other than data-loss between backup and
> crash) that I've missed?

Shouldn't be, provided that it's Windows 2003 and you've used VSS to
back it up, and have applied the recommended updates from Microsoft
which corrected a few nasty problems with VSS.

If the Domain Controller you are restoring is one of several, then there
are a few things to consider when you restore one that's been down for
more than a short time, as it will have gotten out of sync.
 
One thing that Microsoft do well is document the procedures required for
this sort of thing. A google search with "site:support.microsoft.com" in
it is a wonderful thing (you can search from support.microsoft.com of
course, but it sucks to do so :)

One advantage of being an expert on Windows (I spend most of my working
day immersed in Exchange, SQL, and Active Directory issues, so I think I
qualify!), is that people will take you seriously when you offer an
opinion on the virtues of Linux and open source software, and will view
you as less of a zealot.

James


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


[Bacula-users] Windows (FD v2.0.1): ClientRunBeforeJob

2007-01-18 Thread Scott Ruckh
I am trying to call a .BAT file using ClientRunBeforeJob.  The config used
to work fine before upgrading the Windows FD 2.0.1.

It looks like the syntax in my bacula-dir.conf file is correct.  It looks
like the .BAT file is being called, and for some reason there is a problem
with the .BAT file.

Taking Bacula out of the equation, running the .BAT file works without any
problem.

Possibly the environment/context that the Bacula FD runs under is
different then the user I am using to run the .BAT file.  The security on
the actual files appears to be correct for the SYSTEM user, which is what
I believe is the context for the Bacula FD.

Perhaps someone can lend some assistance.

Here is what is reported from Bacula's messages.

ClientRunBeforeJob: run command ""C:/Program Files
(x86)/Bacula/bin/backup_systemstate.bat""
ClientRunBeforeJob:
ClientRunBeforeJob: C:\WINDOWS\system32>C:\WINDOWS\system32\ntbackup
backup systemstate /F C:\SystemState\systemstate.bkf
ClientRunBeforeJob: 'C:\WINDOWS\system32\ntbackup' is not recognized as an
internal or external command,
ClientRunBeforeJob: operable program or batch file.
ClientRunBeforeJob:
ClientRunBeforeJob: C:\WINDOWS\system32>exit 0

Yes, C:\WINDOWS\system32\ntbackup, does exist and is the correct PATH.

Thanks.

-- 
Scott

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


Re: [Bacula-users] Bacula trying to write to device rather than mount point when using USB removable storage device

2007-01-18 Thread Kern Sibbald
On Friday 19 January 2007 01:27, Arno Lehmann wrote:
> Hello,
> 
> On 1/19/2007 12:19 AM, Benjamin Chambers wrote:
> > Thanks for the reply Arno.
> > 
> > The manual certainly seems to be converging on the idea that USB and DVD 
SD's 
> > are handled similarly:
> > 
> > 
http://www.bacula.org/rel-manual/Storage_Daemon_Configuratio.html#SECTION00175
> 
> Right, but I guess the manual needs some work there. Or I'll have to 
> look up Kerns mails regarding how he implemented better removable disk 
> handling :-)
> 
> > OK...not in the 18pt font header, but certainly in the content of the 
> > documentation in the following sections...
> 
> ... because "Requires Mount = Yes|No
>  You must set this directive to yes for DVD-writers, and to no for 
> all other devices (tapes/files). This directive indicates if the device 
> requires to be mounted to be read, and if it must be written in a 
> special way. If it set, Mount Point, Mount Command, Unmount Command and 
> Write Part Command directives must also be defined." does not make 
> sense. Unless, of course, you take the path I mentioned - use a special 
> handler script to copy part files (which is more or less nonsense).
> 
> Anyway, the above snippet states that when you set RequiresMount, the 
> device "must be written in a special way". Which is not why you use 
> removable USB devices... Also, it states that it must be set to no for 
> files. Which contradicts the lines under the heading which you probably 
> referred to.
> 
> > Hmmm
> > 
> > Confused which direction to take.
> 
> I'm quite sure Kern presented his way of using removable USB storage 
> devices, and I suppose Joshs HowTo might be interesting.

Use the OS udev feature, tell Bacula the USB is a file, point it at the mount 
point, and tell Bacula that it is removable, and things should more or less 
work out OK.  Tha is the OS will automatically mount it when it is plugged 
in, and Bacula will ask you to mount it when it is not there, you plug it in 
and the OS will mount it, then you enter "mount" in bconsole, and Bacula 
should be happy.  

If a different USB is mounted on the specified device (mount point), Bacula 
will scan it to see if there are any appendable volumes (essentially 
identical to the case of having a different tape in the drive). If there are 
appendable volumes on the currently mounted USB device, Bacula will use them, 
otherwise (provided you set it as removable), Bacula will request you to 
mount the proper volume.  



> 
> Arno
> 
> > B.
> > 
> > Benjamin Chambers, P.Eng.
> > ClarkConnect Account Manager
> > Point Clark Networks
> > 1179 King Street West, Suite 211
> > Toronto, ON
> > Canada, M6K 3C5
> > 
> > Tel:  +1.416.977.0574 Ext. 111
> > Fax:  +1.416.946.1192
> > Email:  [EMAIL PROTECTED]
> > 
> > Arno Lehmann wrote:
> > 
> >>Hi,
> >>
> >>On 1/18/2007 11:07 PM, Benjamin Chambers wrote:
> >>
> >>>I'm doing some testing using v2.0.1 with a USB storage device.  In this 
case, it 
> >>>is an Iomega REV USB drive, but essentially, it could be any USB mass 
storage 
> >>>device.
> >>>
> >>>Here is the configuration for the SD:
> >>>
> >>>Device {
> >>>   Name = "_REV-USB"
> >>>   MediaType = "Iomega REV, USB"
> >>>   ArchiveDevice = "/dev/scd0"
> >>
> >>This is a configuration error.
> >>
> >>
> >>>   LabelMedia = "yes"
> >>>   RandomAccess = "yes"
> >>>   AutomaticMount = "yes"
> >>>   RemovableMedia = "yes"
> >>>   AlwaysOpen = "yes"
> >>>   DeviceType = "File"
> >>>   RequiresMount = "yes"
> >>
> >>RequiresMount, MountPoint, unmountCommand are for DVDs only.
> >>
> >>
> >>>   MountPoint = "/var/bacula/mnt/rev/usb"
> >>>   MountCommand = "/bin/mount %a %m"
> >>>   UnmountCommand = "/bin/umount %m"
> >>>   MaximumVolumeSize = 70GB
> >>>}
> >>>
> >>>Note, I put the DeviceType = "File" because otherwise Bacula thinks it is 
a DVD 
> >>>device and requires the "Write Command" directive.
> >>
> >>Yes. Or rather, the directives above don't apply to file storage.
> >>
> >>
> >>>I know you *could* put the 'ArchiveDevice' directive as the mountpoint 
(in this 
> >>>case /var/bacula/mnt/rev/usb/), however, then you would required the user 
to 
> >>>mount/umount the device, or use the RunBefore/After scripts.  Using the 
> >>>similarities to DVD and the additional directives when "Requires Mount" = 
yes is 
> >>>so much more elegant.
> >>
> >>But it does not work.
> >>
> >>
> >>>The problem is that Bacula is trying to write to the device (/dev/scd0), 
rather 
> >>>than the mount point.  The exact message when you try and label the 
volume is:
> >>>
> >>>*
> >>>   Connecting to Storage daemon _REV-USB at 192.168.2.185:9103 ...
> >>>   Sending label command for Volume "Default-0001" Slot 0 ...
> >>>   3910 Unable to open device "_REV-USB" (/dev/scd0): ERR=dev.c:482 Could 
not
> >>> open: /dev/scd0/Default-0001, ERR=Not a directory
> >>>
> >>>   Label command failed for Volume Default-0001.
> >>>   Do not forget to mount the drive!!!
> >>>***

Re: [Bacula-users] Windows (FD v2.0.1): ClientRunBeforeJob

2007-01-18 Thread Troy Daniels
Hi Scott,

I might be completely wrong but have you tried to append .exe to the 
ntbackup command?

On my systems at least the full path is c:\WINDOWS\system32\ntbackup.exe

Microsoft normally tries to be nice and append the .exe extension 
automatically, but something may have changed in the latest version that 
interferes with that. However, it also hides the extension in by default 
in Explorer which leads to confusion more often than not in my experience.

What version were you running before upgrading? And what version of 
Windows are you running?

The answers to the above might help others answer your original question.

Hope this helps,


Troy Daniels.
Perth Systems Admin.
iTouch Australia (pty) ltd.

Scott Ruckh wrote:
> I am trying to call a .BAT file using ClientRunBeforeJob.  The config used
> to work fine before upgrading the Windows FD 2.0.1.
> 
> It looks like the syntax in my bacula-dir.conf file is correct.  It looks
> like the .BAT file is being called, and for some reason there is a problem
> with the .BAT file.
> 
> Taking Bacula out of the equation, running the .BAT file works without any
> problem.
> 
> Possibly the environment/context that the Bacula FD runs under is
> different then the user I am using to run the .BAT file.  The security on
> the actual files appears to be correct for the SYSTEM user, which is what
> I believe is the context for the Bacula FD.
> 
> Perhaps someone can lend some assistance.
> 
> Here is what is reported from Bacula's messages.
> 
> ClientRunBeforeJob: run command ""C:/Program Files
> (x86)/Bacula/bin/backup_systemstate.bat""
> ClientRunBeforeJob:
> ClientRunBeforeJob: C:\WINDOWS\system32>C:\WINDOWS\system32\ntbackup
> backup systemstate /F C:\SystemState\systemstate.bkf
> ClientRunBeforeJob: 'C:\WINDOWS\system32\ntbackup' is not recognized as an
> internal or external command,
> ClientRunBeforeJob: operable program or batch file.
> ClientRunBeforeJob:
> ClientRunBeforeJob: C:\WINDOWS\system32>exit 0
> 
> Yes, C:\WINDOWS\system32\ntbackup, does exist and is the correct PATH.
> 
> Thanks.
> 

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


Re: [Bacula-users] Windows (FD v2.0.1): ClientRunBeforeJob

2007-01-18 Thread Kern Sibbald
On Friday 19 January 2007 04:23, Scott Ruckh wrote:
> I am trying to call a .BAT file using ClientRunBeforeJob.  The config used
> to work fine before upgrading the Windows FD 2.0.1.

Are you saying that this worked in version 2.0.0 and is broken in 2.0.1? 

There was a change in the finding the default path for the conf files, but I 
don't remember anything affecting execution of programs.  If you are saying 
that it worked on 1.38.x and not on 2.0.x, that is quite possible as a lot of 
code has been changed, and I think (hope) that it is just a matter of getting 
your syntax correct -- e.g. as someone suggested, include the .bat, ...

> 
> It looks like the syntax in my bacula-dir.conf file is correct.  It looks
> like the .BAT file is being called, and for some reason there is a problem
> with the .BAT file.
> 
> Taking Bacula out of the equation, running the .BAT file works without any
> problem.
> 
> Possibly the environment/context that the Bacula FD runs under is
> different then the user I am using to run the .BAT file.  The security on
> the actual files appears to be correct for the SYSTEM user, which is what
> I believe is the context for the Bacula FD.
> 
> Perhaps someone can lend some assistance.
> 
> Here is what is reported from Bacula's messages.
> 
> ClientRunBeforeJob: run command ""C:/Program Files
> (x86)/Bacula/bin/backup_systemstate.bat""
> ClientRunBeforeJob:
> ClientRunBeforeJob: C:\WINDOWS\system32>C:\WINDOWS\system32\ntbackup
> backup systemstate /F C:\SystemState\systemstate.bkf
> ClientRunBeforeJob: 'C:\WINDOWS\system32\ntbackup' is not recognized as an
> internal or external command,
> ClientRunBeforeJob: operable program or batch file.
> ClientRunBeforeJob:
> ClientRunBeforeJob: C:\WINDOWS\system32>exit 0
> 
> Yes, C:\WINDOWS\system32\ntbackup, does exist and is the correct PATH.
> 
> Thanks.
> 
> -- 
> Scott
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

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