ATTENTION! THIS ARTICLE WORKS FOR STANDARD (STD) TEMPLATES ONLY!
There are two ways of restoring a container (CT) which is hacked or cannot be started for some other reasons. Please make sure that you have created a full backup of the container before applying any of the following solutions.
Warning: It is strongly not recommended to apply this solution on containers based on EZ templates. It might lead to container corruption.
# vzctl recover 101
This command will reinstall the OS template and all application templates which were previously installed on the CT. This action will make it possible to start the broken CT, but it does not give any guarantee that all rootkits are removed, if any.
# vzctl reinstall 101
This command will create a brand new CT on the same OS template as the broken one, install the same application templates into it, and restore users' credentials. The contents of the old CT will be copied into the