Hello,

I need to backup some subfolders that match a pattern like their name contains 
"-tutor" string. For example, the folder tree is similar to:

/home/students/a/a1
/home/students/a/a2
/home/students/a/a3
/home/students/a/a-tutor
/home/students/b/b1
/home/students/b/b2
/home/students/b/b3
/home/students/b/b-tutor
/home/teachers/a/a1
/home/teachers/a/a2
/home/teachers/a/a3
/home/teachers/a/a-tutor
/home/teachers/b/b1
/home/teachers/b/b2
/home/teachers/b/b3
/home/teachers/b/b-tutor


I need to backup only folders "*-tutor" from all "home" subfolders, so I need 
to backup these folders:

/home/students/a/a-tutor
/home/students/b/b-tutor
/home/teachers/a/a-tutor
/home/teachers/b/b-tutor


I have configured a fileset in this way:

FileSet {
        Name = "My-Fileset "
        Include {
                Options {
                        Hardlinks = no
                        Compression = GZIP8
                }
                Options {
                        wilddir=lost+found
                        wildfile=*.wav
                        wildfile=*.mp3
                        wildfile=*.avi
                        wildfile=*.iso
                        wildfile=*.ogg
                        wildfile=core.*
                        wildfile=*.o
                        Exclude = yes
                }
               File = /home/*/*/*-tutor

       }
}

But backup don't contains any "/home/*/*/*-tutor"... so there is something bad 
configured. I have run another backup with this fileset, but nothing backup...

FileSet {
        Name = "My-Fileset-v2"
        Include {
                Options {
                        Hardlinks = no
                        Compression = GZIP8
                        wilddir = "/home/*/*/*-tutor"
                }
                File = /home
        }

        Include {
                Options {
                        wilddir=lost+found
                        wildfile=*.wav
                        wildfile=*.mp3
                        wildfile=*.avi
                        wildfile=*.iso
                        wildfile=*.ogg
                        wildfile=core.*
                        wildfile=*.o
                        Exclude = yes
                }
        }
}

So... I need help...

Thanks!!!
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to