Re: restore jobs ignore where

Marcin Haba <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAOqQBvNKrGv721ZO2R1fbp=xS2YH6qVsW=qhG4YFfAx5h9v2FA@mail.gmail.com>
On Mon, 9 Sept 2024 at 08:13, Mehrdad Ravanbod
<[email protected]> wrote:
>
> Hi marcin
>
> I got it to work thanx to your tip, there is just one detail which I
> thought u may like to know
> Unlike linux, or this to work in windows, one needs to use the strip
> prefix first and strip the windows driver letter designation
>
> so first Strip prefix <drive letter>
>
> and then add prefix, not sure exactly if one can have a wild card in
> drive letter strip for cases where one is not sure about it, i have to
> do some tests

Hi Mehrdad,

For removing the drive letters during restore, you can try to set the
Strip prefix option like this:

Strip prefix = [A-Za-z]:

and add prefix option to your desired restore path:

Add prefix = /your/restore/path

Best regards,
Marcin Haba (gani)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.