From bd5e3c4cdbc2a83ff7463cf61e3df65273dee184 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 27 Dec 2023 08:29:31 +0900 Subject: [PATCH] Update backup script --- nixos/hosts/backups-rpi4/cron.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/backups-rpi4/cron.nix b/nixos/hosts/backups-rpi4/cron.nix index dd17e91a..a50c7f15 100644 --- a/nixos/hosts/backups-rpi4/cron.nix +++ b/nixos/hosts/backups-rpi4/cron.nix @@ -4,8 +4,8 @@ systemCronJobs = [ # Backups from nuc-docker01 - See "backup-script.nix" # https://git.sysctl.io/albert/random-scripts/src/branch/master/rsync-pi/rsync-all.sh - ''0 9 * * * root rsync-backups >> /root/logs/backups/rsync-`date "+\%Y-\%m-\%d"`'' - ''0 19 * * 3 root rsync-data-vol >> /root/logs/data-vol/rsync-`date "+\%Y-\%m-\%d"`'' + ''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'' ]; }; } \ No newline at end of file