We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
On the backup server, in directory /onapp/templates, there are a lot of files of strange / unfamiliar names like b4rnx5z4jrxk41_20150119100943. What are they for? Can we delete them?
Environment
Release OnApp 5.x
Answer
Files similar to b4rnx5z4jrxk41_20150119100943 are custom templates.
In order to determine templates that are in use, you could run the following database command:
mysql> select id, label from templates where file_name='xxxxx';
where file_name would be the file you are checking.
You can then compare this template to see if it is in use by a Virtual Machine with:
mysql> select id, identifier, hostname, label from virtual_machines where template_id=xx;>
where template_id is the id from the first command. If the template is not in use by a Virtual Machine, it can be safely deleted.