ktm tests restore
Restore a test to a previous version
Restore a test to a previous version
Usage
ktm tests restore <history-id> [flags]
Examples
# Find history versions
ktm tests history 16480 --date 2026-03-06
# Restore to a specific version
ktm tests restore 42
Arguments
| Argument | Required |
|---|---|
history-id | Yes |
Details
Restore a test to a historical version by its history ID. Use "tests history <test-id> --date <date>" to find available history IDs.
This is destructive — it overwrites the current test definition.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on