On mercredi, 30 août 2017 21.34:59 h CEST Allan Patrick Ksiaskiewcz wrote:
> Good afternoon ? I understand the linux / windows differences regarding
> case sensitive paths, etc.
>
> For FileSet configuration there is a difference in syntax, my question
> would be for Linux:
>
> 01) Deleting an extension in a global way
I didn't understand what you want to achieve here.
> 02) How to exclude using wildcards.
>
You miss the option Exclude = yes in your Options {}
See documentation for that part.
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-1420009.5.1
Then Wilddir and Wildfile will be to it as exclusion, here only those file
will be picked.
I would recommend to only use one kind of exclude include and thus convert
your exclude.
> Below is an example I'm using, but linux does not exclude the
> extensions. Thanks for any help...
>
>
> FileSet {
> Name = "fileset-linux"
> Description = "fileset-linux"
> Include {
> Options {
> Signature = MD5
> compression = bzip
> One FS = No
> FS Type = btrfs
> FS Type = ext2
> FS Type = ext3
> FS Type = ext4
> FS Type = reiserfs
> FS Type = jfs
> FS Type = xfs
> FS Type = zfs
> WildFile = *.tar.gz
> WildFile = *.rar
> WildFile = *.zip
> WildFile = *.7z
> WildFile = *.iso
> WildFile = *.tib
> WildFile = *.v2i
> }
> File = /
> }
>
> Exclude {
> File = /var/lib/bacula
> File = /var/lib/bacula/storage
> File = /proc
> File = /tmp
> File = /var/tmp
> File = /.journal
> File = /.fsck
> File = /home/backups/full-image
> File = /home/*/.bash_history
> }
> }
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
Bareos Partner, openSUSE Member, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot
openSUSE Tumbleweed
Linux 4.12.8-1-default x86_64 GNU/Linux, nvidia: 384.69
Qt: 5.9.1, KDE Frameworks: 5.37.0, Plasma: 5.10.5, kmail2 5.6.0
--
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.