1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/nixos
Yorick van Pelt 470c8a2a36 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: Danylo Hlynskyi <abcz2.uprola@gmail.com>
2019-12-26 07:50:03 +02:00
..
doc nixos/manual: fixing links for awstats release note (#76500) 2019-12-25 21:06:18 +02:00
lib nixos/python-test-driver: add an option to disable python linter 2019-12-22 19:27:43 +01:00
maintainers
modules nixos/borgbackup: install job wrappers to systemPackages for easy borg access 2019-12-26 07:50:03 +02:00
tests Merge pull request #76410 from nh2/mumble-test-python 2019-12-26 02:33:43 +01:00
COPYING
default.nix
README
release-combined.nix nixos/nfs: test nfs with kerberos authentication 2019-12-12 15:42:44 +00:00
release-small.nix nixos/containers-ip: Test both ipv4 and ipv6 in the same script 2019-11-27 09:13:02 +01:00
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.