# Backup

```bash
autorestic backup [-l, --location] [-a, --all]
```

Performes a backup of all locations if the `-a` flag is passed. To only backup some locations pass one or more `-l` or `--location` flags.

```bash
autorestic backup -l my-location
```

> :ToCPrevNext
