checkr/go-sync-mongo

How do I know from which timestamp to start restoring and tailing after go-sync-mongo restarts

Closed this issue · 2 comments

Does go-sync-mongo has timestamp record (e.g. in logs)? So that I can continue restoring data from that timestamp (--since param) after go-sync-mongo process restarts.

You will need to get the latest id that was inserted and get timestamp out of it I think. It's also safe to go back a day from that timestamp as inserts are idempotent.

Got it. Thanks.