# Azion CLI rollback

The Azion CLI `rollback` command makes a static site serve the files of an earlier deploy again. Those files stay in the [Object Storage](/en/documentation/platform/object-storage/) bucket of the project, and the command works through the storage [connector](/en/documentation/platform/connectors/) that delivers them. The options every command accepts, such as `--format`, `--out`, and `-y`, are on [Global options](/en/documentation/devtools/cli/globals/).

---

## Usage

`azion rollback` acts on the storage connector whose ID you pass:

```bash
azion rollback [flags]
```

| Flag             | Short | Type   | Default   | Description                                                                                                                                            |
| ---------------- | ----- | ------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `--config-dir`   | —     | string | `"azion"` | Relative path to the folder that holds your `azion.json` and `args.json` files.                                                                        |
| `--connector-id` | —     | int    | —         | ID of the storage connector that delivers the static files of the site. `azion deploy` writes this ID to the `connectors` entry of `azion/azion.json`. |

---

## Related resources

- [Global options](/en/documentation/devtools/cli/globals.md): The options every command accepts, such as `--debug`, `--format`, and `-y`.
- [Azion CLI deploy](/en/documentation/devtools/cli/deploy.md): The command that uploads the static files of each deploy and writes the connector ID to `azion/azion.json`.
- [Azion CLI connector](/en/documentation/devtools/cli/resources/connector.md): The commands that list and describe connectors, including the storage connector of a site.
- [Azion CLI storage](/en/documentation/devtools/cli/resources/storage.md): The commands that list the objects of a bucket, such as the files a deploy uploaded.
