Bacula-users

Re: [Bacula-users] Linux inotify

2012-10-16 13:41:35
Subject: Re: [Bacula-users] Linux inotify
From: "azurIt" <azurit AT pobox DOT sk>
To:
Date: Tue, 16 Oct 2012 19:39:39 +0200
>
>are there any plans to implement linux inotify selection of files to backup? 
>Thnx.
> 
>I'm curious how one would implement such a feature alongside the current 
>mechanism for selecting files.  I'm guessing that any time an inotify event 
>comes through for the file, that the Bacula File Daemon would add this file to 
>a table.  Then once per minute, or once per five minutes, Bacula File Daemon 
>will match all the files in the table stored in memory against the FileSet 
>Definition?
>
>However, I thought the FileSet Definition is stored on the Bacula Director 
>(not the client).  So maybe once per minute or once per five minutes the 
>FileDaemon will have some communication with the Director?
>
>Hope I'm not polluting the list, I have always been curious about this same 
>type of feature myself.
>
>Bryan
>


There are many ways how this can be done. Director can, for example, notify 
FileDaemon everytime a FileSet is changed. FileDaemon can store changes in 
SQLite database, storing in memory can be quite expensive.

Feature like this can _rapidly_ speed up the backup process.

azur

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users