Re: [Bacula-users] bconsole restore command with regex

2023-10-13 Thread heitor
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole restore command with regex

2023-10-13 Thread Ana Emília M . Arruda
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


[Bacula-users] bconsole restore command with regex

2023-09-18 Thread Yateen Shaligram Bhagat (Nokia)
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