So disaster has struck! Here is how to get things up and running again and try and avoid future disasters.
We will assume a typical scenario. Files are infected/deleted and the database is corrupted beyond repair. It could actually be a little bit worse. The database could have been deleted. In which case you would need to recreate it using your web hosts database tools as you would have done in the Installing Joomla! 2.5 in your web space recipe in Chapter 1, Setting Up Shop.
Put the files you created while doing your site backup from the Creating a backup of your Joomla VirtueMart site recipe, on your desktop.