Skip to content

LinkedQL Rollforward

Oxford Harrison edited this page Nov 15, 2024 · 4 revisions

DOCSCLI


Command: linkedql rollforward

Interactively perform a rollforward operation.

What it does: loops through each database and initiates a rollforward to its latest restore point if any; works interactively by default and lets you preview each query to be run.

See related ➞ linkedql rollback, linkedql commit

Usage

npx linkedql rollforward

Use the --desc flag to provide a re-commit description:

npx linkedql rollforward --desc="Changes relevant again"

Note

The --desc flag will be required if the Linked DB's config.require_commit_descs is active.

If you ommit the --desc flag in this instance, you are prompted for a commit description on a db-by-db basis. This can be useful, depending!

Use the --select flag to explicitly list databases to roll forward:

npx linkedql rollforward --select=database_1,database_3

Use the --quiet flag to turn off SQL previews:

npx linkedql rollforward --quiet
Clone this wiki locally