@ -26,6 +26,7 @@ fi
db-dump $DBNAME-hourly-$hour.sql 2>> $errlog
if [[ $hour == $1 ]]; then
systemctl restart postgresql
nc-occ maintenance:mode --off
mv $DBNAME-hourly-$hour.sql $DBNAME-daily-$day.sql 2>> $errlog