Hello Stefanie

I like to include another option only to deal the exclude files

FileSet {
   Name = "testnix-2017"
   Include {
     Options {
       wilddir = "/*/nobackup"
       wildfile = "*.tmp"
       Exclude = yes
     }
     Options {
       signature = MD5
       compression = GZIP
       noatime = yes
       onefs = yes
       ignore case = yes
     }
     #File = /etc
     #File = /home
     File = /root
     #File = /opt                # Bacula
     #File = /var/log
     #File = /srv
   }
   Exclude {
      #File = "/root/nobackup"
   }
}

Before excluding:
*estimate listing level=Full job=Backup_Servidor_Bacula
Using Catalog "MyCatalog"
Connecting to Client srv_bacula-fd at localhost:9102
-rw-r--r--   1 root     root                      0 2018-12-05 10:58:28
/root/root
-rwxrwxrwx   1 root     root                    260 2019-01-15 07:42:22
/root/nobackup/opa.sh
drwxr-xr-x   2 root     root                   4096 2019-01-15 07:42:22
/root/nobackup
-rw-r--r--   1 root     root                    955 2019-01-11 15:47:24
/root/egroupware-epl-install.log
-rw-r--r--   1 root     root                      0 2019-01-15 07:44:36
/root/test.tmp
-rwxr-xr-x   1 root     root                   5828 2017-09-26 10:15:54
/root/_send_telegram.sh
-rwxrwxrwx   1 root     root                   1049 2017-05-23 16:53:02
/root/catalog.sh
-rwxrwxrwx   1 root     root                    280 2017-05-23 15:01:06
/root/while_com_end.sh
-rw-r--r--   1 root     root                  25449 2018-12-05 11:00:16
/root/teste.txt
-rwxrwxrwx   1 root     root                    428 2017-05-23 21:37:23
/root/run.sh
drwx------  14 root     root                   4096 2019-01-15 07:47:06
/root
2000 OK estimate files=11 bytes=34,249



After excluding:
*estimate listing level=Full job=Backup_Servidor_Bacula
Using Catalog "MyCatalog"
Connecting to Client srv_bacula-fd at localhost:9102
-rw-r--r--   1 root     root                      0 2018-12-05 10:58:28
/root/root
-rw-r--r--   1 root     root                    955 2019-01-11 15:47:24
/root/egroupware-epl-install.log
-rwxr-xr-x   1 root     root                   5828 2017-09-26 10:15:54
/root/_send_telegram.sh
-rwxrwxrwx   1 root     root                   1049 2017-05-23 16:53:02
/root/catalog.sh
-rwxrwxrwx   1 root     root                    280 2017-05-23 15:01:06
/root/while_com_end.sh
-rw-r--r--   1 root     root                  25449 2018-12-05 11:00:16
/root/teste.txt
-rwxrwxrwx   1 root     root                    428 2017-05-23 21:37:23
/root/run.sh
drwx------  14 root     root                   4096 2019-01-15 07:47:46
/root
2000 OK estimate files=8 bytes=33,989


Best regards

*Wanderlei Hüttel*
http://www.bacula.com.br


Em ter, 15 de jan de 2019 às 07:28, Stefanie Leisestreichler <
stefanie.leisestreich...@peter-speer.de> escreveu:

> Hi.
>
> I have this FileSet Definition. Why is exclude not working and folder
> nobackup is backuped?
> For test purposes I have created a folder /root/nobackup
>
> Bacula version is 9.2.0.
>
> Thanks.
> Stefanie
>
>
> FileSet {
>    Name = "testnix-2017"
>    Include {
>      Options {
>        signature = MD5
>        compression = GZIP
>        noatime = yes
>        onefs = yes
>        ignore case = yes
>        Exclude = yes
>        wilddir = "nobackup"
>        wildfile = "*.tmp"
>
>      }
>      #File = /etc
>      #File = /home
>      File = /root
>      #File = /opt                # Bacula
>      #File = /var/log
>      #File = /srv
>    }
>    Exclude {
>
>    }
> }
>
>
>
> _______________________________________________
> 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