Bacula-users

Re: [Bacula-users] Problem with the Include Option "File ="

2008-10-06 09:59:00
Subject: Re: [Bacula-users] Problem with the Include Option "File ="
From: Dan Langille <dan AT langille DOT org>
To: Jon Ingason <jon.ingason AT sentor DOT se>
Date: Mon, 6 Oct 2008 09:52:06 -0400
On Oct 6, 2008, at 9:16 AM, Jon Ingason wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have two of FreeBDS 6.3 machines running a few jails each and want  
> to
> backup some directory in the different jails. What I did was to put
> following lines in the bacula-dir.conf file:
>
> File = "\\|/usr/local/bin/bash -c \"find /usr/jails/*/etc\""
> File = "\\|/usr/local/bin/bash -c \"find /usr/jails/*/usr/home\""
> File = "\\|/usr/local/bin/bash -c \"find /usr/jails/*/usr/local/bin\""
> File = "\\|/usr/local/bin/bash -c \"find /usr/jails/*/usr/local/etc\""
>
> This worked without problem on my first machine. But when I tried to  
> run
> it on the other machine I got following message:
>
> 03-Oct 15:42 bacula-dir: No prior Full backup Job record found.
> 03-Oct 15:42 bacula-dir: No prior or suitable Full backup found in
> catalog. Doing FULL backup.
> 03-Oct 15:42 bacula-dir: Start Backup JobId 63498,
> Job=client.2008-10-03_15.42.22
> 03-Oct 15:42 client-fd JobId 63498: Fatal error: Error running  
> program:
> /usr/local/bin/bash -c "find /usr/jails/*/usr/home". stat=1: ERR=Child
> exited with code 1

I am guessing.

The find returned exit value 1.  This aborts the job.

Personally, I'd put all of the above in a script rather than within  
"quotes" in the FileSet.

>
> 03-Oct 15:42 client-fd JobId 63498: Fatal error: Failed to  
> authenticate
> Storage daemon.

You get this error only if the Find fails?
>
> 03-Oct 15:42 bacula-dir: client.2008-10-03_15.42.22 Fatal error:  
> Socket
> error on Storage command: ERR=No data available
> 03-Oct 15:42 bacula-dir: client.2008-10-03_15.42.22 Error: Bacula  
> 2.0.3
> (06Mar07): 03-Oct-2008 15:42:37
>
> If I comment out the "File = ..." here above, the backup succeeds.
>
> What is the problem?
>
> - --
> Regards
>
> Jon Ingason
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFI6g+7Wn396VE8BCsRAmK4AJ9L/FrNimbjkIKkFDaNQ1zTF9sp3ACfQog3
> F5urtmYq5MDOf5hh2FtP++c=
> =DPPi
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> 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

-- 
Dan Langille
http://langille.org/





-------------------------------------------------------------------------
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>