1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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
duplicity.nix
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
restic.nix
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