Code/Database (DB)
손상된 SQLite 데이터베이스 파일 복구
codens
2015. 7. 18. 02:52
손상된 Sqlite 데이터베이스 파일 고치기
- How to recover a corrupt SQLite3 database?
* 방법1 : 재 덤프
> sqlite3 old_x.db ".dump" | sqlite3 new.db
- Disk IO 에러인 경우는 복구가 안되는 경우가 있음
* 방법2 : 스키마 파일로 Export
> echo .dump | sqlite3.exe old_x.db > new.sql
> sqlite3.exe -init new.sql new.db
- 정상적인 부분까지는 추출가능
//===========================
SQLite 삭제된 레코드 복구 기법
http://www.itlkorea.kr/technote/view.html?No=1689&start=0
2014-07-07-SQLite 복구_PASS=1.7z
//===========
//참고
http://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database
http://community.spiceworks.com/how_to/1468-how-to-fix-corrupt-sqlite-database
반응형