(note, I posed this on #bacula very recently, in abbreviated form.
Sorry for dupes)
I use bacula for both backups and as part of intrusion detection. The
IDS part is so if this public webserver gets hacked, I can see all the
files changed, and revert them.
To do this properly, I need an easy way to say to bacula,
show me all versions of file /blah/file
(a ha, it's in Full job 10, and changed in Incremental job 17)
now, get me the versions of /blah/file in jobs 10 and 17, and drop
them somewhere so I can compare
There doesn't seem to be a neat way for me to do this. The best I've
come up with is to use custom SQL queries, and search for the right
FilenameId and PathId, which resolves to a list of JobIds, FileIds and
corresponding MD5 sums. From this, I can initiate two manual restore
jobs and then compare files.
It's a very handraulic task at the moment. Is there an easier way to do
this?
Specifically, is there a way, once I have a FileId, of scripting a
restore of that file to a directory, rather than launching the restore
task and navigating the quasi-filesystem and marking the file?
Thanks,
Tony Lewis
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users