copied cronjob script for sql-dumps