Bacula-users

Re: [Bacula-users] Folder Exclusion... didn't work

2009-04-09 19:07:34
Subject: Re: [Bacula-users] Folder Exclusion... didn't work
From: Thomas Manson <dev.mansonthomas AT gmail DOT com>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Fri, 10 Apr 2009 01:01:52 +0200
the file has lines like these :


/home/geocroissance/web/public_html/cache/
/home/aurelieetgeoffroy/web/public_html/cache/
/home/deco-factory/web/public_html/oscss_data/
/home/deco-factory/web/public_html/images/imagecache/

it should be change to

/home/geocroissance/web/public_html/cache
/home/aurelieetgeoffroy/web/public_html/cache
/home/deco-factory/web/public_html/oscss_data
/home/deco-factory/web/public_html/images/imagecache


?
Thomas
On Tue, Apr 7, 2009 at 20:58, Martin Simmons <martin AT lispworks DOT com> 
wrote:
>>>>>> On Mon, 6 Apr 2009 23:58:29 +0200, Thomas Manson said:
>>
>> /usr/local/bin/scripts/bacula/excludeFolderList/machine.domain_excludeFolderList.txt
>>
>> is generated with the following script
>>
>> find /home -name .bacula_exclude | sed 's/.bacula_exclude//' >
>> /root/scripts/bacula/excludeFolderList
>> (and then copied from the client to the directory machine via a scp)
>>
>> which is executed as a Run Before Job.
>>
>> Do you see anything wrong ?
>
> I think you need to strip the trailing slash on each directory name (assuming
> .bacula_exclude is a file).
>
> __Martin
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users