Bacula-users

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

2008-10-06 09:40:52
Subject: [Bacula-users] Problem with the Include Option "File ="
From: Jon Ingason <jon.ingason AT sentor DOT se>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 06 Oct 2008 15:16:43 +0200
-----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
03-Oct 15:42 client-fd JobId 63498: Fatal error: Failed to authenticate
Storage daemon.
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

<Prev in Thread] Current Thread [Next in Thread>