-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage, WiredTiger
-
Storage Execution
-
Fully Compatible
-
ALL
to repro:
1) start up a mongod with --storageEngine=wiredTiger
2) insert some data
3) shut it down.
4) use the "wt" command to try to generate a backup:
./wt -C "extensions=[./ext/compressors/snappy/.libs/libwiredtiger_snappy.so]" -h /data/db/copied_path2/ backup /tmp lt-wt: /data/db/copied_path2//WiredTigerLog.0000000011: No such file or directory
The file that it looks for is actually in journal/ within the specified path, but the WT command won't look in there. It still won't work even when trying to specifically point it to journal/ :
$ ./wt -C "extensions=[./ext/compressors/snappy/.libs/libwiredtiger_snappy.so],log=(path=journal)" -h /data/db/copied_path2 backup /tmp/ lt-wt: /data/db/copied_path2/WiredTigerLog.0000000015: No such file or directory $ ./wt -C "extensions=[./ext/compressors/snappy/.libs/libwiredtiger_snappy.so]" -h /data/db/copied_path2/journal backup /tmp/ [1421186937:53197][11490:0x7f308da78740], wiredtiger_open: /data/db/copied_path2/journal/WiredTiger: No such file or directory lt-wt: No such file or directory
- duplicates
-
WT-1559 backup log URIs need to use log path
- Backlog