To Backing up and restoring settings and configurations in IIS 7/8, please follow these steps:
- Open the command prompt (cmd.exe) with administrative privileges.
- Navigate to the directory %windir%\system32\inetsrv.
- Execute the following command to create a backup of the configuration: appcmd.exe add backup <backupname>.
- Locate the %windir%\system32\inetsrv\backup directory and copy the backup folder to a local folder on your computer.
- If necessary, reinstall IIS.
- Open the local folder where you stored the backup and copy the backup folder back to the %windir%\system32\inetsrv\backup directory.
- Execute the following command to restore the configuration from the backup: appcmd.exe restore backup <backupname>.
Thank you
No comments:
Post a Comment