Korrigiere Pfad
This commit is contained in:
parent
6b1038c102
commit
d4128640f5
1 changed files with 4 additions and 4 deletions
|
@ -111,11 +111,11 @@ in {
|
||||||
preHook = ''
|
preHook = ''
|
||||||
rm -rf /home/fsaccount/sicherung
|
rm -rf /home/fsaccount/sicherung
|
||||||
mkdir /home/fsaccount/sicherung
|
mkdir /home/fsaccount/sicherung
|
||||||
scp -i /home/fsaccount/.ssh/fsaccount -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* sicherung/
|
scp -i /home/fsaccount/.ssh/fsaccount -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* /home/fsaccount/sicherung/
|
||||||
'';
|
'';
|
||||||
paths = "/home/fachschaft/sicherung";
|
paths = "/home/fsaccount/sicherung";
|
||||||
encryption.mode = "none";
|
encryption.mode = "none";
|
||||||
environment.BORG_RSH = "ssh -i /home/fachschaft/.ssh/fsaccount";
|
environment.BORG_RSH = "ssh -i /home/fsaccount/.ssh/fsaccount";
|
||||||
repo = "ssh://borg@localhost:fsaccount";
|
repo = "ssh://borg@localhost:fsaccount";
|
||||||
startAt = "hourly";
|
startAt = "hourly";
|
||||||
user = "fsaccount";
|
user = "fsaccount";
|
||||||
|
@ -125,7 +125,7 @@ in {
|
||||||
};
|
};
|
||||||
environment.persistence.${config.impermanence.name} = {
|
environment.persistence.${config.impermanence.name} = {
|
||||||
directories = [
|
directories = [
|
||||||
"/home/fachschaft/.ssh" # SSH Key with access to FS Account and Borg repo and known_hosts
|
"/home/fsaccount/.ssh" # SSH Key with access to FS Account and Borg repo and known_hosts
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# Extra user for FS account backup
|
# Extra user for FS account backup
|
||||||
|
|
Loading…
Reference in a new issue