Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matsumotory/ext3_salvage_tool
https://github.com/matsumotory/ext3_salvage_tool
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/matsumotory/ext3_salvage_tool
- Owner: matsumotory
- Created: 2013-07-09T13:07:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-09T16:21:19.000Z (over 11 years ago)
- Last Synced: 2024-10-18T18:28:56.630Z (3 months ago)
- Size: 340 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ext3 file system salvage tool
Need Perl Modules
class accessorimplemented duplicate check to extundelete.
## Compile salvage tool
```
cd tools
yum -y install e2fsprogs-devel
aclocal
automake
autoconf
./configure --prefix=`pwd`
make
make install
```## SALVAGE
- set salvage params```
vi salvage_data.pl
```
```perl
# salvage parameter
# 2013/7/09 12:00 == 1373338800
# $salvage_after: only process entries deleted on or after 'dtime'.
# $salvage_dir: target directory for undelete
# $salvage_dev: target device-file
my $salvage_after = '1373338800';
my $salvage_dir = '/tmp';
my $salvage_dev = '/dev/sdb1';
```- run
```
mount -o remount,ro $(salvage_dev)
./salvage_data.pl
```- undelete data into ``SALVAGED_DATA/RECOVERED_FILES/$(full-path-files)``
- duplicated inode list into ``SALVAGED_DATA/SUSPECT_LIST.txt``