fix weekly rotation of daily backup

This commit is contained in:
Shannon Sterz 2017-07-22 08:36:58 +02:00
parent d319d52c0d
commit fe37feb02e

View file

@ -138,7 +138,7 @@ if [[ $WEEKDAY = 7 ]]; then
fi
# Create daily backups
backup "daily/$DAY-$HOUR"
backup "daily/$($DATE +"%A")/$HOUR"