autorestic/docs/markdown/cli/backup.md

26 lines
482 B
Markdown
Raw Normal View History

2020-05-17 14:52:30 +02:00
# Backup
```bash
autorestic backup [-l, --location] [-a, --all]
```
2020-11-13 15:48:20 +01:00
Performs a backup of all locations if the `-a` flag is passed. To only backup some locations pass one or more `-l` or `--location` flags.
2020-05-17 14:52:30 +02:00
```bash
2021-04-16 00:26:57 +02:00
# All
autorestic backup -a
# Some
autorestic backup -l foo -l bar
2020-05-17 14:52:30 +02:00
```
2021-10-28 17:35:51 +02:00
## Specific location
`autorestic` also allows selecting specific backends for a location with the `location@backend` syntax.
```bash
autorestic backup -l location@backend
```
2020-05-17 14:52:30 +02:00
> :ToCPrevNext