[Bacula-users] Exclude windows directories

2008-10-31 Thread Luke Taylor
Good afternoon

I have a setup of Bacula on a Linux Director.  This backs up several 
Linux servers, a handful of Windows servers and some desktops.

I am having problems excluding directories from a backup of a client.

For example: I back up a windows box with the below fileset:

FileSet {
  Name = AndyhSet
  Include {
Options {
Exclude = yes
wildfile = C:/Documents and Settings/AndyH/My Documents/Download
}
 File = c:/Documents and Settings/AndyH
 File = c:/bacula/bin/
  }
}

I basically want to backup c:/Documents and Settings/AndyH  except for 
the Download directory.  I have looked over the internet and tried 
several different FileSet resources but cannot get this to work properly.

Is anybody able to assist?

Luke




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job not appearing in console

2006-11-16 Thread Luke Taylor
Hi I have made the amendments but still no joy... The file now contains the
following for the two clients not showing up.

JobDefs {
  Name = Autonet
  Type = Backup
  Level = Full
  Client = jspautonet-fd
  FileSet = WebserverSet
  Schedule = jspautonet-fd
  Storage = File
  Messages = Standard
  Pool = autonetpool
  Priority = 10
}

Job {
  Name = AutonetServer
  JobDefs = Autonet
  Type = Backup
  Level = Full
  Client = jspautonet-fd
  FileSet = WebserverSet
  Schedule = jspautonet-fd
  Write Bootstrap = /usr/local/bacula/bin/working/jspautonet.bsr
}

FileSet {
  Name = WebserverSet
  Include {
Options {
}
File = /usr/local/apache/conf/
File = /usr/local/apache/conf/ssl/
File = /usr/local/tomcat/webapps/
File = /usr/local/tomcat/conf/Catalina/localhost/
File = /usr/local/etc/tomcat/
  }
}

Schedule {
  Name = jspautonet-fd
  Run = Level=Incremental Pool=autonetpool Monday at 20:30
  Run = Level=Incremental Pool=autonetpool Tuesday at 20:30
  Run = Level=Incremental Pool=autonetpool Wednesday at 20:30
  Run = Level=Incremental Pool=autonetpool Thursday at 20:30
  Run = Level=Incremental Pool=autonetpool Friday at 20:30
}

Client {
  Name = jspautonet-fd
  Address = 10.210.17.177
  FDPort = 9102
  Catalog = MyCatalog
  Password = 

  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}

Pool {
  Name = autonetpool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Accept Any volume = yes
} 

And

JobDefs {
  Name = MXdev
  Type = Backup
  Level = Full
  Client = mxdev-fd
  FileSet = Mxdev Set
  Schedule = mxdev-fd
  Storage = File
  Messages = Standard
  Pool = mxdevpool
  Priority = 10
}

Job {
  Name = Backupmxdev
  JobDefs = MXdev
  Type = Backup
  Level = Full
  Client = mxdev-fd
  FileSet = Mxdev Set # Luke desktop
  Schedule = mxdev-fd
  Write Bootstrap = /usr/local/bacula/bin/working/mxdev.bsr
}

FileSet {
  Name = Mxdev Set
  Include {
Options {
}
 File = /usr/local/luke
  }
}

Schedule {
  Name = mxdev-fd
  Run = Level=Incremental Pool=mxdevpool Monday at 20:15
  Run = Level=Incremental Pool=mxdevpool Tuesday at 20:15
  Run = Level=Incremental Pool=mxdevpool Wednesday at 20:15
  Run = Level=Incremental Pool=mxdevpool Thursday at 20:15
  Run = Level=Incremental Pool=mxdevpool Friday at 20:15
}

Client {
  Name = mxdev-fd
Address = 10.26.13.112
  FDPort = 9102
  Catalog = MyCatalog
  Password = 
  File Retention = 30 days# 30 days
  Job Retention = 6 months# six months
  AutoPrune = yes # Prune expired Jobs/Files
}


Pool {
  Name = mxdevpool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Accept Any Volume = yes
}

All that appears in the bconcole is:

*run
Using default Catalog name=MyCatalog DB=bacula
A job name must be specified.
The defined Job resources are:
 1: Client1
 2: Twiki Server
 3: Backupwindows
 4: BackupCatalog
 5: RestoreFiles
Select Job resource (1-5):

HOWEVER, if I remove the Twiki Server job frrom the director configuration
file the Autonet job appears (there is still no sign of the mxdev job) and
completes with no errors.  If I remover the Autonet and Twiki jobs the mxdev
job appears on the list.it looks to me like there is a setting somewhere
on the system that defines how many jobs can be displayed on that list but I
can't find anything anywhere.

Any further assistance would be much appreciated.

Regards
Luke

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: 15 November 2006 14:38
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Job not appearing in console

In response to Luke Taylor [EMAIL PROTECTED]:
 
 Thanks for replying, FYI the jobs don't have the same name but below 
 is the directors configuration file excluding passwords.
 
 FYI I have since addded another job resource which also doesn't appear 
 on the list.the jobs in question are hignlighted in boldbut 
 just incase it doesn't get displayed I have put the job resource just
below.

Please don't rely on HTML to communicate for you.  The bold doesn't display
on my MUA, and I had to do a good bit of fscking around to figure out which
jobs you were having trouble with.  Do I have the correct two?

 Job {
   Name = Twiki Server
   JobDefs = Twiki
   Type = Backup
   Level = Full
   Client = twiki-fd
   FileSet = Twiki Set
   Schedule = twiki-fd
   Write Bootstrap = /usr/local/bacula/bin/working/twiki.bsr
 }
 
 Job {
   Name = Autonet Server
   JobDefs = Autonet
   Type = Backup
   Level = Full
   Client = jspautonet-fd
   FileSet = Webserver Set
   Schedule = jspautonet-fd
   Write Bootstrap = /usr/local/bacula/bin/working/jspautonet.bsr
  }

I looked at this yesterday and couldn't find anything wrong, then looked at
it again this morning and still can see anything obviously wrong.

So I'm guessing.  I don't believe that spaces

Re: [Bacula-users] Job not appearing in console

2006-11-16 Thread Luke Taylor
I tried with ./bacula start -f -100 but don't get anything, I am having a
look around to find out how to do it.

I will update further if/when I manage to find instructions.

Regards
Luke 

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2006 13:58
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Job not appearing in console

In response to Luke Taylor [EMAIL PROTECTED]:

 Hi I have made the amendments but still no joy... The file now 
 contains the following for the two clients not showing up.

Have you tried starting the director in the foreground with debugging?

 
 JobDefs {
   Name = Autonet
   Type = Backup
   Level = Full
   Client = jspautonet-fd
   FileSet = WebserverSet
   Schedule = jspautonet-fd
   Storage = File
   Messages = Standard
   Pool = autonetpool
   Priority = 10
 }
 
 Job {
   Name = AutonetServer
   JobDefs = Autonet
   Type = Backup
   Level = Full
   Client = jspautonet-fd
   FileSet = WebserverSet
   Schedule = jspautonet-fd
   Write Bootstrap = /usr/local/bacula/bin/working/jspautonet.bsr
 }
 
 FileSet {
   Name = WebserverSet
   Include {
 Options {
 }
 File = /usr/local/apache/conf/
 File = /usr/local/apache/conf/ssl/
 File = /usr/local/tomcat/webapps/
 File = /usr/local/tomcat/conf/Catalina/localhost/
 File = /usr/local/etc/tomcat/
   }
 }
 
 Schedule {
   Name = jspautonet-fd
   Run = Level=Incremental Pool=autonetpool Monday at 20:30
   Run = Level=Incremental Pool=autonetpool Tuesday at 20:30
   Run = Level=Incremental Pool=autonetpool Wednesday at 20:30
   Run = Level=Incremental Pool=autonetpool Thursday at 20:30
   Run = Level=Incremental Pool=autonetpool Friday at 20:30 }
 
 Client {
   Name = jspautonet-fd
   Address = 10.210.17.177
   FDPort = 9102
   Catalog = MyCatalog
   Password = 
 
   File Retention = 30 days
   Job Retention = 6 months
   AutoPrune = yes
 }
 
 Pool {
   Name = autonetpool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 365 days
   Accept Any volume = yes
 }
 
 And
 
 JobDefs {
   Name = MXdev
   Type = Backup
   Level = Full
   Client = mxdev-fd
   FileSet = Mxdev Set
   Schedule = mxdev-fd
   Storage = File
   Messages = Standard
   Pool = mxdevpool
   Priority = 10
 }
 
 Job {
   Name = Backupmxdev
   JobDefs = MXdev
   Type = Backup
   Level = Full
   Client = mxdev-fd
   FileSet = Mxdev Set # Luke desktop
   Schedule = mxdev-fd
   Write Bootstrap = /usr/local/bacula/bin/working/mxdev.bsr
 }
 
 FileSet {
   Name = Mxdev Set
   Include {
 Options {
 }
  File = /usr/local/luke
   }
 }
 
 Schedule {
   Name = mxdev-fd
   Run = Level=Incremental Pool=mxdevpool Monday at 20:15
   Run = Level=Incremental Pool=mxdevpool Tuesday at 20:15
   Run = Level=Incremental Pool=mxdevpool Wednesday at 20:15
   Run = Level=Incremental Pool=mxdevpool Thursday at 20:15
   Run = Level=Incremental Pool=mxdevpool Friday at 20:15 }
 
 Client {
   Name = mxdev-fd
 Address = 10.26.13.112
   FDPort = 9102
   Catalog = MyCatalog
   Password = 
   File Retention = 30 days# 30 days
   Job Retention = 6 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
 }
 
 
 Pool {
   Name = mxdevpool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 365 days
   Accept Any Volume = yes
 }
 
 All that appears in the bconcole is:
 
 *run
 Using default Catalog name=MyCatalog DB=bacula A job name must be 
 specified.
 The defined Job resources are:
  1: Client1
  2: Twiki Server
  3: Backupwindows
  4: BackupCatalog
  5: RestoreFiles
 Select Job resource (1-5):
 
 HOWEVER, if I remove the Twiki Server job frrom the director 
 configuration file the Autonet job appears (there is still no sign of 
 the mxdev job) and completes with no errors.  If I remover the Autonet 
 and Twiki jobs the mxdev job appears on the list.it looks to me 
 like there is a setting somewhere on the system that defines how many 
 jobs can be displayed on that list but I can't find anything anywhere.
 
 Any further assistance would be much appreciated.
 
 Regards
 Luke
 
 -Original Message-
 From: Bill Moran [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2006 14:38
 To: [EMAIL PROTECTED]
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Job not appearing in console
 
 In response to Luke Taylor [EMAIL PROTECTED]:
  
  Thanks for replying, FYI the jobs don't have the same name but below 
  is the directors configuration file excluding passwords.
  
  FYI I have since addded another job resource which also doesn't 
  appear on the list.the jobs in question are hignlighted in 
  boldbut just incase it doesn't get displayed I have put the job 
  resource just
 below.
 
 Please don't rely on HTML to communicate for you.  The bold doesn't 
 display on my MUA, and I had to do a good bit of fscking around to 
 figure

Re: [Bacula-users] Job not appearing in console

2006-11-16 Thread Luke Taylor
OK I have put all the job definitions back into the directors config file.

I have run a job from two of the clients (one is a windows client, one is a
linux client)  and again I get only the 5 jobs displayed.

*run
Using default Catalog name=MyCatalog DB=bacula
A job name must be specified.
The defined Job resources are:
 1: Client1
 2: Twiki Server
 3: Backupwindows
 4: BackupCatalog
 5: RestoreFiles

The jobs run fine from both but again I am missing 2 clients.

Regards
Luke

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2006 14:44
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Job not appearing in console

In response to Luke Taylor [EMAIL PROTECTED]:

 OK I have run the command you gave me (stopped bacula first) and get 
 the following output:
 [EMAIL PROTECTED] bin]# ./bacula-dir -f -d100
 bacula-dir: dird.c:129 Debug level = 100
 bacula-dir: inc_conf.c:487 set wildfile 0x81c4850 size=1 *.obj
 bacula-dir: inc_conf.c:487 set wildfile 0x81c4850 size=2 *.exe
 bacula-dir: mysql.c:75 db_open first time
 bacula-dir: mysql.c:135 mysql_init done
 bacula-dir: mysql.c:156 mysql_real_connect done
 bacula-dir: mysql.c:158 db_user=bacula db_name=bacula db_password=
 unixutil-dir: jcr.c:116 read_last_jobs seek to 188
 unixutil-dir: jcr.c:123 Read num_items=10
 unixutil-dir: bnet_server.c:83 Addresses host[ipv4:0.0.0.0:9101]
 
 It then just hangs at this point (I have left it for about 10 mins to 
 make
 sure) and won't start Bacula.I have also tried doing this with 
 bacula-sd  bacula-fd still running and get the same result.  Not 
 really sure if this makes things any clearer to be honestI am a 
 bit lost :(

Doesn't seem to have any problems loading the config.  From another console,
log in with bconsole and try to run a job and see what messages it
generates.

--
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended
only for the individual named. If the reader of this message is not an
intended recipient (or the individual responsible for the delivery of this
message to an intended recipient), please be advised that any re-use,
dissemination, distribution or copying of this message is prohibited.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.





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


Re: [Bacula-users] Job not appearing in console

2006-11-16 Thread Luke Taylor
I feel so stupid!!! I haven't been looking around the job resource because I
thought, if it is running then the problem isn't the job..how wrong was
II have added the quotes to the end of the lines and problem solved.

Many thanks for your helpI will go and stand in the corner now with my
head down..

Thanks again everybody
Luke

-Original Message-
From: Martin Simmons [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2006 15:13
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Job not appearing in console

Look carefully for missing quotes at the end of the Write Bootstrap lines!

__Martin


 On Thu, 16 Nov 2006 14:39:36 -, Luke Taylor said:
 
 OK I have run the command you gave me (stopped bacula first) and get 
 the following output:
 [EMAIL PROTECTED] bin]# ./bacula-dir -f -d100
 bacula-dir: dird.c:129 Debug level = 100
 bacula-dir: inc_conf.c:487 set wildfile 0x81c4850 size=1 *.obj
 bacula-dir: inc_conf.c:487 set wildfile 0x81c4850 size=2 *.exe
 bacula-dir: mysql.c:75 db_open first time
 bacula-dir: mysql.c:135 mysql_init done
 bacula-dir: mysql.c:156 mysql_real_connect done
 bacula-dir: mysql.c:158 db_user=bacula db_name=bacula db_password=
 unixutil-dir: jcr.c:116 read_last_jobs seek to 188
 unixutil-dir: jcr.c:123 Read num_items=10
 unixutil-dir: bnet_server.c:83 Addresses host[ipv4:0.0.0.0:9101]
 
 It then just hangs at this point (I have left it for about 10 mins to 
 make
 sure) and won't start Bacula.I have also tried doing this with 
 bacula-sd  bacula-fd still running and get the same result.  Not 
 really sure if this makes things any clearer to be honestI am a 
 bit lost :(
 
 Thanks
 Luke
 
 -Original Message-
 From: Bill Moran [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2006 14:13
 To: [EMAIL PROTECTED]
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Job not appearing in console
 
 In response to Luke Taylor [EMAIL PROTECTED]:
 
  I tried with ./bacula start -f -100 but don't get anything, I am 
  having a look around to find out how to do it.
  
  I will update further if/when I manage to find instructions.
 
 bacula-dir -f -d100
 (You may have to give -c if it doesn't find the config file)
 
 If you do bacula-dir --help, it'll give you a list of options.  Not 
 because it understands --help, but because it does that when it 
 doesn't understand its options.
 
  -Original Message-
  From: Bill Moran [mailto:[EMAIL PROTECTED]
  Sent: 16 November 2006 13:58
  To: [EMAIL PROTECTED]
  Cc: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] Job not appearing in console
  
  In response to Luke Taylor [EMAIL PROTECTED]:
  
   Hi I have made the amendments but still no joy... The file now 
   contains the following for the two clients not showing up.
  
  Have you tried starting the director in the foreground with debugging?
  
   
   JobDefs {
 Name = Autonet
 Type = Backup
 Level = Full
 Client = jspautonet-fd
 FileSet = WebserverSet
 Schedule = jspautonet-fd
 Storage = File
 Messages = Standard
 Pool = autonetpool
 Priority = 10
   }
   
   Job {
 Name = AutonetServer
 JobDefs = Autonet
 Type = Backup
 Level = Full
 Client = jspautonet-fd
 FileSet = WebserverSet
 Schedule = jspautonet-fd
 Write Bootstrap = /usr/local/bacula/bin/working/jspautonet.bsr
   }
   
   FileSet {
 Name = WebserverSet
 Include {
   Options {
   }
   File = /usr/local/apache/conf/
   File = /usr/local/apache/conf/ssl/
   File = /usr/local/tomcat/webapps/
   File = /usr/local/tomcat/conf/Catalina/localhost/
   File = /usr/local/etc/tomcat/
 }
   }
   
   Schedule {
 Name = jspautonet-fd
 Run = Level=Incremental Pool=autonetpool Monday at 20:30
 Run = Level=Incremental Pool=autonetpool Tuesday at 20:30
 Run = Level=Incremental Pool=autonetpool Wednesday at 20:30
 Run = Level=Incremental Pool=autonetpool Thursday at 20:30
 Run = Level=Incremental Pool=autonetpool Friday at 20:30 }
   
   Client {
 Name = jspautonet-fd
 Address = 10.210.17.177
 FDPort = 9102
 Catalog = MyCatalog
 Password = 
   
 File Retention = 30 days
 Job Retention = 6 months
 AutoPrune = yes
   }
   
   Pool {
 Name = autonetpool
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 365 days
 Accept Any volume = yes
   }
   
   And
   
   JobDefs {
 Name = MXdev
 Type = Backup
 Level = Full
 Client = mxdev-fd
 FileSet = Mxdev Set
 Schedule = mxdev-fd
 Storage = File
 Messages = Standard
 Pool = mxdevpool
 Priority = 10
   }
   
   Job {
 Name = Backupmxdev
 JobDefs = MXdev
 Type = Backup
 Level = Full
 Client = mxdev-fd
 FileSet = Mxdev Set # Luke desktop
 Schedule = mxdev-fd
 Write Bootstrap = /usr/local/bacula/bin/working

Re: [Bacula-users] Job not appearing in console

2006-11-15 Thread Luke Taylor
Hi there, the jobs I was referring to are:
Job {
  Name = Autonet Server
  JobDefs = Autonet
  Type = Backup
  Level = Full
  Client = jspautonet-fd
  FileSet = Webserver Set
  Schedule = jspautonet-fd
  Write Bootstrap = /usr/local/bacula/bin/working/jspautonet.bsr
 }

Job {
  Name = Backupmxdev
  JobDefs = MXdev
  Type = Backup
  Level = Full
  Client = mxdev-fd
  FileSet = Mxdev Set
  Schedule = mxdev-fd
  Write Bootstrap = /usr/local/bacula/bin/working/mxdev.bsr
} 

One of which has no spaces in the name. This is really baffling me as I have
had it working on another server, if it wasn't such a low spec machine I
would just leave it on there.  I really appreciate your help in this matter.
I will have a try at taking all the spaces out of names although as the
above 2 jobs are different in that respect I can't see it working but like I
said I will give it a go.

Regards
Luke

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: 15 November 2006 14:38
To: [EMAIL PROTECTED]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Job not appearing in console

In response to Luke Taylor [EMAIL PROTECTED]:
 
 Thanks for replying, FYI the jobs don't have the same name but below 
 is the directors configuration file excluding passwords.
 
 FYI I have since addded another job resource which also doesn't appear 
 on the list.the jobs in question are hignlighted in boldbut 
 just incase it doesn't get displayed I have put the job resource just
below.

Please don't rely on HTML to communicate for you.  The bold doesn't display
on my MUA, and I had to do a good bit of fscking around to figure out which
jobs you were having trouble with.  Do I have the correct two?

 Job {
   Name = Twiki Server
   JobDefs = Twiki
   Type = Backup
   Level = Full
   Client = twiki-fd
   FileSet = Twiki Set
   Schedule = twiki-fd
   Write Bootstrap = /usr/local/bacula/bin/working/twiki.bsr
 }
 
 Job {
   Name = Autonet Server
   JobDefs = Autonet
   Type = Backup
   Level = Full
   Client = jspautonet-fd
   FileSet = Webserver Set
   Schedule = jspautonet-fd
   Write Bootstrap = /usr/local/bacula/bin/working/jspautonet.bsr
  }

I looked at this yesterday and couldn't find anything wrong, then looked at
it again this morning and still can see anything obviously wrong.

So I'm guessing.  I don't believe that spaces in job names would cause any
problems, but it's the only thing I can see that stands out.  Trying
removing the spaces from your various names (JobDefs, Job, FileSet) and see
if the problem persists.  Hope this isn't a wild goose chase for you, but I
don't have any other ideas.

Another good idea would be to start the director in the foreground with
debugging turned on and see if it reports anything helpful.  See the docs
for the details on how to do this.

--
Bill Moran
Collaborative Fusion Inc.



IMPORTANT: This message contains confidential information and is intended
only for the individual named. If the reader of this message is not an
intended recipient (or the individual responsible for the delivery of this
message to an intended recipient), please be advised that any re-use,
dissemination, distribution or copying of this message is prohibited.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.





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


[Bacula-users] Job not appearing in console

2006-11-14 Thread Luke Taylor



Good morning I have installed bacula-1.38.11 onto a CentOS server. 
It is installed and appears to be running fine and backing up to disk 
with no problems. I have added 3 clients: A Windows client, and 2 linux 
clients one of which is on a seperate (internal) network with firewall 
permissions granted for ports 9001, 9002  9003. We I enter bconsole 
and type run I get the list of clients but one is missing. I have checked 
through my configuration files and all looks OK to me. When I take out the 
working linux job and restart bacula the other one appears and runs through fine 
so I know it isn't a problem with the clients setup.  I have 
looked around and can't find anything but was wondering if there was a setting 
which specifies how many will appear on the list. I did have Bacula 
installed on another server for testing purposes, this was on CentOS also with 
the same version of Bacula, same ./configure command, and everything I can see 
is fine. Does anybody know of any settings that need to be changed in 
order for all the jobs to appear on the list? Kind regards 
Luke


Kind Regards
Luke Taylor
IT Engineer
CDL Internet Services
Ext 4136


**
This email is intended only for the person(s) named above and may contain private and confidential information.  If it has come to you in error, please destroy and permanently delete any copy in your possession and contact us on +44 (0) 161 480 4420. The information in this email is copyright CDL Group Holdings Limited.  We cannot accept any liability for any loss or damage sustained as a result of software viruses. It is your responsibility to carry out such virus checking as is necessary before opening any attachment.
Cheshire Datasystems Limited uses software which automatically screens incoming emails for inappropriate content and attachments.  If the software identifies such content or attachment, the email will be forwarded to our Technology Department for checking.  You should be aware that any email which you send to Cheshire Datasystems Limited is subject to this procedure.  
CDL, Strata House, Kings Reach Road, Stockport SK4 2HD.
Registered in England and Wales with Company Number 3991057
**
**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.clearswift.com
**


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job not appearing in console

2006-11-14 Thread Luke Taylor



Hi BillThanks for replying, FYI the 
jobs don't have the same name but below is the directors configuration file 
excluding passwords.FYI I have since addded another job resource which 
also doesn't appear on the list.the jobs in question are hignlighted in 
boldbut just incase it doesn't get displayed I have put the job resource 
just below.JobDefs { Name = "Autonet" Type = 
Backup Level = Full Client = jspautonet-fd FileSet 
= "Webserver Set" Schedule = "jspautonet-fd" Storage = 
File Messages = Standard Pool = autonetpool 
Priority = 10}AndJobDefs { Name = 
"MXdev" Type = Backup Level = Full Client = 
mxdev-fd FileSet = "Mxdev Set" Schedule = 
"mxdev-fd" Storage = File Messages = Standard Pool 
= mxdevpool Priority = 10}# Default Bacula Director 
Configuration file## The only thing that MUST be changed is to add 
one or more# file or directory names in the Include directive of 
the# FileSet resource.## For Bacula release 
1.38.11 (28 June 2006) -- redhat## You might also want to change 
the default email address# from root to your address. See 
the "mail" and "operator"# directives in the Messages 
resource.#Director 
{ 
# define myself Name = unixutil-dir DIRport = 
9101 
# where we listen for UA connections QueryFile = 
"/usr/local/bacula/bin/query.sql" WorkingDirectory = 
"/usr/local/bacula/bin/working" PidDirectory = 
"/usr/local/bacula/bin/working" Maximum Concurrent Jobs = 20 
Password = "" # Console 
password Messages = Daemon}JobDefs { Name = 
"DefaultJob" Type = Backup Level = Incremental 
Client = unixutil-fd FileSet = "Full Set" Schedule = 
"WeeklyCycle" Storage = File Messages = Standard 
Pool = Default Priority = 
10}# SERVERS 
##JobDefs { Name = 
"Autonet" Type = Backup Level = Full Client = 
jspautonet-fd FileSet = "Webserver Set" Schedule = 
"jspautonet-fd" Storage = File Messages = Standard 
Pool = autonetpool Priority = 10}JobDefs 
{ Name = "Twiki" Type = Backup Level = 
Incremental Client = twiki-fd FileSet = "Twiki 
Set" Schedule = "twiki-fd" Storage = File Messages 
= Standard Pool = twikipool Priority = 
10}JobDefs { Name = "MXdev" Type = 
Backup Level = Full Client = mxdev-fd FileSet = 
"Mxdev Set" Schedule = "mxdev-fd" Storage = File 
Messages = Standard Pool = mxdevpool Priority = 
10}# 
WORKSTATIONS #JobDefs { Name 
= "Windowsclient" Type = Backup Level = Full 
Client = luket-fd FileSet = "Windows Set" Schedule = 
"luket-fd" Storage = File Messages = Standard Pool 
= WindowsPool Priority = 10}## Define the main nightly 
save backup job# By default, this job will back up to disk in 
/tmpJob { Name = "Client1" JobDefs = 
"DefaultJob" Write Bootstrap = 
"/usr/local/bacula/bin/working/Client1.bsr"}## 
SERVERS #Job { Name = "Twiki 
Server" JobDefs = "Twiki" Type = Backup Level = 
Full Client = twiki-fd FileSet = "Twiki Set" 
Schedule = "twiki-fd" Write Bootstrap = 
"/usr/local/bacula/bin/working/twiki.bsr}Job { 
Name = "Autonet Server" JobDefs = "Autonet" Type = 
Backup Level = Full Client = jspautonet-fd FileSet 
= "Webserver Set" Schedule = "jspautonet-fd" Write Bootstrap 
= 
"/usr/local/bacula/bin/working/jspautonet.bsr}Job 
{ Name = "Backupmxdev" JobDefs = "MXdev" Type = 
Backup Level = Full Client = mxdev-fd FileSet = 
"Mxdev Set" Schedule = "mxdev-fd" Write Bootstrap = 
"/usr/local/bacula/bin/working/mxdev.bsr"} 
WORKSTATIONS #Job { 
Name = "Backupwindows" JobDefs = "Windowsclient" Type = 
Backup Level = Full Client = luket-fd FileSet = 
"Windows 
Set" # 
Luke desktop Schedule = "luket-fd" Write Bootstrap = 
"/usr/local/bacula/bin/working/Backup2.bsr"}# Backup the catalog 
database (after the nightly save)Job { Name = 
"BackupCatalog" JobDefs = "DefaultJob" Level = 
Full FileSet="Catalog" Schedule = 
"WeeklyCycleAfterBackup" # This creates an ASCII copy of the 
catalog RunBeforeJob = "/usr/local/bacula/bin/make_catalog_backup 
bacula bacula" # This deletes the copy of the catalog 
RunAfterJob = "/usr/local/bacula/bin/delete_catalog_backup" 
Write Bootstrap = "/usr/local/bacula/bin/working/BackupCatalog.bsr" 
Priority = 
11 
# run after main backup}## Standard Restore template, to be 
changed by Console program# Only one such job is needed for all 
Jobs/Clients/Storage ...#Job { Name = "RestoreFiles" 
Type = Restore Client = 
unixutil-fd 
FileSet = "Full 
Set" 
Storage = 
File 
Pool = Default Messages = Standard Where = 
/backup/bacula-restores}# List of files to be backed 
upFileSet { Name = "Full Set" Include 
{ Options { signature = 
MD5 }## Put your list of 
files here, preceded by 'File =', one per line# or include 
an external list with:## File = 
file-name## Note: / backs up everything on the root 
partition.# if you have other partitons such as /usr or 
/home# you will probably want to add them 
too.## By default this is defined to point to the Bacula 

Re: [Bacula-users] File Daemon port not open on linux

2006-10-26 Thread Luke Taylor
Hi there thanks for getting back to me. The contents of the Bacula-dir.conf
file are as follows:
I have only shown part of the password for obvious reasons.

Director {# define myself
  Name = bacula-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/local/bacula/bin/query.sql
  WorkingDirectory = /usr/local/bacula/bin/working
  PidDirectory = /usr/local/bacula/bin/working
  Maximum Concurrent Jobs = 5
  Password = huG6k9o0559 # Console password
  Messages = Daemon
} 

Many thanks
Luke

-Original Message-
From: Dan Langille [mailto:[EMAIL PROTECTED] 
Sent: 23 October 2006 12:30
To: Luke Taylor
Subject: RE: [Bacula-users] File Daemon port not open on linux

Please remember to CC the mailing list.

Include the Director resource from bacula-dir.conf ... i.e.

Director {# define myself
  Name = bacula-dir

On 23 Oct 2006 at 12:01, Luke Taylor wrote:

 Hi there
 
 The service is running and the port is now open, but I am still 
 getting errors when attempting to connect to the file Daemon.
 
 My bacula-dir.conf file on the bacula server contains the following 
 client definition for the file daemon:
 Client {
   Name = twiki01-fd
   Address = 10.26.13.113
   FDPort = 9102
   Catalog = MyCatalog
   Password = 123
   File Retention = 30 days# 30 days
   Job Retention = 6 months# six months
   AutoPrune = yes # Prune expired Jobs/Files
 }
 
 
 Please note the password is one that I have put in myself.
 
 The bacula-fd.conf file on the file daemon contains the following:
 
 # List Directors who are permitted to contact this File daemon # 
 Director {
   Name = bacula-dir
   Password = 123
 }
 
 
 I am still unable to connect when running a job, I get the following
error:
 
 23-Oct 11:58 bacula-dir: *Console*.2006-10-23_11.58.04 Fatal error: 
 Unable to authenticate with File daemon. 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/rel-manual/faq.html#AuthorizationErrors
 http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help.
 
 
 Have you any ideas on this, I have looked around the internet but 
 can't seem to find anything, I think it may be something to do with 
 the password but I am unsure what the file daemon password is set as 
 because it generates a random password during setup.
 
 Your help is appreciated.
 
 Regards
 
 Luke
 
 
 -Original Message-
 From: Dan Langille [mailto:[EMAIL PROTECTED]
 Sent: 19 October 2006 19:45
 To: Luke Taylor
 Cc: bacula-users
 Subject: Re: [Bacula-users] File Daemon port not open on linux
 
 On 19 Oct 2006 at 16:00, Luke Taylor wrote:
 
  Good afternoon
 
  I have Bacula installed on a CentOS machine.  It is backing up fine, 
  and is also backing up my Windows workstation.  I am experiencing a 
  problem when trying to back up another linux machine.  I have sent 
  over the bacula-fd binaary file and also bacula-fd.conf.  I have 
  configured bacula-fd.conf to match the server, and have run the 
  binary as per intructions on Bacula's website.  When trying to 
  connect from the Bacula server I get an error saying:
 
  17-Oct 15:55 bacula-dir: TwikiBackup.2006-10-17_15.55.20 Fatal error:
 
  Unable to authenticate with File daemon. Possible causes:
 
  Passwords or names not the same or
 
  Maximum Concurrent Jobs exceeded on the FD or FD networking messed 
  up (restart daemon).
 
  The passwords are fine, the daemon has been restarted and there are 
  no other jobs running (although the max concurrent is set to 5 just 
  to make sure)
 
  When running a netstat on the linux file daemon I can see that the 
  port the director is trying to connect on isn't running.  Is there 
  something I am missing with the install as I am unable to find 
  anything on the web to help me with this.
 
 Verify that bacula-fd is running:
 
 ps auwx | grep bacula-fd
 
 --
 Dan Langille : Software Developer looking for work my resume:
 http://www.freebsddiary.org/dan_langille.php
 
 
 
 
 



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





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] File Daemon port not open on linux

2006-10-19 Thread Luke Taylor



Good 
afternoon

I have Bacula 
installed on a CentOS machine. It is backing up fine, and is also backing 
up my Windows workstation. I am experiencing a problem when trying to back 
up another linux machine. I have sent over the bacula-fd binaary file and 
also bacula-fd.conf. I have configured bacula-fd.conf to match the server, 
and have run the binary as per intructions on Bacula's website. When 
trying to connect from the Bacula server I get an error 
saying:


17-Oct 15:55 bacula-dir: 
TwikiBackup.2006-10-17_15.55.20 Fatal error:
Unable to authenticate with File daemon. Possible 
causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or FD 
networking messed up (restart daemon).
The passwords are 
fine, the daemon has been restarted and there are no other jobs running 
(although the max concurrent is set to 5 just to make sure)
When running a netstat 
on the linux file daemon I can see that the port the director is trying to 
connect on isn't running. Is there something I am missing with the install 
as I am unable to find anything on the web to help me with 
this.
Kind 
regards
Luke 
Taylor

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users