Link to home
Start Free TrialLog in
Avatar of Rigged
RiggedFlag for South Africa

asked on

EXT3 Data recovery and activity Audit

Hi

We have a production/testing server (Ubuntu 606) which is open to all our developers and they have unrestricted access to certain directories on the server. These directories they usually mount into a location on there Worstations (ubuntu).
Some one has gone and deleted a few very important files and directories out of these directories and we need those files back - urgently (the backups are to old and useless) We believe they were deleted through one of the users mounts on their local machine and we are unable to see who or when these files were deleted as history and other logs only show the commands ran from the shell and locally on the server only.

Is there some way I can trace/audit/check what has happened with the files (if is is not possible, how can I configure something to monitor/audit the activity on the servers files and directories?)

Then also is there a way to easily recover the deleted files? (Raid 0; ext 3) We have tried tools like TestDisk and PhotoRec, but it dumps out way to many files making it close to impossible to find the right stuff.
SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rigged

ASKER

Thanks rindi, will give it a go. And let you know how it went.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rigged

ASKER

Rindi, the app works 100% though it is a bit risky to use with the raid 0. We tested it for interest sake on a few other boxes (without registering) and it found a lot of files. Though lucky for us one of the other technicians here made a backup of everything before he did a few other things. Thus saved on that front :D Thanks anyways.

Hey Jools
Thanks the one link for Process Accounting was quite useful, but the Link you supplied above for file auditing I can't get working for Ubuntu (page is for Fedora/RH and I still a bit stupid with Linux).
There isn't perhaps something similar for Ubuntu?

I believe the instructions are pretty much the same for all linux distros, for Ubuntu you will however need to use apt-get to install the packages and there may be some differences in the file locations which you could use `find` to locate them for you.
Avatar of Rigged

ASKER

Thanks For the Help Guys. Much Apretiated. The box where the fun happened uses specific Libc librarys for our development enviroment thus making it a bit dificult for the audit package to run. The boks is dew for replacement and we have tested if AuditD will run on the new one and it seams to be good.