renku rollback

Rollback project to a previous point in time.


Undo actions taken using Renku in a project. This command shows a list of all actions done by renku and lets you pick one that you want to return to, discarding any changes done in the repo (by Renku or manually) after that point.

Commands and options

renku rollback

Rollback project to a previous point in time.

Only renku commands executed after the 1.0.0 release are supported, previous commands won’t show up.

renku rollback [OPTIONS]


Once you pick a checkpoint to return to, the commands shows all files and Renku objects that would be affected by the rollback and how they would be affected. If you confirm, the project will be reset to that point in time, with anything done after that point being deleted/lost.

$ renku rollback
Select a checkpoint to roll back to:

[0] 2021-10-20 09:50:04         renku workflow edit cp-blabla-asdasf-0b535 --name test
[1] 2021-10-20 09:49:19         renku rerun asdasf
[2] 2021-10-20 09:48:59         renku run cp blabla asdasf
[3] 2021-10-20 08:37:00         renku dataset add e blabla
[4] 2021-10-20 08:31:16         renku dataset create m
Checkpoint ([q] to quit) [q]: 4
The following changes would be done:


    Modified ♻️:
        Dataset: e

    Removed 🔥:
        Plan: cp-blabla-asdasf-0b535
        Plan: test
        Run: /activities/cc3ab70952fc499e93e7e4075a076bf5 (Plan name: cp-blabla-asdasf-0b535)
        Run: /activities/48b89b22567d4282abe8a016fa91878f (Plan name: cp-blabla-asdasf-0b535)


    Restored ↻:

    Removed 🔥:

Proceed? [y/N]: y


This command was introduced in renku-python version 1.0.0. Commands executed with previous versions of renku can’t be rolled back to.