autorestic/docs/pages/cli/backup.md

24 lines
466 B
Markdown
Raw Permalink Normal View History

2020-05-17 12:52:30 +00:00
# Backup
```bash
autorestic backup [-l, --location] [-a, --all]
```
2020-11-13 14:48:20 +00: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 12:52:30 +00:00
```bash
2021-04-15 22:26:57 +00:00
# All
autorestic backup -a
# Some
autorestic backup -l foo -l bar
2020-05-17 12:52:30 +00:00
```
2021-10-28 15:35:51 +00:00
## Specific location
`autorestic` also allows selecting specific backends for a location with the `location@backend` syntax.
```bash
autorestic backup -l location@backend
```