Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recover Deleted Files 1

Status
Not open for further replies.

cindylc

Programmer
Nov 17, 2000
1
US
Hi,

Does anybody has a Unix script that will recover deleted files?

Thank you in advance,

Cindy
 
Hi Cindy
try this
click Download area

Good Look Juerg

*******************
You are a computer user that has deleted by accident some files. You're latest backup is not recent enough and you're wandering if there is a change for recovery.

You are a system administrator and you want to know if one of your user had some unauthorised files stored on your disks, but the user is aware of your research and has deleted these files already and no backups available.

In all these case, you could be interested by the following software you can download for free from this web-site.

Software characteristics :

software will scan all inodes and determs how many 'files' could be recovered.
determs file-type
show first 80 bytes of file
try to determ pathname of file
two executables :
one for V3 filesystems : v3fslist
one for V4.1 filesystems : v41fslist
one for V4.2 filesystems : v42fslist
one for V4.3 filesystems : v43fslist
doesn't need root permission for executing
only requires READ permission to the logical volume you want to 'list'
easy usage 'vxfslist filename' will give you a list of recoverable data
sample output of interactive mode, checking out the files to be recovered on /dev/hd2 :
$ v42fslist -i /dev/hd2
## Filesystem Utilities from Compunix. Version v3.1.2
## Copy of v42fslist utility (not possible to recover files).
## For a recovery utility, please contact info@compunix.com
##
# starting interactive mode for filesystem on /dev/hd2
# Reading inode table.done.
# Building directory table. done.
# 172032 inodes to scan.
# 172032 inodes scanned.
# 172032 blocks scanned.
Current filesystem : /dev/hd2
144 interesting inodes in directory /.INODES.
18 interesting single blocks in directory /.SBLOCK.
0 interesting double blocks in directory /.DBLOCK.
Current directory /
> ls
drwxr-xr-x 1536 Aug 05 23:13 [.]/3
drwxr-xr-x 1536 Aug 05 23:13 [..]/3
dr-xr-xr-x .DBLOCK/ 0
dr-xr-xr-x .INODES/ 144
dr-xr-xr-x .SBLOCK/ 18
drwxr-xr-x 1024 Aug 01 10:58 [lpp]/1
-rw-r--r-- 200 Aug 05 19:30 mount.a23306
-rw-r--r-- 1273 Aug 05 19:30 mount.t23306
Current directory /
> od mount.a23306
2496
3546
5312
6126
6672
7442
7768
8022
8256
9306
9882
10456
11768
14950
16424
1
Current directory /
> quit

sample output of listing recoverable file for the /-filesystem :
$ v3fslist /
# listing recoverable files for filesystem on hd4
#
# 2 inodes found that could be interesting.
#
#
Interesting inode perm: f---r--r--r-- ln: 0
# uid:root(0) gid:system(0) sz:748
# File type : [commands text]
# First 80 bytes :
#> /*********************************************************************
#> * (c) Co
# Direct addressed: a0: 732
# Access time: Thu Mar 23 20:58:50 1995
# Modification time: Wed Nov 9 14:33:06 1994
# Changed time: Thu Mar 23 21:03:48 1995
#
#
Interesting inode perm: f---r--r--r-- ln: 0
# uid:root(0) gid:system(0) sz:1247
# File type : [commands text]
# First 80 bytes :
#> /* XPM */
#> /*********************************************************************
# Direct addressed: a0: 733
# Access time: Thu Mar 23 20:58:50 1995
# Modification time: Wed Nov 9 14:33:06 1994
# Changed time: Thu Mar 23 21:03:48 1995
#
#


--------------------------------------------------------------------------------
Here to download page for AIX V3.2 filesystems (v3fslist).
Here to download page for AIX V4.1 filesystems (v41fslist).
Here to download page for AIX V4.2 filesystems (v42fslist).
Here to download page for AIX V4.3 filesystems (v43fslist).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top