hi again and thanks for you help. i doesn't work either. i tried include=yes and other things like exclude = no. actually, with "include=yes", bacula throws the following message:
Config error: Keyword include not permitted in this resource En/na Monstad ha escrit: > Hi there, > > Whenever I've used the wilddir option Ive had use an "include = yes" line in > the Options section. I use an earlier version of bacula however, but it > might work for you. > > ie: > > FileSet { > Name = "sanab" > Options { > wilddir = "/mnt/san/usr/home/a*" > wilddir = "/mnt/san/usr/home/b*" > include = yes > } > } > } > > Hope that works for you > > -Kris > > > > > Jordi Moles wrote: > >> Hi, >> >> what you told me makes an empty backup, it doesn't backup anything at >> all, 0 files. However it doesn't say it failed, it doesn't send any >> error message. >> >> any other idea? >> >> thank you. >> >> En/na Monstad ha escrit: >> >>> It looks like your whole directory is being copied because of the >>> >>> "File = /mnt/san/usr/home/" >>> >>> Try removing this >>> >>> Cheers, >>> Kris >>> >>> >>> >>> 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 >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------- >> 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