>>>>> On Tue, 2 Jan 2018 09:55:47 -0200 (BRST), Heitor Faria said: > > > Hello Bacula Group, > > Hello, Claudia, > > > I would like to use a FileSet with a RegEx: > > > > File = /mnt/maildir/[0-9] > > The File directive does not support regex or wildcards, but there are > specific directives for them > <http://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#SECTION001470000000000000000>. > The Regex directive belongs to the FileSet Options sub-resource (e.g., > regex=string). > I think it must work together with the Exclude=yes directive, so you should > include File=/mnt/maildir and then use the regex to exclude (negate) the > paths that you don't wanna to backup. About this, I might be completely wrong > since I haven't used this feature for a while. Edit your fileset and test it > with the bconsole estimate listing command.
You do it by using the regex to include the paths you want and then exclude everything else (see the /home/a* example in http://www.bacula.org/9.0.x-manuals/en/main/Configuring_Director.html#SECTION001880000000000000000). > > > The directories are: > > > > /mnt/maildir/0 > > /mnt/maildir/1 > > .. > > /mnt/maildir/0 > > > > I gets the error message: > > > > "Could not stat "/mnt/maildir/[0-9]": ERR=No such file or directory" > > Regards, > > > -- > > > > Claudia Koch > > Systemadministratorin > > Central Technics > > > > Tele Columbus Betriebs GmbH > > Messe-Allee 2 > > 04356 Leipzig > > > > Telefon: +49 341 60952 207 > > E-Mail: ck...@telecolumbus.net > > http://www.telecolumbus.de > > > > Geschäftsführer: Ronny Verhelst, Frank Posnanski, Ludwig Modra > > Sitz der Gesellschaft: Goslarer Ufer 39, 10589 Berlin > > Amtsgericht Berlin-Charlottenburg HRB 176365 B > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- > =========================================================================== > Heitor Medrado de Faria | CEO Bacula do Brasil & USA | Visto EB-1 | LPIC-III > | EMC 05-001 | ITIL-F > • Não seja tarifado pelo tamanho dos seus backups, conheça o Bacula > Enterprise http://www.bacula.com.br/enterprise/ > • Ministro treinamento e implementação in-company do Bacula Community > http://www.bacula.com.br/in-company/ > Brazil +55 (61) 98268-4220 | USA +1 (323) 300-5387 | www.bacula.com.br > ============================================================================ > Indicamos as capacitações complementares: > Shell básico e Programação em Shell com Julio Neves | Zabbix com Adail Host. > ============================================================================ > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users