Hello Wanderlei, When I setup Bacula to backup Windows host for paths I use slashes what is recommended way in this case:
https://www.bacula.org/9.4.x-manuals/en/main/Configuring_Director.html#SECTION0020110000000000000000 To your question, I imagine that Bacula treats all paths as they are in Unix form with slashes, so I can understand that Bacula will look for slashes instead of backslashes as path separator. I mean here mainly backed up paths, not fileset definition. Best regards. Marcin On Fri, 3 May 2019 at 18:30, Wanderlei Huttel <wanderleihut...@gmail.com> wrote: > > Hello Marcin > > About file relocation > Do you know how bacula works with Windows clients? > I know if I restore in Windows clients, the the drive > "C:\somefolder\someanotherfolder" become "c/somefolder/someanotherfolder". > > > Best regards > > Wanderlei Hüttel > http://www.bacula.com.br > > > Em sex, 3 de mai de 2019 às 09:52, Marcin Haba <ganius...@gmail.com> escreveu: >> >> Hello Frédéric, >> >> To restore files without source paths you can use restore file >> relocation directives (Strip Prefix, Add Prefix or RegexWhere). They >> are also supported by Baculum in restore wizard. >> >> For example, for restoring files from path: >> >> /usr/local/bacula/working/ >> >> to /tmp/test/ directory you can use Add Prefix and Add Suffix >> directives in the following way: >> >> Strip Prefix = "/usr/local/bacula/working/" >> Add Prefix = "/tmp/test/" >> >> or alternatively you can define regular expression in RegexWhere directive: >> >> RegexWhere = "!/usr/local/bacula/working/!/tmp/test/!" >> >> (with regular expression you can do even more than in this simple sample.) >> >> Here on screen shots you can see the same in the Baculum restore wizard: >> >> https://ibb.co/CzD8zNS >> https://ibb.co/tCrS2n8 >> >> I hope it helps. >> >> Best regards. >> Marcin Haba (gani) >> >> On Fri, 3 May 2019 at 13:42, Frédéric F. <cipher1...@gmail.com> wrote: >> > >> > Hello, >> > >> > I have some questions about Bacula : >> > >> > How can I schedule jobs even/odd weeks (1 week out of 2) ? >> > >> > I have backup Jobs in pool files with a Volume Retention = 17 days >> > Day one, I Migrate these backup jobs to a LTO-6 Pool. >> > Then, when I restore some files, I need these cartdriges to restore, >> > normal it’s a migrate job. >> > Is there a way to restore from the file pool rather than use cartdrige >> > before the volume retention expiration (before 17 days) whitout using copy >> > jobs ? >> > >> > I use the Baculum GUI to restore files with this admin job : >> > >> > Job { >> > Name = "ADM-RestoreAdmin" >> > Type = Restore >> > Client=######## >> > Storage = File1 >> > FileSet="##########" >> > MaxRunSchedTime = 8 hour >> > Pool = File >> > Messages = Standard >> > Where = /tmp/bacula-restores >> > } >> > >> > When I want to restore a file to a folder (ex: /tmp/test) I have : >> > /tmp/test + source patch directory + files >> > Is it possible to restore without this source path in order to have files >> > directly in /tmp/test ? >> > >> > I didn’t see any restore option in this way. >> > >> > >> > Last question… How to except thumbs.db in my Windows Fileset ? >> > >> > FileSet { >> > Name = "F W_CHR" >> > Include { >> > Options { >> > signature = MD5 >> > IgnoreCase = Yes >> > } >> > File = "D:/Apache" >> > } >> > >> > >> > >> > Best regards >> > >> > _______________________________________________ >> > Bacula-users mailing list >> > Bacula-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> >> >> -- >> "Greater love hath no man than this, that a man lay down his life for >> his friends." Jesus Christ >> >> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie >> za przyjaciół swoich." Jezus Chrystus >> >> >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users