We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DOCS • CLI
linkedql restore
Interactively perform a rollback or rollforward operation.
What it does: works as an alias of the linkedql rollback and linkedql rollforward commands.
linkedql rollback
linkedql rollforward
By default, linkedql rollback is implied, but you can add the flag --forward to imply linkedql rollforward.
--forward
See related ➞ linkedql commit
linkedql commit
Use the --desc flag to provide a restore description. (REQUIRED)
--desc
npx linkedql restore --desc="Rollback description"
Use the --forward flag to specify a rollforward operation:
npx linkedql restore --forward --desc="Re-commit description"
(If you ommit the --desc flag, you are prompted for a restore description on a db-by-db basis. This can be useful, depending!)
Use the --select flag to explicitly list databases to restore:
--select
npx linkedql restore --select=database_1,database_3
Use the --quiet flag to turn off SQL previews:
--quiet
npx linkedql restore --quiet