Bareos Backups all files despite of a custom FileSetCliffhanger: The backups are right… here… right?What...

Interplanetary conflict, some disease destroys the ability to understand or appreciate music

Do I need life insurance if I can cover my own funeral costs?

Do these spellcasting foci from Xanathar's Guide to Everything have to be held in a hand?

Employee lack of ownership

Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible

Professor being mistaken for a grad student

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

My Graph Theory Students

How to write cleanly even if my character uses expletive language?

How could a scammer know the apps on my phone / iTunes account?

Python if-else code style for reduced code for rounding floats

Gravity magic - How does it work?

Min function accepting varying number of arguments in C++17

Sailing the cryptic seas

SOQL: Populate a Literal List in WHERE IN Clause

Is there a data structure that only stores hash codes and not the actual objects?

How to explain that I do not want to visit a country due to personal safety concern?

Why do passenger jet manufacturers design their planes with stall prevention systems?

Who is flying the vertibirds?

how to draw discrete time diagram in tikz

How to read the value of this capacitor?

PTIJ: Who should I vote for? (21st Knesset Edition)

How big is a MODIS 250m pixel in reality?

If curse and magic is two sides of the same coin, why the former is forbidden?



Bareos Backups all files despite of a custom FileSet


Cliffhanger: The backups are right… here… right?What options to use for Accurate bacula backup?Using GIT for backup. How to permanently remove deleted files from old revisions?Opening msg files, produced by parallels-plesk-backup system - howto?What is the safest way to delete backups in BareOS?Bareos / Bacula backup of virtualbox?Random scheduling of backups in BareOSHow to restore a directory with Bareos/Bacula while excluding deleted files?Automate restore files on another client with BareosBareos: concurrent backup tasks of different priority?













0















After reading documentation and many blog I still can't figure out what is missing in my FileSet so Bareos backup only csv and pdf files:



FileSet { 
Name = "HQ ccomp"

Include {
Options {
IgnoreCase = yes
WildFile = "*.csv"
WildFile = "*.pdf"
Exclude = no
}

File = "e:/folder/emails"
}
}









share|improve this question














bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • The *.Z and *.gz files will indeed be backed up, but all other files that are not matched by the Options directives will automatically be backed up too (i.e. that is the default rule). [doc.bareos.org/master/html/… (doc.bareos.org/master/html/…)

    – elsadek
    Apr 12 '16 at 14:22


















0















After reading documentation and many blog I still can't figure out what is missing in my FileSet so Bareos backup only csv and pdf files:



FileSet { 
Name = "HQ ccomp"

Include {
Options {
IgnoreCase = yes
WildFile = "*.csv"
WildFile = "*.pdf"
Exclude = no
}

File = "e:/folder/emails"
}
}









share|improve this question














bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • The *.Z and *.gz files will indeed be backed up, but all other files that are not matched by the Options directives will automatically be backed up too (i.e. that is the default rule). [doc.bareos.org/master/html/… (doc.bareos.org/master/html/…)

    – elsadek
    Apr 12 '16 at 14:22
















0












0








0








After reading documentation and many blog I still can't figure out what is missing in my FileSet so Bareos backup only csv and pdf files:



FileSet { 
Name = "HQ ccomp"

Include {
Options {
IgnoreCase = yes
WildFile = "*.csv"
WildFile = "*.pdf"
Exclude = no
}

File = "e:/folder/emails"
}
}









share|improve this question














After reading documentation and many blog I still can't figure out what is missing in my FileSet so Bareos backup only csv and pdf files:



FileSet { 
Name = "HQ ccomp"

Include {
Options {
IgnoreCase = yes
WildFile = "*.csv"
WildFile = "*.pdf"
Exclude = no
}

File = "e:/folder/emails"
}
}






backup bacula bareos






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 12 '16 at 11:36









elsadekelsadek

179110




179110





bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • The *.Z and *.gz files will indeed be backed up, but all other files that are not matched by the Options directives will automatically be backed up too (i.e. that is the default rule). [doc.bareos.org/master/html/… (doc.bareos.org/master/html/…)

    – elsadek
    Apr 12 '16 at 14:22





















  • The *.Z and *.gz files will indeed be backed up, but all other files that are not matched by the Options directives will automatically be backed up too (i.e. that is the default rule). [doc.bareos.org/master/html/… (doc.bareos.org/master/html/…)

    – elsadek
    Apr 12 '16 at 14:22



















The *.Z and *.gz files will indeed be backed up, but all other files that are not matched by the Options directives will automatically be backed up too (i.e. that is the default rule). [doc.bareos.org/master/html/… (doc.bareos.org/master/html/…)

– elsadek
Apr 12 '16 at 14:22







The *.Z and *.gz files will indeed be backed up, but all other files that are not matched by the Options directives will automatically be backed up too (i.e. that is the default rule). [doc.bareos.org/master/html/… (doc.bareos.org/master/html/…)

– elsadek
Apr 12 '16 at 14:22












1 Answer
1






active

oldest

votes


















0














The Exclude mechanism in Bareos/Bacula is quite baroque. Your fileset will by default include all files below your specified directory, and *.csv doubly so. This is an instance of Configuration 9.20 - non-working example in the documentation.



In other words, you need a rule to exclude everything to make the WildFile parameter have effect. The idiomatic way of writing this is to add another Options section at the bottom of your Include section:



Options {
RegexFile = ".*"
Exclude = yes
}


It is important that you use RegexFile or WildFile, since Bareos will not descend into sub-directories if the exclude rule matches a directory.



Ordering matters: The first Options section which matches a file or directory will decide what to do.




The wildcard and regular expression pattern matching parts of the Options resources are checked in the order they are specified in the FileSet until the first one that matches. Once one matches, the compression and other flags within the Options specification will apply to the pattern matched.







share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f769760%2fbareos-backups-all-files-despite-of-a-custom-fileset%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The Exclude mechanism in Bareos/Bacula is quite baroque. Your fileset will by default include all files below your specified directory, and *.csv doubly so. This is an instance of Configuration 9.20 - non-working example in the documentation.



    In other words, you need a rule to exclude everything to make the WildFile parameter have effect. The idiomatic way of writing this is to add another Options section at the bottom of your Include section:



    Options {
    RegexFile = ".*"
    Exclude = yes
    }


    It is important that you use RegexFile or WildFile, since Bareos will not descend into sub-directories if the exclude rule matches a directory.



    Ordering matters: The first Options section which matches a file or directory will decide what to do.




    The wildcard and regular expression pattern matching parts of the Options resources are checked in the order they are specified in the FileSet until the first one that matches. Once one matches, the compression and other flags within the Options specification will apply to the pattern matched.







    share|improve this answer




























      0














      The Exclude mechanism in Bareos/Bacula is quite baroque. Your fileset will by default include all files below your specified directory, and *.csv doubly so. This is an instance of Configuration 9.20 - non-working example in the documentation.



      In other words, you need a rule to exclude everything to make the WildFile parameter have effect. The idiomatic way of writing this is to add another Options section at the bottom of your Include section:



      Options {
      RegexFile = ".*"
      Exclude = yes
      }


      It is important that you use RegexFile or WildFile, since Bareos will not descend into sub-directories if the exclude rule matches a directory.



      Ordering matters: The first Options section which matches a file or directory will decide what to do.




      The wildcard and regular expression pattern matching parts of the Options resources are checked in the order they are specified in the FileSet until the first one that matches. Once one matches, the compression and other flags within the Options specification will apply to the pattern matched.







      share|improve this answer


























        0












        0








        0







        The Exclude mechanism in Bareos/Bacula is quite baroque. Your fileset will by default include all files below your specified directory, and *.csv doubly so. This is an instance of Configuration 9.20 - non-working example in the documentation.



        In other words, you need a rule to exclude everything to make the WildFile parameter have effect. The idiomatic way of writing this is to add another Options section at the bottom of your Include section:



        Options {
        RegexFile = ".*"
        Exclude = yes
        }


        It is important that you use RegexFile or WildFile, since Bareos will not descend into sub-directories if the exclude rule matches a directory.



        Ordering matters: The first Options section which matches a file or directory will decide what to do.




        The wildcard and regular expression pattern matching parts of the Options resources are checked in the order they are specified in the FileSet until the first one that matches. Once one matches, the compression and other flags within the Options specification will apply to the pattern matched.







        share|improve this answer













        The Exclude mechanism in Bareos/Bacula is quite baroque. Your fileset will by default include all files below your specified directory, and *.csv doubly so. This is an instance of Configuration 9.20 - non-working example in the documentation.



        In other words, you need a rule to exclude everything to make the WildFile parameter have effect. The idiomatic way of writing this is to add another Options section at the bottom of your Include section:



        Options {
        RegexFile = ".*"
        Exclude = yes
        }


        It is important that you use RegexFile or WildFile, since Bareos will not descend into sub-directories if the exclude rule matches a directory.



        Ordering matters: The first Options section which matches a file or directory will decide what to do.




        The wildcard and regular expression pattern matching parts of the Options resources are checked in the order they are specified in the FileSet until the first one that matches. Once one matches, the compression and other flags within the Options specification will apply to the pattern matched.








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 4 '16 at 10:35









        Kjetil Torgrim HommeKjetil Torgrim Homme

        364




        364






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f769760%2fbareos-backups-all-files-despite-of-a-custom-fileset%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...