MongoDB 数据库恢复案例
mongo数据库恢复 mongo无法启动恢复 mongo删除数据恢复
mongo数据库恢复 mongo无法启动恢复 mongo删除数据恢复
客户名称 保密
数据类型 mongodb数据库 4.2
数据大小 20 GB
故障检测 在mongo使用过程中进行热拷贝数据库文件 然后重置了系统,却发现拷贝的数据库无法启动
2021-10-02T00:32:41.123+0800 W STORAGE [initandlisten] Detected unclean shutdown - G:\mongodb\DATA\mongod.lock is not empty.
2021-10-02T00:32:41.124+0800 I STORAGE [initandlisten] Detected data files in G:\mongodb\DATA created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2021-10-02T00:32:41.124+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
2021-10-02T00:32:41.124+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=64858M,cache_overflow=(file_max=0M),session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress],
2021-10-02T00:32:41.438+0800 I STORAGE [initandlisten] WiredTiger message [1633105961:437780][25200:140729127951072], txn-recover: Recovering log 21 through 23
2021-10-02T00:32:41.504+0800 I STORAGE [initandlisten] WiredTiger message [1633105961:504600][25200:140729127951072], txn-recover: Recovering log 22 through 23
2021-10-02T00:32:41.570+0800 I STORAGE [initandlisten] WiredTiger message [1633105961:569426][25200:140729127951072], txn-recover: Recovering log 23 through 23
2021-10-02T00:32:41.637+0800 I STORAGE [initandlisten] WiredTiger message [1633105961:637243][25200:140729127951072], txn-recover: Main recovery loop: starting at 21/1062912 to 23/256
2021-10-02T00:32:41.638+0800 I STORAGE [initandlisten] WiredTiger message [1633105961:637243][25200:140729127951072], txn-recover: Recovering log 21 through 23
2021-10-02T00:32:41.638+0800 E STORAGE [initandlisten] WiredTiger error (0) [1633105961:638241][25200:140729127951072], file:sizeStorer.wt, txn-recover: __wt_block_read_off, 283: sizeStorer.wt: read checksum error for 4096B block at offset 32768: block header checksum of 0xa22b884b doesn't match expected checksum of 0x520e38d1 Raw: [1633105961:638241][25200:140729127951072], file:sizeStorer.wt, txn-recover: __wt_block_read_off, 283: sizeStorer.wt: read checksum error for 4096B block at offset 32768: block header checksum of 0xa22b884b doesn't match expected checksum of 0x520e38d1
2021-10-02T00:32:41.638+0800 E STORAGE [initandlisten] WiredTiger error (0) [1633105961:638241][25200:140729127951072], file:sizeStorer.wt, txn-recover: __wt_bm_corrupt_dump
修复结果 从损坏的wt文件,然后提取数据库重建为新库完成恢复,经过校验数据恢复完整度99%。
深圳极佳数据救援中心友情提醒:重要数据一定要勤备份,遇到数据丢失数据损坏等问题,
要第一时间联系专业人士。
对于各类主流数据库,我们可以做底层的数据恢复及数据修复,对于数据库的某些特定故障可以快速
100%原模原样恢复,数据库立等可取。