Bacula-users

[Bacula-users] Error when In - and Exclude Directories in large Directory Trees

2008-10-10 02:39:58
Subject: [Bacula-users] Error when In - and Exclude Directories in large Directory Trees
From: Boris Kunstleben onOffice Software GmbH <b.kunstleben AT onoffice DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 10 Oct 2008 08:37:26 +0200
Hi folks,

im getting an Authentication Error when i try to Include AND Exclude specific 
Directories see Fileset below. 
I think it maybe some kind of an Timeout. When i change the Include Option to 
'/share/People', everything works fine. 
But when i try this one "File = "\\|sh -c 'for D in /share/People/; do find $D 
-name backmeup -type f -printf \"%h\\n\"; done | tee 
/root/bacula_included_dirs.log'"" the FileDaemon does his Jobs, but after all i 
get the following error and the Job was not done. 

When i run this "for D in /share/People/; do find $D -name backmeup -type f 
-printf \"%h\\n\"; done | tee /root/bacula_included_dirs.log" from the console 
on my linux machine it works, but takes some time, about 20 min.
Both Client and Storage are Linux (Director V2.4.2 / FileDaemon V2.4.0).
Any Idea?

Error:
09-Oct 10:41 backup1.local.onoffice.de-fd JobId 38: Fatal error: Authorization 
key rejected by Storage daemon.
Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for 
help.
09-Oct 10:41 backup1.local.onoffice.de-fd JobId 38: Fatal error: Failed to 
authenticate Storage daemon.
09-Oct 10:41 backup1.local.onoffice.de-dir JobId 38: Fatal error: Socket error 
on Storage command: ERR=No data available
09-Oct 10:41 backup1.local.onoffice.de-dir JobId 38: Error: Bacula 
backup1.local.onoffice.de-dir 2.4.2 (26Jul08): 09-Oct-2008 10:41:54

FileSet:
FileSet {
  Name = "fs_people"
  Include {
    Options {
      signature = MD5
      Compression = GZIP
    }
   File = "\\|sh -c 'for D in /share/People/; do find $D -name backmeup -type f 
-printf \"%h\\n\"; done | tee /root/bacula_included_dirs.log'"
   }
   Exclude {
    File = /share/People/DBs/
    File = "\\|sh -c 'for D in /share/People/; do find $D -name .svn -type d 
-printf \"%h\\n\"; done | tee /root/bacula_excluded_dirs.log'"
    File = "\\|sh -c 'for D in /share/People/; do find $D -name CVS -type d 
-printf \"%h\\n\"; done | tee /root/bacula_excluded_dirs.log'"
   }
}

THX and greetings
Boris Kunstleben

-- 
Mit freundlichen Grüßen aus Aachen

i.A. Boris Kunstleben
Administration

--------------------------------------------------------------------------------------
onOffice Software GmbH
Feldstr. 40
52070 Aachen
Tel. +49 (0)241 44686-0
Fax. +49 (0)241 44686-250
Email: b.kunstleben AT onOffice DOT de
Web: www.onOffice.com
--------------------------------------------------------------------------------------
Registergericht: Amtsgericht Aachen, HRB 12123
Geschäftsleitung: Stefan Mantl, Torsten Kämper, Stefan Becker
--------------------------------------------------------------------------------------

-------------------------------------------------------------------------
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=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Error when In - and Exclude Directories in large Directory Trees, Boris Kunstleben onOffice Software GmbH <=