vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hi All I have openBSD 3.4 running on x86. Unfortunately I deleted a number of files in a directory using the rm command in my home directory. # rm -rf /home/sriram/images/ the system itself is a standard install. I would like to request information on how I could retrieve the files back. I initially copied the top level directory from a Windows machine. I deleted the files on the Windows machine as well, but unfortunately using search and recover tools in Windows tools does not show the files.. Are there similar tools in OpenBSD ? please help.. Sriram |
| |||
| sriram.sitaraman@gmail.com wrote: > hi All > > I have openBSD 3.4 running on x86. Unfortunately I deleted a number of > files in a directory using the rm command in my home directory. > > # rm -rf /home/sriram/images/ > Yup. Everyone does this at least once in their lives. > the system itself is a standard install. > > I would like to request information on how I could retrieve the files > back. I initially copied the top level directory from a Windows > machine. I deleted the files on the Windows machine as well, but > unfortunately using search and recover tools in Windows tools does not > show the files.. > > Are there similar tools in OpenBSD ? please help.. > Not in the default install. There may be something in the ports tree that allows you to inspect the raw file directory entries to mark them in use (again) so you can retrieve them (if they have not already been written over). Unfortunately, the act of using the box increases the chance that the OS will overwrite the deleted files. Certainly running a ports build would likely do that. If this data is precious, down the server *now* and start investigating data recovery options. You either have to find a service to do it, or find a home-grown solution that allows you to non-destructively inspect a FFS disk to retrieve file info for files marked deleted. |
| |||
| In article <1153099671.576755.183830@b28g2000cwb.googlegroups .com>, <sriram.sitaraman@gmail.com> wrote: >hi All > >I have openBSD 3.4 running on x86. Unfortunately I deleted a number of >files in a directory using the rm command in my home directory. > ># rm -rf /home/sriram/images/ > > >the system itself is a standard install. > >I would like to request information on how I could retrieve the files >back. I initially copied the top level directory from a Windows >machine. I deleted the files on the Windows machine as well, but >unfortunately using search and recover tools in Windows tools does not >show the files.. Too bad, you can't. In any case, OpenBSD 3.4 is ancient, use the opportunity to update... |
| ||||
| thanks.. but just fyi : the program photorec - http://www.cgsecurity.org actually was able to salvage some deleted file.. with very minimum effort.. Srirma |