Compare commits

..

1 commit

Author SHA1 Message Date
c9232fb823 Backup des Fachschaftsaccounts 2024-02-08 08:16:42 +01:00

View file

@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
...
}: let
inherit
@ -110,7 +111,7 @@ in {
jobs.fsaccount = {
preHook = ''
mkdir -p /home/fsaccount/sicherung # Create if it does not exist
rsync -e 'ssh -i /home/fsaccount/.ssh/fsaccount' -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* /home/fsaccount/sicherung
${pkgs.rsync}/bin/rsync -e 'ssh -i /home/fsaccount/.ssh/fsaccount' -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* /home/fsaccount/sicherung
'';
paths = "/home/fsaccount/sicherung";
encryption.mode = "none";