[Aide] Checking database against moved directory?
Hannes von Haugwitz
hannes at vonhaugwitz.com
Sun Oct 9 10:34:16 EEST 2011
Hallo,
On Sat, Oct 08, 2011 at 03:12:19PM -0700, Yan Li wrote:
> On the old machine where the AIDE database was generated, the data was
> in /data directory, but on the new machine the data is now stored in
> /Volume/Data (yeah, it's a Mac, that's why it's moved). And there's no
> easy way to use old name for the directory.
>
> Is there any easy way to tell AIDE to check the database against files
> in new location (/Volume/Data here) rather than using old directory
> location (/data) ?
The git version of AIDE (see [0]) has an option called root_prefix.
If your database was created with the rule '/data <ATTRIBUTES>' you can
use 'root_prefix=/Volume' to check the database against the data in
'/Volume/data' (so you have to rename that directory before).
Greetings
Hannes
[0] http://sourceforge.net/scm/?type=git&group_id=86976
More information about the Aide
mailing list