>>>>> On Tue, 24 Jul 2007 12:05:47 +0200, Jordi Moles said: > > hi, i don't know if what i'm trying to do is actually possible, i've > been googleing for days with no anwers at all. > > i perform a backup every night from many servers. > one of them has grown so much that it made me realize i would need a new > bacula-dir configuration. It turns out that this servers has to store > over 300 gigabytes for every "Full Backup", so it takes 40 hours at > least to do so. > > I was thinking i could do something like this: > > on 1st monday of every month--> full backup from /usr/home/a* > on 2nd--> full backup from /usr/home/b* > and so on.... > > so... > > i wrote the first fileset which would be something like that: > > FileSet { > Name = "homesA" > Include{ > Options { > signature = MD5 > Compression = GZIP > exclude = yes > wilddir = */bacula-restores > } > # Fitxers a fer backup > File = /usr/home/a* > } > } > > > > first of all... would that be ok? would that only backup /usr/home/a* > excluding the any path including /bacula-restores?
No, you can't use wildcards in the File= line. Look at the final example in http://www.bacula.org/rel-manual/FileSet_Resource.html#SECTION001510000000000000000. > > > a part from that... i would like to know if i can configure bacula to do > the following: > > Schedule { > Name = "homesAschedule" > Run = Level=Full Pool=weekly Storage=backup Fileset=homesA 1st,3rd,5th > mon at 02:30 > Run = Level=Incremental Pool=daily Storage=backup Fileset=homesA > 1st,3rd,5th sun,tue,wed,thu,fri,sat at 02:30 > Run = Level=Incremental Pool=daily Storage=backup Fileset=homesA > 2nd,4th mon-sun at 02:30 > } > > > and then... we would have... > > Schedule { > Name = "homesBschedule" > Run = Level=Full Pool=weekly Storage=backup Fileset=homesB 1st,3rd,5th > tue at 02:30 > > .... and so on.... > > bacula breaks at "Fileset=homesA" saying this: > > 13-Jul 12:09 bacula-dir: ERROR TERMINATION at run_conf.c:380 > Config error: Job type field: Fileset in run record not found > > Filesets are properly defined and loaded. In fact, other bacula files > include these fileset files without any error launched. > > Do you have any idea how to fix that? or maybe you have another way to > backup /usr/home/a* and /usr/home/b* in different jobs? Yes, I think you will need two filesets, two schedules and two jobs. Fileset= is not a valid option in the Schedule. __Martin ------------------------------------------------------------------------- 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