Today I started playing with Wild options. The goal: backup the webserver logs in /usr/websites/log. My log rotate each night. So yesterday's log is: langille.org-access.log.0
I didn't want to backup everything in that directory, just files ending in 0. Here is what I found worked: Include { Options { signature = MD5 WildFile = "*.0" } Options { Exclude = yes WildFile = "*" } File = /usr/websites/log } I got my first hint from : http://www.bacula.org/dev-manual/Configuring_Director.html But they use a regex: FileSet { Name = "Full Set" Include { Options { wildfile = "*.Z" wildfile = "*.gz" } Options { Exclude = yes RegexFile = "^.?*$" } File = /myfile } } In my case, there are no subdirectories. And it works.... cheers -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users