From 6200d0c46bcd03b606ca343116dd30cd89015fb9 Mon Sep 17 00:00:00 2001 From: Peter Kannewitz Date: Wed, 29 Mar 2023 21:43:27 +0200 Subject: [PATCH] added shell.nix for dependecies --- README.md | 15 +++++++++++++++ shell.nix | 9 +++++++++ 2 files changed, 24 insertions(+) create mode 100644 shell.nix diff --git a/README.md b/README.md index 997ef2e..80027cc 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,18 @@ For this 'pull method' to work I needed to add the following line to the servers %sudo ALL=(ALL) NOPASSWD: /usr/lib/openssh/sftp-server ``` +*Notice:* + +The server file system will be mounted at `tmp/mnt/ag-link-server` on your local machine. Define the paths to be backed up from there on. + + +## Dependencies + +Backup depends on: + +- `borgbackup` +- `borgmatic` +- `sshfs` + +If you have nix installed, simply run `nix-shell` from this Repository. + diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..dab533d --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +with import {}; + +mkShell { + name = "Dependencies for Server Backup"; + buildInputs = [borgbackup borgmatic sshfs]; + shellHook = '' + echo "Good luck backing up!" + ''; +}