Compare commits
No commits in common. "60ed46689c92f71da341144ee9a7b1fbd977c673" and "9e212934dda511417634c72acbfeda59ed2fe24b" have entirely different histories.
60ed46689c
...
9e212934dd
2 changed files with 1 additions and 5 deletions
|
|
@ -117,7 +117,7 @@ in
|
|||
${cfg.ntfy.url}/${cfg.ntfy.topic}
|
||||
'';
|
||||
};
|
||||
scriptArgs = "%I";
|
||||
scriptArgs = "%i";
|
||||
};
|
||||
})
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -29,10 +29,6 @@ in
|
|||
];
|
||||
backupPrepareCommand = ''
|
||||
HOME=/root ${pkgs.rsync}/bin/rsync -e "${pkgs.openssh}/bin/ssh" --exclude-from /root/excludelist --no-specials --no-devices --numeric-ids --delete-after --partial -axz backup@mx.surfsite.org:/{etc,var,home,root} ${backup_new_path}
|
||||
rc=$?
|
||||
# exit code 24 = files vanished during transfer (normal for mail dirs)
|
||||
if [ $rc -eq 24 ]; then exit 0; fi
|
||||
exit $rc
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue