Corrected some more legacy documentation
This commit is contained in:
parent
fff862e212
commit
2ea4238a84
1 changed files with 8 additions and 4 deletions
12
README.md
12
README.md
|
@ -14,13 +14,17 @@ Export borg information to prometheus. Extended to export information about a li
|
||||||
### Manually
|
### Manually
|
||||||
Copy `borg_exporter.sh` to `/usr/local/bin`.
|
Copy `borg_exporter.sh` to `/usr/local/bin`.
|
||||||
|
|
||||||
Copy `borg_exporter.rc` to `/etc/` and replace your repokey and repository in it.
|
Copy `borg_exporter.rc` to `/etc/` and configure it (see the configuration section below).
|
||||||
|
|
||||||
Copy the systemd unit to `/etc/systemd/system` and run
|
Copy the systemd unit and timer to `/etc/systemd/system`:
|
||||||
|
```
|
||||||
|
sudo cp prometheus-borg-exporter.* /etc/systemd/system
|
||||||
|
```
|
||||||
|
and run
|
||||||
|
|
||||||
```
|
```
|
||||||
systemctl enable server3-borg-exporter.timer
|
sudo systemctl enable prometheus-borg-exporter.timer
|
||||||
systemctl start server3-borg-exporter.timer
|
sudo systemctl start prometheus-borg-exporter.timer
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternative: Use `ExecStartPost` in your borg backup timer itself to write our the metrics.
|
Alternative: Use `ExecStartPost` in your borg backup timer itself to write our the metrics.
|
||||||
|
|
Loading…
Reference in a new issue