-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.4
-
Component/s: mongorestore
-
None
We have a problem with restore data from OPLOGs file.
I have used below command to dump oplog for specific time:
mongodump --host address1:27017 -u user1 --authenticationDatabase admin -d local -c oplog.rs -o /home/monit/oplog --query '{ "ts" : { "$gte" : { "$timestamp": {"t": 1551191999, "i": 33589}}, "$lte" : { "$timestamp": {"t": 1551254369, "i": 3}}}}'
Now, when i'm trying restore data from oplog, i have below error:
[root@er-v1-2 local]# mongorestore --host address1:27017 -u user1 --oplogReplay --oplogLimit 1551254369:3 /home/monit/oplog/local
Enter password:
2019-02-28T11:54:27.787+0100 preparing collections to restore from
2019-02-28T11:54:27.787+0100 replaying oplog
2019-02-28T11:54:27.788+0100 Failed: restore error: error applying oplog: applyOps: uuid must be a 16-byte binary field with UUID (4) subtype
Do you know how to fix this issue?
BR,
Adam
- duplicates
-
TOOLS-2002 mongorestore --oplogReplay failed on createIndexes command
- Closed
- related to
-
TOOLS-2215 Problème UUID restauration OPLOGS
- Closed