There is a fileset example to get only selected files by extension: http://www.bacula.org/7.4.x-manuals/en/main/Configuring_Director.html#SECTION001780000000000000000
FileSet {
Name = "Full Set"
Include {
Options {
wildfile = "*.Z"
wildfile = "*.gz"
}
Options {
Exclude = yes
RegexFile = ".*"
}
File = /myfile
}
}
############################################################################
I've try this way below, but estimate and backup got a lot of empty
folder unnecessary
FileSet {
Name = "FileSet_PDF"
Include {
Options {
wild = "*.pdf"
signature = md5
compression = gzip
ignorecase = yes
}
Options {
RegexFile = ".*"
Exclude = yes
}
File = "C:/Dados"
}
}
############################################################################
I've try to create an script do generate and in this way worked.
FileSet {
Name = "FileSet_PDF"
Include {
Options {
signature = md5
compression = gzip
ignorecase = yes
}
File = "\\| powershell.exe C:/'Program
Files'/Bacula/scripts/listar_arquivos_pdf.ps1"
}
}
There is a better way using regex to get only files by some extension,
without unnecessary empty folders?
Best Regards
*Wanderlei Hüttel*
http://www.huttel.com.br
listar_arquivos_pdf.ps1
Description: Binary data
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi
_______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
