We should not expect that we required to use my backups but we should always ready for worst cases scenario either DB or IIS Server’s Configuration…
In previous version IIS 6.0 we were taking Meta base (IIS Configuration) backup from GUI but later on in new version (7.0 > ) this is removed and now we are using AppCmd utility of IIS manager Service. Today i want to share about AppCmd.
1.) Start Command Prompt through Administrator Privileges and turn into PATH : C:\windows\system32\inetsrv\>
Current Configuration,setting and apps running on IIS
2.) Now Take backup using below command of current running IIS Server
appcmd add backup Pes_Bkp_August
3.) Now change any configuration as i am going to remove a website.
4.) I am going to restore the IIS from backup file.
Wow..... Application is Restored successfully and I am able access and logging.....