On Fri, 6 Sept 2024 at 14:44, Mehrdad Ravanbod <mehrdad.ravan...@ampfield.se> wrote: > Hi everyone > > I am testing Bacula and have encountered a strange problem. When i try > to restore files from a backup and specify another directory with suffix > added (using the "Relocate files with prefix and/or suffix" option in > bacularis), bacula ignores the directory path i specify and restores to > original path, it however does add the suffix i specify > > Anyone knows/understands why?? is this a bug in bacularis or working as > intended? should i use bconsole for this or is there something else(some > other option) i have not seen so far
Hello Mehrdad, The file relocation options for users using it for the first time require some tries to see how it works. The restore directory path does not work with them, because it is overwritten by these options. To change the destination path with used the file relocation options, there could be used "Add prefix" option with a directory path, for example Add prefix = /tmp/myrestore/ More details about the file relocation option you can find here: https://www.bacula.org/15.0.x-manuals/en/main/Restore_Command.html#SECTION0030600000000000000000 Best regards, Marcin Haba (gani) _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users