INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Recover Deleted Files

Recover Deleted Files

(OP)
Hi,

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

Thank you in advance,

Cindy

RE: Recover Deleted Files

Hi Cindy
try this
http://www.compunix.com/index_frames.html?/free.html
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).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close