Delete Files with Unfamiliar Names from /onapp/templates
On the backup server, in
/onapp/templates, there are a lot of files with unfamiliar names, such as
b4rnx5z4jrxk41_20150119100943. What are they for? Can we delete them?
OnApp 5.x, 6.x
Files similar to the
b4rnx5z4jrxk41_20150119100943 file are custom templates.
To safely delete the files:
- Run the following database command to determine the templates in use:
mysql> select id, label from templates where file_name='xxxxx';
file_name - the file you are checking
2. Compare this template to check if it is in use by a virtual server:
mysql> select id, identifier, hostname, label from virtual_machines where template_id=xx;>
template_id - the ID from the first command
If the template is not in use by a virtual server, it can be safely deleted.