fix rsync command

This commit is contained in:
2026-03-19 23:05:13 +01:00
parent 4ba0830997
commit 6b3a048eab

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/backub' /srv backup@192.168.178.24:/ 1>> /root/backup.log 2>> /root/backup.err"
];
};
}