update backup scripts

This commit is contained in:
albert 2024-03-04 13:26:10 +09:00
parent cd9973fdc1
commit 6ec2ad01fa
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -3,9 +3,9 @@
enable = true;
systemCronJobs = [
# Backups from nuc-docker01 - See "backup-script.nix"
''0 9 * * * root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 19 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 1 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 9 * * 5 root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 9 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log''
''0 9 * * 1 root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log''
];
};
}