Re: [Bacula-users] Fileset inclusion list question
2013-05-23 11:11:14
On 2013-05-23 08:30, Radosław Korzeniewski wrote:
> Hello,
>
> 2013/5/23 Jonathan Bayer <linuxgurugamer AT gmail DOT com
> <mailto:linuxgurugamer AT gmail DOT com>>
>
> Ok. So this is either a "feature" or a "bug" depending on your
> point of view :-)
>
>
> In my point of view it is not a "bug" nor a "feature". User wants to
> copy recursive all files from "/" and from "/usr" filesystems, so any
> available utility will copy some files twice in your case. User asked
> for it.
(I just had this discussion in the "RAIT" thread) It's how sequential
media works: you can write the same exact bytes to different locations
on the tape. This percolates to all streaming formats ("tar -c * *") and
related software, backup systems being the prime example. I was
half-hoping bacula uses the absolute path + checksum as the primary key
in its catalog (and so would not backup the same file twice), but no
such luck.
> I personally prefer a number of static fileset definitions which match
> expected filesystems on client machine.
I ended up doing
\\sh -c 'find ... -exec dirname \\{} \\; | sort | uniq'
because my filesets are not static -- but you need to make sure the
selector doesn't return files in a subdir *and* its parent dir (in my
case it shouldn't, fingers crossed ;-)
Dimitri
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|