database_create_pre.sh and database_create_post.sh are not called with restore

Version 1.38

Bugfix
Finished

database_create_pre.sh and database_create_post.sh are not called with restore. They should be. variables, similar to the other database_create_pre/post.sh will be: username=systemusername database=systemusername_dbname user= passwd= login_as=2 system_password= Note that user, passwd and system_password will be blank ("") as their plaintext values will not be known. The login_as value will be set to 2, which will let you know this is a database creation via a restore. The database_create_post.sh for restores is called right after the database is created. Users and access hosts will not yet exist. If a database already exists at the time of the restore, the pre and post code will not be called.

Interested to try DirectAdmin? Get a 30-day Free Trial!