Re: [Bacula-users] Schedule not being followed

2010-01-20 Thread Glynd

Some more information on this which may help. I did a show schedules and got
this:

Schedule: name=WeeklyCycle
  -- Run Level=Incremental
  hour=19 
  mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 
  month=0 1 2 3 4 5 6 7 8 9 10 11 
  wday=1 2 3 4 5 
  wom=0 2 4 
  woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
50 51 52 53 
  mins=5
 -- Pool: name=Incr-Pool-B PoolType=Backup
  use_cat=1 use_once=0 cat_files=1
  max_vols=1 auto_prune=1 VolRetention=6 days 
  VolUse=0 secs recycle=1 LabelFormat=hddb-incr-
  CleaningPrefix=*None* LabelType=0
  RecyleOldest=0 PurgeOldest=0
  MaxVolJobs=25 MaxVolFiles=0 MaxVolBytes=0
  MigTime=0 secs MigHiBytes=0 MigLoBytes=0
  -- Storage: name=HDDB address=mistral.cirrus.co.za SDport=9103 MaxJobs=1
  DeviceName=usb-drive-b MediaType=Fileb StorageId=3
 

The schedule resource if the bacula-dir.conf is this:

Schedule {
  Name = WeeklyCycle
  Run = IncrementalPool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05
  Run = FullPool = Full-Pool-B 1st, 3rd, 5th sat at 02:05
  Run = IncrementalPool = Incr-Pool-A 2nd, 4th mon-fri at 19:05
  Run = FullPool = Full-Pool-A 2nd, 4th Sat at 02:05
}

The schedule has the poolb jobs running on 1st,3rd,5th week of the month,
yet the show schedules shows it for wom 0,2,4. 

Where else could this be set?

TIA
Glyn


-- 
View this message in context: 
http://old.nabble.com/Schedule-not-being-followed-tp27173686p27238428.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula console not responding

2010-01-20 Thread nunatarsuaq
After months of daily backups I was forced to restore a file. I tested
this process before without any problems but now bacula console is not
responding when I try to set up the restore process.

For example:

* restore
Select item:  (1-12): 10 (Find the JobIds for a backup for a client
before a specified time)
Enter date as -MM-DD HH:MM:SS :2010-01-19 10:00:00

and here it stops, only Ctrl+C pressed four times stops bconsole.
Sometimes I get get a step forward but finally it stops again.

What can it be?
I'm using bacula ver. 1.38.11

-- 
ToMasz

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Failed jobs hang as running in director status

2010-01-20 Thread Alex Ehrlich

Hello,

I have got the following problem (probably since upgrading to v 3): the 
failed jobs tend to hang in the running state from the director's 
point of view. This causes other jobs to stall (with ... is waiting for 
higher priority jobs to finish or waiting for maximum concurrent).
In configs, Rerun Failed Levels = yes, but no Reschedule set in job 
defaults.
Restarting bacula-dir resolves the problem (no more pseudo-running jobs 
in status dir).


In the status client and status dir output below, look at the job 9219.

Does anybody have an idea what's wrong?

--
*status client=danillap-fd
Connecting to Client danillap-fd at lap-danil:9102

lap-danil-fd Version: 3.0.2 (18 July 2009)  VSS Linux Cross-compile Win32
Daemon started 19-Jan-10 11:04, 5 Jobs run since started.
 Heap: heap=0 smbytes=174,774 max_bytes=275,357 bufs=89 max_bufs=277
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=1

Running Jobs:
Director connected at: 20-Jan-10 12:17
No Jobs running.


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName
==
...
  9219  Incr  329.99 M  Error20-Jan-10 10:46 
danillap_outlook



*status dir
backupsrv-dir Version: 3.0.3 (18 October 2009) i686-redhat-linux-gnu redhat
Daemon started 19-Jan-10 08:58, 38 Jobs run since started.
 Heap: heap=8,122,368 smbytes=196,142 max_bytes=350,199 bufs=1,314 
max_bufs=2,527

...

Running Jobs:
Console connected at 20-Jan-10 12:12
 JobId Level   Name   Status
==
  9219 Increme  danillap_outlook.2010-01-20_10.45.00_57 is running
...

--

Regards,

Alex Ehrlich
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula console not responding

2010-01-20 Thread Moray Henderson
nunatarsuaq wrote:
After months of daily backups I was forced to restore a file. I tested
this process before without any problems but now bacula console is not
responding when I try to set up the restore process.

For example:

* restore
Select item:  (1-12): 10 (Find the JobIds for a backup for a client
before a specified time)
Enter date as -MM-DD HH:MM:SS :2010-01-19 10:00:00

and here it stops, only Ctrl+C pressed four times stops bconsole.
Sometimes I get get a step forward but finally it stops again.

What can it be?
I'm using bacula ver. 1.38.11

How long have you left it before killing it?  With a large catalog or a
slow server I've seen the older versions of bconsole hang for what seems
an unreasonable amount of time for internal processing - catalog
pruning, message handling, etc.  That may have improved in the newer
versions of bacula.


Moray.
To err is human.  To purr, feline





--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Different Retention Periods for same Client

2010-01-20 Thread CoolAtt NNA

Hi All...

I want to backup a client with 2 different filesets each with different file 
retention period.
please help me how do i proceed.

I have the following in bacula-dir.conf :

Client {
  Name = mypc
  Address = 10.0.0.45
  FDPort = 9102
  Catalog = MyCatalog
  Password = abc123 # password for FileDaemon 2
  File Retention = 30 days# 30 days
  Job Retention = 6 months# six months
  AutoPrune = yes # Prune expired Jobs/Files
}

As can be seen above   File Retention  Job Retention has been set in the 
client.
So i want the above client to also have a different retention for a different 
File Set.

Thanks
CoolAtt

  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Schedule not being followed

2010-01-20 Thread Martin Simmons
 On Sun, 17 Jan 2010 22:00:41 -0800 (PST), Glynd  said:
 
 Hi Martin,
 
 If this is true then Bacula will dictate when the (in my case) the weekly
 disk has to be swapped out. I would much prefer to do this on a Monday
 morning, but if in 2010, Bacula wants to change on a Friday it will be
 Saturday next year?

Yes, probably.


 Can I define the schedule differently so I can swap the disks on a Monday?

I can't think of any way to do that with a schedule.  You are effective asking
for a schedule where you change on a Monday in the last week of some months
but not other months.

__Martin

 
 TIA
 Cheers
 Glyn
 
 
 Martin Simmons wrote:
  
  On Fri, 15 Jan 2010 09:25:29 +0200, Glyn  said:
  
  Using 3.0.2 on Ubuntu 8.04 server with MySQL.
  
  It is now Friday of the 2nd week of January so the schedule A with Pool 
  A should be used, I would have thought. However, this morning at 9:05 I 
  get a message asking for a volume of drive B to be labelled. From Monday 
  to Thursday the A schedule was used correctly but now suddenly on 
  Friday, it wants to switch to the B schedule.
  Maybe I have something wrong in the dir.conf? The schedule section is 
  below and any help would be appreciated.
  
  I think the problem is that today is the 3rd Friday, so B cycle match. 
  The
  fact that it is the 2nd week starting on a Thursday is irrelevant for a
  day-of-week schedule.
  
  __Martin
  
  --
  Throughout its 18-year history, RSA Conference consistently attracts the
  world's best and brightest in the field, creating opportunities for
  Conference
  attendees to learn about information security's most important issues
  through
  interactions with peers, luminaries and emerging and established
  companies.
  http://p.sf.net/sfu/rsaconf-dev2dev
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
  
  
 
 -- 
 View this message in context: 
 http://old.nabble.com/Schedule-not-being-followed-tp27173686p27206430.html
 Sent from the Bacula - Users mailing list archive at Nabble.com.
 
 
 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula console not responding

2010-01-20 Thread Dan Langille
nunatarsuaq wrote:
 After months of daily backups I was forced to restore a file. I tested
 this process before without any problems but now bacula console is not
 responding when I try to set up the restore process.
 
 For example:
 
 * restore
 Select item:  (1-12): 10 (Find the JobIds for a backup for a client
 before a specified time)
 Enter date as -MM-DD HH:MM:SS :2010-01-19 10:00:00
 
 and here it stops, only Ctrl+C pressed four times stops bconsole.
 Sometimes I get get a step forward but finally it stops again.

It stops before you enter anything?

 
 What can it be?
 I'm using bacula ver. 1.38.11

That's pretty ancient.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Schedule not being followed

2010-01-20 Thread Martin Simmons
 On Wed, 20 Jan 2010 00:50:30 -0800 (PST), Glynd  said:
 
 Some more information on this which may help. I did a show schedules and got
 this:
 
 Schedule: name=WeeklyCycle
   -- Run Level=Incremental
   hour=19 
   mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 25 26 27 28 29 30 
   month=0 1 2 3 4 5 6 7 8 9 10 11 
   wday=1 2 3 4 5 
   wom=0 2 4 
   woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
 50 51 52 53 
   mins=5
  -- Pool: name=Incr-Pool-B PoolType=Backup
   use_cat=1 use_once=0 cat_files=1
   max_vols=1 auto_prune=1 VolRetention=6 days 
   VolUse=0 secs recycle=1 LabelFormat=hddb-incr-
   CleaningPrefix=*None* LabelType=0
   RecyleOldest=0 PurgeOldest=0
   MaxVolJobs=25 MaxVolFiles=0 MaxVolBytes=0
   MigTime=0 secs MigHiBytes=0 MigLoBytes=0
   -- Storage: name=HDDB address=mistral.cirrus.co.za SDport=9103 MaxJobs=1
   DeviceName=usb-drive-b MediaType=Fileb StorageId=3
  
 
 The schedule resource if the bacula-dir.conf is this:
 
 Schedule {
   Name = WeeklyCycle
   Run = IncrementalPool = Incr-Pool-B 1st, 3rd, 5th mon-fri at 19:05
   Run = FullPool = Full-Pool-B 1st, 3rd, 5th sat at 02:05
   Run = IncrementalPool = Incr-Pool-A 2nd, 4th mon-fri at 19:05
   Run = FullPool = Full-Pool-A 2nd, 4th Sat at 02:05
 }

That looks slightly wrong, because it doesn't ever set the Level=Full.


 The schedule has the poolb jobs running on 1st,3rd,5th week of the month,
 yet the show schedules shows it for wom 0,2,4. 
 
 Where else could this be set?

It is correct already.  Bacula uses wom 0 internally to mean 1st, 1 to mean
2nd etc.

A schedule runs when all of the conditions are true simultaneously.  Also, it
calculates

mday = calendar_day_of_month - 1
wom = mday / 7

i.e. Jan 1 to Jan 7 are wom 0.

__Martin

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Mikael Kermorgant
Hello,

We're planning to move file shares from a windows DC to a dedicated
NAS appliance (something like a thecus N8800 for example).

The NAS I've seen typically run samba, and can be joined to the domain
to set up ACLs, but I've never seen any option to installl bacula fd
on them.

Before deciding for the hardware, I'd like to know how you cope with
the backup of this type of appliance.
Especially, is there a way to backup the acls ?

Regards,

-- 
Mikael Kermorgant

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Carlo Filippetto
I don't know the answare, but if it runs samba means the the SO is
linux, so I think you can connect to it with ssh, and there I think
you can put and run one static-bacula-fd and the confing file..
If this works well in same folder you will find the mount point of his
disks, and you can find all the share
In this ways you can backup all the file with their permission, and
also the smb.conf file

I never have tried this kind of solution, but in my opinion it sounds good

:)



2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
 Hello,

 We're planning to move file shares from a windows DC to a dedicated
 NAS appliance (something like a thecus N8800 for example).

 The NAS I've seen typically run samba, and can be joined to the domain
 to set up ACLs, but I've never seen any option to installl bacula fd
 on them.

 Before deciding for the hardware, I'd like to know how you cope with
 the backup of this type of appliance.
 Especially, is there a way to backup the acls ?

 Regards,

 --
 Mikael Kermorgant

 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Different Retention Periods for same Client

2010-01-20 Thread Phil Stracchino
On 01/20/10 07:59, CoolAtt NNA wrote:
 Hi All...
 
 I want to backup a client with 2 different filesets each with different
 file retention period.
 please help me how do i proceed.
 
 I have the following in bacula-dir.conf :
 
 Client {
   Name = mypc
   Address = 10.0.0.45
   FDPort = 9102
   Catalog = MyCatalog
   Password = abc123 # password for FileDaemon 2
   File Retention = 30 days# 30 days
   Job Retention = 6 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
 }
 
 As can be seen above  File Retention  Job Retention has been set in the
 client.
 So i want the above client to also have a different retention for a
 different File Set.

Well, there's basically nothing difficult about the dual filesets.
You'll just need to give the client two different Jobs.  You could set
up all the parameters for the client in a JobDefs record, then base two
jobs on that and change only the Fileset and Schedule and/or Priority.
(You probably will not want the two to run concurrently, so you'll want
to either run them at different times, or start one a minute or two
later at a slightly lower priority so that it doesn't run until the
first has completed.  Having two different backups running on the same
client at the same time will likely result in both high system load on
the client, and reduced overall throughput, as the client will probably
be I/O bound.)

Having different retention times for the two Filesets is going to be a
little more difficult.  As far as I know, retention time directives
cannot be placed in a Job resource.  If you want one fileset to have a
shorter retention time, I think what you will have to do is set the
longer retention time in the client, then set the Job that backs up the
Fileset for which you want the shorter retention time to be backed up to
a different Pool that has a shorter retention time.

I personally haven't tried restoring to a client that has multiple
Filesets defined.  I believe Bacula SHOULD Do The Right Thing and
present you with a superset of the applicable filesets, but you'll have
to try it to make sure.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-20 Thread CoolAtt NNA

Hi all..

I need help installing webacula on debian lenny.
The documentation that comes with it is not very detailed.
Please point me to some tutorial or how-to.

Thanks
CoolAtt
  
_
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-20 Thread Moray Henderson
From: CoolAtt NNA [mailto:cool...@live.com] 
Hi all..

I need help installing webacula on debian lenny.
The documentation that comes with it is not very detailed.
Please point me to some tutorial or how-to.

Thanks
CoolAtt

 

http://bacula.org/en/?page=documentation

 

I expect the most useful ones are 

*   Concepts
http://bacula.org/3.0.x-manuals/en/concepts/concepts/Bacula_Concepts_Ov
erview_Gu.html  and Overview Guide 
*   Installation
http://bacula.org/3.0.x-manuals/en/install/install/Bacula_Installation_
Configu.html  and Configuration Guide
*   Console
http://bacula.org/3.0.x-manuals/en/console/console/Bacula_Console_Opera
tors_Gu.html  and Operators Guide
*   Catalog
http://bacula.org/3.0.x-manuals/en/catalog/catalog/Bacula_Catalog_Datab
ase_Gui.html  Database Guide

 

 

Moray.
To err is human.  To purr, feline

 

 

 

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Different Retention Periods for same Client

2010-01-20 Thread Martin Simmons
 On Wed, 20 Jan 2010 10:19:41 -0500, Phil Stracchino said:
 
 I personally haven't tried restoring to a client that has multiple
 Filesets defined.  I believe Bacula SHOULD Do The Right Thing and
 present you with a superset of the applicable filesets, but you'll have
 to try it to make sure.

It asks you which fileset you want to restore rather that making a superset.

__Martin

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] unlimited retention periods

2010-01-20 Thread C . Keschnat
Hi,
I'm having a problem figuring out how to set up backup jobs with unlimited 
retention periods (all three). Unlimited is probably not possible but 100 
years is fine. The Volume Retention should be no problem, I can just 
create a new pool and set it there. But what about File and Job 
Retentions? I can set them per client only, right? But I don't want the 
job and file records of every job in the database forever, just the ones I 
run once a year. Is there a solution to this?

Chris
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Encryption errors

2010-01-20 Thread Conor O'Callaghan
Hi everyone,

Client/Server both 3.02 on linux x64

I have made some encrypted backups from my client, I can successfully
recover from the backup using bconsole. When I try to simulate a machine
crash, by using another machine with the keys and config from the original
client, I get the following errors on restoration of files. The files appear
to restore correctly regardless of the error relating to the encryption
missing.

http://pastebin.ca/1759144 and http://pastebin.ca/1759151 ( most recent )

Is there any way to resolve this issue? Or is it normal since the machine
has changed? I have found very little relating to this issue in the
archives.

Best Regards,

Conor
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unlimited retention periods

2010-01-20 Thread Dan Langille
c.kesch...@internet-mit-iq.de wrote:
 Hi,
 I'm having a problem figuring out how to set up backup jobs with 
 unlimited retention periods (all three). Unlimited is probably not 
 possible but 100 years is fine. The Volume Retention should be no 
 problem, I can just create a new pool and set it there. But what about 
 File and Job Retentions? I can set them per client only, right? But I 
 don't want the job and file records of every job in the database 
 forever, just the ones I run once a year. Is there a solution to this?

Create a Pool for your annual backups:

Pool {
   Name = PICKANAME
   Pool Type= Backup
   Recycle  = no
   AutoPrune= no
   Volume Retention = 100 years
   Storage  = PICKASTORAGE
}

This pool should be used ONLY for your annual backups.

Only your annual backups should use this Pool.

But I think you have that part (the above for was the record).

What you could do, if all else fails, create an addition Client resource 
that points to the same physical computer but specifies a special Job 
and File retention.  Use that new Client only for these annual jobs.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Daniel
Hello,

I am having a problem where all jobs but the first immediately after starting 
bacula-dir hang waiting for execution..  I have no further information on why 
they are waiting, nor what they are waiting on.  They have waited nearly a 
week.  All jobs I queue after them even ones with the same or higher priority 
do not run either.

If I restart bacula-dir service, all of my running jobs disappear completely as 
though it forgot about them.
If I try to cancel a job, it stays in the running queue with the note has been 
cancelled.  Nothing else changes and the other jobs stay waiting for 
execution.

Questions:
1.  Is there any way I can get more information on why they are waiting or 
kick them into running?
2.  Is it normal to lose running job history when restarting bacula-dir?
3.  Any suggestions on how to resolve this?

I am running bacula-3.0.3 x86_64 compiled on Red Hat Enterprise 5.4 and MySQL 
5.0.77.  

Configure.out:


   Host:x86_64-unknown-linux-gnu -- redhat Enterprise 
release
   Bacula version:  Bacula 3.0.3 (18 October 2009)
   Source code location:.
   Install binaries:/usr/sbin
   Install libraries:   /usr/lib64
   Install config files:/etc/bacula
   Scripts directory:   /etc/bacula
   Archive directory:   /tmp
   Working directory:   /var/bacula
   PID directory:   /var/run
   Subsys directory:/var/lock/subsys
   Man directory:   ${datarootdir}/man
   Data directory:  /usr/share
   Plugin directory:/usr/lib64
   C Compiler:  gcc 4.1.2
   C++ Compiler:/usr/bin/g++ 4.1.2
   Compiler flags:   -g -Wall -fno-strict-aliasing -fno-exceptions 
-fno-rtti
   Linker flags: 
   Libraries:   -lpthread -ldl 
   Statically Linked Tools: no
   Statically Linked FD:no
   Statically Linked SD:no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database type:   MySQL
   Database port:
   Database lib:-L/usr/lib64/mysql -lmysqlclient_r -lz
   Database name:   bacula
   Database user:   bacula

   Job Output Email:r...@localhost
   Traceback Email: r...@localhost
   SMTP Host Address:   localhost

   Director Port:   9101
   File daemon Port:9102
   Storage daemon Port: 9103

   Director User:   
   Director Group:  
   Storage Daemon User: 
   Storage DaemonGroup: 
   File Daemon User:
   File Daemon Group:   

   SQL binaries Directory   /usr/bin

   Large file support:  yes
   Bacula conio support:no 
   readline support:no 
   TCP Wrappers support:no 
   TLS support: yes
   Encryption support:  yes
   ZLIB support:yes
   enable-smartalloc:   yes
   enable-lockmgr:  no
   bat support: yes 
   enable-gnome:no 
   enable-bwx-console:  no 
   enable-tray-monitor: no
   client-only: no
   build-dird:  yes
   build-stored:yes
   ACL support: no
   XATTR support:   yes
   Python support:  no 
   Batch insert enabled:yes

Configure Options: ./configure --sbindir=/usr/sbin --sysconfdir=/etc/bacula 
--with-scriptdir=/etc/bacula --enable-smartalloc --enable-bat 
--with-qwt=/root/bacula/depkgs/qwt --with-mysql --with-working-dir=/var/bacula 
--with-pid-dir=/var/run --enable-conio --libdir=/usr/lib64



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Dan Langille
Daniel wrote:
 Hello,
 
 I am having a problem where all jobs but the first immediately after starting 
 bacula-dir hang waiting for execution..  I have no further information on 
 why they are waiting, nor what they are waiting on.  They have waited nearly 
 a week.  All jobs I queue after them even ones with the same or higher 
 priority do not run either.
 
 If I restart bacula-dir service, all of my running jobs disappear completely 
 as though it forgot about them.

This is expected behaviour.

 If I try to cancel a job, it stays in the running queue with the note has 
 been cancelled.  Nothing else changes and the other jobs stay waiting for 
 execution.

This is expected.

What is the output of status dir?

 
 Questions:
 1.  Is there any way I can get more information on why they are waiting or 
 kick them into running?
 2.  Is it normal to lose running job history when restarting bacula-dir?
 3.  Any suggestions on how to resolve this?
 
 I am running bacula-3.0.3 x86_64 compiled on Red Hat Enterprise 5.4 and MySQL 
 5.0.77.  
 
 Configure.out:
 
 
Host:x86_64-unknown-linux-gnu -- redhat Enterprise 
 release
Bacula version:  Bacula 3.0.3 (18 October 2009)
Source code location:.
Install binaries:/usr/sbin
Install libraries:   /usr/lib64
Install config files:/etc/bacula
Scripts directory:   /etc/bacula
Archive directory:   /tmp
Working directory:   /var/bacula
PID directory:   /var/run
Subsys directory:/var/lock/subsys
Man directory:   ${datarootdir}/man
Data directory:  /usr/share
Plugin directory:/usr/lib64
C Compiler:  gcc 4.1.2
C++ Compiler:/usr/bin/g++ 4.1.2
Compiler flags:   -g -Wall -fno-strict-aliasing -fno-exceptions 
 -fno-rtti
Linker flags: 
Libraries:   -lpthread -ldl 
Statically Linked Tools: no
Statically Linked FD:no
Statically Linked SD:no
Statically Linked DIR:   no
Statically Linked CONS:  no
Database type:   MySQL
Database port:
Database lib:-L/usr/lib64/mysql -lmysqlclient_r -lz
Database name:   bacula
Database user:   bacula
 
Job Output Email:r...@localhost
Traceback Email: r...@localhost
SMTP Host Address:   localhost
 
Director Port:   9101
File daemon Port:9102
Storage daemon Port: 9103
 
Director User:   
Director Group:  
Storage Daemon User: 
Storage DaemonGroup: 
File Daemon User:
File Daemon Group:   
 
SQL binaries Directory   /usr/bin
 
Large file support:  yes
Bacula conio support:no 
readline support:no 
TCP Wrappers support:no 
TLS support: yes
Encryption support:  yes
ZLIB support:yes
enable-smartalloc:   yes
enable-lockmgr:  no
bat support: yes 
enable-gnome:no 
enable-bwx-console:  no 
enable-tray-monitor: no
client-only: no
build-dird:  yes
build-stored:yes
ACL support: no
XATTR support:   yes
Python support:  no 
Batch insert enabled:yes
 
 Configure Options: ./configure --sbindir=/usr/sbin --sysconfdir=/etc/bacula 
 --with-scriptdir=/etc/bacula --enable-smartalloc --enable-bat 
 --with-qwt=/root/bacula/depkgs/qwt --with-mysql 
 --with-working-dir=/var/bacula --with-pid-dir=/var/run --enable-conio 
 --libdir=/usr/lib64

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Daniel
Well I've restarted the director to get a critical job running, but as soon as 
that job finishes I'll run a few more and show you what happens.  Essentially 
they show up as:


Running Jobs:
Console connected at 20-Jan-10 13:27
JobId Level   Name   Status
==
   42 BackupServer1.2010-01-20_10.30.00_01 is waiting for execution
   43 BackupServer2.2010-01-20_10.30.00_01 is waiting for execution
   44 RestoreFiles.2010-01-20_12.20.31_03 is waiting for execution

That's a simulation of previous results.

When I cancel the jobs and they sit there and then I restart the director, I do 
NOT see the cancelled jobs show up in the Terminated Job list.

-- D

On 20 Jan, 2010, at 12:24 , Dan Langille wrote:

 Daniel wrote:
 Hello,
 I am having a problem where all jobs but the first immediately after 
 starting bacula-dir hang waiting for execution..  I have no further 
 information on why they are waiting, nor what they are waiting on.  They 
 have waited nearly a week.  All jobs I queue after them even ones with the 
 same or higher priority do not run either.
 If I restart bacula-dir service, all of my running jobs disappear completely 
 as though it forgot about them.
 
 This is expected behaviour.
 
 If I try to cancel a job, it stays in the running queue with the note has 
 been cancelled.  Nothing else changes and the other jobs stay waiting for 
 execution.
 
 This is expected.
 
 What is the output of status dir?
 
 Questions:
 1.  Is there any way I can get more information on why they are waiting or 
 kick them into running?
 2.  Is it normal to lose running job history when restarting bacula-dir?
 3.  Any suggestions on how to resolve this?
 I am running bacula-3.0.3 x86_64 compiled on Red Hat Enterprise 5.4 and 
 MySQL 5.0.77.  Configure.out:
   Host:x86_64-unknown-linux-gnu -- redhat Enterprise 
 release
   Bacula version:  Bacula 3.0.3 (18 October 2009)
   Source code location:.
   Install binaries:/usr/sbin
   Install libraries:   /usr/lib64
   Install config files:/etc/bacula
   Scripts directory:   /etc/bacula
   Archive directory:   /tmp
   Working directory:   /var/bacula
   PID directory:   /var/run
   Subsys directory:/var/lock/subsys
   Man directory:   ${datarootdir}/man
   Data directory:  /usr/share
   Plugin directory:/usr/lib64
   C Compiler:  gcc 4.1.2
   C++ Compiler:/usr/bin/g++ 4.1.2
   Compiler flags:   -g -Wall -fno-strict-aliasing -fno-exceptions 
 -fno-rtti
   Linker flags:Libraries:   -lpthread -ldl
 Statically Linked Tools: no
   Statically Linked FD:no
   Statically Linked SD:no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database type:   MySQL
   Database port:   Database lib:-L/usr/lib64/mysql 
 -lmysqlclient_r -lz
   Database name:   bacula
   Database user:   bacula
   Job Output Email:r...@localhost
   Traceback Email: r...@localhost
   SMTP Host Address:   localhost
   Director Port:   9101
   File daemon Port:9102
   Storage daemon Port: 9103
   Director User:  Director Group: Storage Daemon 
 User:Storage DaemonGroup:File Daemon User:   File 
 Daemon Group:  SQL binaries Directory   /usr/bin
   Large file support:  yes
   Bacula conio support:noreadline support:noTCP Wrappers 
 support:noTLS support: yes
   Encryption support:  yes
   ZLIB support:yes
   enable-smartalloc:   yes
   enable-lockmgr:  no
   bat support: yesenable-gnome:no
 enable-bwx-console:  noenable-tray-monitor: no
   client-only: no
   build-dird:  yes
   build-stored:yes
   ACL support: no
   XATTR support:   yes
   Python support:  noBatch insert enabled:yes
 Configure Options: ./configure --sbindir=/usr/sbin --sysconfdir=/etc/bacula 
 --with-scriptdir=/etc/bacula --enable-smartalloc --enable-bat 
 --with-qwt=/root/bacula/depkgs/qwt --with-mysql 
 --with-working-dir=/var/bacula --with-pid-dir=/var/run --enable-conio 
 --libdir=/usr/lib64


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net

Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Dan Langille
Daniel wrote:
 On 20 Jan, 2010, at 12:24 , Dan Langille wrote:
 
 Daniel wrote:
 Hello,
 I am having a problem where all jobs but the first immediately after 
 starting bacula-dir hang waiting for execution..  I have no further 
 information on why they are waiting, nor what they are waiting on.  They 
 have waited nearly a week.  All jobs I queue after them even ones with the 
 same or higher priority do not run either.
 If I restart bacula-dir service, all of my running jobs disappear 
 completely as though it forgot about them.
 This is expected behaviour.

 If I try to cancel a job, it stays in the running queue with the note has 
 been cancelled.  Nothing else changes and the other jobs stay waiting for 
 execution.
 This is expected.

 What is the output of status dir?

 Well I've restarted the director to get a critical job running, but as soon 
 as that job finishes I'll run a few more and show you what happens.  
 Essentially they show up as:
 
 
 Running Jobs:
 Console connected at 20-Jan-10 13:27
 JobId Level   Name   Status
 ==
42 BackupServer1.2010-01-20_10.30.00_01 is waiting for execution
43 BackupServer2.2010-01-20_10.30.00_01 is waiting for execution
44 RestoreFiles.2010-01-20_12.20.31_03 is waiting for execution
 
 That's a simulation of previous results.
 
 When I cancel the jobs and they sit there and then I restart the director, I 
 do NOT see the cancelled jobs show up in the Terminated Job list.

Ok, that's a good start.  Now, for BackupServer1, what is the Schedule 
resource for it?

Does that job ever run?



 Questions:
 1.  Is there any way I can get more information on why they are waiting or 
 kick them into running?
 2.  Is it normal to lose running job history when restarting bacula-dir?
 3.  Any suggestions on how to resolve this?
 I am running bacula-3.0.3 x86_64 compiled on Red Hat Enterprise 5.4 and 
 MySQL 5.0.77.  Configure.out:
   Host:x86_64-unknown-linux-gnu -- redhat Enterprise 
 release
   Bacula version:  Bacula 3.0.3 (18 October 2009)
   Source code location:.
   Install binaries:/usr/sbin
   Install libraries:   /usr/lib64
   Install config files:/etc/bacula
   Scripts directory:   /etc/bacula
   Archive directory:   /tmp
   Working directory:   /var/bacula
   PID directory:   /var/run
   Subsys directory:/var/lock/subsys
   Man directory:   ${datarootdir}/man
   Data directory:  /usr/share
   Plugin directory:/usr/lib64
   C Compiler:  gcc 4.1.2
   C++ Compiler:/usr/bin/g++ 4.1.2
   Compiler flags:   -g -Wall -fno-strict-aliasing -fno-exceptions 
 -fno-rtti
   Linker flags:Libraries:   -lpthread -ldl
 Statically Linked Tools: no
   Statically Linked FD:no
   Statically Linked SD:no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database type:   MySQL
   Database port:   Database lib:-L/usr/lib64/mysql 
 -lmysqlclient_r -lz
   Database name:   bacula
   Database user:   bacula
   Job Output Email:r...@localhost
   Traceback Email: r...@localhost
   SMTP Host Address:   localhost
   Director Port:   9101
   File daemon Port:9102
   Storage daemon Port: 9103
   Director User:  Director Group: Storage Daemon 
 User:Storage DaemonGroup:File Daemon User:   File 
 Daemon Group:  SQL binaries Directory   /usr/bin
   Large file support:  yes
   Bacula conio support:noreadline support:noTCP 
 Wrappers support:noTLS support: yes
   Encryption support:  yes
   ZLIB support:yes
   enable-smartalloc:   yes
   enable-lockmgr:  no
   bat support: yesenable-gnome:no
 enable-bwx-console:  noenable-tray-monitor: no
   client-only: no
   build-dird:  yes
   build-stored:yes
   ACL support: no
   XATTR support:   yes
   Python support:  noBatch insert enabled:yes
 Configure Options: ./configure --sbindir=/usr/sbin --sysconfdir=/etc/bacula 
 --with-scriptdir=/etc/bacula --enable-smartalloc --enable-bat 
 --with-qwt=/root/bacula/depkgs/qwt --with-mysql 
 --with-working-dir=/var/bacula --with-pid-dir=/var/run --enable-conio 
 --libdir=/usr/lib64
 
 
 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 

Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Richard Scobie
Daniel wrote:
 Hello,

 I am having a problem where all jobs but the first immediately after starting 
 bacula-dir hang waiting for execution..  I have no further information on 
 why they are waiting, nor what they are waiting on.  They have waited nearly 
 a week.  All jobs I queue after them even ones with the same or higher 
 priority do not run either.

This sounds like the bug that has been discussed a few times over the 
last month.

Do you have a correctly configured/running smtp server running on the box?

If not, this causes what you are seeing. Otherwise disable sending of 
mail from bacula.

Regards,

Richard

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Daniel
On 20 Jan, 2010, at 12:41 , Dan Langille wrote:

 Daniel wrote:
 On 20 Jan, 2010, at 12:24 , Dan Langille wrote:
 Daniel wrote:
 Hello,
 I am having a problem where all jobs but the first immediately after 
 starting bacula-dir hang waiting for execution..  I have no further 
 information on why they are waiting, nor what they are waiting on.  They 
 have waited nearly a week.  All jobs I queue after them even ones with the 
 same or higher priority do not run either.
 If I restart bacula-dir service, all of my running jobs disappear 
 completely as though it forgot about them.
 This is expected behaviour.
 
 If I try to cancel a job, it stays in the running queue with the note has 
 been cancelled.  Nothing else changes and the other jobs stay waiting 
 for execution.
 This is expected.
 
 What is the output of status dir?
 
 Well I've restarted the director to get a critical job running, but as soon 
 as that job finishes I'll run a few more and show you what happens.  
 Essentially they show up as:
 Running Jobs:
 Console connected at 20-Jan-10 13:27
 JobId Level   Name   Status
 ==
   42 BackupServer1.2010-01-20_10.30.00_01 is waiting for execution
   43 BackupServer2.2010-01-20_10.30.00_01 is waiting for execution
   44 RestoreFiles.2010-01-20_12.20.31_03 is waiting for execution
 That's a simulation of previous results.
 When I cancel the jobs and they sit there and then I restart the director, I 
 do NOT see the cancelled jobs show up in the Terminated Job list.
 
 Ok, that's a good start.  Now, for BackupServer1, what is the Schedule 
 resource for it?
 
 Does that job ever run?

Current Schedule resource is the default WeeklyCycle.  It runs every day, but 
hangs waiting for execution if its not the first job immediately after 
restarting bacula-dir.   I can run it manually after restart and it succeeds 
every time.

The restores are manually queued to see if anything will run, but it seems that 
after that first job, regardless of the method of queuing the job to run, they 
all stick in this state.

 -- D

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Daniel
Sendmail for outgoing mail on the server is running just fine and tested at the 
commandline.  Interesting that you mention this, though.  If I accidentally put 
more than one email in the mail= line and forgot to replace the %r, will that 
cause this effect as well?

 -- D

On 20 Jan, 2010, at 12:49 , Richard Scobie wrote:

 Daniel wrote:
 Hello,
 
 I am having a problem where all jobs but the first immediately after 
 starting bacula-dir hang waiting for execution..  I have no further 
 information on why they are waiting, nor what they are waiting on.  They 
 have waited nearly a week.  All jobs I queue after them even ones with the 
 same or higher priority do not run either.
 
 This sounds like the bug that has been discussed a few times over the last 
 month.
 
 Do you have a correctly configured/running smtp server running on the box?
 
 If not, this causes what you are seeing. Otherwise disable sending of mail 
 from bacula.
 
 Regards,
 
 Richard


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Sean M Clark
On 2010Jan20 9:19 AM, Carlo Filippetto wrote:
 I don't know the answare, but if it runs samba means the the SO is
 linux, so I think you can connect to it with ssh, and there I think
 you can put and run one static-bacula-fd and the confing file..
 If this works well in same folder you will find the mount point of his
 disks, and you can find all the share
 In this ways you can backup all the file with their permission, and
 also the smb.conf file
 
 I never have tried this kind of solution, but in my opinion it sounds good
[...]
 
 2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
 Hello,

 We're planning to move file shares from a windows DC to a dedicated
 NAS appliance (something like a thecus N8800 for example).

 The NAS I've seen typically run samba, and can be joined to the domain
 to set up ACLs, but I've never seen any option to installl bacula fd
 on them.

 Before deciding for the hardware, I'd like to know how you cope with
 the backup of this type of appliance.
 Especially, is there a way to backup the acls ?

I HAVE used a NAS appliance as a bacula storage daemon before.  In
principle, the idea of either obtaining or compiling (directly from the
NAS) a bacula-fd to run directly on the NAS device is plausible, and
might be the best way to save the filesystem metadata - in any case,
it'd be able to back up everything the NAS itself knows including ACL,
extended attributes, and so on.

Coincidentally enough, I'm about to set up a second NAS as a bacula-sd
box.  Perhaps I'll try putting bacula-fd on it as well, in order to keep
a backup of the NAS configuration files elsewhere at least.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Dan Langille
Sean M Clark wrote:
 On 2010Jan20 9:19 AM, Carlo Filippetto wrote:
 I don't know the answare, but if it runs samba means the the SO is
 linux, so I think you can connect to it with ssh, and there I think
 you can put and run one static-bacula-fd and the confing file..
 If this works well in same folder you will find the mount point of his
 disks, and you can find all the share
 In this ways you can backup all the file with their permission, and
 also the smb.conf file

 I never have tried this kind of solution, but in my opinion it sounds good
 [...]
 2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
 Hello,

 We're planning to move file shares from a windows DC to a dedicated
 NAS appliance (something like a thecus N8800 for example).

 The NAS I've seen typically run samba, and can be joined to the domain
 to set up ACLs, but I've never seen any option to installl bacula fd
 on them.

 Before deciding for the hardware, I'd like to know how you cope with
 the backup of this type of appliance.
 Especially, is there a way to backup the acls ?
 
 I HAVE used a NAS appliance as a bacula storage daemon before.  In
 principle, the idea of either obtaining or compiling (directly from the
 NAS) a bacula-fd to run directly on the NAS device is plausible, and
 might be the best way to save the filesystem metadata - in any case,
 it'd be able to back up everything the NAS itself knows including ACL,
 extended attributes, and so on.
 
 Coincidentally enough, I'm about to set up a second NAS as a bacula-sd
 box.  Perhaps I'll try putting bacula-fd on it as well, in order to keep
 a backup of the NAS configuration files elsewhere at least.

I think owners of NAS devices should start asking their suppliers for 
exactly that.  I mean: I bought this NAS.  Where's my Bacula FD?

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Phil Stracchino
On 01/20/10 13:33, Daniel wrote:
 Well I've restarted the director to get a critical job running, but as soon 
 as that job finishes I'll run a few more and show you what happens.  
 Essentially they show up as:
 
 
 Running Jobs:
 Console connected at 20-Jan-10 13:27
 JobId Level   Name   Status
 ==
42 BackupServer1.2010-01-20_10.30.00_01 is waiting for execution
43 BackupServer2.2010-01-20_10.30.00_01 is waiting for execution
44 RestoreFiles.2010-01-20_12.20.31_03 is waiting for execution
 
 That's a simulation of previous results.
 
 When I cancel the jobs and they sit there and then I restart the director, I 
 do NOT see the cancelled jobs show up in the Terminated Job list.

Possibly silly question:  What are the applicable job-concurrency
settings set to?


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Hypothetical question ...

2010-01-20 Thread Phil Stracchino
I have the following scenario.
I have a main storage server with a multi-terabyte disk array, but only
SATA, no SCSI.  I also have a SCSI LTO-2 drive which, for environmental
reasons, cannot live in the same location as the main storage server.
In order to be able to copy or migrate jobs from the main storage array
to tape, the array and the tape drive need to be controlled by the same FD.

I have the ability to put the LTO-2 drive on a separate server located
on the other side of the wall, connected to the main storage server with
a dedicated point-to-point gigabit link.  It occurs to me that,
theoretically speaking, I might be able to publish the LTO-2 drive as an
iSCSI target over the gigabit link and drive it with the storage
server's FD.

Has anyone tried doing anything like this with Bacula?  If so, did it
work?  How did you accomplish it?

The target OS for the tape host is probably Solaris 10.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula hangs waiting for execution...

2010-01-20 Thread Phil Stracchino
On 01/20/10 14:36, Daniel wrote:
 The priority of all jobs is 10, but I would assume that if concurrency were 
 an issue that the messages would indicate such?

Concurrency, not priority.  But yes, if there was a problem of that kind
I would expect it to result in only one job runnable at a time, not all
jobs hanging forever.  I think you mentioned an accidental extra,
misconfigured mail directive, though, which could do it depending on the
error.

-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Where are file signatures generated? Can bad memory on SD system cause data corruption?

2010-01-20 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Not sure if somebody on the users list can answer this, but with a
fileset that has this:

FileSet {
  Name = Backup
  Include {
   Options { signature=MD5; }
...


1. Where are the signatures actually generated?
2. Are the signatures checked when a restore is done?


I'm asking because I recently had a weird issue with Bacula and am
wondering whether my diagnosis is correct.

Backstory: I recently inherited an Exabyte 110L LTO2 Loader (IBM
Ultrium-TD2 drive) and PCI-E SCSI Controller (Adaptec ASC-29320ALP
U320). My storage 'server' doesn't have a PCI-E slot, so I hooked all
this up to my newer 'desktop' PC and installed an SD there (both run
Bacula 3.0.3 on Debian Testing with a 2.6.30 kernel). To test the setup
I started a backup with a few bigger files (mostly CD images) from the
server and then restored and compared them to the originals. The restore
process didn't complain about the files but to my surprise, they didn't
match. A closer inspection showed that all of the files only differed in
a single byte.

A few weeks later my desktop PC went haywire, which I eventually
diagnosed as faulty memory (segfaults and gpfs in Linux and both
memtest86+ and Windows Memory Diagnostic found issues with 3 of the 4
RAM bars). Knowing that this PC has had sporadic issues previously (with
Windows Vista dumping to blue screen and complaining about the RAM when
it came back) I replaced all of the memory modules and figured I'd
retest Bacula again. It turns out that this backup and restore worked
flawlessly (same amount of files backed up and test files, but it did
use a different tape than in the first test).

Hence my question: How could the file difference slip past the restore
process and is it possible that faulty memory on the SD can cause silent
data corruption? Or is that not possible and the fault actually lies
with either the tape, the drive or the controller/controller cable?

- - Michel

P.S. the relevant part from my SD configuration:

Autochanger {
  Name = Exabyte110L
  Device = Ultrium-TD2
  Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/changer
}

Device {
  Name = Ultrium-TD2
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/nst0
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  Spool Directory = /tapedump
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Maximum File Size = 3GB
  Maximum Spool Size = 1m
}

The /tapedump spool directory is on a RAID1 array.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)

iEYEARECAAYFAktXYAIACgkQ2Vs+MkscAyWqQgCfbMdYFNE7RjkbP3JLoDJn4ASq
8z8AoJLkML8L3cr+sF5kKFwbdoRLIAO1
=kthU
-END PGP SIGNATURE-

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread mehma sarja
I try to avoid NFS for heavy or prolonged use because of bad experiences. I
have an untried 15-bay Coraid AOE array. What I have accomplished is to
notice that the AOE array disks show up, without re-configuring the kernel,
on a linux box via the LAN and a mount later, it's available for use. I can
opt to go multi gig but my needs are tiny.

If anyone needs a test done, I'll be happy to comply.

Mehma
===
On Wed, Jan 20, 2010 at 11:11 AM, Dan Langille d...@langille.org wrote:

 Sean M Clark wrote:
  On 2010Jan20 9:19 AM, Carlo Filippetto wrote:
  I don't know the answare, but if it runs samba means the the SO is
  linux, so I think you can connect to it with ssh, and there I think
  you can put and run one static-bacula-fd and the confing file..
  If this works well in same folder you will find the mount point of his
  disks, and you can find all the share
  In this ways you can backup all the file with their permission, and
  also the smb.conf file
 
  I never have tried this kind of solution, but in my opinion it sounds
 good
  [...]
  2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
  Hello,
 
  We're planning to move file shares from a windows DC to a dedicated
  NAS appliance (something like a thecus N8800 for example).
 
  The NAS I've seen typically run samba, and can be joined to the domain
  to set up ACLs, but I've never seen any option to installl bacula fd
  on them.
 
  Before deciding for the hardware, I'd like to know how you cope with
  the backup of this type of appliance.
  Especially, is there a way to backup the acls ?
 
  I HAVE used a NAS appliance as a bacula storage daemon before.  In
  principle, the idea of either obtaining or compiling (directly from the
  NAS) a bacula-fd to run directly on the NAS device is plausible, and
  might be the best way to save the filesystem metadata - in any case,
  it'd be able to back up everything the NAS itself knows including ACL,
  extended attributes, and so on.
 
  Coincidentally enough, I'm about to set up a second NAS as a bacula-sd
  box.  Perhaps I'll try putting bacula-fd on it as well, in order to keep
  a backup of the NAS configuration files elsewhere at least.

 I think owners of NAS devices should start asking their suppliers for
 exactly that.  I mean: I bought this NAS.  Where's my Bacula FD?


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread mehma sarja
What NAS did you get sd working on?

Mehma
===

On Wed, Jan 20, 2010 at 11:05 AM, Sean M Clark smcl...@tamu.edu wrote:

 On 2010Jan20 9:19 AM, Carlo Filippetto wrote:
  I don't know the answare, but if it runs samba means the the SO is
  linux, so I think you can connect to it with ssh, and there I think
  you can put and run one static-bacula-fd and the confing file..
  If this works well in same folder you will find the mount point of his
  disks, and you can find all the share
  In this ways you can backup all the file with their permission, and
  also the smb.conf file
 
  I never have tried this kind of solution, but in my opinion it sounds
 good
 [...]
 
  2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
  Hello,
 
  We're planning to move file shares from a windows DC to a dedicated
  NAS appliance (something like a thecus N8800 for example).
 
  The NAS I've seen typically run samba, and can be joined to the domain
  to set up ACLs, but I've never seen any option to installl bacula fd
  on them.
 
  Before deciding for the hardware, I'd like to know how you cope with
  the backup of this type of appliance.
  Especially, is there a way to backup the acls ?

 I HAVE used a NAS appliance as a bacula storage daemon before.  In
 principle, the idea of either obtaining or compiling (directly from the
 NAS) a bacula-fd to run directly on the NAS device is plausible, and
 might be the best way to save the filesystem metadata - in any case,
 it'd be able to back up everything the NAS itself knows including ACL,
 extended attributes, and so on.

 Coincidentally enough, I'm about to set up a second NAS as a bacula-sd
 box.  Perhaps I'll try putting bacula-fd on it as well, in order to keep
 a backup of the NAS configuration files elsewhere at least.


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 3.0.3 FD Crashes on Solaris/x86

2010-01-20 Thread Paul Greidanus
I just upgraded to 3.0.3 on my Director/SD, and found that the FD crashes every 
time I try to take a backup. Restores to the FD seem to work. Installing a 
client-only FD from 3.0.1 seems to work just fine though.

Not sure exactly how to report this, or diagnose it better then this, but it is 
consistent across 2 different Solaris machines.
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Sean M Clark
On 2010Jan20 4:07 PM, mehma sarja wrote:
 What NAS did you get sd working on? 
 
 Mehma
 ===

It was a LaCie 2big network.  It took a bit of effort to figure out
how to get access to get bacula-sd installed, but it's actually been
running quite well ever since.

And, yes, I actually DID put in a request for bacula-sd natively
included in the factory software.  I got the usual thank you for your
input (i.e. yeah, whatever.) message back.

Nuts to 'em, I say - I'll do it myself.

I'm pretty sure I've seen instructions for setting up bacula-sd on
a Western Digital MyBook World Edition NAS as well.  Hypothetically
any Linux-based NAS ought to be able to handle similar modifications.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Dan Langille
Sean M Clark wrote:
 On 2010Jan20 4:07 PM, mehma sarja wrote:
 What NAS did you get sd working on? 

 Mehma
 ===
 
 It was a LaCie 2big network.  It took a bit of effort to figure out
 how to get access to get bacula-sd installed, but it's actually been
 running quite well ever since.
 
 And, yes, I actually DID put in a request for bacula-sd natively
 included in the factory software.  I got the usual thank you for your
 input (i.e. yeah, whatever.) message back.

Well, if more and more people keep asking, writing about it in their 
blogs.  It's not something we talk about.  And the more people talk 
about, the more others will think about it, and say: yeah, that's a good 
idea.  Hmm, I bet I could add that in easily.

Sean: next time you add one in, or now, please document and blog about 
it.  Post it to the community forums, etc.

 Nuts to 'em, I say - I'll do it myself.

Good on ya.

 I'm pretty sure I've seen instructions for setting up bacula-sd on
 a Western Digital MyBook World Edition NAS as well.  Hypothetically
 any Linux-based NAS ought to be able to handle similar modifications.

I agree.

FYI, FreeNAS comes with Bacula built in.  It'll soon have ZFS as well.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread Dan Langille
Dan Langille wrote:

 FYI, FreeNAS comes with Bacula built in.  It'll soon have ZFS as well.

Sorry, it appears it already has ZFS.

And not quite built in, but with instructions:
  http://freenas.org/documentation:howto:adding_bacula_to_freenas?s[]=bacula


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-20 Thread CoolAtt NNA

Not this one.

I mean webacula.
http://webacula.sourceforge.net

Thanks
CoolAtt

From: moray.hender...@ict-software.org
To: bacula-users@lists.sourceforge.net
Date: Wed, 20 Jan 2010 16:14:38 +
Subject: Re: [Bacula-users] Installation  Configuration of Webaculaadmin   
Interface


















From: CoolAtt NNA [mailto:cool...@live.com] 

Hi
all..



I need help installing webacula on debian lenny.

The documentation that comes with it is not very detailed.

Please point me to some tutorial or how-to.



Thanks

CoolAtt



 

http://bacula.org/en/?page=documentation

 

I
expect the most useful ones are 


 Concepts
 and Overview Guide 
 Installation
 and Configuration Guide
 Console
 and Operators Guide
 Catalog
 Database Guide


 

 

Moray.

To err is human.  To purr, feline

 

 

 

  
_
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users