hi, that worked!! thank you very much.
that's how the final fileset looks like just in case someone is interested in the same thing i do: *********** FileSet { Name = "sanab" Include { Options { signature = SHA1 Compression = GZIP wilddir = "/mnt/san/usr/home/a*" wilddir = "/mnt/san/usr/home/b*" } Options { regexdir = .* exclude = yes } File = "/mnt/san/usr/home" } } *********** This will only backup /mnt/san/usr/home/a* and b* En/na Jan Dohl ha escrit: > Jordi Moles wrote: > >> hi, i would like to backup just something like >> >> /usr/home/a* >> >> >> reading bacula's documentation, i came up with this fileset: >> >> FileSet { >> Name = "sanab" >> Include { >> Options { >> wilddir = "/mnt/san/usr/home/a*" >> wilddir = "/mnt/san/usr/home/b*" >> } >> File = /mnt/san/usr/home/ >> } >> } >> >> >> >> this is exactly the example that they show you, except that i replaced >> /usr/home with /mnt/san/usr/home cause it's my situation. >> /mnt/san/usr/home is a mounted device through nfs. does that have any >> effect on the backup wilddir rules? >> >> well.. .that doens't work, it just makes a backup of the whole >> /mnt/san/usr/home. >> >> I'm using version 2.0.3 of bacula dir. >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> > > Hi, > > try adding the following options-block in addition to your current one: > > Options { > regexdir = .* > exclude = yes > } > > This should exclude every directory except the ones you have explicitly > included in the first options-block. > > Hope that helps, > Jan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users