From e1781413574febe2cc7aa7a6a743e97fea8ef8fb Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 22 Aug 2025 13:44:48 -0700 Subject: [PATCH] Add extra backup locations. Did this a few days ago but it seems it did not get pushed and the commit disappeared. --- bin/backup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/backup.sh b/bin/backup.sh index 17c82e8..7d3d15e 100755 --- a/bin/backup.sh +++ b/bin/backup.sh @@ -24,8 +24,10 @@ echo -e "\n`date` - Take down services for a cold backup." manage.sh -d echo -e "\n`date` - Create the backup for '$DOCKER_HOME'." -cd $DOCKER_HOME -$time zip -r $file.tmp . 1>/dev/null +$time zip -r $file.tmp \ + $DOCKER_HOME \ + /etc/crontab /etc/cron.d /var/spool/cron \ + /var/{log,mail} 1>/dev/null mv -v $file.tmp $file echo -e "\n`date` - Done with zipping, check size."