Exclusions in FileSet. Absolutely necessary?

20 views
Skip to first unread message

John Lockard

unread,
Dec 13, 2024, 12:26:58 PM12/13/24
to bareos-users
Hi All,

In the sample Linux Fileset config file, the volume to backup is listed "File=/", and there's a short list of exclusions:
  Exclude {
    File = /var/lib/bareos
    File = /var/lib/bareos/storage
    File = /proc
    File = /dev
    File = /sys
    File = /tmp
    File = /var/tmp
    File = /.journal
    File = /.fsck
  }

At least on my system, /proc, /dev, /sys are all different filesystem types from what's llisted in the "backup these filesystems" list (proc, devtmpfs, sysfs).  Do I even need to include those directory paths in my Exclude list?  Could it cause "confusion" if they remained? Or, are those filesystem types "special" and backed up if they are found while traversing a filesystem?  Also, if I have multiple filesystem mounts (/, /home, /data for example), and all are a supported FS (ext4, for example), will they all be backed up with
  One FS = no
  File = /
Or, will I need to?
  One FS = no
  File = /
  File = /home
  File = /data

Thanks,
-John

Philipp Storz

unread,
Dec 13, 2024, 12:33:02 PM12/13/24
to bareos...@googlegroups.com
Hello John,

I hope that the docs are clear:

https://docs.bareos.org/Configuration/Director.html#config-Dir_Fileset_Include_Options_FsType
and
https://docs.bareos.org/Configuration/Director.html#config-Dir_Fileset_Include_Options_OneFs

In short
> One FS = no
> File = /
should be enough if the fs type setting is correct.

If in doubt, you can always verify what happens using "estimate listing".

regards,

Philipp

Am 13.12.24 um 18:26 schrieb John Lockard:
> --
> 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+un...@googlegroups.com <mailto:bareos-users...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/bareos-users/906ca1b1-d92e-45b5-
> beff-983fdef72ac2n%40googlegroups.com <https://groups.google.com/d/msgid/bareos-users/906ca1b1-
> d92e-45b5-beff-983fdef72ac2n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Mit freundlichen Grüßen

Philipp Storz philip...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com

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

Die "dass IT GmbH" wurde mit der "Bareos GmbH & Co. KG" verschmolzen,
siehe https://www.bareos.com/de/dassit-verschmelzung/
Reply all
Reply to author
Forward
0 new messages