On Thursday, 20 November 2008 12:16:11 -0200,
Daniel Bareiro wrote:
> to this:
>
>
> FileSet {
> Name = "Bases"
> Include {
> Options {
> signature = SHA1
> wildfile = "*.bz2"
> }
> Options {
> Exclude = yes
> RegexFile = ".*"
> }
> # File = /space/backup/sdpbkp/oracle/export
> File = "\\|bash -c \"echo /space/backup/$HOSTNAME/oracle/export/ \""
>
> }
> Include {
> Options {
> signature = SHA1
> }
> Options {
> wilddir = /space/backup/$HOSTNAME/oracle/export
> exclude = yes
> }
> File = /etc
> File = "\\|bash -c \"find /space/ -maxdepth 1 -type d -name backup -o
> -name log\""
>
> #File = "\\|bash -c \"find /space/backup/$HOSTNAME/*_etc.tar.gz \""
> <---
> #File = "\\|bash -c \"find /space/backup/$HOSTNAME/oracle/controlfile/
> \"" <---
> #File = "\\|bash -c \"find /space/backup/$HOSTNAME/oracle/pfile/ \""
> <---
> #File = "\\|bash -c \"find /space/backup/$HOSTNAME/oracle/scripts/ \""
> #File = "\\|bash -c \"echo /space/backup/$HOSTNAME/pkg_list/ \""
> #File = "\\|bash -c \"echo /space/backup/$HOSTNAME/home/ \""
> #File = "\\|bash -c \"echo /space/log/$HOSTNAME/oracle/ \""
> }
> }Well, It seems to have noticed an error in the line: wilddir = /space/backup/$HOSTNAME/oracle/export by the replacement of the variable $HOSTNAME. If I use: wilddir = "\\|bash -c \"echo /space/backup/$HOSTNAME/oracle/export \"" that directory becomes to consider twice, but using: wilddir = /space/backup/sdp2/oracle/export it is only processed once, reason why I consider that it must be a syntax error. How I can make to have the variable name of host in this FileSet? Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598
signature.asc
Description: Digital 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
