Because I wrote a bash script which should save the logs daily from the day before, but it only shows the logs from today, maybe because I did an update today and the container has changed?
#!/bin/bash
# variables
startTime=$(date +%s)
currentDate=$(date --date @"$startTime" +"%Y-%m-%d_%H-%M-%S")
currentDateReadable=$(date --date @"$startTime" +"%d-%m-%Y - %H:%M:%S")
dateYesterday=$(date -d "yesterday" '+%Y-%m-%d')
# move to 'mailcow-dockerized' folder
cd /opt/mailcow-dockerized/
# removes previous log-file
rm -rf /root/scripts/mailcow-backup/*-letsencrypt.log
# get letsencrypt-logs from yesterday
echo "" >> /root/scripts/mailcow-backup/"${currentDate}-letsencrypt.log"
docker-compose logs -t acme-mailcow | grep "$dateYesterday" >> /root/scripts/mailcow-backup/"${currentDate}-letsencrypt.log"