Re: [Bacula-users] How to prevent to schedule a job if the same job is still running

2009-08-31 Thread Ralf Gross
Silver Salonen schrieb:
 On Sunday 30 August 2009 13:58:44 Ralf Gross wrote:
  Martina Mohrstein schrieb:
   So my question is how could I prevent the schedule of a job when the
   same job is already running?
  
  Maybe the new Duplicate Job Control feature in 3.0.x helps to prevent
  this?
  
  http://www.bacula.org/en/dev-manual/New_Features.html#515
  
  - Allow Duplicate Jobs
  - Allow Higher Duplicates
  - Cancel Queued Duplicates
  - Cancel Running Duplicates
  
 
 I haven't still seen it working as it should (even in 3.0.2), but yes, a day 
 it will, it'll be the most correct and easiest way to achieve this.

Did anyone file a bug report about that? I searched the bug database,
but couldn't find a report about that. At least no open bug.

Ralf

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula thinks empty tapes are full

2009-08-31 Thread Edward Aronyk
Hey All,

I've been using Bacula to backup 7 or 8 servers for a while now and  
have been fairly pleased. I backup to an external autochanger.

I started with 20 empty tapes. Now, half way through Bacula is  
convinced that the rest of the tapes are full, but they aren't...  
they've never been written to.

Does anyone have any suggestions how to convince bacula that these  
tape aren't full?

*list volumes
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Pool: Default
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |  
LastWritten |
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
|   1 | KHA000L1   | Full  |   1 | 247,597,894,656 |   
548 |   31,536,000 |   1 |1 | 1 | LTO-1 |  
2008-11-03 01:07:34 |
|   2 | KHA001L1   | Full  |   1 | 326,155,640,832 |   
736 |   31,536,000 |   1 |2 | 1 | LTO-1 |  
2009-01-05 00:10:10 |
|   3 | KHA002L1   | Full  |   1 | 257,168,572,416 |   
491 |   31,536,000 |   1 |3 | 1 | LTO-1 |  
2009-02-06 23:12:42 |
|   4 | KHA003L1   | Full  |   1 | 293,170,913,280 |   
531 |   31,536,000 |   1 |4 | 1 | LTO-1 |  
2009-03-15 23:15:33 |
|   5 | KHA004L1   | Error |   1 | 136,982,974,464 |   
256 |   31,536,000 |   1 |5 | 1 | LTO-1 |  
2009-04-02 23:14:37 |
|   6 | KHA005L1   | Error |   1 |  93,291,061,248 |   
138 |   31,536,000 |   1 |6 | 1 | LTO-1 |  
2009-04-10 23:43:20 |
|   7 | KHA006L1   | Full  |   1 | 271,544,232,960 |   
474 |   31,536,000 |   1 |7 | 1 | LTO-1 |  
2009-05-17 23:49:44 |
|   8 | KHA007L1   | Full  |   1 | 278,454,435,840 |   
472 |   31,536,000 |   1 |8 | 1 | LTO-1 |  
2009-06-22 23:13:12 |
|   9 | KHA008L1   | Full  |   1 | 249,486,999,552 |   
402 |   31,536,000 |   1 |9 | 1 | LTO-1 |  
2009-07-16 23:21:56 |
|  10 | KHA009L1   | Full  |   1 |  42,706,944  
|0 |   31,536,000 |   1 |   10 | 1 | LTO-1 |  
2009-07-16 23:34:23 |
|  11 | KHA010L1   | Full  |   1 |  59,157,504  
|0 |   31,536,000 |   1 |   11 | 1 | LTO-1 |  
2009-07-16 23:39:32 |
|  12 | KHA011L1   | Full  |   1 |  66,963,456  
|0 |   31,536,000 |   1 |   12 | 1 | LTO-1 |  
2009-07-16 23:44:47 |
|  13 | KHA012L1   | Full  |   1 |  61,608,960  
|0 |   31,536,000 |   1 |   13 | 1 | LTO-1 |  
2009-07-16 23:49:32 |
|  14 | KHA013L1   | Full  |   1 |  58,447,872  
|0 |   31,536,000 |   1 |   14 | 1 | LTO-1 |  
2009-07-16 23:54:16 |
|  15 | KHA014L1   | Full  |   1 |  57,028,608  
|0 |   31,536,000 |   1 |   15 | 1 | LTO-1 |  
2009-07-16 23:59:38 |
|  16 | KHA015L1   | Full  |   1 |  56,383,488  
|0 |   31,536,000 |   1 |   16 | 1 | LTO-1 |  
2009-07-17 00:04:49 |
|  17 | KHA016L1   | Full  |   1 |  58,705,920  
|0 |   31,536,000 |   1 |   17 | 1 | LTO-1 |  
2009-07-17 00:10:00 |
|  18 | KHA017L1   | Full  |   1 |  62,447,616  
|0 |   31,536,000 |   1 |   18 | 1 | LTO-1 |  
2009-07-17 00:14:29 |
|  19 | KHA018L1   | Full  |   1 |  64,963,584  
|0 |   31,536,000 |   1 |   19 | 1 | LTO-1 |  
2009-07-17 00:19:49 |
|  20 | KHA019L1   | Full  |   1 |  65,544,192  
|0 |   31,536,000 |   1 |   20 | 1 | LTO-1 |  
2009-07-17 00:25:11 |
|  21 | CLNS00L1   | Cleaning  |   1 |   0  
|0 |   31,536,000 |   1 |0 | 0 |   |  
-00-00 00:00:00 |
|  22 | CLNS01L1   | Cleaning  |   1 |   0  
|0 |   31,536,000 |   1 |0 | 0 |   |  
-00-00 00:00:00 |
+-++---+-+- 
+--+--+-+--+---+--- 
+-+
Pool: Scratch
No results to list.

*version
backup.keeranhosting.com-dir Version: 3.0.2 (18 July 2009) i386- 
portbld-freebsd7.1 freebsd 7.1-RELEASE-p6

Thanks for your help!
Ed Aronyk

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and 

[Bacula-users] backups in two devices

2009-08-31 Thread Jesus arteche
hey,

i read in the bacula doc that i can make the backups in two different
devices...I mean one storage--one job--2 devices...I want to make it to
implemento more security to the system...i's like to have the same backups
in two or three different places in case some device break down.

Thanks
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula thinks empty tapes are full

2009-08-31 Thread Cedric Tefft
Before you start forcibly changing bacula's notion of what tapes are 
full and what tapes are empty, you might want to try to figure out WHY 
bacula thinks your empty tapes are full.  I'm certainly no expert, but 
my guess would be that this is a symptom of a larger problem.  I noticed 
all your non-empty empty tapes aren't JUST marked as full, Bacula thinks 
they all have around 60MB worth of data on them, and they were all 
written to (again as far as bacula is concerned) within the space of 
about an hour.  Are your tapes in a changer?  Is it possible they were 
used without your knowledge?  I have no idea what's going on -- my point 
is only that telling bacula to treat the tapes as empty is probably more 
of a workaround than an actual solution for whatever caused them to be 
marked as full in the first place.   Personally, I would try running 
query #13 or 14 to see what jobs (if any) bacula thinks is on those tapes.


Anyway, to answer your question more directly, you can try pruning the 
offending volumes (use the prune command in the bacula console).  If 
that doesn't work, try purging them (again, the obvious: use the purge 
command), and if THAT fails, use the update command to directly change 
the tapes' status.

- Cedric

Edward Aronyk wrote:
 Hey All,

 I've been using Bacula to backup 7 or 8 servers for a while now and  
 have been fairly pleased. I backup to an external autochanger.

 I started with 20 empty tapes. Now, half way through Bacula is  
 convinced that the rest of the tapes are full, but they aren't...  
 they've never been written to.

 Does anyone have any suggestions how to convince bacula that these  
 tape aren't full?

 *list volumes
 Automatically selected Catalog: MyCatalog
 Using Catalog MyCatalog
 Pool: Default
 +-++---+-+- 
 +--+--+-+--+---+--- 
 +-+
 | MediaId | VolumeName | VolStatus | Enabled | VolBytes|  
 VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType |  
 LastWritten |
 +-++---+-+- 
 +--+--+-+--+---+--- 
 +-+
 |   1 | KHA000L1   | Full  |   1 | 247,597,894,656 |   
 548 |   31,536,000 |   1 |1 | 1 | LTO-1 |  
 2008-11-03 01:07:34 |
 |   2 | KHA001L1   | Full  |   1 | 326,155,640,832 |   
 736 |   31,536,000 |   1 |2 | 1 | LTO-1 |  
 2009-01-05 00:10:10 |
 |   3 | KHA002L1   | Full  |   1 | 257,168,572,416 |   
 491 |   31,536,000 |   1 |3 | 1 | LTO-1 |  
 2009-02-06 23:12:42 |
 |   4 | KHA003L1   | Full  |   1 | 293,170,913,280 |   
 531 |   31,536,000 |   1 |4 | 1 | LTO-1 |  
 2009-03-15 23:15:33 |
 |   5 | KHA004L1   | Error |   1 | 136,982,974,464 |   
 256 |   31,536,000 |   1 |5 | 1 | LTO-1 |  
 2009-04-02 23:14:37 |
 |   6 | KHA005L1   | Error |   1 |  93,291,061,248 |   
 138 |   31,536,000 |   1 |6 | 1 | LTO-1 |  
 2009-04-10 23:43:20 |
 |   7 | KHA006L1   | Full  |   1 | 271,544,232,960 |   
 474 |   31,536,000 |   1 |7 | 1 | LTO-1 |  
 2009-05-17 23:49:44 |
 |   8 | KHA007L1   | Full  |   1 | 278,454,435,840 |   
 472 |   31,536,000 |   1 |8 | 1 | LTO-1 |  
 2009-06-22 23:13:12 |
 |   9 | KHA008L1   | Full  |   1 | 249,486,999,552 |   
 402 |   31,536,000 |   1 |9 | 1 | LTO-1 |  
 2009-07-16 23:21:56 |
 |  10 | KHA009L1   | Full  |   1 |  42,706,944  
 |0 |   31,536,000 |   1 |   10 | 1 | LTO-1 |  
 2009-07-16 23:34:23 |
 |  11 | KHA010L1   | Full  |   1 |  59,157,504  
 |0 |   31,536,000 |   1 |   11 | 1 | LTO-1 |  
 2009-07-16 23:39:32 |
 |  12 | KHA011L1   | Full  |   1 |  66,963,456  
 |0 |   31,536,000 |   1 |   12 | 1 | LTO-1 |  
 2009-07-16 23:44:47 |
 |  13 | KHA012L1   | Full  |   1 |  61,608,960  
 |0 |   31,536,000 |   1 |   13 | 1 | LTO-1 |  
 2009-07-16 23:49:32 |
 |  14 | KHA013L1   | Full  |   1 |  58,447,872  
 |0 |   31,536,000 |   1 |   14 | 1 | LTO-1 |  
 2009-07-16 23:54:16 |
 |  15 | KHA014L1   | Full  |   1 |  57,028,608  
 |0 |   31,536,000 |   1 |   15 | 1 | LTO-1 |  
 2009-07-16 23:59:38 |
 |  16 | KHA015L1   | Full  |   1 |  56,383,488  
 |0 |   31,536,000 |   1 |   16 | 1 | LTO-1 |  
 2009-07-17 00:04:49 |
 |  17 | KHA016L1   | Full  |   1 |  58,705,920  
 |0 |   31,536,000 |   1 |   17 | 1 | LTO-1 |  
 2009-07-17 00:10:00 |

[Bacula-users] intermittent problems with autochanger

2009-08-31 Thread bdeschanes

The link to Bacula is to say there isn't one. That is: your problem may not 
have anything to do with Bacula since I'm experiencing the same issue without 
it. If you solve it within your Bacula configuration that'll be great - but my 
point is that you may be barking up the wrong tree.

+--
|This was sent by bernard.descha...@va.gov via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ACL Support = yes gives acl_get_file error on file errors

2009-08-31 Thread Adam Cécile
John Jorgensen a écrit :
 adam.cecile == Adam Cécile adam.cec...@linbox.com writes:
 

 adam.cecile Hello, I just upgraded to bacula 3.0.2 and I'm
 adam.cecile seeing strange messages when backing up an OSX
 adam.cecile computer.  The log is full of acl_get_file
 adam.cecile error on file, see below.

 Check if the files for which the ACL errors are reported are
 dangling symbolic links, that is, a symbolic link where the file
 linked to no longer exists.  
   
No, they are real files, not symlinks.
 We have some Solaris machines which contain a number of dangling
 symlinks, and they result in errors similar to those you report
 (though from the path names, I'd guess your system is running
 MacOS X).  I speculate that Bacula's file daemon tries to read the
 ACL information from the linked-to file, then logs an error when
 that attempt fails.  

 I've thought about patching the bacula's acl.c to not log such
 errors for dangling symlinks, but so far have just lived with the
 extra messages.



   


-- 
Adam Cécile  Mandriva / Linbox
152, rue de Grigy - Technopole Metz  57070 METZ - FRANCE
tel: +33 (0)3 87 50 87 90http://mandriva.com


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] PurgeOldestVolume: documentation `bug'

2009-08-31 Thread Petar Bogdanovic
Hi,

the documentation says about PurgeOldestVolume:

 Please be aware that Purge Oldest Volume disregards all retention
 periods. If you have only a single Volume defined and you turn this
 variable on, that Volume will always be immediately overwritten when
 it fills!

If LabelMedia = yes and MaximumVolumes is not reached, that won't
happen.  Bacula will prefer labeling new volumes over purging old
volumes (as long as the retention periods aren't expired).

Just tested on a Debian 5.0.2 machine with Bacula 2.4.4.



   Petar Bogdanovic




--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto make bacula unmount a disk after backup?

2009-08-31 Thread Josh Fisher

Thomas wrote:
 one year ago i ran into the same problem:

 http://www.adsm.org/lists/html/Bacula-users/2008-07/msg00885.html

 i did only a few tests with usb-sticks
 so there is no solution until now
   

I find it far simpler to use the autofs daemon to automount removable 
drives at a static mountpoint. Then the Bacula config is exactly as for 
fixed disk drives.

 Best Regards

 Thomas


 Cedric Tefft schrieb:
   
   [Bacula-users] Howto make bacula unmount a disk after backup?
   From: Adam ald.b...@go... - 2009-08-24 23:10
  
   I have looked at bug report 830 on the bug reports list and it would 
 appear
   that it has not been fixed. I am using version 3.0.2 of Bacula with the
   following device configuration. The device is not unmounted after the 
 job is
   executed.
  
   Device {
   Name = USBBackup1
   Media Type = ExtUSB
   Device Type = File
   LabelMedia = yes
   Random Access = yes
   Requires Mount = yes
   Removable Media = yes
   AlwaysOpen = yes
   Mount Point = /dev/disk/by-label/usb-backup-1
   Mount Command = /bin/mount %m
   Unmount Command = /bin/umount %m
   Archive Device = /mnt/usb-backup-1/backup
   Maximum File Size = 10485760
   }
  
   Regards,
  
   Adam

  From what I can tell, I'm having exactly the same problem.  I am also 
 running 3.0.2.  As a test, I tried logging calls to the mount and 
 unmount commands with wrapper scripts like so:

 Device {
   Name = BackupDrive
   Media Type = File
   Archive Device = /mnt/backup/volumes
   Mount Point = /mnt/backup
   Mount Command = /etc/bacula/mount-wrapper %m
   Unmount Command = /etc/bacula/umount-wrapper %m
   Requires Mount = yes
   LabelMedia = yes
   Random Access = Yes
   AutomaticMount = yes
   RemovableMedia = yes
   AlwaysOpen = no
   Offline On Unmount = Yes  # Also tried no

 }

 The wrappers are pretty much what you would expect:

 # cat /etc/bacula/umount-wrapper
 #!/bin/sh
 echo umount-wrapper called as $0 $1 $2 $3 $4 $5 $6 $7 $8 $9  
 /tmp/mount.log
 /bin/umount $1 $2 $3 $4 $5 $6 $7 $8 $9  /tmp/mount.log 21

 +++

 # cat /etc/bacula/mount-wrapper
 #!/bin/sh
 echo mount-wrapper called as $0 $1 $2 $3 $4 $5 $6 $7 $8 $9  /tmp/mount.log
 /bin/mount $1 $2 $3 $4 $5 $6 $7 $8 $9  /tmp/mount.log 21

 +++

 After running a couple of backup jobs, I looked at the mount log:

 # cat /tmp/mount.log
 mount-wrapper called as /etc/bacula/mount-wrapper /mnt/backup
 mount-wrapper called as /etc/bacula/mount-wrapper /mnt/backup

 It appears bacula calls the mount command as expected, but it never 
 calls the unmount command.  Not only does it not do it automatically 
 after a backup job completes, it doesn't even do it on an explicit 
 umount issued from the console.

 Like you, I looked at bug 830 ( http://bugs.bacula.org/view.php?id=830 ) 
 which was closed as fixed on 2007-07-16 with the comment::  Fixed in 
 current SVN. You must have the appropriate Mount/Unmount commands 
 defined in the Device resource and you must declare the device as 
 removable otherwise Bacula will not try to mount/unmount it.

 Am I missing something?  Is there some reason bug 830 should NOT be 
 reopened?

 Thx,

 - Cedric







 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

   

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] question about FD Connect Timeout

2009-08-31 Thread uhog-v9e4
Hi,

I am using Bacula 3.0.2(all components) on Ubuntu 9.04 to backup several 
clients. A few of these are Windows XP laptop clients which may get booted up 
for a short period, then the lid closed after the user has done some simple 
things like checking email, etc. Closing the lid will put the laptop in 
hibernate mode.

My problem is when this happens after the job is started but before it is 
finished, it seems to hang in running mode. Example:
*s dir
...
Running Jobs:
Console connected at 31-Aug-09 08:17
Console connected at 31-Aug-09 08:18
Console connected at 31-Aug-09 11:06
 JobId Level   Name   Status
==
   242 Increme  win-v2-backup.2009-08-31_09.00.00_05 is waiting on max Storage 
jobs
   244 Increme  tlap-backup.2009-08-31_09.00.00_07 is running
   245 Increme  n610c-backup.2009-08-31_09.00.00_08 is waiting on max Storage 
jobs

...

*llist jobid=244
...
   SchedTime: 2009-08-31 09:00:00
   StartTime: 2009-08-31 10:02:41
 EndTime: -00-00 00:00:00
...

I have the following settings in my dir.conf file
director
  FD Connect Timeout = 20 mins

job
  Max Start Delay = 43200
  Reschedule On Error = yes
  Reschedule Interval = 2 mins
  Reschedule Times = 36
 
My goal here is that if one job is unable to complete like this, then it would 
simply abort after 20 minutes allowing the next job to start running and the 
job that aborted would get rescheduled and perhaps catch the user online next 
time.

This works as expected as long as the job has not transitioned to the running 
state, ie as long as it is waiting then after 20 minutes it will abort and 
reschedule but after it starts running I'm not sure how long it will hang 
around.

Any thoughts?

Thanks,
Mike Chisholm

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula backups and restores

2009-08-31 Thread tqz

Hmm...I dont like the fact that if my server and nas devices are all damaged in 
a fire (for example) then my off site backup copy (the encrypted tape) is 
useless to me! I dont see the point of having the offsite copy, if what is 
saved on the tape cant be restored! I'm no system admin, or have any experience 
in other backup software so dont know if this is the case with them as well or 
if this is just a down point for using bacula. 

My boss would like the tapes encrypted as there may be confidential data on the 
tapes so encrypting the tapes is a requirement for him. Is there any way that I 
could keep the bacula catalog unencrypted on the same tape? Is this possible to 
specify in the config files? Or is this being illogical as then anyone can 
restore the data if they have knowledge on bacula even if the other contents on 
the tape is encrypted...or is just sending a dump of the bacula catalog via 
email or to an off site location the only option if we encrypt the tape

Many thanks in advance
t.

+--
|This was sent by tqzeli...@yahoo.co.uk via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Spool block too big

2009-08-31 Thread teksupptom


Martin Simmons wrote:
 
 I think this can only be caused by a bug, so it is probably a good idead to
 upgrade to Bacula 3.0.1 to see if that fixes it.
 
 Are you using simultaneous jobs?  What values does the error give for the
 sizes of the blocks?
 
 __Martin
 
 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize  
 details at: http://p.sf.net/sfu/Challenge
 ___
 Bacula-users mailing list
 Bacula-users  at  lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



Hi Martin,

We are actually in the process of upgrading to 3.01. We do run simultaneous 
jobs, with a limit of 2 since we have two tape drives.

The error we've seen is similar but not exact in all cases so far, here's an 
example:

Fatal error: spool.c:396 Spool block too big. Max 64512 bytes, got 4288020370

Sometimes the number is much smaller, but often it is very large, like above.

I'm hoping it disappears with Bacula 3.01 :)

Thanks,
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How do Jobs Queue?

2009-08-31 Thread teksupptom


Martin Simmons wrote:
 
 I think they are considered in the order that the Job definitions appear in
 the bacula-dir.conf.
 
 To guarantee the order, it is best to use different priorities.  I use
 priorities 1, 2, 3 etc for the backups and 201, 202, 203 etc for the
 corresponding verifies.
 
 __Martin
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Bacula-users mailing list
 Bacula-users  at  lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


Hi Martin,

I wish it were that simple, unfortunately the testing I've done shows there is 
more involved than just the order. My nightly Incrementals are set for the same 
time, and they get scheduled in the order they appear in the file. Then the 
different verify jobs are scheduled at the same time, but the verifies for one 
job type get scheduled, then the verifies for the other job type. Also, the 
first gets scheduled in one order (first client to last), while the other gets 
scheduled in opposite (last client to first).

It's like Bacula scans the job list from top to bottom, then back up, and back 
down, etc, until all jobs are queued for that day.

I like your suggestion about priorities, but the way I read the instructions 
was that jobs of a lower priority would wait until all jobs of a higher 
priority finish before starting. Since we have two tape drives, and use one of 
them for our large filesets, there would be times where the first tape drive 
would sit idle for a day or two while waiting for all the higher priority jobs 
to complete.

Am I misunderstanding the way priority is implemented?

Thanks for your help!
Tom

+--
|This was sent by tomisom.s...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to prevent to schedule a job if the same job is still running

2009-08-31 Thread Silver Salonen
On Monday 31 August 2009 09:33:22 Ralf Gross wrote:
 Silver Salonen schrieb:
  On Sunday 30 August 2009 13:58:44 Ralf Gross wrote:
   Martina Mohrstein schrieb:
So my question is how could I prevent the schedule of a job when the
same job is already running?
   
   Maybe the new Duplicate Job Control feature in 3.0.x helps to prevent
   this?
   
   http://www.bacula.org/en/dev-manual/New_Features.html#515
   
   - Allow Duplicate Jobs
   - Allow Higher Duplicates
   - Cancel Queued Duplicates
   - Cancel Running Duplicates
   
  
  I haven't still seen it working as it should (even in 3.0.2), but yes, a 
day 
  it will, it'll be the most correct and easiest way to achieve this.
 
 Did anyone file a bug report about that? I searched the bug database,
 but couldn't find a report about that. At least no open bug.
 
 Ralf

Hmm, I guess not then. But it has been reported several times in the list. So, 
any volunteers? :)

-- 
Silver

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to prevent to schedule a job if the same job is still running

2009-08-31 Thread Stephen Thompson


Note this tread as well; it's possible the documentation is wrong (the 
source code seem to indicate so):

Dear All,
Bacula (3.0.2) is configured to make daily backups of some systems. Full
backups unfortunately take more then one day to complete and I want to
avoid that duplicate jobs start (or are queued) before the full backup
is completed.

No duplicate job control directives are configured. If I understand the
manual correctly (perhaps it's an interpretation error of me)
http://www.bacula.org/en/dev-manual/New_Features.html#SECTION00310
this should not happen.

I had a quick look in the source code and found this code in src/dird/job.c:

bool allow_duplicate_job(JCR *jcr)
{
JOB *job = jcr-job;
JCR *djcr;/* possible duplicate */

if (job-AllowDuplicateJobs) {
   return true;
}
if (!job-AllowHigherDuplicates) {
-- code related to Cancel Queued Duplicates: and Cancel Running
Duplicates here
}
return true;
}

Apparently Cancel Queued Duplicates and Cancel Running Duplicates
are only evaluated when Allow Higher Duplicates is set to no - not
default. Is this an error in the documentation, code or me not correctly
understanding the manual or code?

Kind regards,
Bram Vandoren.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and 
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users






Silver Salonen wrote:
 On Monday 31 August 2009 09:33:22 Ralf Gross wrote:
 Silver Salonen schrieb:
 On Sunday 30 August 2009 13:58:44 Ralf Gross wrote:
 Martina Mohrstein schrieb:
 So my question is how could I prevent the schedule of a job when the
 same job is already running?
 Maybe the new Duplicate Job Control feature in 3.0.x helps to prevent
 this?

 http://www.bacula.org/en/dev-manual/New_Features.html#515

 - Allow Duplicate Jobs
 - Allow Higher Duplicates
 - Cancel Queued Duplicates
 - Cancel Running Duplicates

 I haven't still seen it working as it should (even in 3.0.2), but yes, a 
 day 
 it will, it'll be the most correct and easiest way to achieve this.
 Did anyone file a bug report about that? I searched the bug database,
 but couldn't find a report about that. At least no open bug.

 Ralf
 
 Hmm, I guess not then. But it has been reported several times in the list. 
 So, 
 any volunteers? :)
 


-- 
Stephen Thompson   Berkeley Seismological Laboratory
step...@seismo.berkeley.edu215 McCone Hall # 4760
404.538.7077 (phone)   University of California, Berkeley
510.643.5811 (fax) Berkeley, CA 94720-4760

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows restore

2009-08-31 Thread Lukasz Szybalski
On Thu, Aug 27, 2009 at 7:41 AM, James
Harperjames.har...@bendigoit.com.au wrote:

 I'm new to bacula and am considering it for a back up solution for a
 small
 business.

 I've gotten the impression from reading the docs and wiki that it is
 difficult
 to restore a windows system (like windows server 2003 for instance)
 after a
 wipe.

 Couldn't I just reinstall the OS, the registry backup, and the windows
 bacula
 client, reconfigure it and do a restore? I really only want some sql
 (ms sql,
 mysql) databases, and a directory full of pdfs backed up nightly in
 case of a
 failure or some kind of over write problem. What problems might I come
 across
 trying this method? Thanks for any comments in advance.

 I just set up bacula on ubuntu 8.04 server, and have a couple win 2003
 servers.

 Try it and see :)

 If the Windows 2003 machine(s) use normal SATA disks then buy some new
 ones, pick a good time for scheduled maintenance, take the original
 disks out, put the new blank ones in and enact your disaster recovery
 plan. Once you are done, put the original disks back. If your server has
 heaps of disks in it and you can't justify buying a complete new set to
 test your backups then just buy one and do a proof-of-concept partial
 restore. If you have a RAID controller make sure that it will be happy
 with you swapping disks around like that though...

 It's a bit more (a lot more probably) expensive if your server uses
 hotswap SAS disks or something, and if you are restoring the registry
 then restoring to a different (eg cheaper) test platform becomes a bit
 harder but not impossible.

 If you are doing incremental backups, be aware that the last-modified
 date on the sql databases doesn't get updated like you'd expect (ask me
 how I found that out :). If you are doing full backups then VSS takes
 care of everything for you.

 A few years ago I restored an XP machine using bacula on a BartPE boot
 cd. The director and catalog was on another machine which made that side
 of it easier (no need to restore catalog's etc). The restore process was
 basically just:
 . Build the BartPE CD and put bacula-fd and associated stuff on it
 . Boot of the BartPE CD (this was actually a lot trickier than
 anticipated - the CDROM driver turned out to be mostly stuffed)
 . Set up networking
 . Format and partition the disk and make it bootable
 . Restore all the data

 I'm not sure how you'll go restoring the registry 'live' - you may need
 to restore it to another folder and then boot a recovery cd and copy it
 from there or something. I've never done it that way.

 Have a read of the ASR restore methodology on Microsoft's various web
 sites to give you a basic understanding of the backup and restore
 process on Windows and what restoring the registry entails.



My take on this is to use vmware server and vmware converter. You
install converter and convert your system into vmware server 2.x. You
now have an an image of the whole system. Save it in bacula, or
anywhere else. Then use bacula to do the backups of the database. If
system crashes you run the server in vmware server, restore the
database from bacula, and you are done. Assuming you are ok running
the vmware temporary or permanently.


Lucas
http://lucasmanual.com/mywiki/Bacula

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] adding my first windows client

2009-08-31 Thread Syn, Joonho
Hi,
I'm trying to add my first windows client to my test instance of bacula running 
on RHEL5 but I keep getting Authentication Failed errors.  It claims that I 
have an incorrect password but I know this is not true.  Since the client is a 
laptop I thought perhaps that bacula might be confused since it has a wireless  
and wired interface but this is not the case since I hard-coded the IP into the 
bacula-dir.conf.   I'll paste the bacula-dir.conf and the bacula-fd.conf from 
the client.

TIA

Error message:
31-Aug 14:39 bacula-dir JobId 237: No prior Full backup Job record found.
31-Aug 14:39 bacula-dir JobId 237: No prior or suitable Full backup found in 
catalog. Doing FULL backup.
31-Aug 14:39 bacula-dir JobId 237: Start Backup JobId 237, 
Job=us-sfo1-521.2009-08-31_14.39.19_03
31-Aug 14:39 bacula-dir JobId 237: Using Device bacula-sd
31-Aug 14:39 bacula-dir JobId 237: Fatal error: Unable to authenticate with 
File daemon at 10.49.55.41:9102. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see 
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
 for help.
31-Aug 14:39 us-sfo1-521-fd: Fatal Error at 
/home/kern/bacula/k/src/filed/authenticate.c:143 because:
Incorrect password given by Director at client.
31-Aug 14:39 bacula-dir JobId 237: Warning: Unexpected Client Job message: 2999 
Authentication failed.

31-Aug 14:39 bacula-dir JobId 237: Fatal error: No Job status returned from FD.
31-Aug 14:39 bacula-dir JobId 237: Error: Bacula bacula-dir 3.0.1 (30Apr09): 
31-Aug-2009 14:39:32
  Build OS:   i686-redhat-linux-gnu redhat Enterprise release
  JobId:  237
  Job:us-sfo1-521.2009-08-31_14.39.19_03
  Backup Level:   Full (upgraded from Incremental)
  Client: us-sfo1-521-fd
  FileSet:Win Client Set 2009-08-28 13:43:43
  Pool:   Default (From Job resource)
  Catalog:MyCatalog (From Client resource)
  Storage:bacula-sd (From Job resource)
  Scheduled time: 31-Aug-2009 14:39:18
  Start time: 31-Aug-2009 14:39:21
  End time:   31-Aug-2009 14:39:32
  Elapsed time:   11 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Accurate:   no
  Volume name(s):
  Volume Session Id:  23
  Volume Session Time:1251415297
  Last Volume Bytes:  4,123,946 (4.123 MB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Waiting on FD
  Termination:*** Backup Error ***

Bacula-fd.conf on the windows client:
Director {
  Name = bacula-dir
  Password = ihatevista
}

Director {
  Name = bacula-mon
  Password = FB137AJQy/jgalkgiEE5q2GxpW7cb9XAC/m1m0x9jvYA
  Monitor = yes
}

FileDaemon {  # this is me
  Name = us-sfo1-521-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = C:\\Program Files\\Bacula\\working
  Pid Directory = C:\\Program Files\\Bacula\\working
  Maximum Concurrent Jobs = 10
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = bacula-dir = all, !skipped, !restored
}


Bacula-dir.conf
Director {# define myself
  Name = bacula-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/lib/bacula/query.sql
  WorkingDirectory = /var/lib/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 10
  Password = Hvq3ZzJhDrpvj69RllRWTH98KEP6PM/RFtzwBnZIh6UO # Console 
password
  Messages = Daemon
}

JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  Client = bacula-fd
  FileSet = Full Set
  Schedule = WeeklyCycle
  Storage = bacula-sd
  Messages = Standard
  Pool = Default
  Priority = 10
}


JobDefs {
  Name = WinClientJob
  Type = Backup
  Level = Incremental
  Client = us-sfo1-521-fd
  FileSet = Win Client Set
  Schedule = WeeklyCycle
  Storage = bacula-sd
  Messages = Standard
  Pool = Default
  Priority = 10
}

#
# Define the main nightly save backup job
#   By default, this job will back up to disk in
Job {
  Name = Client1
  JobDefs = DefaultJob
  Write Bootstrap = /var/lib/bacula/Client1.bsr
}

Job {
  Name = us-sfo1-521
  JobDefs = WinClientJob
  Write Bootstrap = /var/lib/bacula/us-sfo1-521.bsr
}

# Backup the catalog database (after the nightly save)
Job {
  Name = BackupCatalog
  JobDefs = DefaultJob
  Level = Full
  FileSet=Catalog
  Schedule = WeeklyCycleAfterBackup
  RunBeforeJob = /usr/lib/bacula/make_catalog_backup bacula bacula
  RunAfterJob  = 

Re: [Bacula-users] Bacula backups and restores

2009-08-31 Thread Cedric Tefft
tqz wrote:
 Hmm...I dont like the fact that if my server and nas devices are all damaged 
 in a fire (for example) then my off site backup copy (the encrypted tape) is 
 useless to me! I dont see the point of having the offsite copy, if what is 
 saved on the tape cant be restored! I'm no system admin, or have any 
 experience in other backup software so dont know if this is the case with 
 them as well or if this is just a down point for using bacula. 

 My boss would like the tapes encrypted as there may be confidential data on 
 the tapes so encrypting the tapes is a requirement for him. Is there any way 
 that I could keep the bacula catalog unencrypted on the same tape? Is this 
 possible to specify in the config files? Or is this being illogical as then 
 anyone can restore the data if they have knowledge on bacula even if the 
 other contents on the tape is encrypted...or is just sending a dump of the 
 bacula catalog via email or to an off site location the only option if we 
 encrypt the tape

 Many thanks in advance
 t.
   

Either you're confused about how encryption works or I'm confused about 
your question.

In order to encrypt (or decrypt) your data you need encryption keys.  
Encryption keys are a bit like passwords, except that they're a little 
bit too long and complex for humans to remember, so we generally store 
them in files.  They have nothing to do with your catalog which is 
basically just a LIST of files you've backed up to tape.

An unencrypted copy of your catalog does not allow you decrypt the 
encrypted data on your tapes.  For that, you need the encryption keys.

I think what you want to do is copy your encryption keys to some type of 
portable media (USB drive, CD, etc.) and store them in a SECURE off-site 
location, but -- and here is the important part -- SEPARATE from where 
you store your tapes.  A safe-deposit box at a bank is a typical example.

Anyone who has your encrypted tapes AND your encryption keys has your 
data, so you need to make sure only trusted individuals have access to 
both.  For added security, I'd suggest you wrap your off-site encryption 
keys in another layer of encryption.  Using PGP (or GPG) to 
conventionally encrypt the key files before writing them to the USB/CD 
would be a good example -- just make sure you don't forget your password!

- Cedric


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] (Feature Suggestion) Decouple Jobs and Pools from storage daemon Devices

2009-08-31 Thread Jesse Peterson
Hello,

Here is a suggestion that I've had for Bacula. We haven't yet moved to  
3.x so this comes from some frustrations with 2.x that we've worked  
with:

Item X:   Decouple Jobs and Pools from storage daemon Devices
   Origin: Jesse Peterson jesse.peter...@exbiblio.com
   Date:   04 September 2008
   Status:

   What:   Allow a Job or Pool to be associated with a class of  
device --
   most intuitively a Media Type. Under this type of operation  
the
   storage daemon would not be tied to a single storage daemon  
Device
   but rather would be allowed to pick the most appropriate  
device.
   For example if the Job/Pool were tied to a Media Type then  
any
   device that is appropriate (i.e. has a labeled, Append-able  
volume
   in the matching Pool mounted) is eligible to be used for that
   job. Furthermore Jobs would be able to use different  
devices when,
   e.g. a volume becomes full. Additionally this would also  
enable
   concurrent backup jobs using the same Pool to be writing to  
two
   different devices.

   Why:For simpler management of Jobs and Pools and where you have  
many
   devices and some concurrent Jobs. As a simple example if you
   have, say, two tape drives you could label an overflow  
volume
   in your second drive in which Bacula would automatically,  
without
   intervention, start to use when your first volume gets  
used. Or
   if you had two auto-changers you might be able to have more
   efficient (faster) backups by doing concurrent jobs without
   having to dole out specific devices on a per-Job basis.

   Notes:  Perhaps a way to implement this might be to create a pseudo- 
device
   container that is just a meta-device that contains other
   devices. This container just looks at the status of devices  
at
   volume reservation time (Job start, volume full/new volume,  
etc.)
   and then hands-off or proxies the rest of the operation to  
the
   actual device. Just a thought.

   An alternative concurrent methodology might be automatic  
tape
   capacity balancing. I.e. when a Job starts the Device  
selected is
   the one with the volume with the least amount of data on it.
   Though this does imply what seems like very complicated  
logic of
   partial/tape-spanning jobs including (possibly) resuming  
a job
   from a full volume onto a non-full volume. Perhaps more
   importantly I am not certain of a practical real-world use  
of such
   a methodology. :) Seems like an autochanger could be used  
here
   instead.





Thanks,
- Jesse


P.S. Please reply-all as I subscribe to the digest and may not  
immediately see replies. Thank you.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Howto make bacula unmount a disk after backup?

2009-08-31 Thread Cedric Tefft
Josh Fisher wrote:
 Thomas wrote:
   
 one year ago i ran into the same problem:

 http://www.adsm.org/lists/html/Bacula-users/2008-07/msg00885.html

 i did only a few tests with usb-sticks
 so there is no solution until now
   
 

 I find it far simpler to use the autofs daemon to automount removable 
 drives at a static mountpoint. Then the Bacula config is exactly as for 
 fixed disk drives
Actually, I considered autofs, but I don't want my backup drive to be 
automatically mounted if I do something stupid like typing rm -rf in 
the wrong directory.  :-)

- Cedric


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] adding my first windows client

2009-08-31 Thread Cedric Tefft
Syn, Joonho wrote:

 Hi,
 I’m trying to add my first windows client to my test instance of 
 bacula running on RHEL5 but I keep getting Authentication Failed 
 errors. It claims that I have an incorrect password but I know this is 
 not true. Since the client is a laptop I thought perhaps that bacula 
 might be confused since it has a wireless and wired interface but this 
 is not the case since I hard-coded the IP into the bacula-dir.conf. 
 I’ll paste the bacula-dir.conf and the bacula-fd.conf from the client.


Version incompatibility?? I see your director is v3.0.1. What version of 
the FD are you running on the Windows box? If it is not at least 3.0 you 
might need to upgrade.

A couple more things to try: run the FD on the Windows box with 
debugging turned on (try adding -d 200 to the command-line). The 
debugging output may be more helpful.
Also, just for grins, I would try temporarily disabling the Windows 
box's other network card -- whichever one bacula is not connecting to. 
This shouldn't make any difference, but if nothing changes it will 
eliminate a number of possibilities.

- Cedric


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restoring files - need directory marked?

2009-08-31 Thread bitbyte

Have you descended to that folder exactly and tried?

+--
|This was sent by e_man...@yahoo.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] adding my first windows client

2009-08-31 Thread Eitan Talmi
At the server try to ping to your bacula server, make sure that it's
responding with the real IP and not 127.0.0.1.

Try to telnet from the server to the client at port 9102

Eitan



2009/9/1 Syn, Joonho joo...@a9.com

  Hi,
 I’m trying to add my first windows client to my test instance of bacula
 running on RHEL5 but I keep getting Authentication Failed errors.  It claims
 that I have an incorrect password but I know this is not true.  Since the
 client is a laptop I thought perhaps that bacula might be confused since it
 has a wireless  and wired interface but this is not the case since I
 hard-coded the IP into the bacula-dir.conf.   I’ll paste the bacula-dir.conf
 and the bacula-fd.conf from the client.



 TIA

 Error message:
 31-Aug 14:39 bacula-dir JobId 237: No prior Full backup Job record found.
 31-Aug 14:39 bacula-dir JobId 237: No prior or suitable Full backup found
 in catalog. Doing FULL backup.
 31-Aug 14:39 bacula-dir JobId 237: Start Backup JobId 237,
 Job=us-sfo1-521.2009-08-31_14.39.19_03
 31-Aug 14:39 bacula-dir JobId 237: Using Device bacula-sd
 31-Aug 14:39 bacula-dir JobId 237: Fatal error: Unable to authenticate with
 File daemon at 10.49.55.41:9102. Possible causes:
 Passwords or names not the same or
 Maximum Concurrent Jobs exceeded on the FD or
 FD networking messed up (restart daemon).
 Please see *
 http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
 * for help.
 31-Aug 14:39 us-sfo1-521-fd: Fatal Error at
 /home/kern/bacula/k/src/filed/authenticate.c:143 because:
 Incorrect password given by Director at client.
 31-Aug 14:39 bacula-dir JobId 237: Warning: Unexpected Client Job message:
 2999 Authentication failed.

 31-Aug 14:39 bacula-dir JobId 237: Fatal error: No Job status returned from
 FD.
 31-Aug 14:39 bacula-dir JobId 237: Error: Bacula bacula-dir 3.0.1
 (30Apr09): 31-Aug-2009 14:39:32
   Build OS:   i686-redhat-linux-gnu redhat Enterprise release
   JobId:  237
   Job:us-sfo1-521.2009-08-31_14.39.19_03
   Backup Level:   Full (upgraded from Incremental)
   Client: us-sfo1-521-fd
   FileSet:Win Client Set 2009-08-28 13:43:43
   Pool:   Default (From Job resource)
   Catalog:MyCatalog (From Client resource)
   Storage:bacula-sd (From Job resource)
   Scheduled time: 31-Aug-2009 14:39:18
   Start time: 31-Aug-2009 14:39:21
   End time:   31-Aug-2009 14:39:32
   Elapsed time:   11 secs
   Priority:   10
   FD Files Written:   0
   SD Files Written:   0
   FD Bytes Written:   0 (0 B)
   SD Bytes Written:   0 (0 B)
   Rate:   0.0 KB/s
   Software Compression:   None
   VSS:no
   Encryption: no
   Accurate:   no
   Volume name(s):
   Volume Session Id:  23
   Volume Session Time:1251415297
   Last Volume Bytes:  4,123,946 (4.123 MB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  Error
   SD termination status:  Waiting on FD
   Termination:*** Backup Error ***

 Bacula-fd.conf on the windows client:

 Director {

   Name = bacula-dir

   Password = ihatevista

 }



 Director {

   Name = bacula-mon

   Password = FB137AJQy/jgalkgiEE5q2GxpW7cb9XAC/m1m0x9jvYA

   Monitor = yes

 }



 FileDaemon {  # this is me

   Name = us-sfo1-521-fd

   FDport = 9102  # where we listen for the director

   WorkingDirectory = C:\\Program Files\\Bacula\\working

   Pid Directory = C:\\Program Files\\Bacula\\working

   Maximum Concurrent Jobs = 10

 }



 # Send all messages except skipped files back to Director

 Messages {

   Name = Standard

   director = bacula-dir = all, !skipped, !restored

 }




 Bacula-dir.conf
 Director {# define myself
   Name = bacula-dir
   DIRport = 9101# where we listen for UA connections
   QueryFile = /usr/lib/bacula/query.sql
   WorkingDirectory = /var/lib/bacula
   PidDirectory = /var/run
   Maximum Concurrent Jobs = 10
   Password = Hvq3ZzJhDrpvj69RllRWTH98KEP6PM/RFtzwBnZIh6UO #
 Console password
   Messages = Daemon
 }

 JobDefs {
   Name = DefaultJob
   Type = Backup
   Level = Incremental
   Client = bacula-fd
   FileSet = Full Set
   Schedule = WeeklyCycle
   Storage = bacula-sd
   Messages = Standard
   Pool = Default
   Priority = 10
 }


 JobDefs {
   Name = WinClientJob
   Type = Backup
   Level = Incremental
   Client = us-sfo1-521-fd
   FileSet = Win Client Set
   Schedule = WeeklyCycle
   Storage = bacula-sd
   Messages = Standard
   Pool = Default
   Priority = 10
 }

 #
 # Define the main nightly save backup job
 #   By default, this job will back up to disk in
 Job {
   Name = Client1
   JobDefs = DefaultJob
   Write Bootstrap = /var/lib/bacula/Client1.bsr
 }

 Job {
   Name =