[Bacula-users] hm .. backup seems to be donw but i still get an error at the end ?

2005-08-19 Thread Florian Schnabel

somone got a clue what THAT means ??
as far as i can tell backup is don, that was the last job completing with OK

also, tape doesn't get ejected as i would expect it ...

help kindly appreciated

Florian




SD Errors:  0
 FD termination status:  OK
 SD termination status:  OK
 Termination:Backup OK

19-Aug 03:54 erde-dir: Begin pruning Jobs.
19-Aug 03:54 erde-dir: Pruned 1 Job for client erde-fd from catalog.
19-Aug 03:54 erde-dir: Begin pruning Files.
19-Aug 03:54 erde-dir: No Files found to prune.
19-Aug 03:54 erde-dir: End auto prune.

19-Aug 03:54 erde-dir: RunAfter: Connecting to Director 192.168.12.200:9101
19-Aug 03:54 erde-dir: RunAfter: 1000 OK: erde-dir Version: 1.36.3 (22 April 
2005)
19-Aug 03:54 erde-dir: RunAfter: Enter a period to cancel a command.
19-Aug 03:54 erde-dir: RunAfter: unmount storage=Tape
19-Aug 03:54 erde-dir: RunAfter: Using default Catalog name=MyCatalog DB=bacula
19-Aug 03:54 erde-dir: RunAfter: 3901 Device /dev/nst0 is already unmounted.
19-Aug 03:54 erde-dir: RunAfter: You have messages.
19-Aug 03:54 erde-dir: RunAfter: /dev/st0: Permission denied
19-Aug 03:54 erde-dir: RunAfter: /dev/st0: Permission denied
19-Aug 03:54 erde-dir: BackupCatalog.2005-08-18_23.15.00 Warning: RunAfterJob 
error: ERR=Child exited with code 1



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: restore complete file system branches

2005-08-19 Thread Mick
Martin Simmons wrote:
 Bacula can analyse the catalog for you.  Use restore option like 5:
 Select the most recent backup for a client which gives you an
 interactive way to mark files and dirs (recursively by default) for
 restore.

Thanks, but I want to restore for an earlier point in time.

Is there any help for this, e.g. a SQL script to generate the file list?

/M



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: [Bacula-devel] Proposal for location of gnome-console

2005-08-19 Thread Matthias Kurz
On Thu, Aug 18, 2005, Jesse Keating wrote:

[...]
  However one thing that _has_
 bothered me is that when running bconsole, it does not by default look
 at /etc/bacula/ for a bconsole.conf file.  So when I run it I have to
 manually point to the config file with -c.  Current directory is viewed
 for a conf file, it just makes sense to me that the /etc/bacula/
 directory would be checked too.  So perhaps this change could be
 piggybacked on as well?

Yes, *please*.


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   Im prämotorischen Cortex kann jeder ein Held sein. (bdw) 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-dir hanging?

2005-08-19 Thread Sherwood McGowan



I run bacula-dir on 
one server, connecting to several different bacula-fd's remotely and 1 local 
storage daemon. Every few days, bacula-dir hangs, in which the process will show 
it's still running, but it doesn't back up anything and you cannot connect to it 
through the console. the only way to get it back up and running properly is to 
kill it and restart (I use the /etc/init.d/bacula script provided for 
control)

Any ideas on why 
this might be happening? It's aggravating since I just came back from vacation 
after a week and found that it had again hung up and didn't backup any jobs past 
last wednesday.



Sherwood McGowan
ViaTalk
Level 2 Support
VOIP System Engineer



Re: [Bacula-users] Fwd: [Bacula-devel] Proposal for location of gnome-console

2005-08-19 Thread Matthias Kurz
On Fri, Aug 19, 2005, Matthias Kurz wrote:

 On Thu, Aug 18, 2005, Jesse Keating wrote:
 
 [...]
   However one thing that _has_
  bothered me is that when running bconsole, it does not by default look
  at /etc/bacula/ for a bconsole.conf file.  So when I run it I have to
  manually point to the config file with -c.  Current directory is viewed
  for a conf file, it just makes sense to me that the /etc/bacula/
  directory would be checked too.  So perhaps this change could be
  piggybacked on as well?
 
 Yes, *please*.

Well, it's probably easy to write a wrapper around all of the binaries,
like the (modified) bconsole wrapper below. But that's ugly. I'm not
so sure whether changing the lookup from . to $prefix/etc/bacula is
convenient in all situations. E.g. on a rescue CD. Maybe a combination
of $HOME/.bacula with a bacula.conf file in it that has a configdir
directive. I wish i had kept my mouth shut.


   (mk)

888888

#!/bin/sh

prefix=/opkg # from the --prefix option

if [ $# = 1 ]; then
   case $1 in
   -* ) ;;
* ) set -- -c $1.conf ;;
   esac
fi
#   The following works, because bconsole accepts multiple '-c' options.
#   The last '-c' wins.
exec $prefix/sbin/bconsole -c $prefix/etc/bacula/bconsole.conf $@

888888

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   Im prämotorischen Cortex kann jeder ein Held sein. (bdw) 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: [Bacula-devel] Proposal for location of gnome-console

2005-08-19 Thread Kern Sibbald
On Friday 19 August 2005 02:04, Chris Lee wrote:
 I agree with Jesse that this is almost a packaging issue.  However, I do
 think that certain files should be moved.

 Specifically:
 All daemons should go in $(sbindir).
 The sd tools, bconsole, and any other gui console or monitoring program
 should go in $(bindir).
 The bsmtp tool, the mtx-changer script, and any future tools which would be
 run by bacula but not by the user should go in $(libexecdir)/bacula.
 All of the extra scripts such as updatedb/* and the db creation scripts
 should go in $(datadir)/bacula or at least $(sysconfdir)/bacula/scripts
 or something where they don't clutter the top-level config directory so
 much.

This is a bit more than a packaging issue.  It is a basic Bacula Makefile 
issue.  Thanks for detailing this. I'll wait for more comments and think 
about this some more.


 I'm not trying to be a FHS nazi here, but currently /etc/bacula gets kind
 of cluttered without significant packaging modifications.  I also think
 that some of the extra scripts like the various db
 creation/deletion/mangling series should be installed by default.  It's not
 a lot of work from a packaging point of view, but why write 'cp -p
 path/updatedb /etc/bacula/' or simliar into the distro end when it's
 likely that a user may need these scripts but the package manager deleted
 the source tree after installation?

All the scripts are by default installed by the Makefiles. Perhaps some 
packages exclude them.  The scripts in updatedb are not installed by default 
because they could confuse the normal user, and are useful *only* if you are 
upgrading multiple version numbers instead of one version to the next.


 Switching gears for a moment...
 Jesse also brought up another subject which has occurred to me as well. 
 For the daemons I completely agree with keeping the config files in
 /etc/bacula but for console and gui programs it makes sense to me that
 these programs should look for config files in a hierarchial fashion the
 way other user programs do: look for the file specified with by -c, then
 ${HOME}/.bacula/bconsole.conf. then $(sysconfdir)/bacula/bconsole.conf.

I am not likely to change my point of view on this, which is that no path 
should be compiled into the program.  You can solve the problem by creating a 
script with a different name that sticks the appropriate location.   Even 
more unlikely would be that I make Bacula search for the conf file. That 
would create a sysadmin's nightmare.

If you *absolutely* must have bconsole start as bconsole, do the following:

   mv bconsole bconsole.bin
   echo #!/bin/sh bconsole
   echo $PWD/bconsole.bin -c /your-favorite-location/bconsole.conf \
 bconsole
   chmod 700 bconsole

This is really pretty trivial and makes the sysadmin aware of what he is doing 
as well as keeps the binary clean of paths that change during ./configure


 Having a ${HOME}/.bacula/ might seem unnecessary at this point, but I've
 also been thinking that some operators might like to tweak their own
 console config especially if the console program(s) ever implement certain
 config options which have been mentioned before such as Autodisplay = on
 or having multiple console levels in the same config file and maybe
 switching between them within the console.  Plus, if any of the gui
 projects ever become sophisticated enough to need a complicated set of
 options stored in their config, this would be a good place for them if an
 operator/admin wanted to change gui options without affecting the default
 (/etc/bacula) gui options.

If I am not mistaken, bconsole or gnome-console has some form of rc file where 
these can be put.


 I think that about covers my 2cts on the matter. ;-)

 Thanks,
 Chris

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Kern Sibbald
  Sent: Thursday, 18 August, 2005 10:59
  To: bacula-users@lists.sourceforge.net
  Subject: [Bacula-users] Fwd: [Bacula-devel] Proposal for
  location of gnome-console
 
  Hello,
 
  Are there any comments on this proposal?
 
  To be consistent, I would imagine we would need to include bconsole,
  wxconsole, and possibly a number of other files in /usr/bin
  as well.  I can
  understand Daniel's point, but probably prefer to let the
  user move or link
  the file to where he wants.
 
  --  Forwarded Message  --
 
  Subject: [Bacula-devel] Proposal for location of gnome-console
  Date: Thursday 11 August 2005 10:35
  From: Daniel Bloemer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
 
  Hello,
 
  I am using bacula for a while now, and it works pretty fine.
  I have just upgraded from 1.36.1 tp 1.36.3 (SuSE-9.2-RPMs) and have
  stumbled (again) across a minor inconvenience:
 
  The gnome-console is located under /usr/sbin and is equipped with the
  user rights 754. Since I usually do my daywork with a non-proviliged
  user, I cannot start the console directly.
  Maybe it would be better if the 

Re: [Bacula-users] bscan robustness

2005-08-19 Thread Kern Sibbald
On Friday 19 August 2005 11:42, Martin Simmons wrote:
  On Thu, 18 Aug 2005 18:08:04 -0400, Ron Wheeler
  [EMAIL PROTECTED] said:

   Ron 1) Can anyone give any hints about how to modify bscan to record as
   Ron many files as it finds on a tape even if the read of the tape ends
 in Ron an error.
   Ron I need to have access to everything that it did find even if the
 whole Ron backup is not there.

 You could try using bextract to read the files directly.

 What was the error on the tape?


   Ron 2) Is there anyway to get the date of backup displayed while bscan
 is Ron working.
   Ron I am not sure which tape was run on which day so that it is
 difficult Ron to be sure that the volumes are put in the right sequence.
   Ron I can see that it is finding files and reporting file numbers but I
 do Ron not know to what backup job they belong.

 Maybe bls will help?

Exactly, an the current 1.37 bls (after 1.37.30) is *far* better about 
reporting information needed to restore files than previous versions.  This 
is thanks to some suggestions that Thorsten Engel made.  It can be built and 
used, even if you are running a 1.36.3 Bacula -- just don't install it. 

The details of this are briefly documented in the end of the Restore chapter 
of the development manual.  Anyone who has not read the ideas there is 
encouraged to do so -- any feedback or additional ideas would be appreciated.


 __Martin


 ---
 SF.Net email is Sponsored by the Better Software Conference  EXPO
 September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
 Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
 Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Bacula-dir hanging?

2005-08-19 Thread Masopust Christian



Hello Sherwood,

have a look at the lists archive or at the bacula-bug - 
page. i once had the same problem
(search for "director freezing"). 

Kern provided a patch (can be found at bug-page) which 
solved my problem.

chris

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Sherwood 
  McGowanSent: Friday, August 19, 2005 11:24 AMTo: 
  bacula-users@lists.sourceforge.netSubject: [Bacula-users] 
  Bacula-dir hanging?
  
  I run bacula-dir 
  on one server, connecting to several different bacula-fd's remotely and 1 
  local storage daemon. Every few days, bacula-dir hangs, in which the process 
  will show it's still running, but it doesn't back up anything and you cannot 
  connect to it through the console. the only way to get it back up and running 
  properly is to kill it and restart (I use the /etc/init.d/bacula script 
  provided for control)
  
  Any ideas on why 
  this might be happening? It's aggravating since I just came back from vacation 
  after a week and found that it had again hung up and didn't backup any jobs 
  past last wednesday.
  
  
  
  Sherwood McGowan
  ViaTalk
  Level 2 Support
  VOIP System Engineer
  


Re: [Bacula-users] Fwd: [Bacula-devel] Proposal for location of gnome-console

2005-08-19 Thread Kern Sibbald

Yes, this is nice. This is the kind of approach that I would like to encourage 
for those who need it.

Also after thinking about it a bit more, I'm convinced that as a base 
installation (i.e. my Makefiles), the daemons and the interface programs are 
all system administration tools.  They can be adapted for users, but I feel 
that should be an explicit act of each administrator due to the security 
concerns.

On Friday 19 August 2005 11:49, Matthias Kurz wrote:
 On Fri, Aug 19, 2005, Matthias Kurz wrote:
  On Thu, Aug 18, 2005, Jesse Keating wrote:
 
  [...]
 
However one thing that _has_
   bothered me is that when running bconsole, it does not by default look
   at /etc/bacula/ for a bconsole.conf file.  So when I run it I have to
   manually point to the config file with -c.  Current directory is viewed
   for a conf file, it just makes sense to me that the /etc/bacula/
   directory would be checked too.  So perhaps this change could be
   piggybacked on as well?
 
  Yes, *please*.

 Well, it's probably easy to write a wrapper around all of the binaries,
 like the (modified) bconsole wrapper below. But that's ugly. I'm not
 so sure whether changing the lookup from . to $prefix/etc/bacula is
 convenient in all situations. E.g. on a rescue CD. Maybe a combination
 of $HOME/.bacula with a bacula.conf file in it that has a configdir
 directive. I wish i had kept my mouth shut.


(mk)

 888888

 #!/bin/sh

 prefix=/opkg # from the --prefix option

 if [ $# = 1 ]; then
case $1 in
-* ) ;;
 * ) set -- -c $1.conf ;;
esac
 fi
 #   The following works, because bconsole accepts multiple '-c' options.
 #   The last '-c' wins.
 exec $prefix/sbin/bconsole -c $prefix/etc/bacula/bconsole.conf $@

 888888

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Bacula-dir hanging?

2005-08-19 Thread Sherwood McGowan



Thank you. I had forgotten to check the bug 
page

*insert sheepish, embarrased look here*

Thanks again,
Sherwood McGowan

  
  
  From: Masopust Christian 
  [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 
  2005 6:11 AMTo: Sherwood McGowan; 
  bacula-users@lists.sourceforge.netSubject: RE: [Bacula-users] 
  Bacula-dir hanging?
  
  Hello Sherwood,
  
  have a look at the lists archive or at the bacula-bug - 
  page. i once had the same problem
  (search for "director freezing"). 
  
  Kern provided a patch (can be found at bug-page) which 
  solved my problem.
  
  chris
  


From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Sherwood McGowanSent: Friday, August 19, 2005 11:24 
AMTo: bacula-users@lists.sourceforge.netSubject: 
[Bacula-users] Bacula-dir hanging?

I run bacula-dir 
on one server, connecting to several different bacula-fd's remotely and 1 
local storage daemon. Every few days, bacula-dir hangs, in which the process 
will show it's still running, but it doesn't back up anything and you cannot 
connect to it through the console. the only way to get it back up and 
running properly is to kill it and restart (I use the /etc/init.d/bacula 
script provided for control)

Any ideas on why 
this might be happening? It's aggravating since I just came back from 
vacation after a week and found that it had again hung up and didn't backup 
any jobs past last wednesday.



Sherwood McGowan
ViaTalk
Level 2 Support
VOIP System Engineer



RE: [Bacula-users] Bacula-dir hanging?

2005-08-19 Thread Sherwood McGowan



Chris,

I searched for "director freezing", "director hanging", 
"bacula-dir freezing", "hanging" and "freezing"on the bugs boardfound 
nothing...I tried guessing your reporter name was christianm and still found 
nothing.
Any ideas on where I can find this? 

thanks 

  
  
  From: Masopust Christian 
  [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 
  2005 6:11 AMTo: Sherwood McGowan; 
  bacula-users@lists.sourceforge.netSubject: RE: [Bacula-users] 
  Bacula-dir hanging?
  
  Hello Sherwood,
  
  have a look at the lists archive or at the bacula-bug - 
  page. i once had the same problem
  (search for "director freezing"). 
  
  Kern provided a patch (can be found at bug-page) which 
  solved my problem.
  
  chris
  


From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Sherwood McGowanSent: Friday, August 19, 2005 11:24 
AMTo: bacula-users@lists.sourceforge.netSubject: 
[Bacula-users] Bacula-dir hanging?

I run bacula-dir 
on one server, connecting to several different bacula-fd's remotely and 1 
local storage daemon. Every few days, bacula-dir hangs, in which the process 
will show it's still running, but it doesn't back up anything and you cannot 
connect to it through the console. the only way to get it back up and 
running properly is to kill it and restart (I use the /etc/init.d/bacula 
script provided for control)

Any ideas on why 
this might be happening? It's aggravating since I just came back from 
vacation after a week and found that it had again hung up and didn't backup 
any jobs past last wednesday.



Sherwood McGowan
ViaTalk
Level 2 Support
VOIP System Engineer



Re: [Bacula-users] Fwd: [Bacula-devel] Proposal for location of gnome-console

2005-08-19 Thread Kern Sibbald
On Friday 19 August 2005 12:00, Kern Sibbald wrote:
...

 If I am not mistaken, bconsole or gnome-console has some form of rc file
 where these can be put.
...

In looking at the bconsole code, I see that when bconsole starts, it looks in 
the user's $HOME directory for a .bconsolerc, and if found, it reads and 
processes all the lines in that file as if they are commands submitted 
directly to bconsole

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows files not being backed up

2005-08-19 Thread Joe Stump
I've got a few files that I'm wondering if anyone else knows if I  
should be worried that they can't be backed up:


c:/Documents and Settings/Heather/Local Settings/Application Data/ 
Microsoft/Windows/UsrClass.dat


c:/Documents and Settings/Heather/Local Settings/Application Data/ 
Microsoft/Windows/UsrClass.dat.LOG


UsrClass.dat sounds important to me (ie. the user's settings?).

Ideas?

--Joe

--
Joe Stump, CTO
Enotes.com, LLC
http://www.enotes.com



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount USB disk

2005-08-19 Thread Daniel Bloemer

Hello,

Josh Fisher wrote:
A RunBeforeJob script could mount the device with a simple mount 
command. It could also tell if the drive was inserted by testing whether 
or not the mountpoint existed. A RunAfterJob could unmount the device 
just as easily. Of course, if multiple drives were being used it would 
be neccessary to always insert the devices in the correct order so that 
the device with a particular bacula volume label was at the correct 
device node and mountpoint.


A better approach would be for the RunBeforeJob script to read the 
bacula volume label from all inserted devices, find the mountpoint of 
the device containing the desired label, mount it, and then create a 
symlink to the mountpoint. The bacula job would use the symlink as its 
ArchiveDevice. I have not tried this, and I'm not sure if the 
RunAfterJob script could then figure out which  device to unmount.



Unfortunately there is no RunStorageBeforeJob-Command.
Since Director and Storage are not on the same maschine here, a 
RunBeforeJob-script has to do this stuff remote on another maschine.


Regards Daniel
--
Daniel Bloemer - BusinessCoDe GmbH
Systemadministration and Support
Phone: +49 (0)228 / 28925-43
http://www.business-code.de


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Couple of ideas for the Todo list

2005-08-19 Thread Dr. Michael A. Mackey
On Thu, 2005-08-18 at 11:54 -0800, Joshua Kugler wrote:
 On Thursday 18 August 2005 11:10, Kern Sibbald wrote:
   1. Backup up data as it changes.
 
  If I am not mistaken, this is part of fnctl() and the program is notified
  by a signal.  The problem with implementing this at the moment is that
  Bacula is job based, and things are only backed up by a running job. 
  Probably this could be changed, but what I would propose is that if this
  interests someone, he simply create a job that reads a particular file. 
  The monitor program could then be separate from Bacula and when it wants
  something backed up, it writes the filename to a file and starts a Bacula
  job.  If this were something a lot of users used and wanted, it could be
  more tightly integrated with Bacula later.
 
Do we really need bacula to provide this level of fault-tolerance?  I
use hardware disk-mirroring and get this without a performance hit.

 This is possible, but I'd hate to have a job that backed up just one file at 
 a 
 time.  As I mentioned, I think it would take a lot less rearchitecting to 
 create something that would be an open ended job.  In other words, the job 
 starts, registers the files it's watching, and then sends those files to the 
 sd every time they change.  Then once a certain size or elapsed time is 
 reached, the sd would despool them.  A fun idea to think about at any rate.
 
 
   2. Browser based recovery
  Anyway, perhaps php is a way we can get a graphical interface via the web.
  If it is possible, php is something that is feasible as I don't mind
  programming php. I know it can be done with Java, but I don't want to
  program Java, so someone else will need to do it.
 
 So, if I'm understanding this correctly, the PHP script would connect to the 
 dir (or pipe commands through the console), and the restore would initiate, 
 with the sd writing to the client that restored the backup.  That's cool.
 
  The Python Qt GUI console
  is non-trivial because I haven't yet overcome the steep learning curve with
  *both* Python and Qt.
 
 Sounds fun.
 
 j- k-
 
-- 
Michael A. Mackey ([EMAIL PROTECTED])
Associate Professor in Biomedical Engineering / Pathology
University of Iowa, Iowa City, Iowa, USA
Voice: 319-335-6058
FAX: 319-335-5631





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows files not being backed up

2005-08-19 Thread Matt Cowger
Those are part of the registry, and as such can't be backed up  
because they are open.  Yes, they are somewhat important.  You can  
use ntbackup (as a Run Before) though as mentioned in the manual to  
backup the systemstate then you will get those files you mentioned.



On Aug 17, 2005, at 8:50 AM, Joe Stump wrote:

I've got a few files that I'm wondering if anyone else knows if I  
should be worried that they can't be backed up:


c:/Documents and Settings/Heather/Local Settings/Application Data/ 
Microsoft/Windows/UsrClass.dat


c:/Documents and Settings/Heather/Local Settings/Application Data/ 
Microsoft/Windows/UsrClass.dat.LOG


UsrClass.dat sounds important to me (ie. the user's settings?).

Ideas?

--Joe

--
Joe Stump, CTO
Enotes.com, LLC
http://www.enotes.com



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle  
Practices
Agile  Plan-Driven Development * Managing Projects  Teams *  
Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/ 
bsce5sf

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





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows files not being backed up

2005-08-19 Thread Phil Stracchino
Joe Stump wrote:
 I've got a few files that I'm wondering if anyone else knows if I 
 should be worried that they can't be backed up:
 
 c:/Documents and Settings/Heather/Local Settings/Application Data/
 Microsoft/Windows/UsrClass.dat
 
 c:/Documents and Settings/Heather/Local Settings/Application Data/
 Microsoft/Windows/UsrClass.dat.LOG
 
 UsrClass.dat sounds important to me (ie. the user's settings?).
 
 Ideas?

These are registry files, and cannot be backed up using Bacula 1.36 or
earlier because they are open.  Bacula 1.37 (beta) and the
soon-to-be-released Bacula v1.38 have VSS support, and should be aboe to
back up the registry files along with all other open files.


-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: restore complete file system branches

2005-08-19 Thread Martin Simmons
 On Fri, 19 Aug 2005 09:04:17 + (UTC), Mick [EMAIL PROTECTED] said:

  Mick Martin Simmons wrote:
   Bacula can analyse the catalog for you.  Use restore option like 5:
   Select the most recent backup for a client which gives you an
   interactive way to mark files and dirs (recursively by default) for
   restore.

  Mick Thanks, but I want to restore for an earlier point in time.

  Mick Is there any help for this, e.g. a SQL script to generate the file list?

I suggest you run the restore command and read what options it gives you.

__Martin


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Upgraded jobs not using full pool

2005-08-19 Thread Thomas Simmons

No one has any thoughts on this?

Thanks,
Thomas

Thomas Simmons wrote:

Hello Everyone,
 From what I understand, if I have Full Backup Pool = Full-Pool in the 
job resource then any job on that client that gets upgraded to full, 
should use the Full-Pool. This is not happening and is really a big 
problem for laptops that are not on site everynight. If the laptop 
misses the normal full backup, the job will go to a tape in the 
Inc-Pool, which has a much shorter retention period than the 
Full-Pool. Here's a few snippets from my config files and some bacula 
output. Thanks for any help with this.


...
Schedule {
  Name = Daily-Schedule
  Run = Level=Full mon at 20:00
  Run = Level=Incremental tue-fri at 20:00
}
...
Job {
  Name = navajo
  Type = Backup
  Client = navajo-fd
  FileSet = navajo-fileset
  Schedule = Daily-Schedule
  Storage = Dell-PowerVault-132T
  Messages = Standard
  Spool Data = yes
  Pool = Full-Pool
  Full Backup Pool = Full-Pool
  Incremental Backup Pool = Inc-Pool
...
Pool {
  Name = Scratch
  Pool Type = Backup
}
Pool {
  Name = Inc-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 8 weeks
  Accept Any Volume = yes
  Volume Use Duration = 6 days
}
Pool {
  Name = Full-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 52 weeks
  Accept Any Volume = yes
  Volume Use Duration = 6 days
}



17-Aug 20:30 sioux-dir: No prior Full backup Job record found.
17-Aug 20:30 sioux-dir: No prior or suitable Full backup found. Doing 
FULL backup.
17-Aug 20:30 sioux-dir: Start Backup JobId 5, 
Job=navajo.2005-08-17_20.30.03

17-Aug 20:31 sioux-sd: Spooling data ...
navajo-fd:  File system change prohibited. Will not descend into /dev
navajo-fd:  File system change prohibited. Will not descend into /sys
17-Aug 20:39 sioux-sd: Committing spooled data to Volume. Despooling 
1,682,571,846 bytes ...
17-Aug 20:40 sioux-sd: Sending spooled attrs to the Director. Despooling 
58,067,916 bytes ...

17-Aug 20:42 sioux-dir: Bacula 1.37.30 (14Jul05): 17-Aug-2005 20:42:27
  JobId:  5
  Job:navajo.2005-08-17_20.30.03
  Backup Level:   Full (upgraded from Incremental)
  Client: navajo-fd x86_64-unknown-linux-gnu,debian,3.1
  FileSet:navajo-fileset 2005-08-17 20:30:04
  Pool:   Inc-Pool
  Storage:Dell-PowerVault-132T
  Scheduled time: 17-Aug-2005 20:30:02
  Start time: 17-Aug-2005 20:30:04
  End time:   17-Aug-2005 20:42:27
  Priority:   10
  FD Files Written:   212,291
  SD Files Written:   212,291
  FD Bytes Written:   1,646,259,645
  SD Bytes Written:   1,673,950,060
  Rate:   2215.7 KB/s
  Software Compression:   None
  Volume name(s): 02
  Volume Session Id:  4
  Volume Session Time:1124304855
  Last Volume Bytes:  2,712,259,621
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

17-Aug 20:42 sioux-dir: Begin pruning Jobs.
17-Aug 20:42 sioux-dir: No Jobs found to prune.
17-Aug 20:42 sioux-dir: Begin pruning Files.
17-Aug 20:42 sioux-dir: No Files found to prune.
17-Aug 20:42 sioux-dir: End auto prune.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] DLT labels

2005-08-19 Thread Dan Langille
On 15 Aug 2005 at 10:12, Alan Brown wrote:

 On Sun, 14 Aug 2005, Dan Langille wrote:
 
  If you have any spare unused DLT labels, I could use them.
 
  I'm looking for the labels that slide into the slot on a DLT tape.
 
 Dan:
 
 We gave up on these things a long time ago as too finicky, prone to 
 damage and usually don't give us the barcode titles needed.

I have a simple drive.  No barcode function.

 Printing to light card label sheets has its own issues.
 
 Our solution:
 
 Brother P-touch label printers are capable of producing barcodes and their 
 18mm laminated tape cartridges fit the label slot perfectly at a cost of 
 under 5c/label.
 
 Experiments have shown that barcode readers have no trouble with most tape 
 colours and the only problem (1 in 1000+ prints) has been a glitch in the 
 tape laminate resulting in one unreadable barcode.
 
 There are several other brands of labelmakers which will do the job...

That sounds good. This is something good to have in the archives.
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] mtx-changer, slot 0, and label command

2005-08-19 Thread Scott Loga
The default mtx-changer script is mtx-changer %c %o %S %a %d.  The %S
command is for Slot Base 1 and %s is for Slot Base 0.  Do the %s and %S
commands indicate the Slot Base Default of the AutoLoader or does it
indicate the value you want the slots to begin with?

The reason I ask is that Bacula queries the user for the slot number
when labeling tapes.  As you can see below, Bacula uses (0 for none).


*label
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
 1: File
 2: QuantumDLT7000
Select Storage resource (1-2): 2
Enter new Volume name: Daily01
Enter slot (0 for none):



So, can one use Slot 0 or should we begin our Slot Numbers with 1?

I would appreciate any insight or comments regarding the above.

Respectfully,

Scott Loga




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users