From 410a80fdf833d6739f538d1b042ae3b0c48ceff4 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 12 Jun 2024 11:06:49 +0900 Subject: [PATCH] re-enable backups --- nixos/hosts/backups-rpi4/cron.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/backups-rpi4/cron.nix b/nixos/hosts/backups-rpi4/cron.nix index 7c026183..d45b651b 100644 --- a/nixos/hosts/backups-rpi4/cron.nix +++ b/nixos/hosts/backups-rpi4/cron.nix @@ -3,10 +3,9 @@ enable = true; systemCronJobs = [ # Backups from nuc-docker01 - See "backup-script.nix" - # TODO: Re-enable when done - # ''0 04 * * * root rsync-media &> /root/logs/media/rsync_`date "+\%Y-\%m-\%d"`.log'' - # ''0 02 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log'' - # ''0 22 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log'' + ''0 04 * * * root rsync-media &> /root/logs/media/rsync_`date "+\%Y-\%m-\%d"`.log'' + ''0 02 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log'' + ''0 22 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log'' ]; }; }