I have lots of site collection in SharePoint 2010 enterprise. Is there a way to do a backup if server is crashing, both website and database at the same time? If yes how?
This can be achieved through Central Administration. Go to Central Administration > Backuo and Restore and chose Configure backup setting:
It'll take you to the next screen where you specify where you want to store your backup:
If you only want to backup a single site collection, you can go from the start page of Central Administration navigating to Perform a site collection backup from in the section Backup and Restore: