Skip to content
Commit 470c8a2a authored by Yorick van Pelt's avatar Yorick van Pelt Committed by danbst
Browse files

nixos/borgbackup: install job wrappers to systemPackages for easy borg access

Currently to run borg job manually, you have to use systemctl:
```
$ systemctl start borgbackup-job-jobname.service
```

This commit makes wrappers around borg jobs available in $PATH, which have
BORG_REPO and connection args set correctly:
```
$ borg-job-jobname list
$ borg-job-jobname mount ::jobname-archive-2019-12-25T00:01:29 /mnt/some-path
$ borg-job-jobname create ::test /some/path
```

Closes: https://github.com/NixOS/nixpkgs/pull/64888


Co-authored-by: default avatarDanylo Hlynskyi <abcz2.uprola@gmail.com>
parent aa1a41b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment