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."