DROP DATABASE on restore (rebuild_mysql_database)

Hi, I checked the code, can be that when restoring a database (mysql in my case) it will not be dropped before recreating?

DROP {DATABASE | SCHEMA} [IF EXISTS] db_name can be called

rebuild_mail_databse will only reset the username / password I think it doesn’t delete it.

So you are right please create an issue report at

ok opened [Bug] DROP DATABASE before restoring a backup · Issue #2909 · hestiacp/hestiacp · GitHub

2 Likes