On Mon, Apr 12, 2010 at 2:07 PM, John Drescher <drescherjm AT gmail DOT com>
wrote:
>> But my job is making the copy of all the files and directories, and I
>> have to exclude the copy of my virtual machines and the hidden folder .gvfs
>> If I put the option Exclude = yes, the bacula server does not copy any
>> file, but if I exclude that line, it makes the copy of the full
>> directory...
>>
>> the manual is written that the option "exclude = yes" should be placed,
>> otherwise the system does not ignore the files in the section "exclude".
>>
>> So, what is the problem?
>>
>> I am sending the copy of the FileSet configuration
>>
>> FileSet {
>> Name = "User File Set"
>> Include {
>> Options {
>> # Exclude = yes ## here is the problem.. :( If I left that way, the
>> backup make the copy of all files and not ignore the directory
>> /home/user/.VirtualBox
>> ## If I delete the comment, the system does not make
>> the copy of any file or folder
>> }
>> File = /home/user/
>> }
>
> This means exclude all files in the File = part which in this case is
> /home/user not the Exclude lines below.
>
>> Exclude {
>> File = /home/user/.VirtualBox/
>> File = /home/user/.gvfs
>> }
>> }
>>
>
> Look at the following example taken from the manual for an example of
> the usage of exclude=yes :
>
> http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001780000000000000000
>
>
> FileSet {
> Name = "Full Set"
> Include {
> Options {
> Compression=GZIP
> signature=SHA1
> Sparse = yes
> }
> @/etc/backup.list
> }
> Include {
> Options {
> wildfile = "*.o"
> wildfile = "*.exe"
> Exclude = yes
> }
> File = /root/myfile
> File = /usr/lib/another_file
> }
> Exclude {
> File = /tmp
> }
> }
>
Okay. I am wrong about this. See the explanation in the example but
you do need something in the Options to exclude when you use
Exclude=yes.
John
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|