More documentation examples of a la carte actions.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dan Helfman 2020-03-09 11:20:18 -07:00
parent 4942b7ce4d
commit 3332750243
1 changed files with 13 additions and 4 deletions

View File

@ -7,7 +7,7 @@ Borg itself is great for efficiently de-duplicating data across successive
backup archives, even when dealing with very large repositories. But you may backup archives, even when dealing with very large repositories. But you may
find that while borgmatic's default mode of "prune, create, and check" works find that while borgmatic's default mode of "prune, create, and check" works
well on small repositories, it's not so great on larger ones. That's because well on small repositories, it's not so great on larger ones. That's because
running the default consistency checks takes a long time on large running the default pruning and consistency checks take a long time on large
repositories. repositories.
### A la carte actions ### A la carte actions
@ -27,9 +27,18 @@ borgmatic check
You can run with only one of these actions provided, or you can mix and match You can run with only one of these actions provided, or you can mix and match
any number of them in a single borgmatic run. This supports approaches like any number of them in a single borgmatic run. This supports approaches like
making backups with `create` on a frequent schedule, while only running skipping certain actions while running others. For instance, this skips
expensive consistency checks with `check` on a much less frequent basis from `prune` and only runs `create` and `check`:
a separate cron job.
```bash
borgmatic create check
```
Or, you can make backups with `create` on a frequent schedule (e.g. with
`borgmatic create` called from one cron job), while only running expensive
consistency checks with `check` on a much less frequent basis (e.g. with
`borgmatic check` called from a separate cron job).
### Consistency check configuration ### Consistency check configuration