From 5f974131a28547593b864c4b75a59bf19e2bb787 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 17 Jan 2024 13:34:16 +0900 Subject: [PATCH] Disable cron for now --- nixos/hosts/backups-rpi4/backup-script.nix | 8 ++++---- nixos/hosts/backups-rpi4/cron.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/hosts/backups-rpi4/backup-script.nix b/nixos/hosts/backups-rpi4/backup-script.nix index 713c731b..ab45d921 100644 --- a/nixos/hosts/backups-rpi4/backup-script.nix +++ b/nixos/hosts/backups-rpi4/backup-script.nix @@ -108,13 +108,13 @@ rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[A-E]* /mnt/$drive echo -e "================================================================================" echo -e "======= Time: `date`" -echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[L-M]* /mnt/$drive2/TV_Shows/" -rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[F-M]* /mnt/$drive2/TV_Shows/ +echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[L-R]* /mnt/$drive2/TV_Shows/" +rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[F-R]* /mnt/$drive2/TV_Shows/ echo -e "================================================================================" echo -e "======= Time: `date`" -echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/" -rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[N-Z]* /mnt/$drive3/TV_Shows/ +echo -e "rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[S-Z]* /mnt/$drive3/TV_Shows/" +rsync -avr --delete root@nuc-docker01:/Storage/Video/TV_Shows/[S-Z]* /mnt/$drive3/TV_Shows/ echo -e "================================================================================" echo -e "======= Time: `date`" diff --git a/nixos/hosts/backups-rpi4/cron.nix b/nixos/hosts/backups-rpi4/cron.nix index cf77594f..bf0a8065 100644 --- a/nixos/hosts/backups-rpi4/cron.nix +++ b/nixos/hosts/backups-rpi4/cron.nix @@ -3,7 +3,7 @@ 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 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'' ];