일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- http
- 디스크
- rsync
- rm
- ext3
- 리눅스
- Kernel
- windows
- Performance
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- 칭찬교육
- 좌절교육
- Bash
- apachetop
- PERL
- iptables
- Linux
- 솔라리스
- pid
- ext4
- PORT
- rm -rf
- DNS
- goaccess
- Cache
- Hack
- Python
- Disk
- cadre
- CPU
- Today
- Total
목록리눅스/백업 (5)
Ben's
* 올바른 예: 원래 의도대로 /root/imsi 하위 파일들이 sync에서 제외됨. strace rsync -av --exclude=/root/imsi/* --exclude /boot --exclude /var --exclude /usr --exclude /home / /disk 2> nhko.1 [root@zenoss /]# head -1 nhko.1 execve("/usr/bin/rsync", ["rsync", "-av", "--exclude=/root/imsi/*", "--exclude", "/boot", "--exclude", "/var", "--exclude", "/usr", "--exclude", "/home", "/", "/disk"], [/* 24 vars */]) = 0 * 올바르지 않..
삭제된 파일을 휴지통으로 넣어버리는 툴입니다. 기본 기능은 아래와 같고 삭제된 파일이 모이는 곳을 용량이 넉넉한 쪽의 특정 경로로 가게 하는 부분은 연구를 좀 더 해봐야 합니다. 참고링크 http://code.google.com/p/trash-cli/wiki/Download http://katselphrime.wo.tc/2013/03/12/trash-cli/ http://www.gnutoolbox.com/trashcli/ * INSTALL 1. python2.5 이상 설치 필요 2. trash-cli 을 설치하기 위한 easy_install-2.5 스크립트 추출 [root@zenoss trash-cli-0.11.3-r315]# /usr/local/python2.5/bin/python ./setup.py ..
http://extundelete.sourceforge.net/
* 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-n..
* 원래는 rsync 3.0.0 버전에서 소스컴파일 설치하면 기본적으로 acl 을 포함시켜 설치되게 되어 있지만 상황에 따라서 빠지는 경우 있음. 아래와 유사한 메시지 발생함 checking whether to support ACLs... ACLs requested -- running tests checking for acl_get_file in -lacl... no checking for ACL support... no checking ACL test results... configure: error: Failed to find ACL support * 이럴때 해결방법: acl, libacl, libacl-devel 을 yum install '패키지명' 으로 새로 설치를 해서 해결할 수 있음 [root..