Commands
but restore
Restore to a specific oplog snapshot.
Restore to a specific oplog snapshot.
Restore to a specific oplog snapshot.
This command allows you to revert the repository to a previous state captured in an oplog snapshot.
You need to provide the SHA of the oplog entry you want to restore to, which you can find by running but oplog.
Usage: but restore <OPLOG_SHA> [OPTIONS]
Arguments
<OPLOG_SHA>— Oplog SHA to restore to (required)
Options
-f,--force— Skip confirmation prompt
Last updated on