BConsole List Syntax

29 views
Skip to first unread message

Athame Parnitha

unread,
Nov 17, 2025, 7:23:18 AM (13 days ago) Nov 17
to bareos-users
Greetings.

Currently i am trying to create a fileset with the bconsole utility.

As per documentation the syntax for Lists seems to be different then just the normal variable=value syntax.
Sadly i havn't found any examples that state how to properly write the list syntax.

When i try sth. like `*configure add fileset name=example include {"/etc/"}` i get sth like `Missing value for directive "include"`.

The documentation states that after the include and '{' no '=' shall be stated.
So what is the expected syntax here?

Jörg Steffens

unread,
Nov 17, 2025, 9:43:29 AM (13 days ago) Nov 17
to bareos...@googlegroups.com
Hello Athame,

I fear, creating a fileset by "configure add" isn't possible, exactly
because of the complex syntax in this case.

Regards,
Jörg

On 17.11.25 at 13:23 wrote 'Athame Parnitha' via bareos-users:
> --
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bareos-users...@googlegroups.com <mailto:bareos-
> users+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/bareos-
> users/6748deac-eb47-4752-9fb6-1d31800c4faan%40googlegroups.com <https://
> groups.google.com/d/msgid/bareos-users/6748deac-
> eb47-4752-9fb6-1d31800c4faan%40googlegroups.com?
> utm_medium=email&utm_source=footer>.


--
Jörg Steffens joerg.s...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 630693-91
https://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

Athame Parnitha

unread,
Nov 17, 2025, 10:06:11 AM (13 days ago) Nov 17
to bareos-users
Greetings.

In that case what would be the recommended approach?

I'd assume that creating the file by hand and doing a reloading would be ok but
lets assume i am a user that has only access to the web-ui and thus only access to bconsole.

How would one create all the required files to create jobs and such?

Jörg Steffens

unread,
Nov 18, 2025, 9:49:49 AM (12 days ago) Nov 18
to bareos...@googlegroups.com
Hi,

that depends, but first of all: you shouldn't give normal users the
"configure" command ACL, because then they have the permission to create
new users and ACL, so can create unlimited access to the director.

A typical use-case is to let the admin of a system define what files to
backup. You can specify a fileset, that reads a file on the client,
where the paths to backup are specified:

FileSet {
Name = "ClientDefinedBackup"
Include {
File=<</etc/backup-paths
}
}

And /etc/backup-paths (on the client) contains:
/home/userA
/home/userB
...

See
https://docs.bareos.org/Configuration/Director.html#config-Dir_Fileset_Include_File

Regards,
Jörg

On 17.11.25 at 16:06 wrote 'Athame Parnitha' via bareos-users:
> bareos- <https://groups.google.com/d/msgid/bareos->
> > users/6748deac-eb47-4752-9fb6-1d31800c4faan%40googlegroups.com
> <http://40googlegroups.com> <https://
> > groups.google.com/d/msgid/bareos-users/6748deac- <http://
> groups.google.com/d/msgid/bareos-users/6748deac->
> > eb47-4752-9fb6-1d31800c4faan%40googlegroups.com
> <http://40googlegroups.com>?
> > utm_medium=email&utm_source=footer>.
>
>
> --
> Jörg Steffens joerg.s...@bareos.com
> Bareos GmbH & Co. KG Phone: +49 221 630693-91 <tel:
> +49%20221%2063069391>
> https://www.bareos.com <https://www.bareos.com>
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Komplementär: Bareos Verwaltungs-GmbH
> Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz
>
> --
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bareos-users...@googlegroups.com <mailto:bareos-
> users+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/bareos-
> users/37da07f4-b650-415c-afe9-815438787efdn%40googlegroups.com <https://
> groups.google.com/d/msgid/bareos-users/37da07f4-b650-415c-
> afe9-815438787efdn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Jörg Steffens

unread,
Nov 18, 2025, 9:55:09 AM (12 days ago) Nov 18
to bareos...@googlegroups.com
Sorry, typo.
It is:

FileSet {
Name = "ClientDefinedBackup"
Include {
File = "\\</etc/backup-paths"
}
}

On 18.11.25 at 15:49 wrote Jörg Steffens:
Reply all
Reply to author
Forward
0 new messages