3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/backup
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
..
automysqlbackup.nix treewide: Switch to system users 2019-10-12 22:25:28 +02:00
bacula.nix nixos/bacula-sd: add autochange support 2019-12-11 19:16:50 +01:00
borgbackup.nix nixos/borgbackup: install job wrappers to systemPackages for easy borg access 2019-12-26 07:50:03 +02:00
duplicati.nix duplicati: fix StateDirectory 2019-06-27 14:15:37 +02:00
duplicity.nix nixos/duplicity: init 2019-02-03 19:13:01 +01:00
mysql-backup.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
postgresql-backup.nix postgresql-backup: Use saner defaults for pg_dump 2019-12-15 13:14:21 +01:00
postgresql-wal-receiver.nix nixos/postgresql-wal-receiver: remove restart limit (#67857) 2019-09-23 22:51:26 +03:00
restic-rest-server.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
restic.nix nixos/restic: change type of timerConfig option to attrsOf unitOption 2019-01-23 21:29:02 +01:00
rsnapshot.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
tarsnap.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00
tsm.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
zfs-replication.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
znapzend.nix nixos/znapzend: Increase starting timeout 2019-10-27 12:29:31 +01:00