fix rsync command

This commit is contained in:
2026-03-19 23:09:02 +01:00
parent 4ba0830997
commit 2644e7f843
+1 -1
View File
@@ -77,7 +77,7 @@
services.cron = {
enable = true;
systemCronJobs = [
"* 20 * * * root rsync -Pav -e \"ssh -i /root/.ssh/backup -o ServerAliveInterval=120\" /srv backup@192.168.178.24 >> /root/backup.log"
"* 20 * * * root rsync -Pav -e 'ssh -i /root/.ssh/backup' /srv backup@192.168.178.24:/ 1>> /root/backup.log 2>> /root/backup.err"
];
};
}