Compare commits
1 commit
b6c2893a3e
...
001f4f49a7
Author | SHA1 | Date | |
---|---|---|---|
001f4f49a7 |
1 changed files with 2 additions and 3 deletions
|
@ -109,9 +109,8 @@ in {
|
||||||
# Configure backup of files on the department's fs account
|
# Configure backup of files on the department's fs account
|
||||||
jobs.fsaccount = {
|
jobs.fsaccount = {
|
||||||
preHook = ''
|
preHook = ''
|
||||||
rm -rf /home/fsaccount/sicherung
|
mkdir -p /home/fsaccount/sicherung # Create if it does not exist
|
||||||
mkdir /home/fsaccount/sicherung
|
rsync -e 'ssh -i /home/fsaccount/.ssh/fsaccount' -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* /home/fsaccount/sicherung
|
||||||
scp -i /home/fsaccount/.ssh/fsaccount -r fachschaft@gw1.mathematik.tu-darmstadt.de:/home/fachschaft/* /home/fsaccount/sicherung/
|
|
||||||
'';
|
'';
|
||||||
paths = "/home/fsaccount/sicherung";
|
paths = "/home/fsaccount/sicherung";
|
||||||
encryption.mode = "none";
|
encryption.mode = "none";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue