# Resuming an Interrupted Upgrade

+ If an error occurs and the upgrade is interrupted, how to resume the upgrade after fixing this error?
  + Re-execute the **`tiup cluster upgrade`** command to resume the upgrade
+ For example:
```
$ tiup cluster audit
...
ID           Time                  Command
--           ----                  -------
...
~!@fZrLmBbM49Z@!~  2022-10-09T07:38:11Z  /home/ubuntu/.tiup/components/cluster/v1.11.0/tiup-cluster upgrade test-asi v7.5.1 --offline
...

$ tiup cluster replay ~!@fZrLmBbM49Z@!~
```

-------------------------------------------------------------
If an error occurs and the upgrade is interrupted, how to resume the upgrade after fixing this error?

Re-execute the `tiup cluster upgrade` command to resume the upgrade. The upgrade operation restarts the nodes that have been previously upgraded. If you do not want the upgraded nodes to be restarted, use the replay sub-command to retry the operation:

1. Execute `tiup cluster audit` to see the operation records:
```
tiup cluster audit
```

Find the failed upgrade operation record and keep the ID of this operation record. The ID is the `<audit-id>` value in the next step.

2. Execute `tiup cluster replay <audit-id>` to retry the corresponding operation:
```
tiup cluster replay {audit_id}
```