Update backup script

This commit is contained in:
iFargle 2023-12-27 08:23:48 +09:00
parent c6666c34a0
commit 4d23a1cc5d

View file

@ -4,8 +4,8 @@
systemCronJobs = [ systemCronJobs = [
# Backups from nuc-docker01 - See "backup-script.nix" # Backups from nuc-docker01 - See "backup-script.nix"
# https://git.sysctl.io/albert/random-scripts/src/branch/master/rsync-pi/rsync-all.sh # https://git.sysctl.io/albert/random-scripts/src/branch/master/rsync-pi/rsync-all.sh
''0 9 * * * root rsync-backups >> /root/logs/rsync-backup-`date "+\%Y-\%m-\%d"`'' ''0 9 * * * root rsync-backups >> /root/logs/backups/rsync-`date "+\%Y-\%m-\%d"`''
''0 19 * * 3 root rsync-data-vol >> /root/logs/rsync-data-vol-`date "+\%Y-\%m-\%d"`'' ''0 19 * * 3 root rsync-data-vol >> /root/logs/data-vol/rsync-`date "+\%Y-\%m-\%d"`''
]; ];
}; };
} }