X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=docs%2Fmanuals%2Fen%2Fmain%2Ffileset.tex;h=593d17669c735b9b081490dd3496b929afd4949c;hb=c123310ccbfb03c543bdf2dffa035fd893c9a006;hp=3d53156464c118921e0502641bb28bc72fa5d28d;hpb=348fd26f9d9df1f6675683fef7da3963e866cfef;p=bacula%2Fdocs diff --git a/docs/manuals/en/main/fileset.tex b/docs/manuals/en/main/fileset.tex index 3d531564..593d1766 100644 --- a/docs/manuals/en/main/fileset.tex +++ b/docs/manuals/en/main/fileset.tex @@ -517,9 +517,9 @@ Change: 2005-11-06 12:36:48.000000000 +0100 ndbm. The default is {\bf no}, so no checks are made for sparse files. You may specify {\bf sparse=yes} even on files that are not sparse file. No harm will be done, but there will be a small additional overhead to - check for buffers of all zero, and a small additional amount of space on - the output archive will be used to save the seek address of each - non-zero record read. + check for buffers of all zero, and if there is a 32K block of all zeros + (see below), that block will become a hole in the file, which + may not be desirable if the original file was not a sparse file. {\bf Restrictions:} Bacula reads files in 32K buffers. If the whole buffer is zero, it will be treated as a sparse block and not written to @@ -547,6 +547,9 @@ Change: 2005-11-06 12:36:48.000000000 +0100 benchmark the difference or set sparse for only those files that are really sparse. + You probably should not use this option on files or raw disk devices + that are not really sparse files (i.e. have holes in them). + \label{readfifo} \item [readfifo=yes\vb{}no] \index[dir]{readfifo} @@ -1832,7 +1835,7 @@ FileSet { Include { File = /home/xxx/test Options { - regex = ".*\.c$" + regex = ".*\\.c$" } } } @@ -1848,4 +1851,5 @@ estimate job= listing client= fileset=Test \end{verbatim} \normalsize -to give you a listing of all files that match. +to give you a listing of all files that match. In the above +example, it should be only files with names ending in {\bf .c}.