Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- DNS
- Hack
- rm -rf
- ext4
- goaccess
- Performance
- Bash
- 리눅스
- Linux
- Kernel
- http
- windows
- iptables
- 칭찬교육
- rm
- apachetop
- cadre
- pid
- PORT
- PERL
- 디스크
- Cache
- Disk
- rsync
- 좌절교육
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- CPU
- 솔라리스
- ext3
- Python
Archives
- Today
- Total
Ben's
ext3grep 고마워 본문
728x90
* ext3grep 사용: rm 으로 삭제된 파일/디렉토리 복구
1. 삭제즉시 해당 파티션 read only로 바꾸거나 umount(umount 권장)
mount -o remount,ro /home
2. 추가 디스크 장착하여 파티셔닝/파일시스템 생성 / 임의의 마운트 포지션에 mount
3. ext3grep 설치
- http://ext3grep.googlecode.com/files/ext3grep-0.10.2.tar.gz
- ./configure && make && make install
4. cd "임의의 마운트 포지션"
5. ext3grep 복구 진행(주의!! dump, restore 같은 디렉토리에서 명령 내려야함.)
- dump : ext3grep --after=1359385200 --dump-names --accept-all /dev/sda4
- restore: ext3grep --restore-all --after=1359385200 /dev/sda4
6. unix time 계산(utc 기준이라서 kst에서 -9 시간해야함)
[root@zenoss ~]# date -d "Apr 16 15:00" +%s
1366092000
[root@zenoss ~]# date -d "Apr 16 18:00" +%s
1366102800
'리눅스 > 백업' 카테고리의 다른 글
rsync --exclude 옵션 잘못쓰면 대박 (0) | 2013.05.16 |
---|---|
trash-cli(이런 좋은게 있었네요) (0) | 2013.03.19 |
extundelete - file undelete util for ext4 (0) | 2013.02.08 |
rsync 설치시 acl 옵션이 추가가 안될때 처리 (0) | 2013.01.16 |