Hello Yateen,

I'm afraid regex is not a valid option for the bconsole restore command,
but only using the interactive mode.

There are a few options though. You can use bls/bextract to restore
specific files/directories (for these tools, you can use specific options
to do it) or you can create manually the bootstrap file and use it with the
bconsole restore command.

Hope it helps.

Best,
Ana

On Mon, Sep 18, 2023 at 2:19 PM Yateen Shaligram Bhagat (Nokia) <
yateen.shaligram_bha...@nokia.com> wrote:

> Hi all,
>
>
>
> We are using Bacula 9.4
>
>
>
> I need to use the bconsole restore command in a shell script; on a job
> that has all it’s file records pruned.
>
>
>
> So can I execute restore command with regex so as to pick only the
> specified dirs for restoration.
>
>
>
> If yes, what could be the command syntax ?
>
>
>
> Thanks
>
> Yateen Bhagat
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to