Trying to set server template options

1 post / 0 new
#1 Thu, 09/02/2010 - 18:27
eXcalibre

Trying to set server template options

I am trying to set the server template to auto install scripts on creation of a domain/subdomain

when i get to the database section it asks for a database to use, If i select a general name i get the following error.

Failed to save server template : Database name in row 3 does not contain any substitions (like $DB)

If i set the database name to start with a '$' (ie '$mail') then it installs the scripts fine but names them as '$mail' and fails to backup the databases in a cron job using webmin scheduled cron jobs for mysql backups.

What is the valid expressions i can use for creating a standard name database instead of calling them '$name' and ending up with a database with the exact name '$name' and not 'name'

Thanks in advance