[Bacula-users] How to correctly delete a client

2009-06-29 Thread Tom Sommer
I've recently deleted some clients from my directory configuration.

However when I look in the Client table in MySQL, the clients are still
there.
I suspect the jobs and files won't be purged correctly since I removed
the clients from the configuration, and so Bacula won't autopurge these
records, and I don't want stale data or clients on my volumes.

So what is the correct procedure to wipe client records from Bacula?

Thanks
--
Tom Sommer

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


[Bacula-users] canceled job still in running job section

2009-06-29 Thread François Mehault
Hi All

I contact you because I don't succeed to cancel my job. This morning I have 
numerous Job in running job section in bconsole. I have some problem that I 
will fix but for the moment I want to stop properly all running jobs. So I use 
the cancel command, then my job is marked canceled : JobId 28415, Job 
X-Job.2009-06-29_03.20.00.20 marked to be canceled.
But the job stay in running section. What can I do ? If I don't stop the job 
properly with restarting the dameon, I know that I will have wrong information 
in my Catalog and I will have to modify the Catalog with query. If someone has 
an idea, I will arreciate. Thanks

Regards

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


[Bacula-users] filesets and symbolic links

2009-06-29 Thread Andreas Schuldei
hi!

we have servers that operate with several independent raid arrays that
contain (lots of) data to backup.

currently we create tar files of the data-to-be-backed-up on each raid
and would like bacula to pick it up from there.

we have a script that does the tar handling that is run as
ClientRunBeforeJob. because these servers could differ in layout,
number of raids and other details i would prefer not to give a list of
files to back up but just give ONE canonical location on each server
to pick up stuff from and have the script handle the local
configuration. I imagine it to create symbolic links to the respective
files on the other partitions in /var/lib/bacula/ ... except - does
bacula follow symbolic links? if not, how can i do this otherwise?
copying over the files to the location could fail because they are too
big to fit there, even one at a time.

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


Re: [Bacula-users] Bacula and Alfresco integration

2009-06-29 Thread Reynier Perez Mira

Hi Arno:
I'm configuring Bacula to save a PostgreSQL DB Server with your script 
but have some doubts. I create a file called DBServer wich contains the 
configuration for DatabaseBackup script. I give 770 permissions and 
root propietary as the doc said. So after that I execute the command:


./DatabaseBackup DBServer

and get this output:

 summary output of important settings: 
P_LOGGER :
P_MKTEMP :
LOG_STDERR : 0
LOG_STDOUT : 0
LOG_SYSLOG : 1
OUT_DUMP : /home
OUT_ERR : /dev/null
OUT_LOGERR : 0
DB_ALLDATABASES : 1
DB_DATABASES : *
DB_DUMPPROG : /usr/bin/pg_dumpall --user=postgres *
DB_HOST : localhost
DB_PASS : secret_pass
DB_PORT : 5432
DB_SOCKET :
DB_TYPE : postgres
DB_USER : postgres
BG_ON : 0
BG_STARTWAIT : 5
BG_WATCHDOGWAIT : 3600
TMPFILE : /tmp/DatabaseBackup.temp.29035.1246293364
TMPFILES :
TMPFILES_TOKEEP :
===

But nothing is saved. I'm doing something wrong?
Regards and waiting for your comments
PS: In this days I start backing up a Alfresco Server so I send you the 
feedback as soon as I get it.

--
Ing. Reynier Pérez Mira
begin:vcard
fn;quoted-printable:Reynier P=C3=A9rez Mira
n;quoted-printable:P=C3=A9rez Mira;Reynier
email;internet:rper...@uci.cu
tel;work:053-7-8358824
tel;pager:23744
tel;home:053-23-426126
x-mozilla-html:FALSE
version:2.1
end:vcard

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


Re: [Bacula-users] filesets and symbolic links

2009-06-29 Thread Dirk Bartley
Filesets can have exclude and include lists that are pulled in at
runtime from files.  The run before script could create these lists??

Dirk


On Mon, 2009-06-29 at 14:04 +0200, Andreas Schuldei wrote:
 hi!
 
 we have servers that operate with several independent raid arrays that
 contain (lots of) data to backup.
 
 currently we create tar files of the data-to-be-backed-up on each raid
 and would like bacula to pick it up from there.
 
 we have a script that does the tar handling that is run as
 ClientRunBeforeJob. because these servers could differ in layout,
 number of raids and other details i would prefer not to give a list of
 files to back up but just give ONE canonical location on each server
 to pick up stuff from and have the script handle the local
 configuration. I imagine it to create symbolic links to the respective
 files on the other partitions in /var/lib/bacula/ ... except - does
 bacula follow symbolic links? if not, how can i do this otherwise?
 copying over the files to the location could fail because they are too
 big to fit there, even one at a time.
 
 --
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


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


Re: [Bacula-users] filesets and symbolic links

2009-06-29 Thread Doug Forster
I don't remember but I think bacula will traverse mount points so . . .
mount --bind olddir newdir
Would likely work. I do know though that there at least was an issue 
with differing file system types ie nfs/gfs mounts ect.


Dirk Bartley wrote:
 Filesets can have exclude and include lists that are pulled in at
 runtime from files.  The run before script could create these lists??

 Dirk


 On Mon, 2009-06-29 at 14:04 +0200, Andreas Schuldei wrote:
   
 hi!

 we have servers that operate with several independent raid arrays that
 contain (lots of) data to backup.

 currently we create tar files of the data-to-be-backed-up on each raid
 and would like bacula to pick it up from there.

 we have a script that does the tar handling that is run as
 ClientRunBeforeJob. because these servers could differ in layout,
 number of raids and other details i would prefer not to give a list of
 files to back up but just give ONE canonical location on each server
 to pick up stuff from and have the script handle the local
 configuration. I imagine it to create symbolic links to the respective
 files on the other partitions in /var/lib/bacula/ ... except - does
 bacula follow symbolic links? if not, how can i do this otherwise?
 copying over the files to the location could fail because they are too
 big to fit there, even one at a time.

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


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


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


[Bacula-users] Problems to restore

2009-06-29 Thread Rodrigo Fernandes
Dear list,

I'm running Bacula version 2.4.4 on Red Hat ELl5 x86_64. I have a backup
running (46 hours to finish) on Director and I need to restore some files
from another server. The problem is that job restore cannot running and the
status on director is:

529 Fullxxx.2009-06-27_10.26.00.13 is running
532  RestoreFiles.2009-06-29_12.43.26.16 is waiting for higher
priority jobs to finish


When I start this restore (JobId 532), I set the priority to 1, but the
restore cannot start and show the message above.

Anyone known to run this concurrently at the same time that this backup Full
(JobId 529)?


Thanks a lot,

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


Re: [Bacula-users] filesets and symbolic links

2009-06-29 Thread Dirk Bartley

Here is an example of one of my filesets:

FileSet {
  Name = ZimbraSet
  Include {
Options {
  signature = MD5
  aclsupport = yes
}
File = /opt/zimbra/backup/sessions
File = /opt/zimbra/conf
File = /root
#Exclude Dir Containing = .baculaexclude
  }
  Exclude {
 File = \\/etc/bacula/exclude.list
  }
}

I'm using a client side exclude.  The docs show that a client side
include was a possibility, I just decided to try a client side exclude
and it seems to work just fine.

http://www.bacula.org/manuals/en/install/install/Configuring_Director.html#SECTION0067

Look at the examples.

Dirk

On Mon, 2009-06-29 at 22:40 +0200, Andreas Schuldei wrote:
 On Mon, Jun 29, 2009 at 7:15 PM, Dirk Bartleydbart...@schupan.com wrote:
  Filesets can have exclude and include lists that are pulled in at
  runtime from files.  The run before script could create these lists??
 
 the fileset is defined server-side. how can the server include stuff
 that is created on the client?


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


Re: [Bacula-users] filesets and symbolic links

2009-06-29 Thread Andreas Schuldei
On Mon, Jun 29, 2009 at 7:15 PM, Dirk Bartleydbart...@schupan.com wrote:
 Filesets can have exclude and include lists that are pulled in at
 runtime from files.  The run before script could create these lists??

the fileset is defined server-side. how can the server include stuff
that is created on the client?

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


Re: [Bacula-users] filesets and symbolic links

2009-06-29 Thread Andreas Schuldei
On Mon, Jun 29, 2009 at 7:31 PM, Doug Forsterdfors...@part.net wrote:
 I don't remember but I think bacula will traverse mount points so . . .
 mount --bind olddir newdir
 Would likely work. I do know though that there at least was an issue with
 differing file system types ie nfs/gfs mounts ect.

i will try that and tell how that worked :-) thanks.

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