# `dørst`
[](https://crates.io/crates/dorst)
[](https://github.com/charlesrocket/dorst/actions/workflows/tests.yml)
[](https://codecov.io/gh/charlesrocket/dorst)
### Usage
Run `dorst` to create a configuration file in `$HOME/.config/dorst` and set the first backup target.
`dorst /tmp/src-backups`
Example without authentication:
```yaml
---
targets:
- https://github.com/charlesrocket/dotfiles
- https://github.com/charlesrocket/freebsd-server
```
Add `ssh_key` path and `ssh_pass_protected` boolean to authenticate with SSH key:
```yaml
---
ssh_key: ~/private-ssh-key
ssh_pass_protected: true
targets:
- https://github.com/charlesrocket/freebsd-station
- git@github.com:charlesrocket/openbsd-station
```
The `-c`/`--config` flag allows the usage of an alterantive configuration file.